:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --card-bg: #ffffff;
  --text-primary: #000000;
  --text-secondary: #000000;
  --text-muted: #000000;
  --border: #000000;
  --divider: #000000;
  --tag-bg: #ffffff;
  --tag-text: #000000;
  --img-bg: #ffffff;
  --img-border: transparent;
  --accent: #000000;
  --font-display: 'Inter', -apple-system, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Helvetica Neue", Arial, sans-serif;
  --font-body: 'Inter', -apple-system, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  transition: background-color 0.15s ease-out;
}

/* ---------- binoculars intro ---------- */
.binoculars-intro {
  position: relative;
  height: 730vh;
  background: #000000;
}
body.projects-page .site-nav,
body.projects-page .projects-wrap {
  opacity: 0;
}
body.projects-page .is-pinned-preview {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}
body.projects-page .wrap.is-pinned-preview {
  height: 100vh;
  overflow: hidden;
  background: #ffffff;
  z-index: 30;
}
body.projects-page .site-nav.is-pinned-preview {
  z-index: 31;
}
.binoculars-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #000000;
}
.binoculars-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(1.05);
  will-change: transform, opacity;
}
.binoculars-photo-reveal {
  opacity: 0;
}
.binoculars-overlay {
  position: absolute;
  inset: 0;
  background: #000000;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  pointer-events: none;
}
.binoculars-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  pointer-events: none;
}
.binoculars-subtitle {
  margin: 0 0 6px;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(16px, 2vw, 22px);
  color: #ffffff;
}
.binoculars-title {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: clamp(32px, 6vw, 64px);
  line-height: 1.15;
  color: #f0e6cf;
}
.scroll-hint {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.scroll-hint-text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #ffffff;
}
.scroll-hint-icon {
  position: relative;
  width: 18px;
  height: 28px;
  border: 1.5px solid #ffffff;
  border-radius: 10px;
  box-sizing: border-box;
}
.scroll-hint-dot {
  position: absolute;
  top: 5px;
  left: 50%;
  width: 3px;
  height: 6px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: #ffffff;
  animation: scroll-hint-move 1.6s ease-in-out infinite;
}
@keyframes scroll-hint-move {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(9px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}
.desert-hero-text {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.desert-hero-headline-wrap {
  position: absolute;
  top: 14%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 880px;
  padding: 0 24px;
  text-align: center;
  opacity: 0;
}
.desert-hero-bio-wrap {
  position: absolute;
  bottom: 9%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: none;
  padding: 0 24px;
  text-align: center;
  opacity: 0;
}
.desert-hero-headline {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: clamp(24px, 5vw, 52px);
  line-height: 1.1;
  margin: 0;
  color: #ffffff;
  clip-path: inset(0 100% 0 0);
}
.desert-hero-bio {
  font-family: 'Caveat', cursive;
  font-weight: 600;
  font-size: clamp(17px, 2.1vw, 22px);
  line-height: 1.6;
  color: #ffffff;
  margin: 0 auto;
  max-width: none;
}
.bio-line {
  display: block;
  clip-path: inset(0 100% 0 0);
}

/* ---------- site nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
}
body.projects-page .site-nav {
  background: transparent;
}
body.projects-page .nav-name,
body.projects-page .nav-links a {
  color: #ffffff;
  mix-blend-mode: difference;
}
.card-bg {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.card-bg.show { opacity: 0.9; }
.card-bg video,
.card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}
body.projects-page .projects-wrap {
  position: relative;
  z-index: 2;
}
body.projects-page .link-preview {
  z-index: 999;
}

/* ---------- custom cursor (site-wide, except george.html's game) ---------- */
body:not(.george-page) { cursor: none; }
body:not(.george-page) a,
body:not(.george-page) button,
body:not(.george-page) .card,
body:not(.george-page) .filter-btn { cursor: none; }
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  border: 1.5px solid #000000;
  border-radius: 50%;
  background: transparent;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: border-color 0.15s ease-out, width 0.15s ease, height 0.15s ease;
}
@media (max-width: 720px) {
  body:not(.george-page) { cursor: auto; }
  body:not(.george-page) a,
  body:not(.george-page) button,
  body:not(.george-page) .card,
  body:not(.george-page) .filter-btn { cursor: pointer; }
  .custom-cursor { display: none; }
}

/* ---------- custom scrollbar ---------- */
body.projects-page {
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-line, #000000) transparent;
}
body.projects-page::-webkit-scrollbar {
  width: 10px;
}
body.projects-page::-webkit-scrollbar-track {
  background: transparent;
}
body.projects-page::-webkit-scrollbar-thumb {
  background-color: transparent;
  border: 1px solid var(--scroll-line, #000000);
  border-radius: 6px;
}
.site-nav-inner {
  max-width: 1120px;
  height: 80px;
  margin: 0 auto;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-name {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.65;
  text-transform: uppercase;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.15s ease-out;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.1em;
  line-height: 1.65;
  text-transform: uppercase;
  color: var(--text-primary);
  text-decoration: none;
  transition: opacity 0.25s var(--ease-out), color 0.15s ease-out;
}
.nav-links a:hover { opacity: 0.6; }
.nav-links a.active {
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.lang-toggle {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.lang-toggle button {
  font-family: inherit;
  font-size: 12px;
  padding: 5px 12px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
}
.lang-toggle button.active {
  background: var(--text-primary);
  color: #fff;
}

:root[data-lang="en"] .i18n-ko { display: none; }
:root:not([data-lang="en"]) .i18n-en { display: none; }

/* ---------- index / grid page ---------- */
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 10px 120px;
}
.projects-wrap {
  max-width: 1400px;
  padding-left: 24px;
  padding-right: 24px;
}
@media (max-width: 720px) {
  .projects-wrap { padding-left: 10px; padding-right: 10px; }
}
.hero-statement {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  max-width: 680px;
  margin: 0 0 64px;
  text-wrap: balance;
}

/* ---------- index hero (name intro) ---------- */
.index-hero {
  min-height: calc(100vh - 176px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0;
}
.hero-scroll-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  padding: 16px 32px 16px 40px;
  border: 1px solid var(--border);
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.hero-scroll-btn:hover {
  opacity: 0.6;
  transform: translateX(2px);
}
.hero-scroll-btn img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.hero-scroll-btn span {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 1.65;
  color: var(--text-primary);
}
.hero-scroll-btn .btn-text-short { display: none; }
@media (max-width: 640px) {
  .hero-scroll-btn .btn-text-full { display: none; }
  .hero-scroll-btn .btn-text-short { display: inline; }
}
.index-hero p {
  font-size: clamp(32px, 6vw, 75px);
  line-height: 0.9;
  margin: 0;
}
.index-hero .condensed-bold {
  font-family: 'Arial Narrow', 'Helvetica Neue Condensed', 'Roboto Condensed', sans-serif;
  font-weight: 700;
}
.index-hero .accent-serif {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
}
.heaven-swap {
  display: inline-block;
  cursor: default;
}
.heaven-swap.is-ko {
  font-family: 'Noto Serif KR', serif;
  font-style: normal;
  font-weight: 300;
}
.wave-text { display: inline-block; }
.wave-letter {
  display: inline-block;
  animation: wave-bounce 1.8s ease-in-out infinite;
}
@keyframes wave-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.index-hero .condensed-regular {
  font-family: 'Arial Narrow', 'Helvetica Neue Condensed', 'Roboto Condensed', sans-serif;
  font-weight: 400;
}
.hero-bio-link {
  color: var(--text-primary);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px dashed var(--text-primary);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.hero-bio-link:hover {
  color: var(--text-secondary);
  border-bottom-style: solid;
}
.desert-hero-bio .hero-bio-link {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.7);
}
.desert-hero-bio .hero-bio-link:hover {
  color: #f0e6cf;
  border-bottom-color: #f0e6cf;
}
.hero-scroll-note {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 1.3em;
  color: #f0e6cf;
}
.link-preview {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 160px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
  pointer-events: none;
  opacity: 0;
  display: none;
  transition: opacity 0.15s ease;
}
.link-preview.show { display: block; opacity: 1; }
.link-preview.size-lg { width: 280px; aspect-ratio: 1348 / 852; }
.link-preview video,
.link-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.projects-title {
  font-family: 'Arial Narrow', 'Helvetica Neue Condensed', 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-align: center;
  margin: 0 0 24px;
  color: var(--text-primary);
}
.about-intro {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 40px;
}
.about-photo {
  aspect-ratio: 1 / 1;
  width: 280px;
  border-radius: 50%;
  background: var(--img-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  flex-shrink: 0;
  overflow: hidden;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-intro .detail-body { display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 640px) {
  .about-intro { flex-direction: column; align-items: center; text-align: center; }
  .about-photo { width: 200px; }
}
.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.logo-item {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: var(--bg);
}
.logo-item img { max-width: 100%; max-height: 100%; object-fit: contain; }
@media (max-width: 560px) {
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
}
header h1 {
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 8px;
}
header p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}
.section-heading {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 28px;
  text-align: center;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 96px;
}
@media (max-width: 900px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .featured-grid { grid-template-columns: 1fr; }
}
.featured-grid .thumb { aspect-ratio: 4 / 3; }
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 44px 0 52px;
}
.filter-btn {
  font-family: 'Courier New', 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #b8b8b5;
  cursor: pointer;
  transition: color 0.2s ease;
}
.filter-btn:hover { color: var(--text-primary); }
.filter-btn.active { color: var(--text-primary); }
.filter-link {
  font-family: 'Courier New', 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #b8b8b5;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}
.filter-link:hover { color: var(--text-primary); }
.filter-btn .count {
  color: inherit;
  margin-left: 3px;
}
.ai-banner {
  display: none;
  flex-direction: column;
  align-items: center;
  margin: 0 0 48px;
}
.ai-banner.show { display: flex; }
.ai-banner-media {
  position: relative;
  width: 100%;
  max-width: 900px;
}
.ai-banner-video {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  background: #000;
  display: block;
}
.ai-banner-dim {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.ai-banner-media.dim .ai-banner-dim {
  opacity: 0.4;
}
.ai-banner-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-block;
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  text-decoration: none;
  color: #000;
  background: #fff;
  padding: 12px 28px;
  border: 1px solid #000;
  z-index: 2;
  transition: background .2s ease, color .2s ease;
}
.ai-banner-btn:hover {
  background: #000;
  color: #fff;
}
@media (max-width: 640px) {
  .ai-banner-video { aspect-ratio: 16 / 9; }
  .ai-banner-btn { font-size: 13px; padding: 10px 18px; }
}
.grid {
  position: relative;
}
.card {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), left 0.3s var(--ease-out), top 0.3s var(--ease-out), width 0.3s var(--ease-out);
}
.card:hover { transform: translateY(-4px); }
.card.hidden { display: none; }
.thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  overflow: hidden;
  background: var(--img-bg);
}
.thumb.thumb-tall {
  aspect-ratio: 3 / 4;
}
.thumb.thumb-portrait {
  aspect-ratio: 4 / 5;
}
.thumb.thumb-square {
  aspect-ratio: 1 / 1;
}
#grid .thumb {
  background: transparent;
}
.thumb-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.8) 100%);
  pointer-events: none;
  z-index: 1;
}
.thumb-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 10px 12px;
  color: #fff;
}
.thumb-info .tag {
  display: inline-block;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.85);
  background: transparent;
  padding: 0;
  border-radius: 0;
  margin: 0 0 3px;
}
.thumb-info .title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}
.thumb-info .desc {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
}
.card:hover .thumb-info .desc {
  max-height: 100px;
  opacity: 1;
  margin-top: 4px;
}
.card:hover .thumb-info .title { color: #fff; }
.thumb img,
.thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.25s var(--ease-out), opacity 0.25s var(--ease-out);
}
.thumb .placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
}
.thumb .overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.4s ease;
}
.card:hover .thumb img,
.card:hover .thumb video { transform: scale(1.02); opacity: 0.96; }
.card:hover .thumb .overlay { background: rgba(255, 255, 255, 0.28); }
.card:hover .title { color: #000; }
.meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 14px 0 6px;
  font-size: 13px;
  color: var(--text-muted);
}
.tag {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--tag-bg);
  color: var(--tag-text);
}
.title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
  transition: color 0.25s var(--ease-out);
}
.desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* ---------- password gate ---------- */
.gate-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}
.gate-box { width: 240px; text-align: center; }
.gate-label {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 12px;
}
.gate-input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  margin-bottom: 10px;
  font-family: inherit;
  box-sizing: border-box;
}
.gate-btn {
  width: 100%;
  height: 40px;
  border-radius: 4px;
  border: 1px solid var(--text-primary);
  background: var(--text-primary);
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
}
.gate-error {
  font-size: 12px;
  color: #b23b3b;
  margin: 10px 0 0;
  min-height: 14px;
}

/* ---------- detail page ---------- */
.detail-shell {
  margin: 0 auto;
  padding: 64px 160px 160px;
  position: relative;
}
.detail-wrap {
  max-width: 100%;
}
.toc {
  position: fixed;
  top: 140px;
  right: 24px;
  width: 160px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border-radius: 8px;
  padding: 14px 16px;
  margin-left: -16px;
}
.toc.visible {
  opacity: 1;
  pointer-events: auto;
}
.toc a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 2px 0 2px 14px;
  border-left: 2px solid var(--border);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.toc a:hover { color: var(--text-primary); }
.toc a.active {
  color: var(--text-primary);
  border-left-color: var(--text-primary);
}
@media (max-width: 1180px) {
  .toc { display: none; }
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 32px;
}
.back-link:hover { color: var(--text-primary); }
.hero {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  aspect-ratio: 21 / 9;
  border-radius: 0;
  background: var(--img-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  overflow: hidden;
  margin-bottom: 48px;
}
.hero img, .hero video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-video {
  position: absolute;
  inset: 0;
}
.hero-video iframe {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  transform: translateY(-50%);
  border: 0;
  pointer-events: none;
}
@media (max-width: 720px) {
  .hero { aspect-ratio: 4 / 3; }
}

/* hero-split: for a single "representative" image — image sits beside the title/summary instead of above it */
.hero-split {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 0 24px;
  margin-bottom: 64px;
}
.hero-split-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}
.hero-split-image {
  aspect-ratio: 4 / 5;
  background: var(--img-bg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
}
.hero-split-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-split-text .eyebrow { margin-top: 0; }
.hero-split-text .detail-meta { margin: 14px 0 28px; }
.hero-split-text .detail-title { margin: 0 0 22px; }
.hero-split-text .summary { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
@media (max-width: 860px) {
  .hero-split-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-split-image { aspect-ratio: 4 / 3; }
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 32px 0 14px;
}
.detail-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 32px;
  font-size: 13px;
  color: var(--text-muted);
}
.detail-title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.summary {
  font-size: 17px;
  line-height: 1.9;
  color: var(--text-primary);
  margin: 0 0 44px;
}

/* ---------- takeaway ---------- */
.takeaway {
  background: var(--bg);
  border: 1px solid var(--text-muted);
  border-radius: 4px;
  padding: 24px 28px;
  margin: 0 0 52px;
}

.emphasis-block {
  margin: 20px 0 32px;
}
.emphasis-block p {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin: 0 0 14px;
}
.emphasis-block p:last-child { margin-bottom: 0; }
.takeaway-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 10px;
}
.takeaway p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-primary);
  margin: 0 0 6px;
}
.takeaway p:last-child { margin-bottom: 0; }
.takeaway ul {
  margin: 0;
  padding-left: 18px;
}
.takeaway li {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-primary);
  margin: 0 0 6px;
}
.takeaway li:last-child { margin-bottom: 0; }
.takeaway ol {
  margin: 0;
  padding-left: 18px;
}

.concept-statement {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.35;
  letter-spacing: -0.015em;
  margin: 4px 0 20px;
  color: var(--text-primary);
}

.workflow-steps {
  display: flex;
  align-items: stretch;
  gap: 14px;
  flex-wrap: wrap;
  margin: 20px 0 28px;
}
.workflow-step {
  border: 1px solid var(--text-primary);
  border-radius: 4px;
  padding: 24px 22px;
  text-align: center;
  flex: 1 1 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.workflow-step-title {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0;
}
.workflow-step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}
.workflow-arrow {
  font-size: 18px;
  color: var(--text-muted);
  align-self: center;
}
@media (max-width: 640px) {
  .workflow-steps { flex-direction: column; }
  .workflow-arrow { transform: rotate(90deg); }
}

.step-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 24px;
  margin: 20px 0 0;
  align-items: start;
}
.step-row.cols-4 { grid-template-columns: repeat(4, 1fr); }
.step-row.cols-2 { grid-template-columns: repeat(2, 1fr); }
.step-item { display: flex; flex-direction: column; }
.step-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 0;
  background: var(--img-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 12px;
  text-align: center;
  padding: 6px;
  margin-bottom: 14px;
  overflow: hidden;
}
.step-image img,
.step-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.step-image:has(img),
.step-image:has(video) {
  padding: 0;
}
.step-number {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin: 0 0 2px;
}
.step-title {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}
.step-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 6px 0 0;
}
@media (max-width: 640px) {
  .step-row, .step-row.cols-4 { grid-template-columns: 1fr; }
}

.info-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
  margin-bottom: 56px;
  border-top: 1px solid var(--border);
}
@media (max-width: 640px) {
  .info-box { grid-template-columns: 1fr; }
}
.info-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.info-item label {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 10px;
}
.info-item span {
  font-size: 14px;
  color: var(--text-primary);
}
.detail-body p {
  font-size: 17px;
  line-height: 1.95;
  color: var(--text-secondary);
  margin: 0 0 32px;
}
.detail-body p.lead {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-primary);
}

.story-section p {
  font-size: 17px;
  line-height: 1.9;
  color: var(--text-secondary);
  margin: 0 0 32px;
}
.story-section p.lead {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.6;
}
.story-section p:last-child { margin-bottom: 0; }

body.breathin-page #background {
  text-align: center;
  background-color: #000;
  background-image: url('images/breathin/grain-bg.png');
  background-repeat: repeat;
  background-size: 500px 500px;
  padding: 72px 48px;
  border-radius: 4px;
}
body.breathin-page #background .lead {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.4;
  margin-bottom: 20px;
}
body.breathin-page #background .lead.i18n-en { margin-bottom: 32px; }
body.breathin-page #background p:not(.lead):not(:last-child) { margin-bottom: 8px; }

body.breathin-page #background .section-title,
body.breathin-page #background .role-sub-title,
body.breathin-page #background .lead,
body.breathin-page #background p {
  color: #fff;
  background-image: linear-gradient(#fff, #fff), url('images/breathin/grain-text.png');
  background-repeat: repeat, repeat;
  background-size: auto, 160px 160px;
  background-blend-mode: normal, soft-light;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#visual-design .section-title,
#visual-design .lead,
#visual-design .role-sub-title,
#packaging .section-title,
#packaging .lead {
  text-align: center;
}

.inspiration-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  align-items: flex-start;
}
.inspiration-row .inline-image-small { flex: 0 0 200px; margin: 0; }
.inspiration-row .inspiration-text { max-width: 440px; text-align: left; }
.inspiration-row .inspiration-text p:last-child { margin-bottom: 0; }
.inspiration-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.inspiration-col .inline-image-small { margin: 0; }
.handwritten {
  font-family: 'Caveat', 'Gaegu', cursive;
  font-size: 26px;
  font-weight: 600;
  color: var(--text-primary);
  max-width: 480px;
}
.text-center { text-align: center; }
.space-loose { margin-bottom: 64px !important; }
@media (max-width: 640px) {
  .inspiration-row { flex-direction: column; }
}

.story-section { margin: 140px 0 0; }
.story-section:first-of-type { margin-top: 100px; }
.section-title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 0 0 26px;
}
.section-title.chapter {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  margin: 0 0 20px;
}
.role-sub-title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 56px 0 22px;
}
.role-block:first-of-type .role-sub-title { margin-top: 8px; }
.section-gap-lg { margin-top: 120px; }
.tool-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 16px 0 32px;
}
.tool-tag {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.tool-tag:not(:last-child)::after {
  content: '/';
  margin: 0 12px;
  color: var(--text-muted);
  font-weight: 400;
}
.concept-keywords {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin: 24px 0 44px;
}
.palette-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  margin: 16px 0 36px;
}
.palette-swatch {
  aspect-ratio: 16 / 9;
  border-radius: 0;
  background: var(--img-bg);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
  padding: 8px;
  overflow: hidden;
}
.palette-swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.palette-group-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 4px 0 12px;
}
.palette-label {
  font-size: 13px;
  color: var(--text-primary);
  text-align: center;
}
.palette-grid--detailed {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 560px) {
  .palette-grid--detailed {
    grid-template-columns: 1fr;
  }
}
.palette-grid--detailed .palette-label {
  font-weight: 700;
  text-align: left;
}
.palette-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-secondary);
  text-align: left;
  margin: 6px 0 0;
}
.model-detail-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  margin: 0 0 6px;
  color: var(--text-primary);
}
.model-detail-tagline {
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 8px;
  color: var(--text-primary);
}
.concept-keyword {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--text-primary);
}

.story-section ol {
  margin: 10px 0 32px;
  padding-left: 20px;
}
.story-section ul {
  margin: 20px 0 36px;
  padding-left: 0;
  list-style: none;
}
.story-section ul li {
  padding-left: 22px;
  position: relative;
}
.story-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 7px;
  height: 1px;
  background: var(--text-primary);
}
.story-section li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0 0 16px;
}
.story-section li:last-child { margin-bottom: 0; }
.story-section li.detail-item {
  margin-bottom: 32px;
}
.detail-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 10px 0 0;
}
.detail-images.cols-3 { grid-template-columns: repeat(3, 1fr); }
.detail-images.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 640px) {
  .detail-images.cols-3 { grid-template-columns: 1fr; }
  .detail-images.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
.detail-image {
  aspect-ratio: 4 / 3;
  border-radius: 0;
  background: var(--img-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 12px;
  text-align: center;
  overflow: hidden;
  padding: 8px;
}
.detail-image.detail-image-portrait {
  aspect-ratio: 3 / 4;
  padding: 0;
}

.game-embed {
  display: flex;
  justify-content: center;
  margin: 16px 0 0;
}
.game-embed iframe {
  max-width: 100%;
  border: 0;
  border-radius: 0;
}

body.george-page { cursor: url('images/george/gimbab-cursor.png') 24 24, auto; }
body.george-page a,
body.george-page button,
body.george-page .next-card { cursor: url('images/george/gimbab-cursor.png') 24 24, pointer; }

.frame-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 24px auto 8px;
  max-width: 480px;
}
.frame-pair img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
@media (max-width: 640px) {
  .frame-pair { grid-template-columns: 1fr; }
}

.experience-row {
  display: flex;
  gap: 14px;
  margin: 10px 0 0;
  flex-wrap: wrap;
}
.experience-item {
  border-radius: 0;
  background: var(--img-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 12px;
  text-align: center;
  padding: 8px;
  overflow: hidden;
}
.experience-item.item-plan { flex: 1 1 180px; aspect-ratio: 4 / 3; }
.experience-item.item-portrait { flex: 1 1 130px; aspect-ratio: 4 / 6; }
.experience-item.item-wide { flex: 2 1 240px; aspect-ratio: 16 / 7; }
@media (max-width: 720px) {
  .experience-row { flex-direction: column; }
  .experience-item.item-plan,
  .experience-item.item-portrait,
  .experience-item.item-wide { flex: 1 1 auto; width: 100%; }
}

.question-types { margin: 24px 0 48px; }
.question-item { margin-top: 72px; }
.question-item:first-child { margin-top: 8px; }
.story-section .question-item-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
  margin: 0 0 8px;
}
.question-item-desc {
  font-size: 17px;
  line-height: 1.9;
  color: var(--text-secondary);
  margin: 0 0 14px;
}
.question-item .gallery-item { aspect-ratio: 16 / 9; }

.role-block {
  margin-top: 88px;
}
.role-block:first-of-type { margin-top: 8px; }
.role-block-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 8px 0 44px;
}

.flow-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin: 8px 0 4px;
}
.flow-item { position: relative; }
.flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--text-primary);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  margin-bottom: 10px;
}
.flow-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 0;
  background: var(--img-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 10px;
}
.flow-item p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}
.section-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 0;
  background: var(--img-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  overflow: hidden;
  margin: 32px 0 56px;
}
.section-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  background: var(--img-bg);
  overflow: hidden;
  margin: 24px 0 40px;
}
.section-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.section-image-linked {
  position: relative;
}
.image-overlay-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-block;
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-weight: 700;
  font-size: 20px;
  text-align: center;
  text-decoration: none;
  color: #000;
  background: #fff;
  padding: 18px 36px;
  border: 1px solid #000;
  z-index: 2;
  transition: background .2s ease, color .2s ease;
}
.image-overlay-btn:hover {
  background: #000;
  color: #fff;
}
@media (max-width: 640px) {
  .image-overlay-btn { font-size: 15px; padding: 12px 22px; }
}

.step-zoomable { cursor: pointer; }
.step-subthumbs {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.step-subthumb {
  width: 44px;
  height: 44px;
  overflow: hidden;
  background: var(--img-bg);
  opacity: 0.8;
  transition: opacity .2s ease;
}
.step-subthumb:hover { opacity: 1; }
.step-subthumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lightbox-image-inner {
  background: rgba(0, 0, 0, 0.95);
  border: none;
  max-width: 900px;
}
.lightbox-image {
  width: 100%;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-image img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  display: block;
}
.lightbox-image-inner .lightbox-close {
  background: #fff;
  border: 1px solid #000;
  color: #000;
}

.story-section.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.story-section.split .section-image { margin: 0; aspect-ratio: 3 / 4; }
.concept-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
}
.concept-split .section-image {
  margin: 0;
  aspect-ratio: auto;
  height: auto;
}
.concept-split .section-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
@media (max-width: 720px) {
  .concept-split { grid-template-columns: 1fr; }
}
.story-section.split .section-image.landscape { aspect-ratio: 3 / 2; }
.section-image.panorama { aspect-ratio: 3 / 1; }
.section-image-natural {
  width: 100%;
  border-radius: 0;
  margin: 32px 0 56px;
}
.section-image-natural img {
  width: 100%;
  height: auto;
  display: block;
}
.section-image-natural.size-2-3 {
  width: 66.6%;
  margin-left: auto;
  margin-right: auto;
}
.inline-image-small {
  width: 200px;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 0;
  background: var(--img-bg);
  margin: 24px 0;
}
.inline-image-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.detail-image img,
.section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.section-image iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 16px 0 0;
  border-radius: 0;
  background: var(--img-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  overflow: hidden;
}
.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-embed video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.story-section.split.reverse .split-text { order: 2; }
.story-section.split.reverse .section-image { order: 1; }
@media (max-width: 720px) {
  .story-section.split { grid-template-columns: 1fr; }
  .story-section.split.reverse .split-text,
  .story-section.split.reverse .section-image { order: 0; }
}

.pull-quote {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin: 64px 0 12px;
  padding: 0 0 0 20px;
  border-left: 2px solid var(--text-primary);
}
.pull-quote-cite {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 0 22px;
}

.more-work {
  margin-top: 120px;
}
.more-work-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 20px;
}
.more-work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
}
.more-work-item { display: block; text-decoration: none; color: inherit; }
.more-work-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 0;
  background: var(--img-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 10px;
  transition: opacity 0.25s var(--ease-out);
}
.more-work-item:hover .more-work-thumb { opacity: 0.85; }
.more-work-item .name { font-size: 14px; font-weight: 500; color: var(--text-primary); }

.section-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 16px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  margin: 0 0 56px;
}
.gallery-item {
  aspect-ratio: 4 / 3;
  border-radius: 0;
  background: var(--img-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  overflow: hidden;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0 0 56px;
}
.editorial-grid .editorial-item {
  aspect-ratio: 3 / 4;
  border-radius: 0;
  background: var(--img-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
}
.editorial-grid .editorial-item.full {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}
@media (max-width: 640px) {
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-grid .editorial-item { aspect-ratio: 4 / 3; }
}
.refs {
  margin: 0 0 44px;
  padding-top: 4px;
}
.ref-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
}
.ref-preview {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  width: 260px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  pointer-events: none;
  z-index: 20;
}
.ref-item:hover .ref-preview {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.ref-preview-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  background: var(--img-bg);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 12px;
}
.ref-preview-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-primary);
  margin: 0 0 4px;
}
.ref-preview-source {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}
.ref-item:last-child { border-bottom: 1px solid var(--border); }
.ref-item .ref-title {
  font-size: 14px;
  color: var(--text-primary);
}
.ref-item .ref-source {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}
.ref-item .ref-arrow {
  font-size: 13px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.footer-nav {
  margin-top: 120px;
}
.next-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.next-link .label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.next-link .name {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
}

.next-card {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  color: inherit;
}
.next-card .thumb {
  width: 120px;
  flex-shrink: 0;
  aspect-ratio: 4 / 3;
  margin: 0;
}
.next-card .next-card-body { min-width: 0; }
.next-card .label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 8px;
}
.next-card .title {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0 0 6px;
  transition: color 0.25s var(--ease-out);
}
.next-card:hover .title { color: #000; }
.next-card .tag { margin-bottom: 6px; display: inline-block; }
.next-card .desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}
.next-card-arrow {
  margin-left: auto;
  font-size: 13px;
  color: var(--text-muted);
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .next-card .thumb { width: 88px; }
}

/* ---------- manifesto quote ---------- */
.manifesto-quote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  text-align: center;
  color: var(--text-primary);
  margin: 12px 0 52px;
  padding: 32px 24px;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}
@media (max-width: 640px) {
  .manifesto-quote { font-size: 18px; padding: 24px 12px; }
}

/* ---------- fact list ---------- */
.fact-list {
  margin: 8px 0 0;
  padding-left: 18px;
}
.fact-list li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-primary);
}

/* ---------- resources ---------- */
.resources-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 16px 0 20px;
}
.resource-item {
  display: block;
  border-radius: 4px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s var(--ease-out);
}
.resource-item:hover {
  border-color: var(--text-primary);
}
.resource-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  margin: 0 0 6px;
  color: var(--text-primary);
}
.resource-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}
.resource-copyright {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
.footnote {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 48px 0 0;
}

/* ---------- research world map ---------- */
.world-map-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  background: var(--img-bg);
  border-radius: 0;
  overflow: hidden;
  margin: 20px 0 8px;
}
.world-map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.map-land {
  fill: var(--img-border);
  opacity: 0.9;
}
.map-point {
  position: absolute;
  transform: translate(-50%, -50%);
}
.map-dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-primary);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 2px var(--text-primary);
  cursor: pointer;
  transition: transform 0.25s var(--ease-out);
}
.map-point:hover .map-dot {
  transform: scale(1.3);
}
.map-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--text-primary);
  color: var(--bg);
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 5;
}
.map-tooltip strong {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 2px;
}
.map-point:hover .map-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.map-caption {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 20px;
}
@media (max-width: 480px) {
  .map-tooltip { white-space: normal; width: 160px; }
}

/* ---------- prototype showcase (side-by-side) ---------- */
.prototype-showcase {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 20px 0 8px;
}
.prototype-frame,
.prototype-pdf {
  flex: 1 1 220px;
  max-width: 320px;
  aspect-ratio: 9 / 16;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}
.prototype-pdf {
  background: var(--img-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
  padding: 12px;
}
.prototype-frame iframe,
.prototype-pdf object {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- drag and drop demo ---------- */
.dnd-demo {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 20px 0 10px;
  flex-wrap: wrap;
}
.dnd-card {
  width: 140px;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  background: var(--img-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  padding: 8px;
  cursor: grab;
  flex-shrink: 0;
}
.dnd-archive {
  flex: 1;
  min-width: 160px;
  min-height: 160px;
  border: 2px dashed var(--img-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 13px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.dnd-archive.drag-over {
  border-color: var(--text-primary);
  background: var(--card-bg);
}

/* ---------- live prototype modal ---------- */
.proto-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}
.proto-modal.visible {
  opacity: 1;
  pointer-events: auto;
}
.proto-modal-frame {
  position: relative;
  width: min(360px, 82vw);
  aspect-ratio: 9 / 16;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transform: scale(0.94);
  transition: transform 0.3s ease;
}
.proto-modal.visible .proto-modal-frame {
  transform: scale(1);
}
.proto-modal-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.proto-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: #000;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.before-after {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  background: var(--img-bg);
  margin: 24px 0;
  user-select: none;
}
.ba-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ba-media {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  background: var(--img-bg);
}
.ba-before {
  width: 100%;
  overflow: hidden;
  clip-path: inset(0 50% 0 0);
}
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0;
  pointer-events: none;
  transform: translateX(-50%);
}
.ba-handle::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: #fff;
}
.ba-handle::after {
  content: '\2194';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.ba-label {
  position: absolute;
  top: 12px;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.85);
  padding: 3px 8px;
  border-radius: 3px;
  pointer-events: none;
  z-index: 1;
}
.ba-label-before { left: 12px; }
.ba-label-after { right: 12px; }

.brief-statement {
  font-family: var(--font-display);
  font-size: 184px;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 4px 0 28px;
}
.brief-statement-serif {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
}
@media (max-width: 900px) {
  .brief-statement { font-size: 88px; }
}
@media (max-width: 640px) {
  .brief-statement { font-size: 54px; }
}

.brief-split {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 32px;
  align-items: start;
  margin: 4px 0 0;
}
.brief-split-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.brief-split-left .brief-statement {
  font-size: 55px;
  line-height: 0.95;
  margin: 0 0 24px;
}
body.wardrobe-page .brief-split-left .brief-statement {
  text-align: left;
}
.brief-split-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.brief-split-right p {
  text-align: left;
  margin: 0;
  max-width: none;
}
.brief-split-right .keyword-line {
  justify-content: flex-start;
}
@media (max-width: 900px) {
  .brief-split-left .brief-statement { font-size: 36px; }
}
@media (max-width: 720px) {
  .brief-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .brief-split-left {
    align-items: center;
  }
  body.wardrobe-page .brief-split-left .brief-statement {
    text-align: center;
    font-size: 27px;
  }
  .brief-split-right p {
    text-align: center;
  }
  .brief-split-right .keyword-line {
    justify-content: center;
  }
}

.ref-split {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: start;
  margin: 96px 0 32px;
}
.ref-split-left p {
  text-align: left;
  margin: 0 0 20px;
  max-width: none;
}
.ref-split-left .keyword-line {
  justify-content: flex-start;
}
.ref-split-right .ref-grid {
  margin: 0;
  max-width: 100%;
}
@media (max-width: 720px) {
  .ref-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ref-split-left p {
    text-align: center;
  }
  .ref-split-left .keyword-line {
    justify-content: center;
  }
  .ref-split-right .ref-grid {
    max-width: 80%;
    margin: 0 auto;
  }
}

.ref-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 24px auto 32px;
  max-width: 50%;
}
@media (max-width: 640px) {
  .ref-grid { max-width: 80%; }
}
.ref-grid-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--img-bg);
}
.ref-grid-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.keyword-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.keyword-label {
  font-weight: 700;
  margin-right: 4px;
}
.keyword-chip {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid var(--text-primary);
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.4;
}
.ref-grid-item .ref-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 6px 10px;
  font-size: 11px;
  letter-spacing: 0.03em;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
}
@media (max-width: 640px) {
  .ref-grid { grid-template-columns: 1fr; }
}

body.wardrobe-page .section-title,
body.wardrobe-page .role-sub-title,
body.wardrobe-page .brief-statement,
body.wardrobe-page .eyebrow {
  text-align: center;
}
body.wardrobe-page .story-section > p:not(.brief-statement),
body.wardrobe-page .story-section .inspiration-text p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
body.wardrobe-page .role-sub-title {
  margin-top: 168px;
}
body.wardrobe-page .role-block:first-of-type .role-sub-title,
body.wardrobe-page h3.role-sub-title:first-of-type {
  margin-top: 8px;
}
@media (max-width: 720px) {
  body.wardrobe-page .story-section > p:not(.brief-statement) { max-width: 100%; }
}

.cinema-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0 8px;
}
.cinema-compare-item {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--img-bg);
}
.cinema-compare-item img,
.cinema-compare-item video { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) {
  .cinema-compare { grid-template-columns: 1fr; }
}

.demo-videos {
  display: flex;
  flex-direction: column;
  gap: 132px;
  margin: 24px 0 16px;
}
.demo-video-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.demo-video-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--img-bg);
}
.demo-video-frame video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.demo-video-caption { font-size: 16px; line-height: 1.8; color: var(--text-secondary); margin: 0; }
@media (max-width: 720px) {
  .demo-video-item { grid-template-columns: 1fr; }
}

.system-diagram {
  width: 60%;
  max-width: 480px;
  margin: 24px auto 4px;
  background: #fff;
}
.system-diagram img { width: 100%; height: auto; object-fit: contain; display: block; }
@media (max-width: 640px) {
  .system-diagram { width: 100%; max-width: 360px; }
}

.section-video-full {
  width: 100%;
  border-radius: 0;
  background: #000;
  margin: 24px 0 12px;
}
.section-video-full video { width: 100%; height: auto; display: block; max-height: 640px; }
.section-video-caption { font-size: 13px; color: var(--text-muted); margin: 0 0 40px; }

.result-videos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0 8px;
}
.result-videos video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--img-bg);
  display: block;
}
.result-video-label {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 8px 0 0 !important;
}
@media (max-width: 640px) {
  .result-videos { grid-template-columns: 1fr; }
}

.feature-swap {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 14px;
  margin: 24px 0 8px;
}
.feature-main video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--img-bg);
  display: block;
}
.feature-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-thumb {
  padding: 0;
  background: none;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  opacity: 0.5;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.feature-thumb.active,
.feature-thumb:hover { opacity: 1; }
.feature-thumb.active { border-color: var(--text-primary); }
.feature-thumb img,
.feature-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) {
  .feature-swap { grid-template-columns: 1fr; }
  .feature-thumbs { flex-direction: row; }
  .feature-thumb { flex: 1; }
}

.principles {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.principles li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
  padding: 12px 0;
  border-top: 1px solid var(--border);
}
.principles li:first-child { border-top: none; }

.figure-image {
  width: 100%;
  max-width: 480px;
  display: block;
  margin: 24px auto 12px;
  border-radius: 0;
}
.figure-caption {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin: 12px 0 44px;
}

.making-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 32px 0 0;
}
.making-item { display: flex; flex-direction: column; gap: 10px; }
.making-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  background: var(--img-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
}
.making-label {
  font-size: 13px;
  color: var(--text-primary);
  text-align: center;
}
@media (max-width: 640px) {
  .making-grid { grid-template-columns: repeat(2, 1fr); }
}

.mt-wrap {
  padding-top: 28px !important;
  padding-bottom: 12px !important;
}
.making-intro {
  font-size: clamp(20px, 3vw, 36px) !important;
  line-height: 1.3 !important;
  white-space: nowrap;
  margin: 0 0 4px !important;
}
@media (max-width: 640px) {
  .making-intro { white-space: normal; }
}

.moodboard-full {
  width: 100%;
  max-width: 1500px;
  padding: 0 20px;
  box-sizing: border-box;
  margin: 0 auto 80px;
}
.moodboard-stage {
  width: 100%;
  height: calc(680px * min(1, calc((100vw - 40px) / 1500px)));
  overflow: hidden;
  position: relative;
  margin: 16px 0 40px;
}
.moodboard {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(4, 1fr);
  grid-template-areas:
    "m m w w n n"
    "m m w w n n"
    "aa b s s k k"
    "aa b s s t t";
  gap: 16px;
  margin: 0;
  padding: 0;
  background: #fff;
  border: none;
  width: 1500px;
  height: 680px;
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(min(1, calc((100vw - 40px) / 1500px)));
  transform-origin: top left;
}
.mb-tile-wrap {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  gap: 3px;
}
.mb-tile {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: var(--img-bg);
  cursor: pointer;
  text-decoration: none;
}
.mb-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity .2s ease;
}
.mb-tile:hover img { opacity: 0.85; }
.mb-tile-wrap .mb-caption {
  flex: 0 0 auto;
  margin: 0;
}
.mb-tile-wrap-side .mb-tile {
  align-items: center;
}
.mb-tile-overlay { position: relative; align-items: flex-start; }
.mb-caption-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  margin: 0 !important;
  padding: 4px 10px;
  background: #fff;
  z-index: 2;
}
.mb-caption-overlay-tr {
  left: auto;
  right: 12px;
}
.mb-caption-overlay-br {
  top: auto;
  bottom: 12px;
  left: auto;
  right: 12px;
}
.mb-tile-wrap-side {
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.mb-tile-wrap-side-top {
  align-items: flex-start;
}
.mb-tile-wrap-side .mb-caption {
  flex: 0 0 auto;
  margin: 0 !important;
  max-width: 120px;
}
.mb-tile-wrap-capped {
  justify-content: center;
}
.mb-tile-wrap-capped .mb-tile {
  flex: 0 0 220px;
}
.mb-tile-fixed-220 {
  flex: 0 0 220px;
}
.mb-tile-align-end img {
  object-position: right center;
}
.mb-tile-align-top-right img {
  object-position: right top;
}
.mb-tile-align-top img {
  object-position: center top;
}
.mb-tile-wrap-center {
  justify-content: flex-start;
}
.mb-tile-short {
  flex: 0 0 70%;
}
.mb-tile-mini-short {
  flex: 0 0 92%;
}
.mb-tile-wrap-mid {
  justify-content: center;
}
.mb-tile-cap {
  max-height: 88%;
}
.mb-tile-cap-w {
  max-width: 88%;
}
.mb-tile-crop img {
  object-fit: cover;
}
.mb-col { display: flex; flex-direction: column; }
.mb-item {
  width: 100%;
  overflow: hidden;
  background: var(--img-bg);
}
.mb-item .making-thumb {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border: none;
}
.mb-item.mb-portrait { aspect-ratio: 3 / 4; }
.mb-item.mb-landscape { aspect-ratio: 4 / 3; }
.mb-item.mb-square { aspect-ratio: 1 / 1; }
.mb-item.mb-native { aspect-ratio: auto; }
.mb-item.mb-native img { height: auto; object-fit: initial; }
.mb-caption {
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-style: italic;
  font-size: 17px;
  color: #2b2118;
  text-align: left;
  margin: 10px 0 0;
}
.mb-caption.mb-center { text-align: center; }
.mb-caption.mb-right { text-align: right; }
.mb-caption.mb-underline { text-decoration: underline; text-underline-offset: 4px; }

.mb-clickable { cursor: pointer; transition: opacity .2s ease; }
.mb-clickable:hover { opacity: 0.85; }

.making-grid {
  max-width: 1500px;
  margin: 16px auto 80px;
  padding: 0 20px;
  box-sizing: border-box;
  columns: 5 260px;
  column-gap: 12px;
}
.making-grid img {
  width: 100%;
  display: block;
  margin-bottom: 12px;
  break-inside: avoid;
  background: var(--img-bg);
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.making-grid a { display: block; break-inside: avoid; }
.making-grid a img { cursor: pointer; }
.making-grid img:hover { opacity: 0.85; }
@media (max-width: 900px) {
  .making-grid { columns: 3 200px; }
}
@media (max-width: 640px) {
  .making-grid { columns: 2 150px; }
}

.mb-standalone {
  display: flex;
  justify-content: center;
  margin: 16px 0 40px;
}
.mb-standalone-wrap {
  width: 320px;
  aspect-ratio: 4 / 3;
}
@media (max-width: 640px) {
  .mb-standalone-wrap { width: 220px; }
}

.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: transparent;
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.lightbox-overlay.open { display: flex; }
.lightbox-inner {
  width: 100%;
  max-width: 860px;
  max-height: 92vh;
  overflow: hidden;
  background: #fff;
  border: 1px solid #000;
  padding: 40px 32px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
.lightbox-close {
  position: absolute;
  top: 10px;
  right: 18px;
  width: 30px;
  height: 30px;
  background: #fff;
  border: 1px solid #000;
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-title {
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-weight: 700;
  font-size: 26px;
  text-align: center;
  color: #000;
  margin: 0 0 12px;
}
.lightbox-desc {
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.2px;
  text-align: center;
  color: #000;
  margin: 0 0 8px;
}
.lightbox-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 16px;
  background: #000;
}
.lightbox-video iframe,
.lightbox-video video {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
  object-fit: contain;
  background: #000;
}

.lightbox-overlay.video-modal {
  background: rgba(0, 0, 0, 0.95);
}
.lightbox-overlay.video-modal .lightbox-inner {
  background: transparent;
  border: none;
  box-shadow: none;
  max-width: 900px;
}
.lightbox-overlay.video-modal .lightbox-title {
  color: #fff;
}
.lightbox-overlay.video-modal .lightbox-desc {
  color: #fff;
}
.lightbox-overlay.video-modal .lightbox-video {
  aspect-ratio: 16 / 9;
  margin-top: 16px;
}
.lightbox-overlay.video-modal .lightbox-close {
  background: #fff;
  border: 1px solid #000;
  color: #000;
}
.lightbox-overlay.video-modal {
  display: flex;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.lightbox-overlay.video-modal.open {
  opacity: 1;
  visibility: visible;
}

.ap-section {
  margin: 0 0 72px;
}
.ap-section.hidden {
  display: none;
}
.ap-filterable.hidden {
  display: none;
}
.ap-grid img.ap-clickable,
.ap-video-row video.ap-clickable {
  cursor: pointer;
}
.ap-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ap-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.ap-card img,
.ap-card video,
.ap-card-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: var(--img-bg);
}
.ap-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted, #999);
  font-size: 13px;
}
.ap-card p {
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-size: 15px;
  margin: 10px 0 0;
  color: var(--text-primary);
}
@media (max-width: 640px) {
  .ap-cards { grid-template-columns: 1fr; }
}
.ap-heading {
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-weight: 700;
  font-size: 28px;
  margin: 0 0 20px;
  color: var(--text-primary);
}
.ap-grid {
  columns: 4 260px;
  column-gap: 14px;
}
.ap-grid img {
  width: 100%;
  display: block;
  margin-bottom: 14px;
  break-inside: avoid;
  background: var(--img-bg);
}
.ap-video-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.ap-video-row video {
  flex: 1 1 280px;
  max-width: 340px;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: contain;
}
.ap-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.ap-grid-rows {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: row;
  gap: 14px;
}
.ap-grid-rows img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  background: var(--img-bg);
}
@media (max-width: 900px) {
  .ap-grid-rows { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .ap-grid-rows { grid-template-columns: repeat(2, 1fr); }
}
.ap-row img {
  height: 320px;
  width: auto;
  max-width: 100%;
  object-fit: cover;
  display: block;
  background: var(--img-bg);
}
@media (max-width: 640px) {
  .ap-row { flex-direction: column; }
  .ap-row img { width: 100%; height: auto; }
}
.ap-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.ap-grid-3 img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: var(--img-bg);
}
@media (max-width: 640px) {
  .ap-grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .ap-grid { columns: 3 200px; }
}
@media (max-width: 640px) {
  .ap-grid { columns: 2 150px; }
  .ap-video-row video { flex: 1 1 100%; max-width: 100%; }
}

/* ---------- standalone visual-work pages (Blue Band, AI human styling, Wish, Souvenir) ---------- */
.hmw-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin: 0 0 64px;
}
.hmw-question {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}
.hmw-answer {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-secondary);
  margin: 0;
}
@media (max-width: 720px) {
  .hmw-block { grid-template-columns: 1fr; gap: 28px; }
}
.lightbox-gallery {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-track {
  position: relative;
  width: 100%;
  height: 40vh;
  min-height: 480px;
  perspective: 1400px;
}
.carousel-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 260px;
  height: 260px;
  margin-top: -130px;
  margin-left: -130px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .5s ease, opacity .5s ease;
  will-change: transform, opacity;
}
.carousel-slide img,
.carousel-slide video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
  background: #fff;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}
.lightbox-inner,
.lightbox-overlay {
  touch-action: none;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: #fff;
  border: 1px solid #000;
  color: #000;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-prev { left: 4px; }
.carousel-next { right: 4px; }
@media (max-width: 640px) {
  .lightbox-inner { padding: 28px 18px; }
  .carousel-track { height: 34vh; min-height: 360px; }
  .carousel-slide { width: 180px; height: 180px; margin-top: -90px; margin-left: -90px; }
}
