/* ================================================================
   NOIR&CO — pure black / bone white / gold ×3
   Display: Anton (brutalist)  ·  Body: Cormorant Garamond (serif)
   Gold appears exactly three times:
     1. the ampersand in the hero wordmark      (.hero-title .amp)
     2. the final kinetic word UNFORGETTABLE.   (.kinetic-word[data-idx="2"])
     3. the footer email link                   (.footer-mail)
   The cursor dot/ring is interaction chrome, not page design.
   ================================================================ */

:root {
  --black: #060606;
  --bone: #ede7dc;
  --bone-60: rgba(237, 231, 220, .6);
  --bone-35: rgba(237, 231, 220, .35);
  --bone-14: rgba(237, 231, 220, .14);
  --gold: #c8a24b;
  --display: 'Anton', 'Arial Black', sans-serif;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --pad: clamp(20px, 4vw, 64px);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--bone);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }

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

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

/* ---------------- grain ---------------- */
.grain {
  position: fixed; inset: -60%;
  width: 220%; height: 220%;
  pointer-events: none; z-index: 60; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 7s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 3%); }
}

/* ---------------- cursor ---------------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 100;
  border-radius: 50%;
  opacity: 0;
  will-change: transform;
}
body.cursor-on .cursor-dot, body.cursor-on .cursor-ring { opacity: 1; }
.cursor-dot {
  width: 7px; height: 7px;
  margin: -3.5px 0 0 -3.5px;
  background: var(--gold);
}
.cursor-ring {
  width: 34px; height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid var(--gold);
  transition: width .25s ease, height .25s ease, margin .25s ease, opacity .3s ease;
}
.cursor-ring.is-big {
  width: 58px; height: 58px;
  margin: -29px 0 0 -29px;
}

/* ---------------- header ---------------- */
.site-head {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px var(--pad);
  z-index: 50;
  mix-blend-mode: difference;
}
.mark {
  font-family: var(--display);
  font-size: 18px; letter-spacing: .06em;
}
.site-nav a {
  font-family: var(--serif); font-style: italic;
  font-size: 17px;
  margin-left: clamp(14px, 2.4vw, 38px);
  opacity: .75; transition: opacity .3s;
}
.site-nav a:hover { opacity: 1; }

/* ---------------- hero ---------------- */
.hero { height: 420vh; position: relative; }
.hero-sticky {
  position: sticky; top: 0; height: 100vh;
  overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-veil {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(6,6,6,.72) 100%);
}
.hero-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
}
.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 25.5vw;
  line-height: .95;
  letter-spacing: -.005em;
  white-space: nowrap;
  user-select: none;
}
.hero-title .amp { color: var(--gold); }          /* gold use 1 of 3 */
.manifesto {
  margin-top: clamp(10px, 2vh, 26px);
  font-size: clamp(19px, 2.1vw, 30px);
  font-style: italic;
  color: var(--bone-60);
  min-height: 1.6em;
}
.caret {
  display: inline-block;
  width: 1px; height: 1em;
  margin-left: 3px;
  background: var(--bone);
  vertical-align: -0.15em;
  animation: blink 1s steps(1) infinite;
}
.caret.done { animation: blink 1s steps(1) 4; opacity: 0; transition: opacity 1s 4s; }
@keyframes blink { 50% { opacity: 0; } }

.scroll-hint {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--serif); font-style: italic;
  font-size: 15px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--bone-35);
}
.scroll-line {
  display: block; width: 1px; height: 46px;
  background: linear-gradient(var(--bone-35), transparent);
  animation: drip 2.2s ease-in-out infinite;
}
@keyframes drip {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------------- kinetic manifesto ---------------- */
.kinetic { height: 400vh; position: relative; background: var(--black); }
.kinetic-sticky {
  position: sticky; top: 0; height: 100vh;
  overflow: hidden;
}
.kinetic-word {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--display);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  font-size: 17vw;
  visibility: hidden; opacity: 0;
  user-select: none;
}
.kinetic-word[data-idx="1"] { font-size: 14.5vw; }
.kinetic-word[data-idx="2"] { font-size: 9.6vw; color: var(--gold); }   /* gold use 2 of 3 */
.kinetic-word.active {
  visibility: visible; opacity: 1;
  animation: slam .5s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes slam {
  0%   { transform: scale(3.2); opacity: 0; filter: blur(16px); }
  55%  { opacity: 1; }
  72%  { transform: scale(.985); filter: blur(0); }
  100% { transform: scale(1); }
}
.kinetic-count {
  position: absolute; bottom: 34px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif); font-style: italic;
  font-size: 15px; letter-spacing: .3em;
  color: var(--bone-35);
}

/* ---------------- shared section chrome ---------------- */
.section-head {
  display: flex; align-items: baseline; gap: 18px;
  padding: 0 var(--pad);
  margin-bottom: clamp(28px, 5vh, 60px);
}
.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 72px);
  text-transform: uppercase;
  letter-spacing: .01em;
}
.section-index {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(18px, 1.8vw, 26px);
  color: var(--bone-35);
}
.kicker {
  font-family: var(--serif); font-style: italic;
  font-size: 17px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--bone-60);
}

/* ---------------- selected work ---------------- */
.work { padding: clamp(80px, 14vh, 160px) 0; }
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 48px);
  padding: 0 var(--pad);
}
.work-card { position: relative; }
.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0c0c0c;
  border: 1px solid var(--bone-14);
}
.card-media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .5s ease, transform 1.2s cubic-bezier(.16, 1, .3, 1);
}
/* card 01 · Aurum & Noir — centred product reveal, full colour, subtle push-in */
.work-card[data-card="0"] video { object-position: 50% 50%; transform: scale(1.12); }
/* card 02 · Moth — placeholder crop of the abstract showreel clip */
.work-card[data-card="1"] video { object-position: 38% 40%; transform: scale(1.7); filter: grayscale(1) contrast(1.15); }
/* card 03 · Vesper — centred interior, full colour */
.work-card[data-card="2"] video { object-position: 50% 50%; transform: scale(1.12); }
/* card 04 · Ashfall — cinematic; scaled past the letterbox bars */
.work-card[data-card="3"] video { object-position: 50% 50%; transform: scale(1.22); }
.work-card:hover video, .work-card.is-hover video { opacity: 1; }
.work-card[data-card="0"]:hover video, .work-card[data-card="0"].is-hover video { transform: scale(1); }
.work-card[data-card="1"]:hover video, .work-card[data-card="1"].is-hover video { transform: scale(1.52); }
.work-card[data-card="2"]:hover video, .work-card[data-card="2"].is-hover video { transform: scale(1); }
.work-card[data-card="3"]:hover video, .work-card[data-card="3"].is-hover video { transform: scale(1.1); }

/* whole-card link to the live project (only on cards that have one) */
.card-link {
  position: absolute; inset: 0;
  z-index: 3;
}
.card-visit {
  position: absolute;
  top: clamp(16px, 2vw, 30px);
  right: clamp(16px, 2vw, 30px);
  font-family: var(--serif); font-style: italic;
  font-size: clamp(15px, 1.4vw, 20px);
  letter-spacing: .1em;
  color: var(--bone);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .4s ease, transform .4s cubic-bezier(.16, 1, .3, 1);
  pointer-events: none;
}
.work-card:hover .card-visit, .work-card.is-hover .card-visit {
  opacity: 1; transform: none;
}

.card-face {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(16px, 2vw, 30px);
  transition: background .5s ease;
  background: transparent;
}
.work-card:hover .card-face, .work-card.is-hover .card-face {
  background: linear-gradient(rgba(6,6,6,.05) 55%, rgba(6,6,6,.55));
}
.card-no {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(17px, 1.6vw, 24px);
  color: var(--bone-60);
}
.card-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(38px, 4.6vw, 84px);
  line-height: .95;
  text-transform: uppercase;
  transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}
.work-card:hover .card-title, .work-card.is-hover .card-title { transform: translateX(10px); }
.card-meta {
  display: flex; justify-content: space-between; gap: 12px;
  padding-top: 12px;
  font-size: 17px;
}
.card-client { font-style: italic; }
.card-scope { color: var(--bone-35); }

/* ---------------- services ---------------- */
.services {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(32px, 5vw, 90px);
  padding: clamp(80px, 14vh, 160px) var(--pad);
  border-top: 1px solid var(--bone-14);
}
.services-left .section-title { margin-bottom: 26px; }
.services-lede {
  font-size: clamp(20px, 1.7vw, 27px);
  line-height: 1.55;
  color: var(--bone-60);
  max-width: 30ch;
}
.service-row {
  display: grid;
  grid-template-columns: 3.4em 1fr;
  grid-template-rows: auto auto;
  column-gap: 8px; row-gap: 6px;
  padding: clamp(20px, 3vh, 34px) 0;
  border-top: 1px solid var(--bone-14);
}
.service-row:last-child { border-bottom: 1px solid var(--bone-14); }
.service-no {
  grid-row: 1 / 3;
  font-family: var(--serif); font-style: italic;
  font-size: 17px; color: var(--bone-35);
  padding-top: .55em;
}
.service-name {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(26px, 2.8vw, 46px);
  text-transform: uppercase;
  transition: transform .45s cubic-bezier(.16, 1, .3, 1);
}
.service-row:hover .service-name { transform: translateX(12px); }
.service-desc { color: var(--bone-60); max-width: 46ch; }

/* ---------------- team ---------------- */
.team {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.team video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.team-veil {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(6,6,6,.82) 0%, rgba(6,6,6,.25) 45%, rgba(6,6,6,.88) 100%);
}
.team-content {
  position: relative;
  width: 100%;
  padding: clamp(80px, 16vh, 180px) var(--pad) clamp(50px, 9vh, 100px);
}
.team-lede {
  font-size: clamp(24px, 2.6vw, 42px);
  font-style: italic;
  max-width: 24ch;
  margin: 18px 0 clamp(36px, 7vh, 80px);
}
.team-list { list-style: none; }
.team-list li {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--bone-14);
}
.team-name {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 44px);
  text-transform: uppercase;
}
.team-role { font-style: italic; color: var(--bone-60); font-size: clamp(16px, 1.4vw, 21px); }

/* ---------------- footer ---------------- */
.footer {
  padding: clamp(90px, 18vh, 200px) var(--pad) 40px;
  border-top: 1px solid var(--bone-14);
}
.footer-cta {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(52px, 9.6vw, 200px);
  line-height: .96;
  text-transform: uppercase;
  max-width: 12ch;
}
.footer-mail {
  display: inline-block;
  margin-top: clamp(30px, 6vh, 70px);
  font-family: var(--serif); font-style: italic;
  font-size: clamp(26px, 3.4vw, 54px);
  color: var(--gold);                                /* gold use 3 of 3 */
  border-bottom: 1px solid currentColor;
  line-height: 1.25;
  transition: opacity .3s;
}
.footer-mail:hover { opacity: .8; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 20px; flex-wrap: wrap;
  margin-top: clamp(70px, 14vh, 150px);
  padding-top: 24px;
  border-top: 1px solid var(--bone-14);
}
.footer-socials a {
  font-size: 17px; font-style: italic;
  margin-right: clamp(14px, 2.4vw, 36px);
  opacity: .75; transition: opacity .3s;
}
.footer-socials a:hover { opacity: 1; }
.footer-fine { font-size: 15px; color: var(--bone-35); }

/* ---------------- scroll reveals ---------------- */
.io {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.16, 1, .3, 1);
}
.io.inview { opacity: 1; transform: none; }

/* ---------------- responsive ---------------- */
@media (max-width: 900px) {
  .work-grid { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .site-nav a:not(:last-child) { display: none; }
  .hero-title { font-size: 26vw; }
  .kinetic-word { font-size: 22vw; }
  .kinetic-word[data-idx="1"] { font-size: 19vw; }
  .kinetic-word[data-idx="2"] { font-size: 12.5vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain, .scroll-line { animation: none; }
  .io { opacity: 1; transform: none; transition: none; }
  .kinetic-word.active { animation: none; }
}
