/* ==========================================================================
   Amir Mushich — brand system
   Manrope, self-hosted. Headings 600 / -0.04em / 0.9. Body 400 / -0.04em / 1.2.
   ========================================================================== */

/* Manrope ships as a variable font: one file covers 400 and 600. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext carries the diacritics in "Mušić". */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #ffffff;
  --fg: #000000;
  --grey: #6b6b6b;
  --grey-soft: #909090;
  --border: #e5e5e5;
  --surface: #f4f4f4;

  --max: 1280px;
  --pad-x: 20px;
  --pad-y: 72px;
  --gap: 20px;

  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial,
    sans-serif;

  /* Type scale — clamped, never raw viewport units. */
  --t-h1: clamp(2.25rem, 6vw, 5.25rem);
  --t-h2: clamp(1.75rem, 3.2vw, 2.75rem);
  --t-h3: clamp(1.1875rem, 1.8vw, 1.5rem);
  --t-lead: clamp(1.0625rem, 1.5vw, 1.25rem);
  --t-body: 1rem;
  --t-small: 0.875rem;
  --t-label: 0.8125rem;

  --lh-heading: 0.9;
  --lh-body: 1.2;
  --ls: -0.04em;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 768px) {
  :root {
    --pad-x: 40px;
    --pad-y: 96px;
  }
}

/* ==========================================================================
   Base
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: var(--lh-body);
  letter-spacing: var(--ls);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  line-height: var(--lh-heading);
  letter-spacing: var(--ls);
  text-wrap: balance;
}

p,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  letter-spacing: var(--ls);
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: 500;
  line-height: var(--lh-body);
  letter-spacing: var(--ls);
  cursor: pointer;
}

::selection {
  background: var(--fg);
  color: var(--bg);
}

:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
  border-radius: 1px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--fg);
  color: var(--bg);
  font-size: var(--t-small);
}

.skip-link:focus {
  top: 12px;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.shell {
  margin: 0 auto;
  width: 100%;
  max-width: var(--max);
}

.section {
  padding: var(--pad-y) var(--pad-x);
}

.section--tight {
  padding-top: 0;
}

/* ==========================================================================
   Type helpers
   ========================================================================== */

.t-h1 {
  font-size: var(--t-h1);
}

.t-h2 {
  font-size: var(--t-h2);
}

.t-h3 {
  font-size: var(--t-h3);
}

.t-lead {
  font-size: var(--t-lead);
  line-height: var(--lh-body);
}

.t-small {
  font-size: var(--t-small);
}

/* Sentence case, never all-caps. */
.t-label {
  font-size: var(--t-label);
  line-height: var(--lh-body);
  color: var(--grey);
}

.t-grey {
  color: var(--grey);
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  padding: 16px var(--pad-x);
  background: var(--bg);
  border-bottom: 1px solid transparent;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  max-width: var(--max);
  font-size: var(--t-small);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 600;
}

/* Painted through a mask so the mark inherits currentColor. */
.brand__mark {
  display: block;
  flex: 0 0 auto;
  width: 40px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("../img/logo/mark.svg") no-repeat center / contain;
  mask: url("../img/logo/mark.svg") no-repeat center / contain;
}

.header__nav {
  display: none;
  gap: 4px;
}

@media (min-width: 900px) {
  .header__nav {
    display: flex;
  }
}

.header__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--grey);
  transition: color 0.2s var(--ease);
}

.header__nav a:hover,
.header__nav a[aria-current="page"] {
  color: var(--fg);
}

.header__mail {
  display: none;
  align-items: center;
  min-height: 44px;
}

@media (min-width: 900px) {
  .header__mail {
    display: inline-flex;
  }
}

.header__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  font-size: var(--t-small);
}

@media (min-width: 900px) {
  .header__toggle {
    display: none;
  }
}

/* Quiet underline reveal on text links. */
.link {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size 0.3s var(--ease), opacity 0.2s var(--ease);
}

.link:hover {
  background-size: 100% 1px;
}

.link--muted {
  color: var(--grey);
}

.link--muted:hover {
  color: var(--fg);
}

/* ==========================================================================
   Mobile menu
   ========================================================================== */

.menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px var(--pad-x) 40px;
  background: var(--bg);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.4s var(--ease), visibility 0.4s var(--ease);
}

.menu[data-open="true"] {
  transform: translateY(0);
  visibility: visible;
}

.menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: var(--t-small);
}

.menu__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

.menu__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: auto 0;
}

.menu__list a {
  display: block;
  padding: 6px 0;
  font-size: clamp(2rem, 11vw, 3.5rem);
  font-weight: 600;
  line-height: var(--lh-heading);
}

.menu__foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: var(--t-small);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: clamp(40px, 6vh, 72px) var(--pad-x);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 0 auto;
  max-width: var(--max);
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Measured in em, not ch: `ch` here resolves against the inherited 16px body
   size, not the 84px heading, which collapsed the whole hero column. */
.hero h1 {
  max-width: 12em;
}

.hero__support {
  max-width: 54ch;
  color: var(--grey);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   Hero with portrait
   Copy holds the left/centre mass, the portrait takes the right third and is
   allowed to bleed off the viewport edge. Activated by adding .hero--portrait
   plus the figure — see HANDOFF, the photo is not in yet.
   -------------------------------------------------------------------------- */

@media (min-width: 900px) {
  .hero--portrait .hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.82fr);
    grid-template-rows: minmax(0, 1fr) auto;
    column-gap: clamp(48px, 6vw, 96px);
    row-gap: clamp(40px, 6vh, 68px);
    align-items: center;
    align-content: center;
    min-height: min(670px, calc(100vh - 170px));
  }

  .hero--portrait .hero__content {
    grid-column: 1;
    grid-row: 1;
  }

  .hero--portrait .hero__portrait {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
  }

  .hero--portrait .hero__experience {
    grid-column: 1;
    grid-row: 2;
  }
}

.hero__portrait {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 36%;
}

@media (min-width: 900px) {
  .hero__portrait {
    aspect-ratio: 3 / 4;
  }

  .hero__portrait img {
    object-position: center;
  }
}

.hero__experience {
  display: grid;
}

.hero__logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 56px;
  gap: 28px 16px;
}

.hero__logo {
  --logo-width: 92px;
  --logo-height: 26px;
  --logo-opacity: 0.8;
  display: grid;
  place-items: center;
  min-width: 0;
  grid-column: span 2;
}

.hero__logo:nth-child(4) {
  grid-column: 2 / span 2;
}

.hero__logo:nth-child(5) {
  grid-column: 4 / span 2;
}

.hero__logo img {
  width: auto;
  height: auto;
  max-width: min(100%, var(--logo-width));
  max-height: var(--logo-height);
  object-fit: contain;
  image-rendering: auto;
  opacity: var(--logo-opacity);
}

.hero__logo--krea {
  --logo-width: 26px;
  --logo-height: 26px;
  --logo-opacity: 0.76;
}

.hero__logo--lightricks {
  --logo-width: 94px;
  --logo-height: 22px;
  --logo-opacity: 0.76;
}

.hero__logo--pepsi {
  --logo-width: 106px;
  --logo-height: 30px;
}

.hero__logo--spotify {
  --logo-width: 108px;
  --logo-height: 29px;
}

.hero__logo--wmg {
  --logo-width: 74px;
  --logo-height: 29px;
}

@media (min-width: 900px) {
  .hero__experience {
    align-self: end;
  }

  .hero__logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100%, calc(91.667% + 54px));
    min-height: 40px;
    gap: clamp(18px, 2vw, 38px);
  }

  .hero__logo {
    flex: 0 1 var(--logo-width);
  }
}

/* The homepage is one composed desktop viewport: header, hero, then footer.
   The footer divider and portrait share the exact same horizontal boundary. */
@media (min-width: 900px) {
  .home-page {
    height: 100svh;
    overflow-y: hidden;
  }

  .home-page .header,
  .home-page .footer {
    flex: 0 0 auto;
  }

  .home-page main {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
  }

  .home-page .hero {
    flex: 1 1 auto;
    min-height: 0;
    padding-top: clamp(28px, 5vh, 56px);
    padding-bottom: 0;
  }

  .home-page .hero__inner {
    height: 100%;
    min-height: 0;
    align-content: stretch;
  }

  .home-page .hero h1 {
    font-size: clamp(2.25rem, min(6vw, 9vh), 5.25rem);
  }

  .home-page .hero__portrait {
    align-self: end;
  }

  .home-page .hero__experience {
    padding-bottom: clamp(18px, 2.5vh, 28px);
  }

  .home-page .footer {
    margin-top: 0;
    padding-top: 24px;
    padding-bottom: 24px;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  font-size: var(--t-body);
  font-weight: 500;
  line-height: var(--lh-body);
  letter-spacing: var(--ls);
  border: 1px solid var(--fg);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    opacity 0.2s var(--ease);
}

.btn--solid {
  background: var(--fg);
  color: var(--bg);
}

.btn--solid:hover {
  opacity: 0.86;
}

.btn--ghost {
  background: transparent;
  color: var(--fg);
}

.btn--ghost:hover {
  background: var(--fg);
  color: var(--bg);
}

/* ==========================================================================
   Section heads
   ========================================================================== */

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 32px;
}

/* ==========================================================================
   Project (Lab)
   ========================================================================== */

.project {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

@media (min-width: 900px) {
  .project {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
  }

  /* No screenshot yet — don't leave half the row empty. */
  .project--text-only {
    grid-template-columns: 1fr;
  }
}

.project__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.project__desc {
  color: var(--grey);
  max-width: 52ch;
}

/* Slot kept for the Image Cloud Canvas screenshot once it exists. */
.project__media {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
}

.project__media img {
  width: 100%;
  height: auto;
  transition: transform 0.5s var(--ease);
}

.project:hover .project__media img {
  transform: scale(1.02);
}

/* Visual Lab index. Each tool is one clear, direct destination. */
.lab-card {
  display: block;
}

.lab-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 1560 / 998;
  background: var(--surface);
}

.lab-card__media picture,
.lab-card__media img {
  display: block;
  width: 100%;
  height: 100%;
}

.lab-card__media img {
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.lab-card:hover .lab-card__media img,
.lab-card:focus-visible .lab-card__media img {
  transform: scale(1.035);
}

.lab-card__body {
  display: grid;
  gap: 14px 32px;
  padding-top: 18px;
}

.lab-card__title {
  display: block;
  margin-top: 7px;
}

.lab-card__desc {
  max-width: 56ch;
  color: var(--grey);
}

.lab-card__link {
  font-size: var(--t-small);
  font-weight: 600;
}

@media (min-width: 768px) {
  .lab-card__body {
    grid-template-columns: 0.9fr 1.4fr auto;
    align-items: start;
  }
}

/* ==========================================================================
   Publications
   ========================================================================== */

.pub-list {
  display: flex;
  flex-direction: column;
}

/* Compact rows — used for the home preview. */
.pub-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  transition: opacity 0.2s var(--ease);
}

.pub-row:last-child {
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .pub-row {
    grid-template-columns: 140px 1fr auto;
    gap: 24px;
    align-items: baseline;
  }
}

.pub-row:hover {
  opacity: 0.62;
}

.pub-row__meta {
  color: var(--grey);
  font-size: var(--t-small);
}

.pub-row__title {
  font-size: var(--t-h3);
}

.pub-row__source {
  color: var(--grey);
  font-size: var(--t-small);
  white-space: nowrap;
}

/* Full cards — used on the Publications index. */
.pub-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}

.pub-card:last-child {
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .pub-card {
    grid-template-columns: 150px 1fr 260px;
    gap: 32px;
  }
}

.pub-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pub-card__desc {
  color: var(--grey);
  max-width: 60ch;
}

.pub-card__media {
  overflow: hidden;
  background: var(--surface);
}

.pub-card__media img {
  width: 100%;
  height: auto;
  transition: transform 0.5s var(--ease);
}

.pub-card:hover .pub-card__media img {
  transform: scale(1.02);
}

.ext {
  font-size: var(--t-small);
  color: var(--grey);
}

/* ==========================================================================
   Article pages (publication detail)
   ========================================================================== */

.article-head .shell {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-title {
  max-width: 16em;
}

.article-dek {
  max-width: 60ch;
  color: var(--grey);
}

.article-cover {
  margin: 0;
  overflow: hidden;
  background: var(--surface);
}

.article-cover img {
  width: 100%;
  height: auto;
}

/* Reading column stays narrow; figures run the full grid width. */
.article-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 68ch;
  font-size: var(--t-lead);
}

.article-body h2 {
  margin-top: 24px;
  max-width: 18em;
}

.article-body p {
  color: var(--grey);
}

.article-takeaway {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--fg) !important;
  font-weight: 600;
}

.article-figure {
  margin: 12px 0;
  max-width: none;
  width: 100%;
}

.article-figure img {
  width: 100%;
  height: auto;
  background: var(--surface);
}

.article-figure figcaption {
  margin-top: 10px;
  color: var(--grey);
  font-size: var(--t-small);
}

.article-source {
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.article-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   Prose (About)
   ========================================================================== */

.prose {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 62ch;
}

.prose p {
  font-size: var(--t-lead);
  color: var(--grey);
}

.prose p.lead {
  color: var(--fg);
}

.facts {
  display: flex;
  flex-direction: column;
}

.fact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}

.fact:last-child {
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .fact {
    grid-template-columns: 200px 1fr;
    gap: 32px;
  }
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
  }
}

.email-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.email-address {
  font-size: clamp(1.375rem, 4vw, 2.25rem);
  font-weight: 600;
  line-height: var(--lh-heading);
  letter-spacing: var(--ls);
  overflow-wrap: anywhere;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--border);
  font-size: var(--t-small);
  font-weight: 500;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease),
    color 0.2s var(--ease);
}

.copy-btn:hover {
  border-color: var(--fg);
}

.copy-btn[data-state="done"] {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--bg);
}

.social-list {
  display: flex;
  flex-direction: column;
}

.social-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 8px 0;
  border-top: 1px solid var(--border);
  color: var(--grey);
  transition: color 0.2s var(--ease);
}

.social-list a:last-child {
  border-bottom: 1px solid var(--border);
}

.social-list a:hover {
  color: var(--fg);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  margin-top: auto;
  padding: 40px var(--pad-x);
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  font-size: var(--t-small);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__social a {
  color: var(--grey);
  transition: color 0.2s var(--ease);
}

.footer__social a:hover {
  color: var(--fg);
}

.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer__legal {
  color: var(--grey-soft);
}

/* ==========================================================================
   Tap targets
   ==========================================================================
   Dense inline links sit on a 17-19px line box. Padding them out to 44px would
   wreck the vertical rhythm, so the hit area is expanded with a transparent
   pseudo-element instead: the target passes 44px, the layout does not move. */

.footer__social a,
.footer__col > .link,
.menu__foot a,
.section-head .link,
.article-source a {
  position: relative;
}

.footer__social a::after,
.footer__col > .link::after,
.menu__foot a::after,
.section-head .link::after,
.article-source a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 44px;
  transform: translateY(-50%);
}

.skip-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* ==========================================================================
   Motion
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

[data-reveal][data-visible="true"] {
  opacity: 1;
  transform: none;
}

/* Restrained custom cursor for fine pointers only. */
.site-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: #ffffff;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: difference;
  transform: translate3d(-100px, -100px, 0);
  transition: width 0.35s var(--ease), height 0.35s var(--ease),
    opacity 0.2s ease, background-color 0.35s var(--ease);
  will-change: transform, width, height;
}

.site-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 201;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffffff;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: difference;
  transform: translate3d(-100px, -100px, 0);
  transition: opacity 0.2s ease;
  will-change: transform;
}

.site-cursor.is-visible,
.site-cursor-dot.is-visible {
  opacity: 1;
}

.site-cursor.is-active {
  width: 42px;
  height: 42px;
  background: currentColor;
}

.site-cursor-dot.is-active {
  opacity: 0;
}

.site-cursor.has-label {
  width: 72px;
  height: 72px;
  background: currentColor;
}

.site-cursor__label {
  position: absolute;
  color: #000000;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: var(--ls);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.site-cursor.has-label .site-cursor__label {
  opacity: 1;
}

@media (pointer: fine) and (hover: hover) {
  html.has-custom-cursor,
  html.has-custom-cursor a,
  html.has-custom-cursor button {
    cursor: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
