:root {
  --paper: #f4ead6;
  --cream: #fff8e8;
  --ink: #20130f;
  --muted: #6f5946;
  --red: #c93424;
  --orange: #ef8e24;
  --yellow: #f7c83a;
  --green: #175c44;
  --blue: #246b8f;
  --pink: #e78193;
  --line: 3px solid var(--ink);
  --shadow: 8px 8px 0 var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(32, 19, 15, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 19, 15, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
  font-family:
    "Noto Sans SC", "Microsoft YaHei", "PingFang SC", "Heiti SC", sans-serif;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(16px, 4vw, 46px);
  border-bottom: var(--line);
  background: rgba(244, 234, 214, 0.9);
  backdrop-filter: blur(12px);
}

.brand-mark {
  display: inline-grid;
  min-width: 86px;
  min-height: 48px;
  place-items: center;
  border: var(--line);
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-1deg);
}

.brand-mark span {
  font-family: "Arial Rounded MT Bold", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 1.35rem;
  font-weight: 950;
  line-height: 1;
}

.brand-mark small {
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

nav a,
.filter {
  min-height: 36px;
  padding: 8px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

nav a:hover,
.filter:hover,
.filter.is-active {
  background: var(--red);
  color: var(--cream);
  box-shadow: 3px 3px 0 var(--ink);
  transform: translate(-2px, -2px);
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  gap: clamp(24px, 5vw, 76px);
  align-items: center;
  padding: clamp(28px, 6vw, 84px) clamp(16px, 5vw, 70px) 46px;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 2px solid var(--ink);
  background: var(--green);
  color: var(--cream);
  font-size: clamp(0.72rem, 1vw, 0.84rem);
  font-weight: 950;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-lede {
  max-width: 640px;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1.65;
  color: #3f2c22;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-tags span {
  padding: 10px 13px;
  border: 2px solid var(--ink);
  background: var(--cream);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 0.9rem;
  font-weight: 950;
}

.pixel-chase {
  display: grid;
  grid-template-columns: 42px repeat(4, 16px) auto;
  gap: 12px;
  align-items: center;
  width: min(100%, 430px);
  margin-top: 28px;
  padding: 12px 14px;
  border: var(--line);
  background: var(--ink);
  box-shadow: 5px 5px 0 var(--red);
}

.pacman {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--yellow);
  animation: pixel-chomp 0.46s steps(2, end) infinite;
}

.pacman::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1px;
  width: 0;
  height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 17px solid var(--ink);
  transform: translateY(-50%);
}

.pixel-dot {
  width: 12px;
  height: 12px;
  background: var(--cream);
  box-shadow: 0 0 0 2px var(--cream);
  animation: pixel-blink 1.2s steps(2, end) infinite;
}

.pixel-dot.power {
  width: 18px;
  height: 18px;
  background: var(--pink);
}

.pixel-label {
  justify-self: end;
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 950;
}

@keyframes pixel-chomp {
  50% {
    clip-path: polygon(0 0, 100% 0, 100% 35%, 58% 50%, 100% 65%, 100% 100%, 0 100%);
  }
}

@keyframes pixel-blink {
  50% {
    opacity: 0.45;
  }
}

.hero-stage {
  position: relative;
  min-height: min(650px, 70vh);
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 9% 4% 4% 12%;
  border: var(--line);
  background: var(--red);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.hero-poster {
  position: absolute;
  border: var(--line);
  background: var(--cream);
  box-shadow: var(--shadow);
  object-fit: cover;
  transition: transform 300ms ease;
}

.poster-a {
  top: 0;
  left: 6%;
  width: 62%;
  aspect-ratio: 1.3;
  transform: rotate(-3deg);
}

.poster-b {
  right: 0;
  bottom: 7%;
  width: 48%;
  aspect-ratio: 0.78;
  transform: rotate(4deg);
}

.poster-c {
  left: 0;
  bottom: 0;
  width: 42%;
  aspect-ratio: 0.76;
  transform: rotate(-5deg);
}

.hero-stage:hover .poster-a {
  transform: translateY(-8px) rotate(-4deg);
}

.hero-stage:hover .poster-b {
  transform: translateY(-10px) rotate(5deg);
}

.hero-stage:hover .poster-c {
  transform: translateY(-6px) rotate(-6deg);
}

.ticker {
  overflow: hidden;
  border-block: var(--line);
  background: var(--ink);
  color: var(--cream);
}

.ticker div {
  display: flex;
  width: max-content;
  animation: ticker 26s linear infinite;
}

.ticker span {
  padding: 14px 28px;
  color: var(--yellow);
  font-size: clamp(1.05rem, 2vw, 1.6rem);
  font-weight: 950;
  white-space: nowrap;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

section {
  padding: clamp(48px, 8vw, 100px) clamp(16px, 5vw, 70px);
}

.creative-direction {
  background: var(--cream);
  border-bottom: var(--line);
}

.creative-direction h2,
.capability-band h2,
.section-head h2 {
  max-width: 900px;
  margin: 16px 0 0;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.direction-grid article,
.project-card,
.archive-card {
  border: var(--line);
  background: var(--cream);
  box-shadow: 6px 6px 0 var(--ink);
}

.direction-grid article {
  padding: 22px;
}

.direction-grid span {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid var(--ink);
  background: var(--orange);
  color: var(--ink);
  font-weight: 950;
}

.direction-grid h3 {
  margin: 18px 0 8px;
  font-size: 1.45rem;
}

.direction-grid p,
.section-head p,
.capability-copy p,
.archive-card p,
.project-card p,
.creator p {
  color: var(--muted);
  line-height: 1.65;
}

.creator {
  position: relative;
  overflow: hidden;
  border-bottom: var(--line);
  background:
    radial-gradient(circle at 12% 18%, rgba(247, 200, 58, 0.22), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(231, 129, 147, 0.2), transparent 24%),
    var(--paper);
}

.creator::before {
  content: "UNI PUPU / CREATOR IDENTITY / VISUAL DIARY / PERSONAL BRAND";
  position: absolute;
  top: 26px;
  right: -160px;
  width: 720px;
  padding: 9px 0;
  border-block: 2px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 950;
  text-align: center;
  transform: rotate(10deg);
}

.creator-entrance {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
}

.creator-copy h2 {
  max-width: 850px;
  margin: 16px 0 18px;
  font-size: clamp(2.25rem, 5.8vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.creator-copy > p {
  max-width: 640px;
  font-size: clamp(1rem, 1.7vw, 1.24rem);
}

.creator-card {
  display: grid;
  gap: 8px;
  max-width: 430px;
  margin-top: 28px;
  padding: 18px;
  border: var(--line);
  background: var(--cream);
  box-shadow: 6px 6px 0 var(--ink);
  transform: rotate(-1deg);
}

.creator-card span {
  width: fit-content;
  padding: 5px 8px;
  border: 2px solid var(--ink);
  background: var(--blue);
  color: var(--cream);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.creator-card strong {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.95;
}

.creator-card small {
  color: var(--muted);
  font-weight: 900;
  line-height: 1.45;
}

.creator-visual-stack {
  position: relative;
  min-height: 620px;
}

.creator-image {
  position: absolute;
  padding: 0;
  border: var(--line);
  background: var(--cream);
  box-shadow: var(--shadow);
  cursor: zoom-in;
  overflow: hidden;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.creator-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--cream);
}

.creator-image:hover {
  box-shadow: 12px 12px 0 var(--ink);
  transform: translate(-4px, -4px) rotate(0deg);
}

.creator-image.portrait {
  top: 8%;
  left: 0;
  width: 39%;
  aspect-ratio: 1;
  transform: rotate(-7deg);
}

.creator-image.card-one {
  top: 0;
  right: 0;
  width: 58%;
  aspect-ratio: 0.75;
  transform: rotate(3deg);
}

.creator-image.card-two {
  left: 18%;
  bottom: 0;
  width: 52%;
  aspect-ratio: 0.75;
  transform: rotate(-2deg);
}

.creator-editorial {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(36px, 6vw, 76px);
}

.creator-editorial article {
  padding: 20px;
  border: var(--line);
  background: var(--cream);
  box-shadow: 5px 5px 0 var(--ink);
}

.creator-editorial span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 8px;
  border: 2px solid var(--ink);
  background: var(--red);
  color: var(--cream);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.creator-editorial h3,
.creator-diary h3 {
  margin: 16px 0 10px;
  font-size: clamp(1.35rem, 2.6vw, 2.25rem);
  line-height: 1.04;
}

.creator-diary {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: center;
  margin-top: 22px;
  padding: clamp(18px, 3vw, 30px);
  border: var(--line);
  background: var(--green);
  color: var(--cream);
  box-shadow: 7px 7px 0 var(--ink);
}

.creator-diary figure {
  margin: 0;
  border: var(--line);
  background: var(--cream);
  overflow: hidden;
}

.creator-diary img {
  width: 100%;
  max-height: 620px;
  object-fit: contain;
}

.creator-diary p {
  color: rgba(255, 248, 232, 0.82);
  font-size: 1.05rem;
}

.creator-contact {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 12px;
  padding: 10px 14px;
  border: 2px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 4px 4px 0 #000;
  font-weight: 950;
  cursor: pointer;
}

.creator-contact.is-playing {
  background: var(--pink);
  color: var(--ink);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.section-head p {
  max-width: 430px;
  margin-bottom: 0;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.project-card {
  overflow: hidden;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.project-card:hover {
  box-shadow: 10px 10px 0 var(--ink);
  transform: translate(-3px, -3px) rotate(-0.6deg);
}

.project-card.large {
  grid-column: auto;
  grid-row: auto;
}

.project-card figure,
.archive-card figure {
  margin: 0;
  background: var(--ink);
}

.project-card img {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
}

.project-card.large img {
  height: auto;
}

.project-card-body,
.archive-card-body {
  padding: 18px;
}

.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.badge {
  padding: 5px 8px;
  border: 2px solid var(--ink);
  background: var(--yellow);
}

.project-card h3,
.archive-card h3 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1;
}

.capability-band {
  border-block: var(--line);
  background: var(--green);
  color: var(--cream);
}

.capability-band .section-kicker {
  background: var(--yellow);
  color: var(--ink);
}

.capability-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
  margin-top: 34px;
}

.capability-copy p {
  max-width: 570px;
  color: rgba(255, 248, 232, 0.82);
  font-size: 1.08rem;
}

.capability-copy ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.capability-copy li {
  min-height: 44px;
  padding: 11px 14px;
  border: 2px solid var(--cream);
  background: rgba(255, 248, 232, 0.08);
  font-weight: 900;
}

.system-strip {
  display: grid;
  grid-template-columns: 0.9fr 1fr 0.9fr;
  gap: 16px;
  align-items: center;
}

.system-strip img {
  width: 100%;
  border: var(--line);
  background: var(--cream);
  box-shadow: 6px 6px 0 #000;
  object-fit: cover;
}

.system-strip img:nth-child(1) {
  aspect-ratio: 0.78;
  transform: rotate(-3deg);
}

.system-strip img:nth-child(2) {
  aspect-ratio: 0.78;
  transform: translateY(24px) rotate(2deg);
}

.system-strip img:nth-child(3) {
  aspect-ratio: 0.78;
  transform: rotate(-1deg);
}

.landing-showcase {
  padding-inline: clamp(14px, 2.5vw, 34px);
  background:
    linear-gradient(90deg, rgba(32, 19, 15, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(32, 19, 15, 0.08) 1px, transparent 1px),
    var(--paper);
  background-size: 86px 86px;
}

.landing-showcase .section-head {
  max-width: none;
  margin-inline: auto;
  margin-bottom: clamp(26px, 4vw, 52px);
  padding-inline: clamp(2px, 2vw, 26px);
}

.landing-showcase .section-head h2 {
  max-width: 1120px;
  font-size: clamp(2.6rem, 6.8vw, 6.6rem);
}

.landing-showcase .section-head p {
  max-width: 520px;
  padding: 14px 16px;
  border: 2px solid var(--ink);
  background: var(--cream);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink);
  font-weight: 900;
}

.landing-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: clamp(14px, 1.4vw, 22px);
  width: min(100%, 1460px);
  margin-inline: auto;
  align-items: end;
  padding-block: clamp(18px, 3vw, 42px);
}

.landing-tile {
  position: relative;
  grid-column: span 2;
  grid-row: auto;
  aspect-ratio: 0.78;
  min-height: 0;
  border: var(--line);
  background: var(--cream);
  box-shadow: 7px 7px 0 var(--ink);
  overflow: hidden;
  cursor: zoom-in;
  transform: rotate(var(--tilt, 0deg)) translateY(var(--lift, 0));
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.landing-tile.wide {
  grid-column: span 2;
  grid-row: auto;
}

.landing-tile.tall {
  grid-column: span 2;
  grid-row: auto;
}

.landing-tile.hero-tile {
  grid-column: span 2;
  grid-row: auto;
  box-shadow: 9px 9px 0 var(--ink);
}

.landing-tile.poster-tile {
  grid-column: span 2;
  grid-row: auto;
}

.landing-tile.label-tile {
  grid-column: span 2;
  grid-row: auto;
}

.landing-tile img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 320ms ease;
}

.landing-tile:nth-child(1) {
  --tilt: -4deg;
  --lift: 12px;
}

.landing-tile:nth-child(2) {
  --tilt: 2.5deg;
  --lift: -8px;
}

.landing-tile:nth-child(3) {
  --tilt: -1.5deg;
  --lift: 18px;
}

.landing-tile:nth-child(4) {
  --tilt: 3.5deg;
  --lift: 2px;
}

.landing-tile:nth-child(5) {
  --tilt: -3deg;
  --lift: -4px;
}

.landing-tile:nth-child(6) {
  --tilt: 1.5deg;
  --lift: 14px;
}

.landing-tile.hero-tile img,
.landing-tile.poster-tile img {
  object-position: center;
}

.landing-tile:hover img {
  transform: scale(1.05);
}

.landing-tile:hover {
  z-index: 2;
  box-shadow: 11px 11px 0 var(--ink);
  transform: rotate(0deg) translateY(-10px);
}

.archive {
  background: var(--cream);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter {
  cursor: pointer;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 18px);
}

.archive-card {
  overflow: hidden;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.archive-card:hover {
  box-shadow: 10px 10px 0 var(--ink);
  transform: translate(-3px, -3px) rotate(0.4deg);
}

.archive-card.is-hidden {
  display: none;
}

.archive-card img {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
}

.archive-card .archive-card-body {
  padding: 12px;
}

.archive-card p,
.archive-card .thumb-row {
  display: none;
}

.archive-card .meta-row {
  margin-bottom: 8px;
  font-size: 0.68rem;
}

.archive-card h3 {
  margin-bottom: 0;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 14px;
}

.thumb-row button {
  padding: 0;
  border: 2px solid var(--ink);
  background: var(--paper);
  cursor: pointer;
  aspect-ratio: 1;
  overflow: hidden;
}

.thumb-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  place-items: center;
  padding: 30px;
  background: rgba(32, 19, 15, 0.88);
}

.lightbox.is-open {
  display: grid;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 52px;
  height: 68px;
  border: 2px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 4px 4px 0 #000;
  font-size: 2.5rem;
  font-weight: 950;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

.lightbox img {
  max-height: 82vh;
  border: var(--line);
  background: var(--cream);
  box-shadow: 8px 8px 0 #000;
  object-fit: contain;
}

.lightbox p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--cream);
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  font-size: 1.7rem;
  font-weight: 950;
  cursor: pointer;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 35;
  display: none;
  overflow-y: auto;
  padding: clamp(14px, 3vw, 34px);
  background:
    linear-gradient(rgba(32, 19, 15, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 19, 15, 0.05) 1px, transparent 1px),
    rgba(244, 234, 214, 0.98);
  background-size: 44px 44px;
}

.gallery-modal.is-open {
  display: block;
  animation: galleryIn 180ms ease-out;
}

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

.gallery-shell {
  position: relative;
  width: min(100%, 1680px);
  margin-inline: auto;
  padding: clamp(18px, 3vw, 36px);
  border: var(--line);
  background: var(--cream);
  box-shadow: 10px 10px 0 var(--ink);
}

.gallery-close {
  position: sticky;
  top: 12px;
  z-index: 4;
  float: right;
  width: 46px;
  height: 46px;
  border: 2px solid var(--ink);
  background: var(--red);
  color: var(--cream);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 1.8rem;
  font-weight: 950;
  cursor: pointer;
}

.gallery-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: clamp(18px, 4vw, 48px);
  align-items: end;
  margin-bottom: 18px;
  padding-right: 58px;
}

.gallery-header h2 {
  margin: 14px 0 0;
  font-size: clamp(2.4rem, 6vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.gallery-header p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 900;
}

.gallery-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(18px, 3vw, 30px);
}

.gallery-meta span {
  padding: 7px 10px;
  border: 2px solid var(--ink);
  background: var(--yellow);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: clamp(10px, 1.4vw, 18px);
}

.gallery-item {
  min-height: 220px;
  padding: 0;
  border: var(--line);
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--ink);
  cursor: zoom-in;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.gallery-item:nth-child(6n + 1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item:nth-child(7n + 4) {
  grid-row: span 2;
}

.gallery-item:hover {
  box-shadow: 8px 8px 0 var(--ink);
  transform: translate(-3px, -3px) rotate(-0.4deg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 300ms ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(16px, 5vw, 70px);
  border-top: var(--line);
  background: var(--ink);
  color: var(--cream);
  font-weight: 900;
}

.site-footer p {
  margin: 0;
}

.contact-footer {
  align-items: center;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  color: var(--cream);
  font-style: normal;
}

.footer-contact span,
.footer-contact a {
  min-height: 36px;
  padding: 8px 10px;
  border: 2px solid var(--cream);
  background: rgba(255, 248, 232, 0.08);
}

.footer-contact a {
  color: var(--yellow);
  text-decoration: none;
}

@media (max-width: 980px) {
  .hero,
  .capability-layout,
  .creator-entrance,
  .creator-diary {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-stage {
    min-height: 560px;
  }

  .direction-grid,
  .archive-grid,
  .creator-editorial {
    grid-template-columns: 1fr;
  }

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

  .landing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: auto;
  }

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

  .gallery-header {
    grid-template-columns: 1fr;
  }

  .landing-tile,
  .landing-tile.wide,
  .landing-tile.tall,
  .landing-tile.hero-tile,
  .landing-tile.poster-tile,
  .landing-tile.label-tile {
    grid-column: span 1;
    grid-row: auto;
  }

  .landing-tile.hero-tile,
  .landing-tile.wide {
    grid-column: span 1;
    grid-row: auto;
  }

  .archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
  }

  nav {
    max-width: 210px;
  }

  nav a {
    min-height: 32px;
    padding: 7px 9px;
    font-size: 0.72rem;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-stage {
    min-height: 430px;
  }

  .ticker div {
    animation: none;
    transform: none;
  }

  .ticker {
    overflow-x: auto;
  }

  .hero-poster,
  .project-card,
  .archive-card,
  .landing-tile img,
  .creator-image,
  .gallery-item,
  .gallery-item img {
    transition: none;
  }

  .hero-stage:hover .poster-a,
  .hero-stage:hover .poster-b,
  .hero-stage:hover .poster-c,
  .project-card:hover,
  .archive-card:hover,
  .creator-image:hover,
  .gallery-item:hover {
    transform: none;
  }

  .poster-a {
    width: 74%;
  }

  .poster-b {
    width: 58%;
  }

  .poster-c {
    width: 50%;
  }

  .section-head,
  .site-footer {
    display: block;
  }

  .section-head p {
    margin-top: 14px;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .landing-showcase {
    padding-inline: 12px;
  }

  .landing-showcase .section-head {
    padding-inline: 0;
  }

  .landing-showcase .section-head h2 {
    font-size: clamp(2.3rem, 13vw, 4.2rem);
  }

  .landing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 12px;
  }

  .project-card.large {
    grid-column: auto;
    grid-row: auto;
  }

  .project-card img,
  .project-card.large img,
  .archive-card img {
    height: 330px;
  }

  .landing-tile,
  .landing-tile.wide,
  .landing-tile.tall,
  .landing-tile.hero-tile,
  .landing-tile.poster-tile,
  .landing-tile.label-tile {
    grid-column: span 1;
    grid-row: auto;
  }

  .landing-tile.hero-tile,
  .landing-tile.wide,
  .landing-tile.poster-tile {
    grid-column: span 1;
    grid-row: auto;
  }

  .landing-tile img {
    object-fit: cover;
  }

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

  .archive-card img {
    height: auto;
  }

  .gallery-modal {
    padding: 10px;
  }

  .gallery-shell {
    padding: 14px;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .gallery-header {
    padding-right: 0;
  }

  .gallery-close {
    position: fixed;
    top: 12px;
    right: 12px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item:nth-child(6n + 1),
  .gallery-item:nth-child(7n + 4) {
    grid-column: auto;
    grid-row: auto;
    min-height: 260px;
  }

  .gallery-item img {
    object-fit: contain;
    background: var(--paper);
  }

  .lightbox {
    padding: 14px;
  }

  .lightbox img {
    max-width: 100%;
    max-height: 76vh;
  }

  .lightbox-nav {
    top: auto;
    bottom: 18px;
    width: 48px;
    height: 48px;
    font-size: 2rem;
    transform: none;
  }

  .system-strip {
    grid-template-columns: 1fr;
  }

  .system-strip img:nth-child(n) {
    transform: none;
    aspect-ratio: 1;
  }

  .creator::before {
    right: -230px;
    top: 18px;
  }

  .creator-visual-stack {
    min-height: auto;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 12px;
  }

  .creator-image,
  .creator-image.portrait,
  .creator-image.card-one,
  .creator-image.card-two {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none;
    aspect-ratio: auto;
  }

  .creator-image img {
    height: auto;
  }

  .creator-image.card-two,
  .creator-diary figure {
    display: none;
  }

  .creator-diary {
    padding: 16px;
  }

  .footer-contact {
    justify-content: flex-start;
    margin-top: 16px;
  }

  .footer-contact span,
  .footer-contact a {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
