/* ============================================================
   styles.css — Shared styles for Work, Play, and Resume pages
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=DM+Mono:wght@300;400&display=swap');

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


:root {
  --bg:      #fffefd;
  --ink:     #1A1A18;
  --accent:  #000080;
  --muted:   #9A9587;
  --border:  #D8D3CB;
  --cursor-color: #1A1A18;
  --dot-size:     8px;
  --ring-size:    36px;
  --ring-border:  1.5px;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Mono', monospace;
  min-height: 100vh;
  cursor: none;
  overflow-x: hidden;
}

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  display: flex;
  justify-content: space-between;
  padding: 24px 48px;
  border-top: 1px solid var(--border);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

 /* ─── Cursor Elements ──────────────────────────── */
* { cursor: none !important; }
    /* Small dot — snaps instantly to mouse */
    #cursor-dot {
      position: fixed;
      top: 0; left: 0;
      width: var(--dot-size);
      height: var(--dot-size);
      background: var(--cursor-color);
      border-radius: 50%;
      pointer-events: none;
      z-index: 99999;
      transform: translate(-50%, -50%);
      /* No transition — instant follow */
      will-change: transform;
    }

    /* Larger ring — lags slightly behind */
    #cursor-ring {
      position: fixed;
      top: 0; left: 0;
      width: var(--ring-size);
      height: var(--ring-size);
      border: var(--ring-border) solid var(--cursor-color);
      border-radius: 50%;
      pointer-events: none;
      z-index: 99998;
      transform: translate(-50%, -50%);
      transition:
        width 0.25s ease,
        height 0.25s ease,
        border-color 0.25s ease,
        opacity 0.25s ease,
        background 0.25s ease;
      will-change: transform;
    }
    /* ─── Cursor States ────────────────────────────── */

    /* Hovering a link or button → ring expands & fills slightly */
    #cursor-ring.is-hovering {
      width: 52px;
      height: 52px;
      background: rgba(17,17,17,0.06);
      border-color: var(--cursor-color);
    }

    /* Dot hides on hover (ring takes over) */
    #cursor-dot.is-hovering {
      opacity: 0;
      transform: translate(-50%, -50%) scale(0);
      transition: opacity 0.15s, transform 0.15s;
    }

    /* Clicking → ring shrinks */
    #cursor-ring.is-clicking {
      width: 22px;
      height: 22px;
      background: rgba(17,17,17,0.15);
    }

    /* Cursor hidden when leaving window */
    #cursor-dot.is-hidden,
    #cursor-ring.is-hidden {
      opacity: 0;
    }

/* ── HEADER ──────────────────────────────────────────────── */

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 48px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
}

.logo-mark svg {
  width: 32px;
  height: 32px;
  fill: var(--bg);
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--ink);
  letter-spacing: 0.02em;
}

nav {
  display: flex;
  gap: 40px;
  list-style: none;
  align-items: center;
}

nav a {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

nav a:hover {
  color: var(--ink);
}

nav a.active {
  color: var(--ink);
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
}

a.work-item {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* ── HAMBURGER BUTTON ────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 18px;
  background: none;
  border: none;
  cursor: none;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ── MOBILE OVERLAY ──────────────────────────────────────── */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.overlay-close {
  position: absolute;
  top: 28px;
  right: 48px;
  background: none;
  border: none;
  font-family: 'DM Mono', monospace;
  font-size: 1.2rem;
  color: var(--muted);
  cursor: none;
  transition: color 0.2s;
}

.overlay-close:hover { color: var(--ink); }

.overlay-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.overlay-nav a {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 10vw, 4rem);
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: color 0.2s;
}

.overlay-nav a:hover,
.overlay-nav a.active { color: var(--accent); }


/* ── PAGE TITLE ──────────────────────────────────────────── */

.page-title {
  padding: 56px 48px 32px;
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.page-title h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}

.page-title span {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ── PLACEHOLDER IMAGE SHARED ────────────────────────────── */

.work-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.work-thumb span {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.placeholder-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.placeholder-img svg {
  width: 36px;
  height: 36px;
  opacity: 0.3;
}

.placeholder-img span {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── WORK PAGE GRID HP ──────────────────────────────────────── */

.work-grid {
  padding: 0 48px 80px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.work-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--border);
  animation: fadeUp 0.6s ease both;
}

.work-item::before {
  content: '';
  display: block;
  padding-top: 100%;
}

.work-item .overlay {
  position: absolute;
  inset: 0;
  background: var(--ink);
  opacity: 0;
  transition: opacity 0.35s;
}

.work-item:hover .overlay { opacity: 0.55; }

.overlay-label {
  font-family: 'Playfair Display', serif;
  color: var(--bg);
  font-size: 1.1rem;
  position: absolute;
  bottom: 24px;
  left: 24px;
  transform: translateY(8px);
  transition: transform 0.35s;
}

.work-item:hover .overlay-label { transform: translateY(0); }

/* ── PLAY PAGE LAMPSHADE GALLERY ─────────────────────────── */

.lampshade-wrap {
  height: 480px;
  overflow: hidden;
  position: relative;
  cursor: grab;
  margin-bottom: 80px;
  background: #000;
}

.lampshade-wrap.is-dragging { cursor: grabbing; }

/* Black gradient overlays replace the mask so the fade colour is controllable */
.lampshade-wrap::before,
.lampshade-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 12%;
  z-index: 2;
  pointer-events: none;
}

.lampshade-wrap::before {
  left: 0;
  background: linear-gradient(to right, #000 0%, transparent 100%);
}

.lampshade-wrap::after {
  right: 0;
  background: linear-gradient(to left, #000 0%, transparent 100%);
}

.lampshade-track {
  display: flex;
  align-items: stretch;
  height: 100%;
  gap: 3px;
  will-change: transform;
  user-select: none;
  -webkit-user-select: none;
}

.lampshade-item {
  flex-shrink: 0;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.lampshade-item img {
  height: 100%;
  width: auto;
  display: block;
  pointer-events: none;
}

.lampshade-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  pointer-events: none;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .lampshade-wrap { height: 300px; }
}


/* ── PROJECT PAGE ────────────────────────────────────────── */

.project-hero .placeholder-img {
  position: absolute;
  inset: 0;
  background: #D8D4CE;
}

.project-intro {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  padding: 64px 48px;
}

.project-meta {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.meta-value {
  font-size: 0.9rem;
  color: var(--ink);
}

.project-description p {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.7;
  font-weight: 400;
  color: var(--ink);
  max-width: 640px;
}

.project-divider {
  height: 1px;
  background: var(--border);
  margin: 0 48px;
}
.project-divider-padding {
  margin-bottom: 30px;
}

.project-screens {
  padding: 0 48px 80px;
}

.screen-pair {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: start;
}

.screen {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.screen--desktop .placeholder-img,
.screen--mobile .placeholder-img {
  position: relative;
  width: 100%;
  background: #D0D4D8;
}

.screen--desktop .placeholder-img { padding-top: 62%; }
.screen--mobile  .placeholder-img { padding-top: 180%; background: #D4D0D8; }

.screen--desktop .placeholder-img svg,
.screen--mobile  .placeholder-img svg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 36px; height: 36px;
  opacity: 0.3;
}

.screen--desktop .placeholder-img span,
.screen--mobile  .placeholder-img span {
  position: absolute;
  bottom: 16px; left: 0; right: 0;
  text-align: center;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.screen-caption {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.project-back {
  padding: 0 48px 80px;
}

.project-back a {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.project-back a:hover { color: var(--ink); }

.phone-frame {
  position: relative;
  width: 100%;
}

.phone-bezel {
  position: relative;
  width: 100%;
  display: block;
  z-index: 2;
}

.phone-screen {
  position: absolute;
  top: 2.5%;
  left: 6.5%;
  width: 87%;
  height: 95%;
  overflow: hidden;
  border-radius: 10px;
  z-index: 1;
}

.phone-screen-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  line-height: 0;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.phone-screen-inner img {
  width: 100%;
  display: block;
  flex-shrink: 0;
}

.phone-screen img {
  width: 100%;
  display: block;
  flex-shrink: 0;
}

.desktop-frame {
  position: relative;
  width: 85%;
  margin: 0 auto;
}

.desktop-bezel {
  position: relative;
  width: 100%;
  display: block;
  z-index: 2;
}

.desktop-screen {
  position: absolute;
  top: 1.5%;
  width: 100%;
  height: 69%;
  overflow: hidden;
  border-radius: 1px;
  z-index: 1;
}

.desktop-screen-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  line-height: 0;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.desktop-screen-inner img {
  width: 100%;
  display: block;
  flex-shrink: 0;
}

.desktop-screen img {
  width: 100%;
  display: block;
  flex-shrink: 0;
}

/* ── PFTW ────────────────────────────────────────────── */
.project-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('images/PFTW-herobackground.png');
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 70vh;
  overflow: visible;
  box-shadow: inset 0 0 0 1000px rgba(0,30,70,.4);
}

.PFTWHyper {
  color: rgb(0 180 105);
}

.ml4 {
  position: relative;
  font-weight: 900;
  font-size: 3.5em;
  text-align: center;
  color: #fff;
  font-family: 'futura', sans-serif;
  will-change: transform;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 250px;
  overflow: visible;
}

.smallasterisk {
  font-size: .85em;
}

.topalign{
  font-size: .6em;  
  vertical-align: text-top;
}

.ml4 .letters {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  will-change: transform;
  padding: 0 48px;
  line-height: 0;
  width: 100%;
  text-align: center;
}

.asterisk{
  letter-spacing:-.5em;
}

.headline1 {
  line-height: 1em;
  display: block;
}

.copybelow {
  font-size: .35em;
  line-height: 2em;
  display: block;
  margin-left: -18px;
}

.ml4 .letters.animate-in {
  animation: letterIn 0.6s cubic-bezier(0.16, 1, .3, 1) forwards;
}

.ml4 .letters.animate-out {
  animation: letterOut 0.6s ease-in forwards;
}

@keyframes letterIn {
  0%   { opacity: 0; transform: translateY(-50%) scale(0.2); }
  60%  { opacity: 1; transform: translateY(-50%) scale(1.1); }
  80%  { transform: translateY(-50%) scale(0.95); }
  100% { opacity: 1; transform: translateY(-50%) scale(1); }
}

@keyframes letterOut {
  0%   { opacity: 1; transform: translateY(-50%) scale(1); }
  100% { opacity: 0; transform: translateY(-50%) scale(2); }
}


.sketches {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
}
/* ── PFTW FIGMA EMBED ─────────────────────────────────────────── */
.figma-embed {
  padding: 0 48px 64px;
}

.figma-embed iframe {
  width: 100%;
  height: 600px;
  border: 1px solid var(--border);
  display: block;
}

.figma-intro {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 24px;
  max-width: 740px;
  padding: 48px 0 0;
}

.support-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 24px;
  max-width: 740px;
  padding: 48px 0 0 48px;
}

/* ── PFTW CAROUSEL ────────────────────────────────────────────── */
.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.carousel-track-wrapper {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
  min-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.carousel-slide img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  display: block;
}

.carousel-caption {
  margin-top: 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

.carousel-btn {
  flex-shrink: 0;
  background: none;
  border: 1px solid var(--border);
  color: var(--ink);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  cursor: none;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}

.carousel-btn:hover {
  background: var(--ink);
  color: var(--bg);
}

.carousel-dots {
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: none;
  padding: 0;
  transition: background 0.2s;
}

.carousel-dot.is-active {
  background: var(--ink);
}

@media (max-width: 768px) {
  .carousel-btn { display: none; }
}

/* ── PROJECT HERO GRID ───────────────────────────────────── */
.project-hero-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.section-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-jump {
  position: relative;
  display: block;
  text-decoration: none;
  overflow: hidden;
}

.hero-jump::before {
  content: '';
  display: block;
  padding-top: 75%;
}

.hero-jump .placeholder-img {
  position: absolute;
  inset: 0;
  background: #f7f7f7;
  transition: transform 0.4s ease;
}

.hero-jump-img {
  position: absolute;
  inset: 10;
  width: 90%;
  height: 90%;
  object-fit: cover;
}

.hero-jump:hover .placeholder-img {
  transform: scale(1.03);
}

.hero-jump-label {
  position: absolute;
  bottom: 24px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-jump-number {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.6);
}

.hero-jump-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-jump:hover .hero-jump-title {
  opacity: 1;
  transform: translateY(0);
}

/* ── PROJECT FOOTNOTE ────────────────────────────────────── */
.project-footnote {
  padding: 40px 48px 64px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-footnote p {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.project-footnote ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.project-footnote li {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding-left: 12px;
  position: relative;
}

.project-footnote li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}


/* ── PROJECT SECTIONS ────────────────────────────────────── */
.project-section {
  padding: 0 48px;
  scroll-margin-top: 80px;
}

.project-section-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 40px;
}

.project-section-number {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--muted);
}

.project-section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 400;
  color: var(--ink);
}

.project-section-body {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}

.project-section-text p {
  font-family: 'DM Mono', monospace;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--muted);
}

.project-section-image .placeholder-img {
  position: relative;
  padding-top: 65%;
  background: #D8D4CE;
}

.project-section-image .placeholder-img svg,
.project-section-image .placeholder-img span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.project-section-image .placeholder-img span {
  top: calc(50% + 28px);
}

/* ── TABBED PROJECT PAGE ─────────────────────────────────── */

/* The nav's bottom border acts as the "desk" the folders sit on */
.tab-nav {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  padding: 0 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 64px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tab-nav::-webkit-scrollbar { display: none; }

.tab-btn {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  /* Inactive: slightly recessed background, full border including bottom */
  background: var(--border);
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 4px 4px 0 0;
  padding: 10px 20px;
  margin-top: 8px;        /* inactive tabs sit lower */
  cursor: none;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  transition: background 0.2s, color 0.2s;
}

.tab-btn:hover {
  background: #e8e4dd;
  color: var(--ink);
}

/* Active tab: lifted, page-colour fill, no bottom border, overlaps the nav line */
.tab-btn.is-active {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--border);
  border-bottom-color: var(--bg); /* hides the bottom border, merging with content */
  margin-top: 0;                  /* sits at full height — visually "raised" */
  margin-bottom: -1px;            /* overlaps the nav's bottom border */
  padding: 14px 20px 11px;        /* slightly taller than inactive */
}

/* Coloured top edge on active tab — the key "this is selected" signal */
.tab-btn.is-active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 4px 4px 0 0;
  background: var(--accent);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
  animation: fadeUp 0.35s ease both;
}

/* ── ENAMEL PIN PROJECT ──────────────────────────────────── */

.pin-board-section {
  padding: 48px 48px 80px;
}

.pin-section-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 28px;
}

/* ── 3-column collection ── */
.pin-collection {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 0 0 80px;
}

.pin-collection-about {
  display: flex;
  flex-direction: column;
}

.pin-collection-about p {
  font-family: 'DM Mono', monospace;
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--muted);
  padding: 32px 36px;
}

.pin-collection-about img {
  flex: 1;
  width: 100%;
  object-fit: cover;
  display: block;
  min-height: 0;
}

.pin-collection-photo {
  overflow: hidden;
}

.pin-collection-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pin-board {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 40px 28px;
}

.pin-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 0;
}

.pin-item:hover {
  z-index: 10;
}

.pin-circle {
  width: 100%;
  aspect-ratio: 1;
}

.pin-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.pin-item:hover .pin-circle img {
  transform: scale(2);
}

.pin-label {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 768px) {
  .pin-board-section { padding: 24px 24px 48px; }
  .pin-board { grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
  .pin-collection { grid-template-columns: 1fr; }
  .pin-collection-photo img { max-height: 400px; }
}

@media (max-width: 480px) {
  .pin-board { grid-template-columns: repeat(3, 1fr); }
}

/* ── HERO TEXT ───────────────────────────────────────────── */
.project-hero {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-text {
  text-align: center;
  padding: 0 24px;
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.hero-cycling {
  display: inline-block;
  color: var(--accent);
  transition: opacity 0.4s ease;
}

.hero-cycling.fade-out {
  opacity: 0;
}

.hero-sub {
  margin-top: 12px;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── ANIMATIONS ──────────────────────────────────────────── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ──────────────────────────────────────────── */

@media (hover: none), (pointer: coarse) {
  #cursor-dot, #cursor-ring { display: none; }
}

@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .hamburger   { display: flex; }
}

@media (max-width: 768px) {
  .project-intro   { grid-template-columns: 1fr; padding: 40px 24px; }
  .project-divider { margin: 0 24px; }
  .project-screens { padding: 40px 24px 60px; }
  .screen-pair     { grid-template-columns: 1fr; }
  .project-back    { padding: 0 24px 60px; }
  .project-hero    { height: 50vw; }
}

@media (max-width: 768px) {
  header          { padding: 20px 24px; }
  nav             { gap: 20px; }
  .page-title     { padding: 36px 24px 20px; }
  .work-grid      { padding: 0 24px 48px; }
  .lampshade-wrap { height: 260px; }
}

@media (max-width: 768px) {
  .figma-embed          { padding: 0 24px 48px; }
  .figma-embed iframe   { height: 400px; }
  .support-text { padding: 48px 24px 48px; }
}

@media (max-width: 480px) {
  .work-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .project-hero-grid      { grid-template-columns: 1fr; }
  .project-section        { padding: 40px 24px; }
  .project-section-body   { grid-template-columns: 1fr; }
}


@media (max-width: 480px) {
  .project-footnote { padding: 32px 24px 48px; }
}

@media (max-width: 480px) {
.ml4 {
  font-size: 1.5em;}
}