/* ============================================================
   NICKY CAISSIE'S ART
   Palette pulled from her logo: rainbow lion + gold ring
============================================================ */
:root {
  /* Brand colours (sampled from the logo) */
  --gold: #D4A72C;
  --gold-deep: #A8801A;
  --pink: #E8318A;
  --teal: #17BEC0;
  --green: #43B649;
  --yellow: #FFC629;
  --orange: #F5871F;
  --purple: #8E3FA8;

  --rainbow: linear-gradient(90deg, var(--pink), var(--orange), var(--yellow), var(--green), var(--teal), var(--purple), var(--pink));

  /* Neutrals */
  --bg: #FAF7F2;
  --surface: #FFFFFF;
  --ink: #14131A;
  --ink-2: #2C2A36;
  --muted: #6A6570;
  --border: rgba(20, 19, 26, 0.10);
  --border-2: rgba(20, 19, 26, 0.20);

  --dark-bg: #14131A;
  --dark-ink: #FAF7F2;

  /* Type */
  --font-display: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-hand: "Caveat", cursive;

  /* Layout */
  --container: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-pad: clamp(3.5rem, 8vw, 7rem);

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --fast: 0.3s;
  --dur: 0.6s;
  --slow: 1s;

  --radius: 4px;
  --radius-lg: 18px;
}

/* ============================================================
   RESET
============================================================ */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
input, textarea, select { font: inherit; }
iframe { border: 0; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }
/* width:100% matters — .hero is a flex container, and without it .container
   sizes to its content and overflows the viewport on narrow screens. */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 1; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: var(--bg);
  padding: 0.75em 1.25em; z-index: 3000;
}
.skip-link:focus { left: var(--gutter); top: var(--gutter); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }

/* ============================================================
   TYPE
============================================================ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 700; color: var(--muted);
}
.eyebrow::before {
  content: ""; width: 26px; height: 3px; border-radius: 2px;
  background: var(--rainbow); background-size: 300% 100%;
  animation: hueSlide 6s linear infinite;
}
@keyframes hueSlide { to { background-position: 300% 0; } }

h1, .h1 { font-size: clamp(2.7rem, 8vw, 6.4rem); line-height: 0.94; }
h2, .h2 { font-size: clamp(2rem, 5.2vw, 4rem); line-height: 0.98; }
h3, .h3 { font-size: clamp(1.25rem, 2.1vw, 1.6rem); line-height: 1.12; font-weight: 600; }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.3rem); color: var(--muted); max-width: 46em; }
.hand { font-family: var(--font-hand); font-size: 1.6em; line-height: 1; color: var(--pink); }

/* Rainbow gradient text */
.grad-text {
  background: var(--rainbow);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: hueSlide 8s linear infinite;
}

/* Brush-stroke underline that draws in when revealed */
.brush { position: relative; display: inline-block; }
.brush::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: 0.02em; height: 0.28em;
  background: var(--gold); opacity: 0.35; border-radius: 40% 60% 55% 45% / 60% 40% 60% 40%;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.9s var(--ease) 0.2s;
  z-index: -1;
}
.reveal.is-visible .brush::after, .brush.is-visible::after { transform: scaleX(1); }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 1em 2em;
  font-size: 0.83rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 999px;
  position: relative; overflow: hidden;
  transition: transform var(--fast) var(--ease), background var(--fast) var(--ease), color var(--fast) var(--ease), border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
  will-change: transform;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--pink); box-shadow: 0 10px 30px rgba(232,49,138,0.35); }
.btn-secondary { border: 2px solid var(--border-2); color: var(--ink); }
.btn-secondary:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--yellow); box-shadow: 0 10px 30px rgba(212,167,44,0.4); }
.btn-on-dark { background: var(--dark-ink); color: var(--dark-bg); }
.btn-on-dark:hover { background: var(--yellow); }
.btn-ghost-dark { border: 2px solid rgba(250,247,242,0.35); color: var(--dark-ink); }
.btn-ghost-dark:hover { border-color: var(--dark-ink); background: var(--dark-ink); color: var(--dark-bg); }

/* ============================================================
   CURSOR + PAINT TRAIL
============================================================ */
@media (hover: hover) and (pointer: fine) {
  .cursor-dot {
    position: fixed; top: 0; left: 0; width: 12px; height: 12px;
    background: var(--ink); border-radius: 50%;
    pointer-events: none; z-index: 9999; opacity: 0;
    mix-blend-mode: difference;
    transition: opacity var(--fast) var(--ease), width var(--dur) var(--ease), height var(--dur) var(--ease), background var(--dur) var(--ease);
    will-change: transform;
  }
  .cursor-dot.is-visible { opacity: 1; }
  .cursor-dot.is-active { width: 32px; height: 32px; }
  .cursor-dot.is-viewing {
    width: 78px; height: 78px; background: var(--pink); mix-blend-mode: normal;
  }
  .cursor-dot .c-label {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 0.66rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase; color: #fff;
    opacity: 0; transition: opacity var(--fast) var(--ease);
  }
  .cursor-dot.is-viewing .c-label { opacity: 1; }
  .paint-dab {
    position: fixed; width: 14px; height: 14px; border-radius: 50%;
    pointer-events: none; z-index: 9998;
    transform: translate(-50%, -50%);
    animation: dabFade 0.9s var(--ease) forwards;
  }
  @keyframes dabFade {
    0% { opacity: 0.85; transform: translate(-50%,-50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%,-50%) scale(0.2); }
  }
  a, button, [data-cursor-hover] { cursor: none; }
}
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .paint-dab { display: none; }
}

/* ============================================================
   FLOATING PAINT BLOBS
============================================================ */
.blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: 0.32;
  animation: blobDrift 22s var(--ease) infinite alternate;
}
.blob.b1 { width: 42vw; height: 42vw; background: var(--pink);   top: -12%; left: -8%;  animation-duration: 24s; }
.blob.b2 { width: 34vw; height: 34vw; background: var(--teal);   top: 30%;  right: -10%; animation-duration: 30s; animation-delay: -6s; }
.blob.b3 { width: 30vw; height: 30vw; background: var(--yellow); bottom: -10%; left: 25%; animation-duration: 27s; animation-delay: -12s; }
.blob.b4 { width: 26vw; height: 26vw; background: var(--purple); top: 8%; left: 45%; animation-duration: 33s; animation-delay: -3s; }
@keyframes blobDrift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(6%, 8%) scale(1.18); }
}

/* Variants so consecutive sections don't read as the same backdrop sliced up.
   The build cycles v2/v3/v4 down each page. */
.blobs.v2 .b1 { background: var(--purple); width: 36vw; height: 36vw; top: auto; bottom: -16%; left: auto; right: -10%; }
.blobs.v2 .b2 { background: var(--orange); width: 30vw; height: 30vw; top: -12%;  right: auto; left: 8%; }
.blobs.v2 .b3 { background: var(--teal);   width: 24vw; height: 24vw; bottom: 12%; left: -6%; }
.blobs.v2 .b4 { background: var(--pink);   width: 20vw; height: 20vw; top: 34%; left: auto; right: 28%; }

.blobs.v3 .b1 { background: var(--teal);   width: 38vw; height: 38vw; top: -14%; left: auto; right: -6%; }
.blobs.v3 .b2 { background: var(--yellow); width: 26vw; height: 26vw; top: auto;  bottom: -8%; right: auto; left: -6%; }
.blobs.v3 .b3 { background: var(--purple); width: 30vw; height: 30vw; bottom: auto; top: 22%; left: 18%; }
.blobs.v3 .b4 { background: var(--green);  width: 18vw; height: 18vw; top: auto; bottom: 18%; left: auto; right: 30%; }

.blobs.v4 .b1 { background: var(--yellow); width: 32vw; height: 32vw; top: 8%; left: -10%; }
.blobs.v4 .b2 { background: var(--pink);   width: 28vw; height: 28vw; top: auto; bottom: -14%; right: 12%; }
.blobs.v4 .b3 { background: var(--green);  width: 22vw; height: 22vw; bottom: auto; top: -8%; left: 42%; }
.blobs.v4 .b4 { background: var(--teal);   width: 24vw; height: 24vw; top: auto; bottom: 20%; left: 20%; }

/* ============================================================
   INTRO CURTAIN
============================================================ */
.intro-curtain {
  position: fixed; inset: 0; z-index: 3000;
  background: var(--dark-bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2em;
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}
.intro-curtain img {
  width: clamp(200px, 34vw, 400px);
  animation: introPop 1.3s var(--ease) both;
}
.intro-curtain span {
  font-family: var(--font-display); font-weight: 700; color: var(--dark-ink);
  font-size: clamp(1.15rem, 3.6vw, 2.1rem); letter-spacing: 0.18em; text-transform: uppercase;
  text-align: center; padding: 0 1rem;
  animation: introFade 1s var(--ease) 0.45s both;
}
@keyframes introPop { from { opacity: 0; transform: scale(0.7) rotate(-14deg); } to { opacity: 1; transform: none; } }
@keyframes introFade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.intro-curtain.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
/* Set by the inline script in <head> before the body paints, so a repeat
   visit never flashes the curtain on screen before JS can remove it. */
.intro-done .intro-curtain { display: none; }

/* ============================================================
   MARQUEE
============================================================ */
/* Light so it separates the CTA band from the dark footer rather than
   merging into one long dark block. */
.marquee {
  overflow: hidden; background: var(--surface); color: var(--ink);
  padding: 1.1em 0; position: relative; z-index: 1;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.marquee-track {
  display: flex; align-items: center; width: max-content; gap: 3em;
  animation: marqueeScroll 30s linear infinite;
}
.marquee-track span {
  display: flex; align-items: center; gap: 0.9em;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.15rem, 2.6vw, 1.9rem);
  text-transform: uppercase; white-space: nowrap;
}
.marquee-track span i { font-style: normal; font-size: 0.62em; }
.marquee-track span:nth-child(4n+1) i { color: var(--pink); }
.marquee-track span:nth-child(4n+2) i { color: var(--teal); }
.marquee-track span:nth-child(4n+3) i { color: var(--yellow); }
.marquee-track span:nth-child(4n+4) i { color: var(--green); }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   NAV
============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  padding: 1.1em 0;
  transition: transform var(--dur) var(--ease), padding var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.nav.is-dark { color: var(--dark-ink); }
.nav.is-light { color: var(--ink); }
.nav.is-scrolled {
  padding: 0.6em 0; color: var(--ink);
  background: rgba(250,247,242,0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}
.nav.is-hidden { transform: translateY(-115%); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5em; }

.logo-lockup { display: flex; align-items: center; gap: 0.85em; }
.logo-lockup img {
  width: 76px; height: 76px; object-fit: contain;
  transition: width var(--dur) var(--ease), height var(--dur) var(--ease), transform var(--slow) var(--ease);
}
.logo-lockup:hover img { transform: rotate(12deg) scale(1.06); }
.nav.is-scrolled .logo-lockup img { width: 52px; height: 52px; }
.logo-text {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1rem, 1.5vw, 1.35rem); line-height: 1.05;
  letter-spacing: -0.02em; white-space: nowrap;
}
.logo-text small {
  display: block; font-family: var(--font-body); font-weight: 500;
  font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0.65; margin-top: 0.25em;
}
@media (max-width: 480px) {
  .logo-lockup img { width: 56px; height: 56px; }
  .logo-text { font-size: 0.95rem; }
  .logo-text small { display: none; }
}

.nav-links { display: flex; align-items: center; gap: 1.9em; }
.nav-links a {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; position: relative; padding: 0.35em 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--rainbow); background-size: 300% 100%;
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--dur) var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; }

@media (max-width: 940px) {
  .nav-links {
    position: fixed; inset: 0; background: var(--dark-bg); color: var(--dark-ink);
    flex-direction: column; justify-content: center; gap: 1.5em;
    transform: translateX(100%); transition: transform var(--dur) var(--ease);
  }
  .nav-links a { font-size: 1.15rem; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-links { transform: translateX(0); }
  .nav-toggle { display: flex; flex-direction: column; gap: 5px; width: 28px; z-index: 900; position: relative; }
  .nav-toggle span { display: block; height: 2px; width: 100%; background: currentColor; border-radius: 2px; transition: transform var(--fast) var(--ease), opacity var(--fast) var(--ease); }
  body.nav-open .nav-toggle { color: var(--dark-ink); }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  background: var(--dark-bg); color: var(--dark-ink);
  overflow: hidden; padding: 9rem 0 6rem;
}
/* Background video — nothing over it: no colour wash, no gradient scrim,
   and no text-shadow on the copy. Just the footage with bare text on top. */
.hero-video-wrap { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero-video-wrap video {
  width: 100%; height: 100%; object-fit: cover;
}

.hero-inner { max-width: 62rem; }
.hero-title { margin: 0.35em 0 0.5em; }
.hero-title .word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero-title .word > span { display: inline-block; }
.hero-sub { color: #fff; max-width: 36em; margin-bottom: 2em; font-size: clamp(1rem,1.3vw,1.25rem); }
.hero .eyebrow { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9em; }

.hero-scroll {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 1.8em;
  display: flex; flex-direction: column; align-items: center; gap: 0.7em;
  font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(250,247,242,0.55); z-index: 2;
}
.hero-scroll .line { width: 2px; height: 42px; background: rgba(250,247,242,0.25); overflow: hidden; border-radius: 2px; }
.hero-scroll .line::after {
  content: ""; display: block; width: 100%; height: 45%;
  background: var(--yellow); animation: scrollCue 2.2s var(--ease) infinite;
}
@keyframes scrollCue { 0% { transform: translateY(-110%); } 100% { transform: translateY(240%); } }

/* ============================================================
   ART PLACEHOLDERS (pure CSS — swap for real photos)
============================================================ */
.art-placeholder {
  position: relative; width: 100%; overflow: hidden;
  border-radius: var(--radius);
  background-image:
    radial-gradient(circle at 22% 18%, rgba(255,255,255,0.16), transparent 62%),
    var(--ph-gradient, linear-gradient(135deg, var(--pink), var(--purple)));
  isolation: isolate;
}
.art-placeholder::before {
  content: ""; position: absolute; inset: 0; opacity: 0.3; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 170px 170px;
}
.art-placeholder .ph-label {
  position: absolute; left: 1em; right: 1em; bottom: 1em; z-index: 1;
  color: #fff; font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}
.art-placeholder .ph-label b { display: block; font-size: 0.8rem; letter-spacing: 0; margin-bottom: 0.2em; }

.ph-1 { --ph-gradient: linear-gradient(135deg, var(--pink), var(--purple)); }
.ph-2 { --ph-gradient: linear-gradient(135deg, var(--teal), var(--green)); }
.ph-3 { --ph-gradient: linear-gradient(135deg, var(--yellow), var(--orange)); }
.ph-4 { --ph-gradient: linear-gradient(135deg, var(--orange), var(--pink)); }
.ph-5 { --ph-gradient: linear-gradient(135deg, var(--purple), var(--teal)); }
.ph-6 { --ph-gradient: linear-gradient(135deg, var(--green), var(--yellow)); }
.ph-portrait { aspect-ratio: 3/4; }
.ph-landscape { aspect-ratio: 4/3; }
.ph-square { aspect-ratio: 1/1; }

/* ============================================================
   SECTIONS + REVEALS
============================================================ */
.section { padding: var(--section-pad) 0; position: relative; overflow: hidden; }
.section-head { max-width: 44em; margin-bottom: 2.4em; }
.section-head .eyebrow { margin-bottom: 0.9em; }
.section-foot { margin-top: 2.8em; display: flex; justify-content: center; }
.bg-surface { background: var(--surface); }
.bg-dark { background: var(--dark-bg); color: var(--dark-ink); }
/* Soft tints so the page changes tone as you scroll instead of alternating
   between the same two flat backgrounds. */
.bg-blush { background: linear-gradient(180deg, #FDF2F7 0%, var(--bg) 100%); }
.bg-mint  { background: linear-gradient(180deg, #EEF9F8 0%, var(--bg) 100%); }
.bg-cream { background: linear-gradient(180deg, #FDF6EA 0%, var(--bg) 100%); }

/* Vivid band for the closing call to action — keeps a dark section from
   running straight into the dark footer. */
.bg-gradient {
  background: linear-gradient(135deg, var(--purple) 0%, var(--pink) 48%, var(--orange) 100%);
  color: #fff;
}
.bg-gradient .eyebrow { color: rgba(255,255,255,0.9); }
.bg-gradient .eyebrow::before { background: #fff; animation: none; }
.bg-gradient .lede { color: rgba(255,255,255,0.9); }
.bg-gradient .grad-text {
  background: none; -webkit-background-clip: initial; background-clip: initial;
  color: var(--yellow); animation: none;
}
.bg-gradient .btn-gold { background: #fff; color: var(--ink); }
.bg-gradient .btn-gold:hover { background: var(--yellow); }
.bg-gradient .btn-ghost-dark { border-color: rgba(255,255,255,0.6); color: #fff; }
.bg-gradient .btn-ghost-dark:hover { background: #fff; color: var(--ink); border-color: #fff; }
.bg-dark .lede, .bg-dark .muted { color: rgba(250,247,242,0.68); }
.bg-dark .eyebrow { color: rgba(250,247,242,0.7); }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-wipe { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease); }
.reveal-wipe.is-visible { clip-path: inset(0 0 0 0); }
.reveal-pop { opacity: 0; transform: scale(0.9) rotate(-2deg); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal-pop.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-wipe, .reveal-pop { opacity: 1; transform: none; clip-path: none; transition: none; }
  .blob, .marquee-track, .hero-logo img, .grad-text, .eyebrow::before, .hero-scroll .line::after { animation: none; }
  .intro-curtain { display: none; }
  .brush::after { transform: scaleX(1); }
}

/* ============================================================
   ART / WORK CARDS
============================================================ */
/* Grids are deliberately dense: the source photos are small, so rendering
   them in smaller tiles keeps them close to native size and looking sharp. */
.works-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(0.7rem, 1.4vw, 1.1rem); }
@media (max-width: 980px) { .works-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .works-grid { grid-template-columns: repeat(2, 1fr); } }

.art-card { display: block; }
.art-card_frame { position: relative; aspect-ratio: 1/1; padding: 0.55em; }
.art-card_thumb {
  width: 100%; height: 100%;
  transition: width var(--dur) var(--ease), height var(--dur) var(--ease);
}
.art-card_thumb > * { width: 100%; height: 100%; object-fit: cover; }
.art-card_marker { position: absolute; inset: 0; opacity: 0.08; transition: opacity var(--dur) var(--ease); pointer-events: none; }
.art-card_marker span { position: absolute; width: 20px; height: 20px; border-color: currentColor; }
.art-card_marker span:nth-child(1) { top: 0; left: 0;  border-top: 2px solid; border-left: 2px solid; }
.art-card_marker span:nth-child(2) { top: 0; right: 0; border-top: 2px solid; border-right: 2px solid; }
.art-card_marker span:nth-child(3) { bottom: 0; left: 0;  border-bottom: 2px solid; border-left: 2px solid; }
.art-card_marker span:nth-child(4) { bottom: 0; right: 0; border-bottom: 2px solid; border-right: 2px solid; }
.art-card_meta { padding-top: 0.9em; display: flex; justify-content: space-between; align-items: baseline; gap: 1em; }
.art-card_meta h3 { font-size: 1rem; }
.art-card_meta .status {
  font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 700; color: var(--muted); white-space: nowrap;
}
@media (hover: hover) {
  .art-card:hover .art-card_thumb { width: calc(100% - 1.1em); height: calc(100% - 1.1em); }
  .art-card:hover .art-card_marker { opacity: 1; }
}

/* ============================================================
   PULL QUOTE
============================================================ */
.quote-band { position: relative; overflow: hidden; text-align: center; }
.quote-band .container { max-width: 60rem; }
.quote-band .mark {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(4rem, 12vw, 9rem); line-height: 0.7; margin-bottom: 0.1em;
  background: var(--rainbow); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: hueSlide 8s linear infinite;
}
.quote-band blockquote {
  margin: 0;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.5rem, 4vw, 3rem); line-height: 1.18;
  letter-spacing: -0.02em;
}
.quote-band cite {
  display: block; margin-top: 1.4em; font-style: normal;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
}

/* ============================================================
   KIT CARDS
============================================================ */
.kit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.8rem); }
.kit-grid.is-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .kit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .kit-grid, .kit-grid.is-2 { grid-template-columns: 1fr; } }
.kit-card {
  background: var(--surface); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.kit-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(20,19,26,0.14); border-color: transparent; }
.kit-card_media { aspect-ratio: 4/3; overflow: hidden; }
.kit-card_media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--slow) var(--ease); }
.kit-card:hover .kit-card_media img { transform: scale(1.06); }
.kit-card_body { padding: 1.5em; display: flex; flex-direction: column; gap: 0.7em; flex: 1; }
.kit-card_body .price { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; }
.kit-card_body .price small { font-size: 0.7rem; font-weight: 600; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.kit-card_body .btn { margin-top: auto; align-self: flex-start; }

/* Supplies checklist */
.supplies { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0.8em; margin-top: 1.5em; }
.supply {
  display: flex; align-items: center; gap: 0.8em;
  padding: 1em 1.2em; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-weight: 600; font-size: 0.92rem;
  transition: transform var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.supply:hover { transform: translateY(-3px); border-color: var(--border-2); }
.supply .tick {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; color: #fff; font-size: 0.75rem; font-weight: 700;
}
.supply:nth-child(6n+1) .tick { background: var(--pink); }
.supply:nth-child(6n+2) .tick { background: var(--teal); }
.supply:nth-child(6n+3) .tick { background: var(--yellow); color: var(--ink); }
.supply:nth-child(6n+4) .tick { background: var(--green); }
.supply:nth-child(6n+5) .tick { background: var(--orange); }
.supply:nth-child(6n+6) .tick { background: var(--purple); }

/* ============================================================
   EVENT ROWS
============================================================ */
.event-list { border-top: 1px solid var(--border); }
.event-row {
  display: grid; grid-template-columns: 8em 1fr auto; align-items: center; gap: 1.5em;
  padding: 1.6em 0; border-bottom: 1px solid var(--border);
  transition: padding-left var(--dur) var(--ease), background var(--dur) var(--ease);
}
.event-row:hover { padding-left: 1em; background: linear-gradient(90deg, rgba(232,49,138,0.06), transparent); }
.event-row .when { font-family: var(--font-display); font-weight: 700; color: var(--pink); }
.event-row h3 { font-size: 1.15rem; }
.event-row .where { color: var(--muted); font-size: 0.92rem; margin-top: 0.25em; }
.event-row .tag {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.5em 1em; border-radius: 999px; border: 1px solid var(--border-2); white-space: nowrap;
}
@media (max-width: 640px) { .event-row { grid-template-columns: 1fr; gap: 0.4em; } }

/* ============================================================
   STEPS
============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6em; counter-reset: step; }
.steps.is-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .steps, .steps.is-2 { grid-template-columns: 1fr; } }
.step { counter-increment: step; padding: 1.6em; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.bg-dark .step { background: rgba(250,247,242,0.05); border-color: rgba(250,247,242,0.12); }
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 2rem; margin-bottom: 0.35em; line-height: 1;
  background: var(--rainbow); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: hueSlide 8s linear infinite;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.4em; }
.step p { color: var(--muted); font-size: 0.92rem; }
.bg-dark .step p { color: rgba(250,247,242,0.66); }

/* ============================================================
   SCROLLER
============================================================ */
.scroller-wrap { position: relative; }
.scroller { display: flex; gap: clamp(0.9rem, 1.8vw, 1.5rem); overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 1em; scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
.scroller-item { flex: 0 0 clamp(230px, 27vw, 330px); scroll-snap-align: start; transition: opacity var(--dur) var(--ease); }
.scroller-item .art-placeholder { aspect-ratio: 3/4; }
.scroller-item .ph-label { position: static; margin-top: 0.8em; color: var(--ink); text-shadow: none; }
@media (hover: hover) {
  .scroller-wrap:hover .scroller-item { opacity: 0.35; }
  .scroller-wrap:hover .scroller-item:hover { opacity: 1; }
}
.scroller-nav { display: flex; gap: 0.7em; margin-top: 1.4em; justify-content: flex-end; }
.scroller-nav button {
  width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--border-2);
  display: grid; place-items: center;
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease), border-color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.scroller-nav button:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); transform: scale(1.08); }

/* ============================================================
   PAGE HEADER
============================================================ */
.page-header { padding: calc(var(--section-pad) + 4.5rem) 0 var(--section-pad); background: var(--surface); position: relative; overflow: hidden; }
.page-header .eyebrow { margin-bottom: 0.9em; }

/* ============================================================
   GALLERY
============================================================ */
.filter-bar {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6em;
  margin: 0 auto 3em; padding-top: clamp(2rem, 5vw, 3.5rem);
}
.filter-btn {
  padding: 0.7em 1.4em; border: 2px solid var(--border-2); border-radius: 999px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease), border-color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.filter-btn:hover { border-color: var(--ink); transform: translateY(-2px); }
.filter-btn.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(0.6rem, 1.2vw, 1rem); }
@media (min-width: 1500px) { .gallery-grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 980px)  { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-item.is-hidden { display: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center; padding: var(--gutter);
  background: rgba(20,19,26,0.94);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-inner {
  background: var(--bg); color: var(--ink); border-radius: var(--radius-lg);
  max-width: 1000px; width: 100%; max-height: 88vh; overflow: auto;
  display: grid; grid-template-columns: 1.15fr 1fr;
  transform: translateY(22px) scale(0.98); transition: transform var(--dur) var(--ease);
}
.lightbox.is-open .lightbox-inner { transform: none; }
.lightbox-media { background: var(--dark-bg); display: grid; place-items: center; padding: 1.5em; }
.lightbox-media img { width: 100%; max-width: 420px; aspect-ratio: 1/1; object-fit: contain; }
.lightbox-info { padding: 2.4em; display: flex; flex-direction: column; gap: 0.9em; }
.lightbox-info .lb-desc { color: var(--muted); font-size: 0.98rem; line-height: 1.6; }
.lightbox-info .tag { align-self: flex-start; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.5em 1em; border-radius: 999px; border: 1px solid var(--border-2); }
.lightbox-close {
  position: absolute; top: 1.3em; right: 1.3em; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(250,247,242,0.12); color: var(--dark-ink);
  display: grid; place-items: center; font-size: 1.3rem;
  transition: background var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.lightbox-close:hover { background: var(--pink); transform: rotate(90deg); }
@media (max-width: 780px) { .lightbox-inner { grid-template-columns: 1fr; } }

/* ============================================================
   ABOUT
============================================================ */
.about-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 900px) { .about-layout { grid-template-columns: 1fr; } }
.portrait-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.portrait-frame img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: 30% 22%; }
.portrait-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 6px rgba(212,167,44,0.55); border-radius: var(--radius-lg);
}
.about-copy > * + * { margin-top: 1.3em; }
.quote-card {
  padding: 2em; border-radius: var(--radius-lg); background: var(--surface);
  border-left: 6px solid var(--pink); margin-top: 2em;
}
.quote-card p { font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.3; }

/* ============================================================
   FAQ
============================================================ */
.faq { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: 1.4em 0; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; }
.faq-q .plus { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; background: currentColor; transition: transform var(--fast) var(--ease); }
.faq-q .plus::before { top: 50%; left: 0; width: 100%; height: 2px; margin-top: -1px; }
.faq-q .plus::after  { left: 50%; top: 0; height: 100%; width: 2px; margin-left: -1px; }
.faq-item.is-open .plus::after { transform: rotate(90deg); }
.faq-a { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 0.5s var(--ease), opacity 0.5s var(--ease); }
.faq-a > div { min-height: 0; overflow: hidden; }
.faq-a p { padding-bottom: 1.4em; color: var(--muted); max-width: 46em; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; opacity: 1; }
.bg-dark .faq, .bg-dark .faq-item { border-color: rgba(250,247,242,0.14); }
.bg-dark .faq-a p { color: rgba(250,247,242,0.66); }

/* ============================================================
   CONTACT
============================================================ */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.form-field { margin-bottom: 1.5em; }
.form-field label { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.55em; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; background: var(--surface); border: 2px solid var(--border);
  border-radius: 12px; padding: 0.9em 1em; color: var(--ink); resize: vertical;
  transition: border-color var(--fast) var(--ease);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--pink); }
.form-note { margin-top: 1em; font-size: 0.88rem; color: var(--muted); display: none; }
.form-note.is-visible { display: block; }

.contact-cards { display: grid; gap: 0.8em; }
.contact-card {
  display: flex; align-items: center; gap: 1.1em;
  padding: 1.15em 1.3em; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform var(--fast) var(--ease), border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.contact-card:hover { transform: translateX(6px); box-shadow: 0 12px 28px rgba(20,19,26,0.10); }
.contact-card .ico {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; color: #fff; font-size: 1.05rem;
}
.contact-card:nth-child(5n+1) .ico { background: var(--pink); }
.contact-card:nth-child(5n+2) .ico { background: var(--teal); }
.contact-card:nth-child(5n+3) .ico { background: var(--orange); }
.contact-card:nth-child(5n+4) .ico { background: var(--green); }
.contact-card:nth-child(5n+5) .ico { background: var(--purple); }
.contact-card .cc-body { display: block; min-width: 0; }
.contact-card .cc-label { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.contact-card .cc-value { display: block; margin-top: 0.2em; font-size: 1.02rem; font-weight: 600; word-break: break-word; }

.map-embed { margin-top: 1.6em; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.map-embed iframe { width: 100%; height: 380px; }

/* ============================================================
   CTA BAND
============================================================ */
.cta-band { position: relative; overflow: hidden; text-align: center; }
.cta-band .container { display: flex; flex-direction: column; align-items: center; gap: 1.4em; }

/* ============================================================
   FOOTER
============================================================ */
.footer { background: var(--dark-bg); color: rgba(250,247,242,0.7); padding: var(--section-pad) 0 2.2em; position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.4em; padding-bottom: 3em; }
.footer-brand .logo-lockup { color: var(--dark-ink); margin-bottom: 1em; }
.footer-brand p { max-width: 26em; color: rgba(250,247,242,0.55); }
.footer-col h4 { color: var(--dark-ink); font-family: var(--font-body); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1.1em; }
.footer-col li { margin-bottom: 0.65em; }
.footer-col a { transition: color var(--fast) var(--ease); }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1em; padding-top: 1.8em; border-top: 1px solid rgba(250,247,242,0.12); font-size: 0.75rem; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ============================================================
   PROSE
============================================================ */
.prose { max-width: 62em; }
.prose > * + * { margin-top: 1.3em; }
.prose h2 { margin-top: 1.8em; font-size: 1.5rem; }
.prose a { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   MOBILE OPTIMISATION
   Grouped here so phone-specific tuning is easy to find and adjust.
============================================================ */

/* Nothing may push the page sideways */
html { overflow-x: hidden; }

/* Blurred blobs are the most expensive thing on the page for a phone GPU
   (4 animated 70px-blur layers per section). Cut the count, soften the
   blur and stop the animation on smaller screens. */
@media (max-width: 900px) {
  .blob { filter: blur(45px); opacity: 0.24; animation: none; }
  .blob.b3, .blob.b4 { display: none; }
}

/* Touch targets — keep everything tappable at ~44px or more */
@media (max-width: 940px) {
  .btn { padding: 1.05em 1.9em; }
  .nav-links a { padding: 0.55em 0.3em; }
  .filter-btn { padding: 0.8em 1.4em; }
  .faq-q { min-height: 58px; }
  .footer-col li { margin-bottom: 0.85em; }
  .footer-col a { display: inline-block; padding: 0.2em 0; }
  .contact-card { min-height: 70px; }
  .scroller-nav button { width: 50px; height: 50px; }
  .lightbox-close { width: 46px; height: 46px; }
}

/* iOS zooms the whole page when a focused field is under 16px */
@media (max-width: 940px) {
  .form-field input, .form-field textarea, .form-field select { font-size: 16px; }
}

/* Hero */
@media (max-width: 640px) {
  .hero { padding: 7.5rem 0 4.5rem; min-height: 90svh; }
  .hero-sub { margin-bottom: 1.6em; }
  .hero-actions { gap: 0.7em; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .hero-scroll { display: none; }
}

/* Headings get tighter on narrow screens so long words don't overflow */
@media (max-width: 640px) {
  h1, .h1 { font-size: clamp(2.3rem, 10.5vw, 3.4rem); }
  h2, .h2 { font-size: clamp(1.85rem, 7.5vw, 2.6rem); }
  .section-head { margin-bottom: 1.8em; }
  .quote-band blockquote { font-size: clamp(1.3rem, 6.4vw, 2rem); }
  .quote-band .mark { font-size: clamp(3.2rem, 16vw, 5rem); }
}

/* Marquee reads better a little smaller and quicker on a narrow screen */
@media (max-width: 640px) {
  .marquee { padding: 0.85em 0; }
  .marquee-track { gap: 2em; animation-duration: 20s; }
}

/* Lightbox: image first, details below, all within the viewport */
@media (max-width: 780px) {
  .lightbox { padding: 0.9rem; }
  .lightbox-inner { max-height: 92svh; }
  .lightbox-media { padding: 1.2em; }
  .lightbox-media img { max-width: 280px; }
  .lightbox-info { padding: 1.5em; gap: 0.7em; }
  .lightbox-close { top: 0.5em; right: 0.5em; }
}

/* Map + contact */
@media (max-width: 640px) {
  .map-embed iframe { height: 300px; }
  .contact-card .ico { width: 40px; height: 40px; }
  .contact-card .cc-value { font-size: 0.95rem; }
}

/* Grid items default to min-width:auto, so a long unbreakable label can force
   a column wider than its share and blow the whole grid out. */
.works-grid > *, .gallery-grid > *, .kit-grid > *, .gallery-item, .art-card { min-width: 0; }

/* Below tablet the title and medium stack instead of sitting side by side,
   and the medium is allowed to wrap. */
@media (max-width: 900px) {
  .art-card_meta { flex-direction: column; gap: 0.15em; align-items: flex-start; }
  .art-card_meta .status { white-space: normal; }
}

/* Kit cards and event rows */
@media (max-width: 640px) {
  .kit-card_body { padding: 1.25em; }
  .event-row { padding: 1.3em 0; }
  .event-row:hover { padding-left: 0; background: none; }
  .supplies { grid-template-columns: 1fr 1fr; gap: 0.6em; }
  .supply { padding: 0.85em 1em; font-size: 0.85rem; gap: 0.6em; }
  .supply .tick { width: 22px; height: 22px; font-size: 0.65rem; }
}

/* The portrait shouldn't eat the whole screen on a phone */
@media (max-width: 900px) {
  .portrait-frame img { aspect-ratio: 4/3; object-position: 30% 20%; }
}

/* Landscape phones: don't demand a full tall hero */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 6.5rem 0 3.5rem; }
}
