:root {
  color-scheme: dark;
  --ink: #050607;
  --ink-soft: #0a0d0f;
  --text: #f4f8f9;
  --muted: #8c969a;
  --cyan: #06e8f5;
  --cyan-soft: #75f6ff;
  --line: rgba(255, 255, 255, 0.12);
  --shell: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 8%, rgba(6, 232, 245, 0.09), transparent 26rem),
    var(--ink);
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }

.cursor-glow {
  position: fixed;
  width: 24rem;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(circle, rgba(6, 232, 245, 0.08), transparent 68%);
  transform: translate(-50%, -50%);
  transition: opacity .4s ease;
}

.site-header {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 5;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .7rem; font-weight: 800; letter-spacing: -.04em; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.brand > span > span { color: var(--cyan); }
.availability { display: inline-flex; align-items: center; gap: .65rem; color: #bdc5c8; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.availability i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); }

.hero {
  min-height: calc(100svh - 92px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  align-items: center;
  position: relative;
  padding-block: clamp(5rem, 10vw, 8rem) 5rem;
}
.hero-word {
  position: absolute;
  top: 2.5%; left: -1.1%;
  font-size: clamp(8rem, 23vw, 20rem);
  line-height: .8;
  letter-spacing: -.1em;
  font-weight: 950;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.055);
  user-select: none;
  white-space: nowrap;
}
.hero-copy { position: relative; z-index: 1; max-width: 760px; }
.eyebrow { margin: 0 0 1.35rem; color: var(--cyan); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; }
h1, h2, p { margin-top: 0; }
h1 {
  margin-bottom: 1.8rem;
  font-size: clamp(3.3rem, 7.2vw, 7.2rem);
  line-height: .88;
  letter-spacing: -.075em;
  max-width: 900px;
}
h1 em, .statement-copy em { color: var(--cyan); font-style: normal; }
.hero-intro { max-width: 530px; color: #a8b1b4; font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.7; }
.primary-link { margin-top: 1.8rem; display: inline-flex; gap: 2.5rem; align-items: center; border-bottom: 1px solid var(--cyan); padding: .8rem 0; text-transform: uppercase; font-size: .78rem; letter-spacing: .12em; font-weight: 800; }
.primary-link span { color: var(--cyan); font-size: 1.2rem; transition: transform .25s ease; }
.primary-link:hover span { transform: translate(4px, 4px); }

.hero-mark { justify-self: end; position: relative; width: min(28vw, 340px); aspect-ratio: 1; display: grid; place-items: center; }
.hero-mark img { width: 70%; filter: drop-shadow(0 0 45px rgba(6,232,245,.2)); animation: float 5s ease-in-out infinite; }
.mark-orbit { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(6,232,245,.24); animation: spin 22s linear infinite; }
.mark-orbit::before { content: ""; position: absolute; width: 8px; aspect-ratio: 1; border-radius: 50%; background: var(--cyan); top: 13%; left: 14%; box-shadow: 0 0 18px var(--cyan); }
.mark-note { position: absolute; right: -1rem; bottom: 12%; color: var(--muted); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; writing-mode: vertical-rl; }
.hero-foot { position: absolute; bottom: 2.3rem; left: 0; display: flex; align-items: center; gap: .7rem; color: #687176; font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; }
.hero-foot i { width: 28px; height: 1px; background: #303639; }

.work { padding: 9rem 0 7rem; background: linear-gradient(180deg, transparent, #080a0c 16%, #080a0c 86%, transparent); }
.section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 3.5rem; }
.section-head h2 { margin: 0; font-size: clamp(2.7rem, 5.5vw, 5.7rem); line-height: .92; letter-spacing: -.065em; }
.section-head > p { max-width: 320px; color: var(--muted); line-height: 1.6; font-size: .95rem; }
.carousel-wrap { overflow: hidden; }
.carousel-stage { position: relative; height: 680px; perspective: 1400px; touch-action: pan-y; }
.project-card {
  --rx: 0deg;
  --ry: 0deg;
  position: absolute;
  inset: 0;
  width: min(440px, 76vw);
  height: 610px;
  margin: auto;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 28px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  color: white;
  background: #111;
  box-shadow: 0 35px 90px rgba(0,0,0,.48);
  transform-style: preserve-3d;
  transition: transform .75s cubic-bezier(.2,.8,.2,1), opacity .55s ease, filter .55s ease;
}
.project-card img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.project-card[data-project="travel"] img { object-position: 54% 50%; }
.project-card[data-project="polar"] img { object-position: 50% 54%; }
.project-card[data-project="sonic"] img { object-position: 50% 50%; }
.project-card:hover img { transform: scale(1.035); }
.project-card:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }
.card-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.22), transparent 45%, rgba(0,0,0,.9)); }
.card-top { position: absolute; top: 24px; left: 24px; right: 24px; display: flex; justify-content: space-between; align-items: center; }
.card-top b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(4,7,8,.45); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.3); font-size: .72rem; }
.card-top i { font-style: normal; font-size: .66rem; letter-spacing: .14em; font-weight: 800; padding: .75rem .9rem; background: var(--cyan); color: #001012; border-radius: 999px; }
.card-copy { position: absolute; left: 30px; right: 30px; bottom: 30px; text-align: left; }
.card-copy small { display: block; margin-bottom: .75rem; color: var(--cyan-soft); text-transform: uppercase; letter-spacing: .16em; font-weight: 800; font-size: .68rem; }
.card-copy strong { display: block; font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: .9; letter-spacing: -.06em; }
.project-card.is-active { z-index: 3; opacity: 1; filter: none; transform: translateX(0) rotateX(var(--rx)) rotateY(var(--ry)) scale(1); }
.project-card.is-prev { z-index: 2; opacity: .52; filter: saturate(.62) brightness(.6); transform: translateX(-78%) rotateY(28deg) scale(.78); }
.project-card.is-next { z-index: 2; opacity: .52; filter: saturate(.62) brightness(.6); transform: translateX(78%) rotateY(-28deg) scale(.78); }

.carousel-controls { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; }
.control-buttons { display: flex; gap: .5rem; }
.control-buttons button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); color: white; background: #0b0e10; cursor: pointer; transition: .25s ease; }
.control-buttons button:hover { color: #001012; background: var(--cyan); border-color: var(--cyan); }
.progress { height: 1px; background: #282d30; overflow: hidden; }
.progress span { display: block; width: 33.333%; height: 100%; background: var(--cyan); transition: transform .6s cubic-bezier(.2,.8,.2,1); transform-origin: left; }
.counter { display: flex; align-items: baseline; gap: .4rem; }
.counter strong { font-size: 1.5rem; }
.counter span { color: #596165; font-size: .75rem; }

.statement { padding-block: clamp(8rem, 15vw, 14rem); }
.statement-copy { margin: 0; max-width: 1050px; font-size: clamp(3rem, 7.4vw, 7.4rem); letter-spacing: -.075em; line-height: .93; font-weight: 800; }

.cta {
  min-height: 680px;
  border: 1px solid var(--line);
  border-radius: 34px;
  margin-bottom: 7rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(140deg, rgba(255,255,255,.035), rgba(6,232,245,.035));
}
.cta > img { position: absolute; width: min(55vw, 560px); opacity: .05; transform: rotate(-7deg); }
.cta-orb { position: absolute; width: 420px; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(6,232,245,.18); box-shadow: inset 0 0 80px rgba(6,232,245,.04), 0 0 120px rgba(6,232,245,.04); }
.cta h2 { position: relative; margin: 0 0 2rem; font-size: clamp(4rem, 10vw, 8.8rem); line-height: .8; letter-spacing: -.08em; }
.cta .eyebrow { position: relative; }
.cta a { position: relative; min-width: min(520px, 80%); display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 1.3rem 1.15rem 1.6rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.24); background: rgba(5,8,9,.64); backdrop-filter: blur(16px); font-size: .95rem; transition: border-color .25s ease, transform .25s ease; }
.cta a:hover { border-color: var(--cyan); transform: translateY(-3px); }
.cta a b { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 50%; background: var(--cyan); color: #001012; font-size: 1.3rem; }

footer { min-height: 130px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: #667075; font-size: .76rem; }
footer .brand { color: white; }

.project-modal {
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; color: var(--text); background: rgba(3,5,6,.96);
  overflow-y: auto;
}
.project-modal::backdrop { background: rgba(0,0,0,.8); backdrop-filter: blur(12px); }
.project-modal[open] { animation: modalIn .45s ease both; }
.modal-close { position: fixed; z-index: 10; top: 24px; right: 24px; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: rgba(13,17,18,.8); color: white; font-size: 2rem; line-height: 1; cursor: pointer; }
.modal-close:hover { background: var(--cyan); color: #001012; }
.modal-shell { width: min(1180px, calc(100vw - 48px)); margin: auto; padding: 8rem 0 5rem; }
.modal-head { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; align-items: end; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 0 0 1rem; font-size: clamp(3rem, 6vw, 6rem); letter-spacing: -.07em; line-height: .88; }
.modal-head > div > p { margin: 0; color: #a4adb0; max-width: 620px; line-height: 1.6; }
.transformation { padding-top: 3rem; display: grid; grid-template-columns: minmax(0,1fr) 110px minmax(0,1fr); gap: 2rem; align-items: center; }
.transformation figure { margin: 0; }
.transformation figcaption { display: flex; justify-content: space-between; padding: 0 0 1rem; color: #aab2b5; text-transform: uppercase; letter-spacing: .13em; font-size: .68rem; }
.transformation figcaption b { color: var(--cyan); }
.source-frame img, .film-frame video { width: 100%; display: block; aspect-ratio: 9/16; object-fit: cover; background: #090b0c; border: 1px solid var(--line); border-radius: 24px; }
.transform-arrow { display: flex; flex-direction: column; align-items: center; gap: 1rem; color: var(--cyan); }
.transform-arrow span { font-size: 3.4rem; }
.transform-arrow small { color: #747e82; text-align: center; letter-spacing: .1em; line-height: 1.5; font-size: .58rem; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .85s ease, transform .85s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes float { 0%,100% { transform: translateY(-8px) rotate(-2deg); } 50% { transform: translateY(10px) rotate(2deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes modalIn { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 760px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .site-header { height: 74px; }
  .availability { font-size: 0; }
  .availability::after { content: "Let's talk"; font-size: .7rem; }
  .hero { min-height: calc(100svh - 74px); grid-template-columns: 1fr; align-content: center; padding-block: 5rem 7rem; }
  .hero-word { top: 11%; }
  .hero-mark { position: absolute; width: 170px; right: -38px; bottom: 16%; opacity: .38; }
  .mark-note { display: none; }
  .hero-foot { bottom: 2rem; flex-wrap: wrap; }
  h1 { font-size: clamp(3.5rem, 16vw, 5.5rem); max-width: 650px; }
  .hero-intro { max-width: 85%; }
  .section-head { align-items: start; flex-direction: column; gap: 1.5rem; }
  .section-head > p { max-width: 100%; }
  .work { padding-top: 6rem; }
  .carousel-stage { height: 570px; }
  .project-card { height: 520px; width: min(350px, 78vw); border-radius: 22px; }
  .project-card.is-prev { transform: translateX(-88%) rotateY(25deg) scale(.78); }
  .project-card.is-next { transform: translateX(88%) rotateY(-25deg) scale(.78); }
  .carousel-controls { grid-template-columns: auto 1fr auto; gap: 1rem; }
  .control-buttons button { width: 44px; height: 44px; }
  .statement { padding-block: 9rem; }
  .cta { min-height: 580px; margin-bottom: 4rem; border-radius: 24px; }
  .cta a { font-size: .78rem; padding-left: 1rem; }
  footer { padding-block: 2rem; flex-wrap: wrap; }
  footer > p { display: none; }
  .modal-shell { width: min(100% - 28px, 1180px); padding-top: 6rem; }
  .modal-head { grid-template-columns: 1fr; gap: .5rem; }
  .transformation { grid-template-columns: 1fr; }
  .transform-arrow { flex-direction: row; justify-content: center; padding: .5rem 0; }
  .transform-arrow span { transform: rotate(90deg); }
  .source-frame img, .film-frame video { max-height: 78svh; object-fit: contain; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .cursor-glow { display: none; }
}
