/* =========================================================
   NOTHIN' — clone stylesheet
   Design system: pure black/white, fluid vw-based type scale,
   General Sans (free stand-in for the paid PP Neue Montreal)
   + IBM Plex Mono for eyebrow/mono labels.
   ========================================================= */

:root {
  --black: #000;
  --white: #fff;
  --grey: #8e8e8e;
  --cream: #e3e1de;
  --font-display: "General Sans", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
}

/* Fluid root: 1vw on desktop so all rem values scale with viewport,
   like the source site. Fixed 16px below 991px (see media query). */
html { font-size: calc(0rem + 1vw); }
@media screen and (max-width: 991px) { html { font-size: 1rem; } }

* , *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html, body { width: 100%; -webkit-font-smoothing: antialiased; overscroll-behavior: none; }

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  overflow-x: hidden;
}

body::-webkit-scrollbar { display: none; }
body { -ms-overflow-style: none; scrollbar-width: none; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

::selection { background: var(--black); color: var(--white); }

.container { width: 100%; max-width: 100vw; padding: 0 1.25rem; position: relative; }

/* -------- reveal utility (animated in by main.js / GSAP) -------- */
[data-reveal] { opacity: 0; }

/* =========================================================
   LOADER
   ========================================================= */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--black);
  color: var(--white);
  display: flex;
}
.loader-c {
  width: 100%;
  flex-flow: column;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  font-size: 1rem;
}
.loader-top { width: 100%; }
.loader-anim { position: relative; height: 7.6rem; display: flex; align-items: flex-start; justify-content: center; }
.n-load { font-size: 5.5rem; font-weight: 700; line-height: 1; opacity: 0.9; text-transform: uppercase; }
.loader-img-w { position: relative; width: 1rem; height: 20rem; margin-top: -25%; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.loader-img { position: absolute; width: 12rem; opacity: 0; object-fit: contain; }
.loader-nbr-w { font-variant-numeric: tabular-nums; }

/* =========================================================
   NAV — fixed, mix-blend-mode:difference so a single white
   logo/text auto-inverts over light or dark sections.
   ========================================================= */
.nav-boiler {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  width: 100%;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.28rem 1.25rem 0;
  color: var(--white);
  mix-blend-mode: difference;
  pointer-events: none;
}
.nav-logo-wrap { pointer-events: auto; display: inline-flex; }
.text-logo {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-size: 1.1rem;
  color: inherit;
  white-space: nowrap;
}
@media (max-width: 767px) { .text-logo { font-size: 1.4rem; } }

.menu-w { pointer-events: auto; display: flex; align-items: center; gap: 2rem; }
.menu-btn { display: flex; align-items: center; gap: 0.5rem; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; font-weight: 700; }
.menu-svg { width: 0.85rem; height: 0.85rem; transition: transform 0.5s var(--ease); }
.menu-btn[aria-expanded="true"] .menu-svg { transform: rotate(45deg); }
.menu-links-w { display: none; gap: 1.5rem; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; font-weight: 700; }
@media (min-width: 992px) { .menu-links-w { display: flex; } .menu-btn { display: none; } }
.link-boiler { position: relative; opacity: 0.85; transition: opacity 0.3s; }
.link-boiler:hover { opacity: 1; }

/* mobile fullscreen overlay menu */
@media (max-width: 991px) {
  .menu-links-w {
    display: flex;
    flex-flow: column;
    position: fixed;
    inset: 0;
    background: var(--black);
    color: var(--white);
    justify-content: center;
    align-items: center;
    gap: 2rem;
    font-size: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
  }
  .menu-links-w.is-open { opacity: 1; pointer-events: auto; }
}

/* =========================================================
   HERO
   ========================================================= */
.section.hero-home {
  position: relative;
  width: 100%;
  height: 100vh;
  background: var(--white);
  overflow: hidden;
  display: flex;
  flex-flow: column;
  justify-content: flex-end;
}

.hero-wordmark-w {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-wordmark {
  width: 100%;
  padding: 0 1.25rem;
  color: var(--black);
  display: flex;
  flex-flow: row;
  align-items: center;
  justify-content: center;
  gap: 0.2em;
  font-size: clamp(2.2rem, 13vw, 4rem);
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-align: center;
}
@media (min-width: 992px) {
  .hero-wordmark { font-size: clamp(4rem, 17vw, 13rem); }
}

.hero-overlay {
  position: absolute;
  left: 1.25rem;
  top: 5rem;
  z-index: 2;
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  gap: 1.5rem;
}
.p-l { font-size: 1.375rem; font-weight: 500; line-height: 1.25; }

/* Fixed CTA: pinned top-left, faded out by main.js (initHeroCta) before
   the panoramic photo section arrives. */
.hero-cta-fixed { position: fixed; left: 1.25rem; top: 9.5rem; z-index: 40; }
.btn.btn-sm { padding: 0.7rem 0.9rem 0.7rem 1rem; font-size: 0.65rem; gap: 0.625rem; }
.btn.btn-sm .arrow-w { width: 0.75rem; }

.hero-bottom-w {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 1.25rem 1.5rem;
  font-size: 0.9375rem;
}
.hero-bottom-right { display: flex; gap: 0.75rem; align-items: center; text-transform: uppercase; font-weight: 700; font-size: 0.75rem; letter-spacing: 0.03em; }
.hero-bottom-right a:hover { opacity: 0.6; }
.lang-pill { border: 1px solid currentColor; border-radius: 4px; padding: 0.1em 0.4em; font-size: 0.7rem; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  background: var(--black);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 6.25rem;
  padding: 1rem 1.25rem 1rem 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 500;
  transition: border-color 0.4s, background 0.4s, color 0.4s;
}
.btn:hover { border-color: #fff; }
.btn.white { background: var(--white); color: var(--black); border-color: var(--black); }
.btn.black-blend { mix-blend-mode: difference; }
.arrow-w { position: relative; width: 1rem; height: 0.4rem; display: inline-flex; align-items: center; }
.line-arrow { width: 0.82rem; height: 1px; background: currentColor; }
.shape-arrow { position: absolute; right: 0; width: 0.4rem; height: 0.4rem; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn.email .arobase { font-size: 1rem; }

/* =========================================================
   SHOWREEL
   ========================================================= */
.section.showreel { background: var(--black); color: var(--white); padding-top: 6.5rem; padding-bottom: 6rem; }
.h1-home { font-size: 3.4rem; letter-spacing: -0.01em; line-height: 1.05; font-weight: 500; }
.balance { text-wrap: balance; }

.showreel-pin { margin-top: 3.5rem; padding: 0 1.25rem; display: flex; flex-flow: column; gap: 2.5rem; }
.showreel-video-w {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #0a0a0a;
  border-radius: 4px;
  overflow: hidden;
}
.showreel-video { width: 100%; height: 100%; object-fit: cover; }
.showreel-progress { position: absolute; left: 3%; right: 3%; bottom: 3%; height: 2px; background: rgba(255,255,255,0.25); }
.showreel-progress span { display: block; height: 100%; width: 30%; background: var(--white); }

.showreel-side { max-width: 27rem; display: flex; flex-flow: column; gap: 1rem; }
.p-m { font-size: 1.125rem; font-weight: 500; line-height: 1.35; }

@media (min-width: 992px) {
  .showreel-pin { flex-flow: row; align-items: flex-end; justify-content: flex-end; gap: 6.25rem; }
  .showreel-video-w { position: absolute; left: 1.25rem; top: 0; width: 62%; }
  .showreel-pin { position: relative; min-height: 34rem; }
}

/* =========================================================
   WORKS
   ========================================================= */
.section.works { background: var(--black); color: var(--white); padding: 6rem 0 8rem; }

.works-word-w {
  display: flex;
  justify-content: flex-start;
  gap: 0.08em;
  mix-blend-mode: difference;
  margin-bottom: 3rem;
}
.works-word { font-size: 1.875rem; font-weight: 700; letter-spacing: -0.03em; text-transform: uppercase; display: inline-block; }

.titile-section-work { font-size: 2.1rem; max-width: 40rem; margin-left: auto; text-align: right; margin-bottom: 5rem; }

.work_list { display: flex; flex-flow: column; gap: 6rem; }
.work_item { display: flex; flex-flow: column; gap: 0.4rem; }
.title-work { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--grey); margin-bottom: 0.5rem; }
.short-p-work { font-size: 1.5rem; font-weight: 500; margin-bottom: 1rem; }
.work-link { position: relative; display: block; overflow: hidden; border-radius: 4px; }
.img-work { width: 100%; height: auto; object-fit: cover; transition: transform 0.6s var(--ease); }
.work-link:hover .img-work { transform: scale(1.04); }

@media (min-width: 992px) {
  .work_list { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 1rem; row-gap: 10rem; align-items: center; }
  .work_item { grid-column: span 6; }
  .work_item--offset { margin-top: 6rem; }
  .work_item:nth-child(1) { grid-column: 1 / span 6; }
  .work_item:nth-child(2) { grid-column: 8 / span 5; }
  .work_item:nth-child(3) { grid-column: 1 / span 6; }
  .work_item:nth-child(4) { grid-column: 7 / span 6; }
}

.work-view-all-w { margin-top: 6rem; display: flex; justify-content: space-between; align-items: center; }
.btn.view-all-btn { background: transparent; border: none; color: var(--white); padding: 0; font-size: 1.6rem; text-transform: none; letter-spacing: -0.01em; }
.btn.view-all-btn svg { width: 1.4rem; }
.nbr-works-w { font-family: var(--font-mono); font-size: 1rem; color: var(--grey); }

/* =========================================================
   STUDIO VIDEO
   ========================================================= */
.section.studio-video { background: #111; color: var(--white); padding: 4rem 1.25rem; }
.musee-w { max-width: 72rem; margin: 0 auto; border-radius: 4px; overflow: hidden; }
.video-sticky { width: 100%; height: auto; display: block; }

/* =========================================================
   STUDIO
   ========================================================= */
.section.studio { background: var(--black); color: var(--white); padding: 8rem 0; position: relative; overflow: clip; }
.info-w { max-width: 40rem; display: flex; flex-flow: column; gap: 1.5rem; margin-bottom: 5rem; }
.studio-copy { color: var(--white); }

.img-block-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 8rem; }
.img-block-left-w { border-radius: 4px; overflow: hidden; }
.text-block-4 { margin-top: 1rem; font-size: 1.1rem; color: var(--grey); }
@media (min-width: 992px) {
  .img-block-grid { grid-template-columns: 1fr 1.3fr; align-items: center; gap: 4rem; }
}

.section.studio > .container > .h1-home { margin-bottom: 5rem; }

.infobusiness-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 6rem; }
.list { display: flex; flex-flow: column; gap: 0.6rem; margin-bottom: 2rem; }
.list li { display: flex; align-items: center; gap: 0.75rem; font-size: 1.3rem; }
.list-dot { width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--white); display: inline-block; }
.perspective-copy { color: var(--grey); font-size: 1.1rem; }
@media (min-width: 992px) { .infobusiness-grid { grid-template-columns: 1fr 1fr; } }

/* =========================================================
   GLITCH
   ========================================================= */
.section.glitch { position: relative; background: var(--black); color: var(--white); min-height: 130vh; overflow: clip; }
.glitch-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.glitch-text-w {
  position: sticky; top: 0; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 0 1.25rem;
}
.glitch-final {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

/* =========================================================
   FOOTER
   ========================================================= */
.section-footer { background: var(--black); color: var(--white); padding: 6rem 0 1.5rem; }
.footer-c { display: flex; flex-flow: column; }
.footer-cta-row { display: flex; flex-flow: column; gap: 2rem; margin-top: 1.5rem; }
.footer-btns { display: flex; flex-wrap: wrap; gap: 1rem; }
.social-links-w { display: flex; flex-flow: column; gap: 0.25rem; }
.link.footer { font-size: 1.4rem; font-weight: 500; }
.link.footer:hover { opacity: 0.6; }

@media (min-width: 992px) {
  .footer-cta-row { flex-flow: row; justify-content: space-between; align-items: flex-start; }
}

.footer-svg-w { margin-top: 6rem; color: var(--white); }
.footer-wordmark {
  width: 100%;
  display: flex;
  flex-flow: row;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-align: center;
}
.footer-wordmark span { font-size: clamp(2.2rem, 13vw, 4rem); }
@media (min-width: 992px) {
  .footer-wordmark span { font-size: clamp(4rem, 17vw, 13rem); }
}

.footer-info-w { margin-top: 1.5rem; display: flex; flex-flow: column; gap: 0.25rem; }
@media (min-width: 992px) { .footer-info-w { flex-flow: row; justify-content: space-between; } }
.footer-info { font-size: 0.8rem; color: var(--grey); }
.hide-tablet { display: none; }
@media (min-width: 992px) { .hide-tablet { display: block; } }

/* =========================================================
   CUSTOM CURSOR — trailing "NOTHIN'" letters (desktop pointer only)
   ========================================================= */
.cursor-letters { position: fixed; top: 0; left: 0; z-index: 950; pointer-events: none; display: none; }
.cursor-letters span {
  position: absolute; top: 0; left: 0;
  font-weight: 700; font-size: 0.8rem; color: var(--white);
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  opacity: 0; /* faded in on first mousemove by main.js, avoids a stray glyph at 0,0 on load */
}
@media (min-width: 992px) and (hover: hover) and (pointer: fine) {
  .cursor-letters { display: block; }
}

/* work-link cursor pill label */
.work-link { cursor: none; }
.cursor-pill {
  position: fixed; top: 0; left: 0; z-index: 960; pointer-events: none;
  background: var(--white); color: var(--black);
  font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.03em;
  padding: 0.4rem 0.9rem; border-radius: 100px;
  opacity: 0; transform: translate(-50%, -50%) scale(0.8);
  white-space: nowrap;
}
