/* ==========================================================================
   01-base.css — design tokens, reset and typography
   (reproduced from the original Nuxt build so the type scale & rhythm match)
   ========================================================================== */

@font-face {
  font-display: swap;
  font-family: "Indivisible Local";
  font-style: normal;
  font-weight: 100 900;
  src: url("../assets/nuxt/Indivisible-Regular.DGbWVM74.woff2") format("woff2");
}

:root {
  --vw: 100vw;
  --vh: 100vh;
  --ivh: 100dvh;
  --rem: 1px;
  --main-font-name: "Indivisible Variable", "Indivisible Local";
  --display-font-name: "Indivisible Variable", "Indivisible Local";
  --main-font: var(--main-font-name), "Helvetica Neue", "Arial", sans-serif;
  --display-font: var(--display-font-name), "Helvetica Neue", "Arial", sans-serif;
  --color-black: #0a0a0a;
  --color-white: #fafafa;
  --color-white20: #fafafa20;
  --color-bg-dark: #0a0a0a;
  --color-bg-dark20: #0a0a0a20;
  --color-bg-dark40: #0a0a0a40;
  --color-bg-dark60: #0a0a0a60;
  --color-bg-dark-transparent: #0a0a0a00;
  --color-bg-grey: #171717;
  --bg-grid-size: 41rem;
  --bg-grid-line: rgba(255, 255, 255, 0.04);
  --color-pop-green: #21ffc0;
  --color-grey: #e6e6e6;
  --grid-margin: 30rem;
  --grid-gutter: 16rem;
  --grid-column: calc(var(--vw) / 12 - var(--grid-gutter) * 11 / 12 - var(--grid-margin) * 2 / 12);
  --gap-xs: 10rem;
  --gap-s: 15rem;
  --gap-m: 30rem;
  --gap-l: 60rem;
  --gap-xl: 90rem;
  --gap-xxl: 120rem;
  --gap-xxxl: 180rem;
  --gap-20: 20rem;
  --gap-45: 45rem;
  --radius-xs: 4rem;
  --radius-s: 8rem;
  --radius-m: 12rem;
  --radius-l: 16rem;
  --radius-xl: 20rem;
  --radius-full: 9999px;
  --padding: 10rem;
  --ease-spring: linear(
    0, .0014, .0055 1.03%, .0239, .053 3.44%, .0961 4.81%, .1957 7.39%, .4354 12.88%,
    .5484, .6494, .7362, .8083 23.88%, .8696, .9168 29.72%, .9368, .9536 32.81%,
    .9793 35.9%, .997 39.17%, 1.0084 42.77%, 1.0142 47.07%, 1.0144 53.43%,
    1.0054 68.37%, 1.0019 77.3%, .9998 99.98%
  );
  --ease-quad-in-out: cubic-bezier(.455, .03, .515, .955);
  --ease-expo-out: cubic-bezier(.19, 1, .22, 1);
}

@media screen and (max-width: 900px) {
  :root {
    --padding: 10rem;
    --width-reference: 394;
    --button-height: 38rem;
    --grid-margin: 20rem;
    --grid-gutter: 15rem;
    --grid-column: calc(var(--vw) / 6 - var(--grid-gutter) * 5 / 6 - var(--grid-margin) * 2 / 6);
  }
}

@media screen and (max-width: 420px) {
  :root {
    --padding: 8rem;
    --grid-margin: 15rem;
    --grid-gutter: 10rem;
    --grid-column: calc(var(--vw) / 6 - var(--grid-gutter) * 5 / 6 - var(--grid-margin) * 2 / 6);
  }
}

:root { overscroll-behavior: none; }

body,
html {
  background-color: var(--color-bg-dark);
  color: var(--color-white);
  font-family: var(--main-font);
  font-size: 18rem;
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1;
}

@media screen and (max-width: 900px) {
  body, html { font-size: 19rem; }
}

body,
html {
  height: auto;
  margin: 0;
  scroll-behavior: auto;
  width: 100%;
  -ms-overflow-style: none;
  scrollbar-width: none;
  overflow-x: hidden;
}

::-webkit-scrollbar { display: none; }

body { overflow: unset !important; }

sup { line-height: 0; }

html {
  font-family: var(--main-font);
  font-size: var(--rem);
  height: 100%;
  min-height: 100%;
  overflow: visible;
  overscroll-behavior-x: none;
  position: relative;
}

html.no-scroll body { height: var(--vh); overflow: hidden; }

body {
  background-color: var(--color-bg-dark);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  max-width: 100%;
  min-height: 100%;
  position: relative;
}

* {
  box-sizing: border-box;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  text-rendering: geometricprecision;
  -webkit-text-size-adjust: 100%;
  -webkit-touch-callout: none;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  margin: 0;
}

a, button {
  color: inherit;
  cursor: pointer;
  font-weight: inherit;
  letter-spacing: inherit;
  text-decoration: none;
}

button { margin-bottom: 0; margin-top: 0; }

a:active, a:focus, button:active, button:focus, input:active, input:focus { outline: none; }

[role="button"] { cursor: pointer; }

strong { font-weight: 700; }

nav, ul { margin: 0; padding: 0; }

nav li, ul li { list-style-type: none; }

img {
  display: block;
  -webkit-user-select: none;
  user-select: none;
}

button, input[type="submit"] {
  border: none;
  color: inherit;
  cursor: pointer;
  display: block;
  padding: 0;
}

button, input, input[type="submit"], textarea {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

button, input, textarea {
  border-radius: 0;
  font-family: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-align: inherit;
}

#app { display: flex; flex-direction: column; flex-grow: 1; min-height: inherit; }

@media screen and (max-width: 900px) {
  html { --border-size: 1rem !important; --vertical-padding: 8rem !important; }
  html.scroll-locked { overflow: clip; }
}

/* lenis-style smooth scroll helpers */
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* ---------------------------------------------------------------- transitions */
.fade-enter-from, .fade-leave-to { opacity: 0; }
.fade-enter-active, .fade-leave-active { transition: opacity .35s ease; }

.project-enter-from { opacity: 0; transform: translateY(80px) scale(.96); }
.project-enter-to { opacity: 1; transform: translateY(0) scale(1); }
.project-enter-active { transition: opacity .65s ease, transform .65s cubic-bezier(.16, 1, .3, 1); transition-delay: .2s; }
.project-leave-from { opacity: 1; transform: translateY(0) scale(1); }
.project-leave-to { opacity: 0; transform: translateY(0) scale(.985); }
.project-leave-active { inset: 0; position: absolute; transition: opacity .45s ease, transform .45s ease; }

.project-fade-enter-from { opacity: 0; transform: translateY(18rem) scale(.96); }
.project-fade-enter-active { transition: all .35s cubic-bezier(.22, 1, .36, 1); }
.project-fade-enter-to, .project-fade-leave-from { opacity: 1; transform: translateY(0) scale(1); }
.project-fade-leave-active { transition: all .25s cubic-bezier(.22, 1, .36, 1); }
.project-fade-leave-to { opacity: 0; transform: translateY(-12rem) scale(.96); }

.video-fade-enter-from, .video-fade-leave-to { border-top-left-radius: 16rem; border-top-right-radius: 16rem; opacity: 0; transform: scaleY(.95) scaleX(.95); }
.video-fade-enter-active, .video-fade-leave-active { transform-origin: bottom center; transition: opacity .4s ease-in-out, transform .4s ease-in-out, border-radius .4s ease-in-out; }
.video-fade-enter-active { transition-delay: .1s; }

.iconfade-leave-from { filter: blur(0); opacity: 1; transform: scale(1) rotate(0); }
.iconfade-leave-to { filter: blur(2px); opacity: 0; transform: scale(.8) rotate(15deg); }
.iconfade-leave-active { transition: opacity .25s ease, transform .25s ease, filter .25s ease; }
.iconfade-enter-from { filter: blur(2px); opacity: 0; transform: scale(.8) rotate(-15deg); }
.iconfade-enter-to { filter: blur(0); opacity: 1; transform: scale(1) rotate(0); }
.iconfade-enter-active { transition: opacity .25s ease, transform .25s ease, filter .25s ease; }

/* ---------------------------------------------------------------- BlobCursor */
.blob-cursor { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 9999; }
.blob-cursor-canvas { display: block; width: 100%; height: 100%; }

/* Fine pointers only: the WebGL blob replaces the native cursor. Touch /
   coarse pointers keep the native cursor (the cursor module skips them too). */
@media (pointer: fine) {
  * { cursor: none !important; }
}