/* ============================================================
   Nadine Colijn — Digital Fashion
   Ported from the Claude Design prototype to a standalone site.
   ============================================================ */

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---- Tokens ---- */
:root {
  --ink:            #141412;   /* near-black stage */
  --ink-soft:       #1f1e1b;   /* image wells */
  --paper:          #f4f3ef;   /* warm paper */
  --paper-alt:      #e6e4de;
  --text:           #37352f;   /* warm black ink */
  --text-secondary: #787774;
  --text-tertiary:  #9b9a97;
  --rose:           #c9928c;   /* signature accent */

  --cream-05: rgba(244,243,239,0.05);
  --cream-40: rgba(244,243,239,0.40);
  --cream-50: rgba(244,243,239,0.50);
  --cream-55: rgba(244,243,239,0.55);
  --cream-70: rgba(244,243,239,0.70);
  --ink-50:  rgba(55,53,47,0.50);
  --ink-82:  rgba(55,53,47,0.82);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: "Bodoni Moda", Georgia, "Times New Roman", serif;
  --font-mono: "Space Grotesk", var(--font-sans);

  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: clip;
}

::selection { background: var(--paper); color: var(--ink); }

.nc-digital {
  font-family: var(--font-mono);
  font-style: normal;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}

/* ============================================================
   Custom cursor
   ============================================================ */
#nc-cursor {
  position: fixed; top: 0; left: 0; z-index: 200;
  width: 14px; height: 14px; border-radius: 999px;
  background: var(--paper); mix-blend-mode: difference;
  pointer-events: none; transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease), height 0.35s var(--ease);
  display: flex; align-items: center; justify-content: center;
}
#nc-cursor-label {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink); opacity: 0; transition: opacity 0.25s var(--ease);
  white-space: nowrap;
}
body.nc-cursor-on { cursor: none; }
body.nc-cursor-on a,
body.nc-cursor-on button,
body.nc-cursor-on input,
body.nc-cursor-on textarea { cursor: none; }

/* ============================================================
   Header / nav
   ============================================================ */
.nc-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 32px; mix-blend-mode: difference;
}
.nc-header__tag {
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--paper); flex: 1;
}
.nc-header__brand {
  font-family: var(--font-display); font-size: 19px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--paper);
  white-space: nowrap;
}
.nc-header__right { flex: 1; display: flex; justify-content: flex-end; }
.nc-menu-btn {
  width: 22px; height: 22px; border-radius: 999px;
  background: var(--rose); border: none; padding: 0; cursor: pointer;
  transition: transform 0.35s var(--ease);
}
.nc-menu-btn:hover { transform: scale(1.15); }

/* ---- Menu overlay ---- */
.nc-menu {
  position: fixed; inset: 0; z-index: 150; background: var(--ink);
  display: flex; flex-direction: column; justify-content: center; padding: 0 32px;
  transform: translateY(-100%); visibility: hidden;
  transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1), visibility 0.6s;
}
.nc-menu.is-open { transform: translateY(0); visibility: visible; }
.nc-menu__close {
  position: absolute; top: 22px; right: 32px; background: none; border: none;
  color: var(--paper); font-size: 38px; line-height: 1; cursor: pointer;
  font-family: var(--font-display);
}
.nc-menu nav { display: flex; flex-direction: column; gap: 6px; }
.nc-menu nav a {
  font-family: var(--font-display); font-size: clamp(44px, 10vw, 96px);
  font-weight: 400; color: var(--paper); line-height: 1.02; width: max-content;
  transition: color 0.3s var(--ease), transform 0.4s var(--ease-expo);
}
.nc-menu nav a:hover { color: var(--rose); transform: translateX(18px); }
.nc-menu__foot {
  position: absolute; bottom: 32px; left: 32px;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cream-55);
}

/* ============================================================
   Hero — scroll-driven type + pinned portrait
   ============================================================ */
.nc-hero { position: relative; height: 320vh; background: var(--ink); }
.nc-hero__pin {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.nc-hero__words, .nc-hero__words--front {
  position: absolute; left: 0; right: 0; top: 50%;
  will-change: transform; transform: translateY(-50%); pointer-events: none;
}
.nc-hero__words { z-index: 1; }
.nc-hero__words--front { z-index: 3; }
.nc-word {
  font-family: var(--font-display); font-weight: 400; color: var(--paper);
  line-height: 0.86; letter-spacing: -0.02em; white-space: nowrap;
  font-size: clamp(88px, 21vw, 320px); text-align: center;
}
.nc-hero__frame {
  position: relative; z-index: 2;
  width: clamp(320px, 46vw, 620px); aspect-ratio: 3 / 2;
  overflow: hidden; background: var(--ink-soft);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.nc-scrollcue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  pointer-events: none; z-index: 4;
}
.nc-scrollcue span:first-child {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cream-55);
}
.nc-scrollcue__line {
  width: 1px; height: 44px; background: var(--cream-50);
  animation: ncFloat 2.4s var(--ease) infinite;
}

/* ---- Image hover zoom (shared) ---- */
.nc-zoom-inner {
  transition: transform 0.9s var(--ease-expo); will-change: transform;
  height: 100%; width: 100%;
}
.nc-zoom-inner img { width: 100%; height: 100%; object-fit: cover; }
.nc-zoom:hover .nc-zoom-inner { transform: scale(1.06); }

/* ============================================================
   Projects — pinned horizontal timeline
   ============================================================ */
.nc-projects { position: relative; height: 240vh; background: var(--ink); }
.nc-projects__pin {
  position: sticky; top: 0; height: 100vh; overflow: hidden; color: var(--paper);
}
.nc-projects__head {
  position: absolute; top: 28px; left: 32px; right: 32px; z-index: 10;
  display: flex; align-items: baseline; justify-content: space-between;
}
.nc-projects__title { font-family: var(--font-display); font-size: clamp(20px, 2vw, 28px); }
.nc-projects__title em { font-style: italic; }
.nc-projects__count {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--cream-50);
}
.nc-projects__stage { position: absolute; inset: 0; display: flex; align-items: center; }
.nc-gallery {
  display: flex; align-items: center; gap: 6vw; padding: 0 22vw; will-change: transform;
}
.nc-gitem {
  flex: 0 0 auto; width: 56vw; max-width: 600px; color: inherit; will-change: transform;
}
.nc-gitem__frame {
  position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-soft);
}
.nc-gitem__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 48%, rgba(20,20,18,0.62) 100%);
}
.nc-gitem__cap { position: absolute; left: 26px; bottom: 24px; right: 26px; pointer-events: none; }
.nc-gitem__year {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--cream-70); margin-bottom: 8px;
}
.nc-gitem__name { font-family: var(--font-display); font-size: clamp(34px, 4vw, 60px); line-height: 1; }
.nc-gitem__meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px; gap: 16px;
}
.nc-gitem__tag { font-size: 15px; color: var(--cream-70); }
.nc-gitem__view {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--rose);
}

/* ---- Timeline line ---- */
.nc-timeline { position: absolute; left: 32px; right: 32px; bottom: 46px; z-index: 10; }
.nc-timeline__track { position: relative; height: 1px; background: rgba(244,243,239,0.18); }
.nc-timeline__fill { position: absolute; left: 0; top: 0; height: 1px; width: 0%; background: var(--rose); }
.nc-timeline__dot {
  position: absolute; top: 50%; left: 0%; width: 9px; height: 9px; border-radius: 999px;
  background: var(--rose); transform: translate(-50%, -50%);
}
.nc-timeline__labels {
  display: flex; justify-content: space-between; margin-top: 14px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--cream-50);
}

/* ============================================================
   About
   ============================================================ */
.nc-about {
  background: var(--paper); color: var(--text);
  display: flex; flex-wrap: wrap; align-items: stretch; min-height: 100vh;
}
.nc-about__media {
  flex: 1 1 46%; display: flex; align-items: center; justify-content: center;
  padding: clamp(48px, 6vw, 88px);
}
.nc-about__frame {
  position: relative; width: 100%; max-width: 380px; aspect-ratio: 4 / 5;
  overflow: hidden; background: var(--paper-alt);
}
.nc-about__body {
  flex: 1 1 54%; display: flex; flex-direction: column; justify-content: center;
  padding: clamp(56px, 8vw, 120px) clamp(32px, 6vw, 96px);
}
.nc-eyebrow {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 22px;
}
.nc-about__body h2 {
  font-family: var(--font-display); font-size: clamp(42px, 5.5vw, 84px);
  font-weight: 400; letter-spacing: -0.02em; line-height: 0.98; margin: 0 0 30px;
}
.nc-about__body h2 em { font-style: italic; }
.nc-about__body p {
  font-size: clamp(16px, 1.3vw, 19px); line-height: 1.8;
  color: var(--text-secondary); margin: 0 0 20px; max-width: 52ch;
}
.nc-about__body p:last-child { margin-bottom: 0; }

/* ============================================================
   Contact / footer
   ============================================================ */
.nc-contact {
  position: relative; color: var(--text);
  padding: clamp(80px, 10vw, 130px) 32px 40px;
  border-top: 1px solid rgba(55,53,47,0.12); overflow: hidden; isolation: isolate;
}
.nc-contact__bg {
  position: absolute; inset: -40px; z-index: -2;
  background: url('images/contact-bg.jpg') center / cover no-repeat;
  filter: blur(26px) saturate(1.1); transform: scale(1.08);
}
.nc-contact__veil {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(244,243,239,0.78) 0%, rgba(244,243,239,0.66) 50%, rgba(244,243,239,0.84) 100%);
}
.nc-contact__inner { max-width: 1080px; margin: 0 auto; }
.nc-contact h2 {
  font-family: var(--font-display); font-size: clamp(44px, 9vw, 140px);
  font-weight: 400; letter-spacing: -0.03em; line-height: 0.96; max-width: 14ch; margin: 0;
}
.nc-contact h2 em { font-style: italic; }
.nc-contact__cols {
  display: flex; flex-wrap: wrap; gap: clamp(48px, 7vw, 96px);
  margin-top: clamp(56px, 7vw, 88px);
}
.nc-contact__details { flex: 1 1 260px; display: flex; flex-direction: column; gap: 36px; }
.nc-field-label {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-50); margin-bottom: 12px;
}
.nc-email {
  font-family: var(--font-display); font-size: clamp(20px, 2vw, 30px); color: var(--text);
  border-bottom: 1.5px solid rgba(55,53,47,0.4); padding-bottom: 3px;
  transition: border-color 0.3s var(--ease);
}
.nc-email:hover { border-color: var(--rose); }
.nc-based { font-size: 16px; color: var(--ink-82); }
.nc-social { display: flex; gap: 24px; flex-wrap: wrap; }
.nc-social a {
  font-size: 14px; color: var(--ink-82); transition: color 0.25s var(--ease);
  border-bottom: 1px solid transparent;
}
.nc-social a:hover { color: var(--rose); }

.nc-form { flex: 1 1 360px; display: flex; flex-direction: column; gap: 22px; }
.nc-form__group { display: flex; flex-direction: column; gap: 8px; }
.nc-form__group label {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-50);
}
.nc-form input, .nc-form textarea {
  background: transparent; border: none; border-bottom: 1px solid rgba(55,53,47,0.3);
  color: var(--text); font-family: var(--font-sans); font-size: 16px;
  padding: 8px 0; outline: none; resize: none;
  transition: border-color 0.3s var(--ease);
}
.nc-form input:focus, .nc-form textarea:focus { border-bottom-color: var(--rose); }
.nc-form button {
  align-self: flex-start; margin-top: 8px; background: var(--text); color: var(--paper);
  border: none; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 15px 34px; border-radius: 999px; cursor: pointer;
  transition: background 0.3s var(--ease);
}
.nc-form button:hover { background: var(--rose); }
.nc-form__status { font-size: 13px; color: var(--rose); min-height: 18px; }

.nc-colophon {
  margin-top: 80px; padding-top: 32px; border-top: 1px solid rgba(55,53,47,0.18);
  font-size: 12px; letter-spacing: 0.04em; color: var(--ink-50);
}

/* ============================================================
   Collection pages (Period SS26 / FW26)
   ============================================================ */
.nc-col { min-height: 100vh; overflow-x: clip; }
.nc-col--dark { background: var(--ink); color: var(--paper); }
.nc-col--light { background: var(--paper); color: var(--text); }

.nc-colhead {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 32px; backdrop-filter: blur(10px);
}
.nc-col--dark .nc-colhead {
  background: rgba(20,20,18,0.72); border-bottom: 1px solid rgba(244,243,239,0.1);
}
.nc-col--light .nc-colhead {
  background: rgba(244,243,239,0.72); border-bottom: 1px solid rgba(55,53,47,0.1);
}
.nc-colhead__back {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  transition: color 0.25s var(--ease);
}
.nc-col--dark .nc-colhead__back { color: var(--rose); }
.nc-col--dark .nc-colhead__back:hover { color: var(--paper); }
.nc-col--light .nc-colhead__back { color: #b5504a; }
.nc-col--light .nc-colhead__back:hover { color: var(--text); }
.nc-colhead__tag {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
}
.nc-col--dark .nc-colhead__tag { color: var(--cream-50); }
.nc-col--light .nc-colhead__tag { color: var(--text-tertiary); }

.nc-colintro {
  padding: clamp(80px, 12vw, 180px) 32px clamp(48px, 6vw, 90px);
  max-width: 1080px; margin: 0 auto;
}
.nc-colintro__eyebrow {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 24px;
}
.nc-col--dark .nc-colintro__eyebrow { color: var(--cream-55); }
.nc-col--light .nc-colintro__eyebrow { color: var(--text-tertiary); }
.nc-colintro h1 {
  font-family: var(--font-display); font-size: clamp(56px, 13vw, 180px);
  font-weight: 400; letter-spacing: -0.03em; line-height: 0.9; margin: 0;
}
.nc-colintro h1 em { font-style: italic; }
.nc-colintro p {
  margin-top: 34px; max-width: 52ch; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.75;
}
.nc-col--dark .nc-colintro p { color: var(--cream-70); }
.nc-col--light .nc-colintro p { color: var(--text-secondary); }

.nc-colgrid { padding: 0 clamp(12px, 2vw, 24px) clamp(80px, 10vw, 140px); }
.nc-colgrid__inner {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(10px, 1.4vw, 18px);
}
.nc-colgrid figure { margin: 0; }
.nc-colgrid .nc-zoom {
  position: relative; width: 100%; aspect-ratio: 2 / 3; overflow: hidden;
}
.nc-col--dark .nc-colgrid .nc-zoom { background: var(--ink-soft); }
.nc-col--light .nc-colgrid .nc-zoom { background: var(--paper-alt); }
.nc-colgrid figcaption {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 12px; padding: 0 4px; gap: 14px;
}
.nc-colgrid figcaption .name { font-family: var(--font-display); font-size: 18px; }
.nc-col--light .nc-colgrid figcaption .name { font-style: italic; }
.nc-colgrid figcaption .no {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
}
.nc-col--dark .nc-colgrid figcaption .no { color: var(--cream-40); }
.nc-col--light .nc-colgrid figcaption .no { color: var(--text-tertiary); }

.nc-colfoot {
  padding: clamp(70px, 9vw, 120px) 32px 48px; text-align: center;
}
.nc-col--dark .nc-colfoot { border-top: 1px solid rgba(244,243,239,0.12); }
.nc-col--light .nc-colfoot { border-top: 1px solid rgba(55,53,47,0.12); }
.nc-colfoot__link {
  font-family: var(--font-display); font-size: clamp(28px, 4vw, 56px); font-style: italic;
  transition: color 0.25s var(--ease);
}
.nc-col--dark .nc-colfoot__link { color: var(--rose); }
.nc-col--dark .nc-colfoot__link:hover { color: var(--paper); }
.nc-col--light .nc-colfoot__link { color: #b5504a; }
.nc-col--light .nc-colfoot__link:hover { color: var(--text); }
.nc-colfoot__copy { margin-top: 40px; font-size: 12px; letter-spacing: 0.04em; }
.nc-col--dark .nc-colfoot__copy { color: rgba(244,243,239,0.45); }
.nc-col--light .nc-colfoot__copy { color: var(--text-tertiary); }

/* ============================================================
   Animations
   ============================================================ */
@keyframes ncFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(10px); } }
@keyframes ncFadeUp { from { opacity: 0; transform: translateY(44px); } to { opacity: 1; transform: translateY(0); } }
.nc-reveal { opacity: 0; }
.nc-reveal.nc-in { animation: ncFadeUp 1s var(--ease-expo) forwards; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 820px) {
  body { cursor: auto; }
  body.nc-cursor-on { cursor: auto; }
  #nc-cursor { display: none !important; }
  .nc-gitem { width: 78vw; }
  .nc-gallery { gap: 10vw; padding: 0 11vw; }
  .nc-about { flex-direction: column; }
  .nc-header { padding: 18px 20px; }
  .nc-projects__head, .nc-timeline { left: 20px; right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nc-scrollcue__line { animation: none; }
  .nc-reveal { opacity: 1; }
  .nc-reveal.nc-in { animation: none; }
}
