/* ════════════════════════════════════════════════════════════
   Stuart Lawson - v3 (Funnel Sans · mike-bennet aesthetic)
   Hard rules:
   - Sans-serif everywhere (Funnel Sans)
   - Headings = #FFFFFF
   - Body    = #d5d2d2
   - No left-borders. No paragraph dividers. No badges.
   ════════════════════════════════════════════════════════════ */

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

:root {
  --bg: #0a0a0a;
  --surface: #161616;
  --surface2: #1c1c1c;
  --text: #FFFFFF;
  --text-body: #d5d2d2;
  --text-dim: #888888;
  --text-faint: #5a5a5a;
  --hairline: rgba(255, 255, 255, 0.08);
  --sans: "Funnel Sans", "Funnel Sans Placeholder", sans-serif;
  --display: "Outfit", "Funnel Sans", sans-serif;
  --nav-h: 96px;
  --pad-x: 56px;
}

html {
  scroll-behavior: auto;
}

body {
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  overflow-x: hidden;
  cursor: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  animation: pageFadeIn 0.45s ease both;
}

body.has-lightbox {
  overflow: hidden;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.25s ease;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--display);
  color: var(--text);
  font-weight: 600;
  line-height: 1.2;
}

p,
li,
blockquote,
cite,
span {
  color: var(--text-body);
}

::selection {
  background: rgba(255, 255, 255, 0.18);
}

::-webkit-scrollbar {
  width: 3px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
}

/* ─── Canvas bg ──────────────────────────────────────────── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 1.95;
}

/* ─── Custom cursor ──────────────────────────────────────── */
.cursor {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  --cursor-blur: 2.5px;
  --cursor-scale: 1;
  --cursor-alpha: 0.12;
  --cursor-radius: 50%;
  will-change: transform, filter;
}

.cursor__core,
.cursor__lens,
.cursor__label {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.cursor__core,
.cursor__lens {
  border-radius: var(--cursor-radius);
}

.cursor__core {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 0 14px rgba(255, 255, 255, 0.52),
    0 0 34px rgba(255, 255, 255, 0.22);
  mix-blend-mode: screen;
  animation: cursorPulse 1.75s ease-in-out infinite;
  transition: width 0.22s ease, height 0.22s ease, opacity 0.22s ease, box-shadow 0.22s ease;
}

.cursor__lens {
  width: 68px;
  height: 68px;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.20), transparent 42%),
    radial-gradient(circle at 62% 68%, rgba(255, 255, 255, var(--cursor-alpha)), transparent 56%);
  border: 1px solid rgba(255, 255, 255, 0.20);
  box-shadow:
    inset 0 0 24px rgba(255, 255, 255, 0.10),
    0 0 36px rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(var(--cursor-blur)) saturate(1.45) contrast(1.12);
  -webkit-backdrop-filter: blur(var(--cursor-blur)) saturate(1.45) contrast(1.12);
  opacity: 0.72;
  transform: translate(-50%, -50%) scale(var(--cursor-scale));
  mix-blend-mode: screen;
  animation: cursorMorph 9s ease-in-out infinite;
  will-change: transform, border-radius, backdrop-filter;
}

.cursor__label {
  min-width: 64px;
  text-align: center;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.94);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.82);
  transition: opacity 0.22s ease, transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1);
  mix-blend-mode: normal;
}

.cursor.is-hover {
  --cursor-scale: 1.18;
  --cursor-alpha: 0.18;
}

.cursor.is-hover .cursor__core {
  width: 26px;
  height: 26px;
}

.cursor.is-hover .cursor__lens {
  width: 92px;
  height: 92px;
  opacity: 0.86;
}

.cursor.is-moving .cursor__core {
  width: 14px;
  height: 14px;
}

.cursor.is-view {
  --cursor-scale: 1.22;
  --cursor-alpha: 0.22;
}

.cursor.is-view .cursor__core {
  width: 0;
  height: 0;
  opacity: 0;
}

.cursor.is-view .cursor__lens {
  width: 112px;
  height: 112px;
  opacity: 0.92;
}

.cursor.is-view .cursor__label {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

@keyframes cursorPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.86;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.42);
    opacity: 1;
  }
}

@keyframes cursorMorph {
  0%,
  100% {
    border-radius: 49% 51% 50% 50%;
  }

  35% {
    border-radius: 52% 48% 49% 51%;
  }

  68% {
    border-radius: 48% 52% 53% 47%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cursor__core,
  .cursor__lens {
    animation: none;
  }
}

@media (pointer: coarse) {
  .cursor {
    display: none;
  }

  body,
  a {
    cursor: auto;
  }
}

/* ─── Nav ────────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad-x);
  transition: background 0.3s, border-color 0.3s;
}

.site-nav.scrolled {
  background: rgba(10, 10, 10, 0.50);
  border-bottom: 1px solid var(--hairline);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-logo {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--text);
  text-transform: lowercase;
}

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

.nav-links a {
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dim);
  text-transform: lowercase;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

/* ─── Nav: Work dropdown (desktop) ─────────────────────────── */
.nav-item { position: relative; }

.nav-item--has-dropdown > a::after {
  content: "";
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  margin-left: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s ease;
  opacity: 0.6;
}
.nav-item--has-dropdown.is-open > a::after,
.nav-item--has-dropdown > a:hover::after,
.nav-item--has-dropdown > a:focus-visible::after {
  opacity: 1;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 240px;
  padding: 12px 0;
  background: rgba(16, 16, 16, 0.96);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  filter: blur(10px);
  transition: opacity 0.22s ease, transform 0.22s ease, filter 0.22s ease, visibility 0.22s;
  z-index: 110;
}
.nav-item--has-dropdown.is-open > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  filter: blur(0);
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  text-transform: lowercase;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}
.nav-dropdown li + li { border-top: 1px solid var(--hairline); }

/* ─── Nav: mobile hamburger toggle ─────────────────────────── */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 110;
}
.nav-toggle-bar {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.28s ease, opacity 0.2s ease, top 0.28s ease;
}
.nav-toggle-bar:nth-child(1) { top: 16px; }
.nav-toggle-bar:nth-child(2) { top: 21.5px; }
.nav-toggle-bar:nth-child(3) { top: 27px; }
.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
  top: 21.5px;
  transform: rotate(45deg);
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
  top: 21.5px;
  transform: rotate(-45deg);
}

/* ─── Mobile nav overlay ───────────────────────────────────── */
@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 22px;
    padding: 0 var(--pad-x);
    background: rgba(8, 8, 8, 0.96);
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
    z-index: 105;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    filter: blur(14px);
    transition: opacity 0.32s ease, filter 0.32s ease, backdrop-filter 0.32s ease, visibility 0.32s;
  }
  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    filter: blur(0);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .nav-links > li > a,
  .nav-item--has-dropdown > a {
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--text);
    font-family: var(--display);
    letter-spacing: -0.015em;
    line-height: 1.1;
  }

  /* Mobile dropdown: expanded inline, no hover positioning */
  .nav-item { width: 100%; }
  .nav-item--has-dropdown > a::after {
    content: "";
    width: 14px;
    height: 14px;
    border: 0;
    background:
      linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
      linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
    transform: none;
    margin-left: 12px;
    transition: transform 0.25s ease;
    display: inline-block;
  }
  .nav-item--has-dropdown.is-open > a::after {
    transform: rotate(45deg);
  }

  .nav-item--has-dropdown > .nav-dropdown,
  .nav-item--has-dropdown:hover > .nav-dropdown,
  .nav-item--has-dropdown:focus-within > .nav-dropdown {
    position: static;
    transform: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    filter: blur(8px);
    background: transparent;
    border: 0;
    border-radius: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    display: none;
    margin: 0;
    min-width: 0;
    width: 100%;
    left: auto;
    top: auto;
    max-height: 0;
    padding: 0;
    overflow: hidden;
  }
  .nav-item--has-dropdown.is-open > .nav-dropdown {
    display: flex;
    flex-direction: column;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    filter: blur(0);
    max-height: none;
    overflow: visible;
    padding: 8px 0 4px 0;
  }
  .nav-dropdown a {
    padding: 8px 0 8px 14px;
    font-size: 1rem;
    color: var(--text-dim);
  }
  .nav-dropdown a:hover { background: transparent; }
  .nav-dropdown li + li { border-top: 0; }
}


/* ════════════════════════════════════════════════════════════
   HERO  (mike-bennet pattern)
   ════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: calc(var(--nav-h) + 40px) var(--pad-x) 24px;
  gap: 40px;
  overflow: hidden;
}

/* Creature overlay — sits between shader and name */
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}

.hero-overlay img {
  width: 88%;
  max-width: 1100px;
  height: auto;
  opacity: 0.99;

  animation: heroBreathe 12s ease-in-out infinite;
}

@keyframes heroBreathe {

  0%,
  100% {
    opacity: 0.28;
    transform: scale(1.1);
  }

  50% {
    opacity: 0.80;
    transform: scale(1.2);
  }
}

.hero-name {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: start;
}

.hero-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-info p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  font-weight: 500;
}

.hero-info p span {
  color: var(--text-dim);
  font-weight: 400;
  margin-right: 6px;
}

.hero-cols {
  display: grid;
  grid-template-columns: auto auto;
  gap: 56px;
  align-items: start;
}

.hero-col-label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-dim);
  margin-bottom: 12px;
  font-weight: 400;
}

.hero-cols a,
.hero-cols .hero-col-item {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.7;
}

.hero-cols a:hover {
  color: var(--text-body);
}

.hero-name {
  font-family: var(--display);
  font-size: clamp(4rem, 17vw, 16rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--text);
  text-transform: lowercase;
  align-self: end;
}

.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 64px;
  align-items: start;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  font-size: 0.875rem;
  color: var(--text-dim);
}

/* ════════════════════════════════════════════════════════════
   WORKS  (large image tiles, caption below)
   ════════════════════════════════════════════════════════════ */
.works {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px 56px;
  padding: 120px var(--pad-x);
}

.work-tile {
  display: block;
  color: inherit;
}

.work-tile-image {
  aspect-ratio: 4 / 3;
  background: var(--surface);
  overflow: hidden;
  margin-bottom: 22px;
    border-radius:15px;
}

.work-tile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius:15px;
}

.work-tile:hover .work-tile-image img {
  transform: scale(1.035);
}

.work-tile-caption h3 {
  font-family: var(--sans);
  font-size: 1rem;
  /* matches reference caption scale */
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 6px;
  text-transform: lowercase;
}

.work-tile-caption p {
  font-size: 0.875rem;
  color: var(--text-dim);
  font-weight: 400;
  line-height: 1.5;
  text-transform: lowercase;
}

@media (max-width: 768px) {
  .works {
    grid-template-columns: 1fr;
    gap: 56px;
    padding: 72px var(--pad-x);
  }
}

/* ════════════════════════════════════════════════════════════
   WORK PAGE
   ════════════════════════════════════════════════════════════ */
.work-hero {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-h) + 180px) var(--pad-x) 2rem ;
}

.work-hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 168px;
  font-size: 0.875rem;
  color: var(--text-dim);
  display: none;
}

.work-hero-meta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
}

.work-hero-meta a:hover {
  color: var(--text);
}

.work-hero-meta svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.work-hero-title {
  font-family: var(--display);
  font-size: clamp(3rem, 9vw, 7.5rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--text);
  text-transform: lowercase;
  margin-bottom: 22px;
}

.work-hero-sub {
  font-size: 1.125rem;
  color: var(--text-body);
  max-width: 640px;
  margin-bottom: 56px;
  line-height: 1.55;
}

.work-hero-image {
  position: relative;
  z-index: 1;
  width: calc(100% - (var(--pad-x) * 2));
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface);
border-radius:15px;
}

.work-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius:15px;
}

.work-carousel .carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.work-carousel .carousel-slide.is-active {
  opacity: 1;
}

.image-card-grid {
  position: relative;
  z-index: 1;
  width: calc(100% - (var(--pad-x) * 2));
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.image-card {
  display: block;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  padding: 0;
  cursor: pointer;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.3s ease;
}

.image-card:hover img,
.image-card:focus-visible img {
  filter: brightness(1.12);
  transform: scale(1.04);
}

.image-card:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.52);
  outline-offset: 3px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: var(--pad-x);
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox__image {
  max-width: min(1180px, 100%);
  max-height: calc(100vh - (var(--pad-x) * 2));
  width: auto;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
  transform: scale(0.985);
  transition: transform 0.24s ease;
}

.lightbox.is-open .lightbox__image {
  transform: scale(1);
}

.lightbox__close {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 1;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(12, 12, 12, 0.72);
  color: var(--text);
  cursor: pointer;
}

.lightbox__close::before,
.lightbox__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transform-origin: center;
}

.lightbox__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.lightbox__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.lightbox__close:hover,
.lightbox__close:focus-visible {
  background: rgba(34, 34, 34, 0.82);
}

/* Body content */
.work-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 96px var(--pad-x) 120px;
  display: grid;
  gap: 96px;
}

.work-section h2 {
  font-family: var(--sans);
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 28px;
  letter-spacing: -0.015em;
}

.work-section>p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  max-width: 720px;
  margin-bottom: 18px;
}

.work-section>p:last-child {
  margin-bottom: 0;
}

/* Role block (replaces .role-callout) */
.role-block {
  /* no border, no background */
}

.role-block p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text);
  max-width: 720px;
  font-weight: 400;
}

/* Award line (replaces .award-badge) */
.award-line {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}

.award-line+.award-sub {
  font-size: 0.875rem;
  color: var(--text-dim);
}

/* ════════════════════════════════════════════════════════════
   CARDS  (single container element - credits, exhibitions, docs)
   ════════════════════════════════════════════════════════════ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}

.card-grid--cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 768px) {
  .card-grid--cols-2 {
    grid-template-columns: 1fr;
  }
}

.card {
  position: relative;
  background: var(--surface);
  border-radius: 14px;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  transition: background 0.25s ease;
}

.card:hover {
  background: var(--surface2);
}

.card-link:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.42);
  outline-offset: 3px;
}

.card-title {
  font-family: var(--sans);
  font-size: 1.375rem;
  /* 22px */
  line-height: 1.2;
  /* exactly 1.2em */
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
}

.card-body {
  font-size: 1rem;
  /* 16px */
  line-height: 1.55;
  color: var(--text-body);
  /* #d5d2d2 */
  margin-bottom: 22px;
}

.card-body:last-child {
  margin-bottom: 0;
}

.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  font-size: 0.875rem;
  color: var(--text-dim);
}

.card-arrow {
  position: absolute;
  top: 22px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--text-dim);
  transition: color 0.25s, transform 0.25s;
}

.card-arrow svg {
  display: block;
  width: 100%;
  height: 100%;
}

.card:hover .card-arrow {
  color: var(--text);
  transform: translate(3px, -3px);
}

/* Card variants */
.card-role {
  font-size: 0.875rem;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.card-name {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}

.card-year {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}

.card-venue {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.3;
}

.card-event {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* ════════════════════════════════════════════════════════════
   ABOUT PAGE
   ════════════════════════════════════════════════════════════ */
.about-page {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 80px) var(--pad-x) 120px;
  display: grid;
  gap: 96px;
}

.about-page h1 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--text);
  text-transform: lowercase;
  line-height: 0.95;
  margin-bottom: 32px;
}

.about-page h2 {
  font-family: var(--sans);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 24px;
}

.about-page p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  max-width: 720px;
  margin-bottom: 18px;
}

.statement-text p {
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--text);
  max-width: 760px;
  margin-bottom: 24px;
  font-weight: 400;
}

/* Portrait */
.portrait-section {
  margin: 0;
}

.portrait {
  margin: 0;
  max-width: 460px;
  background: var(--surface);
  overflow: hidden;
  border-radius: 4px;
}

.portrait img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(1) contrast(1.02);
}

@media (max-width: 768px) {
  .portrait {
    max-width: 320px;
  }
}

/* CV - card grid */
.cv-section {
  margin-top: 0;
}

.cv-section+.cv-section {
  margin-top: 56px;
}

.cv-section-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: lowercase;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hairline);
}

.cv-list {
  list-style: none;
}

.cv-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 24px;
  padding: 14px 0;
}

.cv-item+.cv-item {
  border-top: 1px solid var(--hairline);
}

.cv-year {
  font-size: 0.95rem;
  color: var(--text-dim);
}

.cv-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cv-title {
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
}

.cv-org {
  font-size: 0.95rem;
  color: var(--text-body);
}

.cv-note {
  font-size: 0.875rem;
  color: var(--text-dim);
}

/* ════════════════════════════════════════════════════════════
   DOCUMENTS PAGE
   ════════════════════════════════════════════════════════════ */
.documents-page {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 80px) var(--pad-x) 120px;
}

.documents-page>h1 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--text);
  text-transform: lowercase;
  line-height: 0.95;
  margin-bottom: 24px;
}

.documents-page>.lede {
  font-size: 1.125rem;
  color: var(--text-body);
  max-width: 680px;
  margin-bottom: 64px;
  line-height: 1.55;
}

.doc-group {
  margin-bottom: 56px;
}

.doc-group h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
}

/* ════════════════════════════════════════════════════════════
   CONTACT PAGE
   ════════════════════════════════════════════════════════════ */
.contact-page {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 80px) var(--pad-x) 120px;
}

.contact-page h1 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--text);
  text-transform: lowercase;
  line-height: 0.95;
  margin-bottom: 28px;
}

.contact-page>p {
  font-size: 1.125rem;
  color: var(--text-body);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 56px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: baseline;
}

.contact-list .contact-label {
  font-size: 0.95rem;
  color: var(--text-dim);
}

.contact-list .contact-value {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
}

.contact-list a.contact-value:hover {
  color: var(--text-body);
}

/* ════════════════════════════════════════════════════════════
   FOOTER  (matches mike-bennet reference)
   ════════════════════════════════════════════════════════════ */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--hairline);
}

/* Meta block — info on left, columns on right (moved from hero) */
.site-footer-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: start;
  padding: 56px var(--pad-x) 40px;
  border-bottom: 1px solid var(--hairline);
}

.site-footer-meta .hero-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-footer-meta .hero-info p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  font-weight: 500;
}

.site-footer-meta .hero-info p span {
  color: var(--text-dim);
  font-weight: 400;
  margin-right: 6px;
}

.site-footer-meta .hero-cols {
  display: grid;
  grid-template-columns: auto auto;
  gap: 64px;
  align-items: start;
}

.site-footer-meta .hero-col-label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-dim);
  margin-bottom: 12px;
  font-weight: 400;
}

.site-footer-meta .hero-cols a,
.site-footer-meta .hero-cols .hero-col-item {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.7;
}

.site-footer-meta .hero-cols a:hover {
  color: var(--text-body);
}

.footer-inner {
  padding: 22px var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 0.875rem;
  color: var(--text-dim);
}

.footer-inner a {
  color: var(--text-dim);
}

.footer-inner a:hover {
  color: var(--text);
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root {
    --pad-x: 40px;
  }

  .hero-grid,
  .hero-foot {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --pad-x: 28px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-cols {
    gap: 36px;
  }

  .hero-foot {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .work-hero-meta {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }

  .work-hero-image {
    margin: 0 auto;
  }

  .image-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cv-item {
    grid-template-columns: 64px 1fr;
    gap: 16px;
  }

  .contact-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .site-footer-meta {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 40px var(--pad-x) 28px;
  }

  .site-footer-meta .hero-cols {
    gap: 36px;
  }
}

@media (max-width: 480px) {
  .hero-cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .site-footer-meta .hero-cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .image-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  body {
    animation: none;
  }

  .work-carousel .carousel-slide {
    transition: none;
  }
}
