:root {
  --blue: #111111;
  --paper: #f4f0e8;
  --oatmeal: #f4f0e8;
  --soft: rgba(0, 0, 255, 0.64);
  --accent-orange: #ff5a1f;
  --font-main: "futura-pt", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--blue);
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 1.35;
  scroll-behavior: smooth;
}

body.nav-open {
  overflow: hidden;
}

body::after {
  content: "© Studio Cez. All rights reserved.";
  position: fixed;
  right: 24px;
  bottom: 20px;
  z-index: 900;
  color: var(--soft);
  font-size: 12px;
  line-height: 1.35;
  pointer-events: none;
}

img,
video {
  display: block;
  max-width: 100%;
}

figcaption {
  font-weight: 400;
}

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

.top-nav {
  position: fixed;
  top: 22px;
  left: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 34px;
  font-family: var(--font-main);
  font-size: 21px;
}

.top-nav a:hover,
.site-footer a:hover,
.work-list a:hover {
  font-style: italic;
}

.nav-toggle {
  display: none;
}

.fixed-title {
  position: absolute;
  left: 50%;
  bottom: clamp(72px, 12vh, 132px);
  z-index: 200;
  width: min(1120px, calc(100vw - 48px));
  pointer-events: none;
  text-align: center;
  color: var(--blue);
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.65);
  transform: translateX(-50%);
  transition: opacity 220ms ease;
}

.fixed-title h1 {
  margin: 0;
  font-family: var(--font-main);
  font-size: clamp(26px, 2.2vw, 37px);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.intro-text {
  width: 100%;
  margin: 16px 0 0;
  font-family: var(--font-main);
  font-size: clamp(14px, 1.04vw, 18px);
  line-height: 1.32;
}

.intro-cta {
  display: inline-block;
  margin-top: 15px;
  color: var(--blue);
  font-size: clamp(14px, 1.04vw, 18px);
  line-height: 1.35;
  text-decoration: underline;
  text-underline-offset: 3px;
  pointer-events: auto;
}

.intro-cta:hover {
  font-style: italic;
}

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

.index-hero {
  width: 100vw;
  min-height: 100vh;
  background: var(--paper);
}

.hero-media {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  overflow: hidden;
}

.hero-media video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}

.hero-media figcaption {
  margin-top: 11px;
  color: var(--blue);
  font-family: var(--font-main);
  font-size: 12px;
}

.hero-media figcaption {
  position: absolute;
  left: 24px;
  bottom: 20px;
  margin: 0;
  color: white;
  mix-blend-mode: difference;
}

.index-grid {
  width: 80%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  padding: 20px;
  background: var(--paper);
}

.index-card {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  min-width: 0;
  overflow: hidden;
  background: white;
}

.index-card img,
.index-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.index-card video {
  display: block;
}

.card-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--blue);
  font-family: var(--font-main);
  font-size: clamp(18px, 2.25vw, 34px);
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
  opacity: 0;
  transition: opacity 260ms ease;
}

.index-card:hover .card-overlay,
.index-card:focus-visible .card-overlay {
  opacity: 1;
}

.index-card:hover img,
.index-card:hover video,
.index-card:focus-visible img,
.index-card:focus-visible video {
  transform: scale(1.018);
}

.packaging-card img {
  object-position: 56% 50%;
  transform: scale(1.15);
}

.packaging-card:hover img,
.packaging-card:focus-visible img {
  transform: scale(1.18);
}

.publishing-card img {
  object-position: 50% 50%;
  transform: scale(1.15);
}

.publishing-card:hover img,
.publishing-card:focus-visible img {
  transform: scale(1.18);
}

.campaign-card img {
  object-position: 61% 50%;
}

.index-copyright {
  display: none;
}

.mission-card video {
  transform: scale(1.25);
}

.mission-card:hover video,
.mission-card:focus-visible video {
  transform: scale(1.27);
}

.content-section {
  scroll-margin-top: 78px;
  min-height: 90vh;
  padding: 110px 24px 80px;
  display: grid;
  grid-template-columns: 170px minmax(0, 760px);
  gap: 70px;
  align-items: start;
}

.section-label,
.work-list a,
.site-footer p,
.site-footer span {
  margin: 0;
  font-family: var(--font-main);
  font-size: 14px;
}

.section-copy {
  color: var(--blue);
  font-size: clamp(28px, 4.5vw, 62px);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-copy p {
  margin: 0 0 0.95em;
}

.about-section .section-copy {
  max-width: 680px;
  font-size: clamp(18px, 2.1vw, 30px);
  line-height: 1.28;
}

.about-section .section-copy p {
  margin-bottom: 1.15em;
}

.selected-clients {
  margin-top: 54px;
  font-size: 14px;
  line-height: 1.55;
}

.selected-clients h2 {
  margin: 0 0 10px;
  color: var(--accent-orange);
  font: inherit;
  font-size: 14px;
  line-height: 1.35;
}

.selected-clients p {
  max-width: 560px;
  margin: 0;
}

.availability-note {
  max-width: 560px;
  margin: 38px 0 0;
  font-size: 14px;
  line-height: 1.55;
}

.about-contact {
  margin-top: 48px;
  color: var(--blue);
  font-style: normal;
  font-size: 14px;
  line-height: 1.55;
}

.about-contact a {
  color: inherit;
}

.work-list-page {
  scroll-margin-top: 78px;
  min-height: 100vh;
  padding: 90px 24px 80px;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 82px;
  background: var(--paper);
}

.archive-page-main {
  min-height: 100vh;
  padding: 90px 24px 90px;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 82px;
  background: var(--paper);
}

.archive-sidebar {
  position: sticky;
  top: 90px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.archive-sidebar a {
  color: var(--blue);
}

.archive-sidebar a.active {
  color: var(--accent-orange);
  font-style: italic;
}

.archive-album {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.archive-album img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: white;
}

.archive-album .archive-span-wide {
  grid-column: auto;
  aspect-ratio: 1 / 1;
}

.archive-album .archive-span-tall {
  grid-row: auto;
  aspect-ratio: 1 / 1;
}

.packaging-page,
.packaging-page .work-list-page {
  background: var(--oatmeal);
}

.work-list {
  position: sticky;
  top: 90px;
  height: fit-content;
  display: grid;
  grid-template-columns: max-content max-content;
  column-gap: 24px;
  align-items: start;
}

.work-categories,
.work-sublist {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.work-list a {
  color: var(--blue);
}

.work-list a.active {
  color: var(--accent-orange);
  font-style: italic;
}

.work-sublist {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
}

.work-sublist .current {
  color: var(--accent-orange);
  font-style: normal;
}

.work-preview {
  width: 100%;
  max-width: 1220px;
  padding-bottom: 120px;
  margin: 0 auto;
}

.publishing-page .work-preview {
  display: flex;
  flex-direction: column;
}

.publishing-page #cursed-rabbit {
  order: 1;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.publishing-page #unesco-korea-calendar {
  order: 2;
  margin-top: 150px;
  padding-top: 92px;
  border-top: 1px solid color-mix(in srgb, var(--blue) 18%, transparent);
}

.publishing-page #tway-calendar {
  order: 3;
}

.publishing-page #pixpills-annual {
  order: 4;
}

.project-header {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.9fr);
  gap: 48px 72px;
  align-items: start;
  margin-bottom: 72px;
  color: var(--blue);
}

.project-header h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(17px, 2.6vw, 38px);
  font-weight: 500;
  line-height: 1.05;
}

.project-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
  margin: 0;
}

.project-details div {
  min-width: 0;
}

.project-details dt,
.project-details dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
}

.project-details dt {
  margin-bottom: 7px;
  color: var(--soft);
}

.packaging-page .project-header {
  grid-template-columns: 1fr;
  gap: 34px;
}

.packaging-page .project-details {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.packaging-page .project-details dt {
  color: var(--accent-orange);
}

.packaging-page .work-preview {
  display: flex;
  flex-direction: column;
}

.packaging-page .project-header {
  order: 1;
}

.packaging-page .project-intro {
  order: 2;
}

.packaging-series-bear {
  order: 3;
}

.packaging-series-square-tin {
  order: 4;
}

.packaging-series-round-tin {
  order: 5;
}

.packaging-series-cherry {
  order: 6;
}

.packaging-series-valentine {
  order: 7;
}

.packaging-series-dog {
  order: 8;
}

.packaging-series-summer {
  order: 9;
}

.packaging-series-window {
  order: 10;
}

.packaging-page .packaging-project-section {
  order: 20;
}

.project-intro {
  width: min(760px, 72%);
  margin: 0 0 72px;
  color: var(--blue);
  font-size: 21px;
  line-height: 1.35;
}

.packaging-project-section,
.publishing-project-section,
.campaign-project-section {
  margin-top: 150px;
  padding-top: 92px;
  border-top: 1px solid color-mix(in srgb, var(--blue) 18%, transparent);
  scroll-margin-top: 72px;
}

.jane-packer-media {
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: white;
}

.packaging-showcase.jane-packer-pair {
  grid-template-columns: 1fr;
}

.jane-packer-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.jane-packer-artwork img {
  object-fit: cover;
  transform: scale(1.01);
}

.jane-packer-product img {
  object-fit: cover;
  object-position: 50% 48%;
}

.leps-bomb-artwork {
  width: min(100%, 760px);
  margin: 0 auto;
  background: white;
}

.leps-bomb-artwork img {
  display: block;
  width: 100%;
  height: auto;
}

.publishing-page .project-details dt {
  color: var(--accent-orange);
}

.campaign-page .project-details dt {
  color: var(--accent-orange);
}

.publishing-page .project-header {
  grid-template-columns: 1fr;
  gap: 34px;
}

.campaign-page .project-header {
  grid-template-columns: 1fr;
  gap: 34px;
}

.publishing-page .project-details {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.campaign-page .project-details {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.campaign-album-cover {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 280px));
  justify-content: center;
  align-items: start;
  gap: 24px;
  margin-top: 120px;
}

.campaign-album-cover figure {
  margin: 0;
}

.campaign-album-cover img {
  width: 100%;
  height: auto;
  background: white;
}

.campaign-album-cover figcaption {
  padding: 10px 0 2px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
}

.campaign-digital-goods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 290px));
  justify-content: center;
  align-items: start;
  gap: 36px;
  margin-top: 82px;
}

.campaign-digital-goods figure {
  margin: 0;
}

.campaign-digital-goods img {
  width: 100%;
  height: auto;
  background: white;
}

.campaign-digital-goods figcaption {
  padding: 10px 0 2px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
}

.campaign-episode-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 74px;
  margin-top: 86px;
}

.campaign-episode-grid figure {
  width: min(100%, 1080px);
  margin: 0 auto;
}

.campaign-episode-grid img {
  width: 100%;
  height: auto;
  background: white;
}

.campaign-episode-grid figcaption {
  padding: 10px 0 2px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
}

.campaign-note {
  grid-column: 1 / -1;
  max-width: 620px;
  margin: -46px 0 0;
  color: rgba(17, 17, 17, 0.62);
  font-size: 14px;
  line-height: 1.45;
}

.campaign-mural-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 74px;
  margin-top: 130px;
}

.campaign-mural-stack figure {
  width: min(100%, 1080px);
  margin: 0 auto;
}

.campaign-mural-stack img {
  width: 100%;
  height: auto;
  background: white;
}

.campaign-mural-stack figcaption {
  padding: 10px 0 2px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
}

.campaign-lotte-artwork {
  margin-top: 86px;
  display: flex;
  justify-content: center;
}

.campaign-lotte-artwork figure,
.campaign-lotte-floor-artwork,
.campaign-lotte-installation figure {
  margin: 0;
}

.campaign-lotte-artwork img,
.campaign-lotte-floor-artwork img,
.campaign-lotte-installation img {
  width: 100%;
  height: auto;
  background: white;
}

.campaign-lotte-key-visual {
  justify-self: center;
  width: min(100%, 500px);
}

.campaign-lotte-floor-artwork {
  width: min(100%, 620px);
  margin: 78px auto 0;
}

.campaign-lotte-artwork figcaption,
.campaign-lotte-floor-artwork figcaption,
.campaign-lotte-installation figcaption,
.campaign-lotte-sticker-sheet figcaption {
  padding: 10px 0 2px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
}

.campaign-lotte-sticker-sheet {
  width: min(100%, 380px);
  margin: 74px auto 0;
}

.campaign-lotte-sticker-sheet img {
  width: 100%;
  height: auto;
  background: transparent;
}

.campaign-lotte-installation {
  display: grid;
  gap: 18px;
  margin-top: 112px;
}

.campaign-lotte-featured img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% 54%;
}

.campaign-lotte-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.campaign-lotte-photo-grid img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.campaign-lotte-photo-grid figure:nth-child(1) img {
  object-position: 52% 50%;
}

.campaign-lotte-photo-grid figure:nth-child(2) img {
  object-position: 55% 50%;
}

.campaign-lotte-photo-grid figure:nth-child(3) img {
  object-position: 42% 50%;
}

.campaign-lotte-photo-grid figure:nth-child(4) img {
  object-position: 50% 58%;
}

.campaign-fogen-showcase {
  display: grid;
  gap: 76px;
  margin-top: 86px;
}

.campaign-fogen-showcase figure {
  margin: 0;
}

.campaign-fogen-showcase img {
  width: 100%;
  height: auto;
  background: white;
}

.campaign-fogen-featured {
  width: min(100%, 760px);
  margin: 0 auto;
}

.campaign-fogen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.campaign-fogen-grid img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.campaign-fogen-grid figure:nth-child(2) img {
  object-position: 50% 42%;
}

.campaign-fogen-showcase figcaption {
  padding: 10px 0 2px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
}

.campaign-class101-showcase {
  display: grid;
  gap: 62px;
  margin-top: 86px;
}

.campaign-class101-showcase figure {
  margin: 0;
}

.campaign-class101-showcase img {
  width: 100%;
  height: auto;
  background: white;
}

.campaign-class101-featured {
  width: min(100%, 860px);
  margin: 0 auto;
}

.campaign-class101-featured img {
  display: block;
}

.campaign-class101-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.campaign-class101-grid img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.campaign-class101-grid figure:nth-child(2) img {
  object-position: 50% 44%;
}

.campaign-class101-grid figure:nth-child(3) img {
  object-position: 50% 38%;
}

.campaign-class101-showcase figcaption {
  padding: 10px 0 2px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
}

.publishing-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.publishing-artwork,
.publishing-application {
  margin: 0;
  overflow: hidden;
  background: white;
}

.publishing-artwork img,
.publishing-application img {
  display: block;
  width: 100%;
  height: auto;
}

.publishing-application {
  width: min(100%, 900px);
  justify-self: center;
}

.publishing-annual-artwork {
  width: min(100%, 760px);
  margin: 0 auto;
  background: white;
}

.publishing-annual-artwork img {
  display: block;
  width: 100%;
  height: auto;
}

.publishing-media-caption {
  padding: 10px 0 2px;
  background: var(--paper);
  color: var(--blue);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
}

.publishing-mobile-goods {
  width: min(100%, 430px);
  margin: 0 auto;
  background: white;
}

.publishing-mobile-goods img {
  display: block;
  width: 100%;
  height: auto;
}

.publishing-book-cover {
  width: min(100%, 620px);
  margin: 0 auto;
  background: white;
}

.publishing-book-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.publishing-book-pair {
  display: grid;
  gap: 12px;
}

.publishing-book-pair + .publishing-book-pair {
  margin-top: 88px;
}

.publishing-book-mockup-frame {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ddd9d3;
}

.publishing-book-mockup-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 56%;
  transform: scale(1.2);
}

.publishing-video {
  width: min(100%, 900px);
  margin: 0;
  justify-self: center;
  background: black;
}

.publishing-video video {
  display: block;
  width: 100%;
  height: auto;
}

.packaging-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.packaging-showcase + .packaging-showcase {
  margin-top: 72px;
}

.packaging-wide-showcase {
  grid-template-columns: 1fr;
}

.packaging-window-showcase {
  grid-template-columns: 1fr;
}

.packaging-wide-artwork,
.packaging-product-grid figure {
  margin: 0;
}

.packaging-window-artwork,
.packaging-window-product {
  margin: 0;
}

.packaging-wide-artwork img {
  width: 100%;
  height: auto;
}

.packaging-window-artwork img,
.packaging-window-product img {
  width: 100%;
  height: auto;
}

.packaging-window-product {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  justify-self: center;
}

.packaging-window-product img {
  height: 100%;
  object-fit: cover;
  object-position: 50% 56%;
}

.packaging-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.packaging-product-grid figure {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.packaging-product-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
  transform: scale(1.18);
}

.packaging-artwork,
.packaging-carousel,
.carousel-slide {
  margin: 0;
}

.packaging-artwork,
.packaging-carousel {
  position: relative;
  min-width: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f7f7f5;
}

.packaging-page .packaging-artwork,
.packaging-page .packaging-carousel {
  background: white;
}

.packaging-artwork {
  display: grid;
  place-items: center;
}

.packaging-artwork img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.packaging-artwork-christmas img {
  object-fit: cover;
  object-position: 40% 50%;
  transform: scale(1.45);
}

.packaging-caption {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--blue);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
}

.packaging-caption-note {
  display: block;
  margin-top: 4px;
  color: rgba(17, 17, 17, 0.58);
  font-weight: 400;
}

.carousel-viewport,
.carousel-slide {
  position: absolute;
  inset: 0;
}

.carousel-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 360ms ease;
}

.carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-button {
  position: absolute;
  z-index: 2;
  bottom: 10px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
  color: var(--blue);
  font: inherit;
  font-size: 14px;
  line-height: 26px;
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.carousel-button-prev {
  left: 10px;
}

.carousel-button-next {
  left: 44px;
}

.carousel-count {
  position: absolute;
  z-index: 2;
  right: 10px;
  bottom: 10px;
  margin: 0;
  padding: 4px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--blue);
  font-size: 11px;
  line-height: 18px;
  backdrop-filter: blur(4px);
}

.packaging-showcase img,
.publishing-showcase img,
.campaign-page .work-preview img,
.archive-album img {
  cursor: zoom-in;
}

body.lightbox-open {
  overflow: hidden;
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 44px;
  background: rgba(8, 8, 8, 0.9);
}

.image-lightbox img {
  width: auto;
  max-width: 94vw;
  height: auto;
  max-height: 88vh;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 240ms ease;
  will-change: transform;
}

.image-lightbox img.is-zoomed {
  cursor: zoom-out;
  transform: scale(2);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  color: white;
  font: inherit;
  font-size: 20px;
  line-height: 30px;
  cursor: pointer;
}

.work-item {
  margin: 0 0 95px;
}

.work-item-small {
  width: 76%;
  margin-left: auto;
  margin-right: auto;
}

.work-item img,
.work-item video {
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
  background: white;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 88px 72px;
}

.work-grid .work-item {
  margin: 0;
}

.work-grid-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 76px 54px;
}

.motion-preview {
  max-width: 1120px;
}

.motion-header {
  max-width: 620px;
  margin: 0 0 74px;
  color: var(--blue);
}

.motion-header h1 {
  margin: 0 0 18px;
  font: inherit;
  font-size: 20px;
  line-height: 1.4;
  color: var(--accent-orange);
}

.motion-header p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.motion-featured {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.motion-section {
  margin: 0 0 120px;
}

.motion-section:last-child {
  margin-bottom: 0;
}

.motion-section h2 {
  margin: 0 0 28px;
  color: var(--accent-orange);
  font: inherit;
  font-size: 14px;
  line-height: 1.35;
}

.motion-featured video,
.motion-featured img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  background: white;
}

.motion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 78px 48px;
  align-items: start;
}

.motion-grid .work-item {
  margin: 0;
}

.motion-grid img,
.motion-grid video {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: white;
}

.motion-grid figure:nth-child(2) img {
  aspect-ratio: 4 / 3;
}

.motion-grid-wide img {
  aspect-ratio: 16 / 5;
}

.motion-grid-wide {
  width: min(100%, 860px);
  margin: 0 auto;
  grid-template-columns: 1fr;
  gap: 34px;
}

.motion-grid-wide .work-item {
  width: 100%;
}

.motion-grid-wide img {
  display: block;
  width: 100%;
  height: clamp(122px, 16vw, 172px);
  max-height: none;
  object-fit: cover;
}

.motion-preview figcaption {
  padding-top: 10px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
}

.reveal-img {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal-img.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  scroll-margin-top: 78px;
  min-height: 70vh;
  padding: 90px 24px 36px;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 14px 70px;
  align-content: start;
  background: var(--paper);
}

.site-footer a {
  grid-column: 2;
  width: fit-content;
  font-size: clamp(13px, 2.5vw, 35px);
  line-height: 1.08;
}

.site-footer .contact-availability {
  grid-column: 2;
  max-width: 560px;
  margin: 34px 0 0;
  font-size: clamp(11px, 2vw, 28px);
  line-height: 1.35;
}

.site-footer span {
  display: none;
}

.cursor-wrap {
  position: fixed;
  inset: 0;
  z-index: 250;
  pointer-events: none;
}

.cursor-blur {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-999px, -999px, 0);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  background: rgba(255, 255, 255, 0.06);
  -webkit-mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 45%, rgba(0, 0, 0, 0.35) 62%, rgba(0, 0, 0, 0) 76%);
  mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 45%, rgba(0, 0, 0, 0.35) 62%, rgba(0, 0, 0, 0) 76%);
  transition: opacity 160ms ease;
}

.main-blur {
  width: 110px;
  height: 110px;
}

.tail1 {
  width: 170px;
  height: 170px;
}

.tail2 {
  width: 240px;
  height: 240px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

@media (max-width: 560px) {
  .top-nav {
    top: 18px;
    left: 18px;
    right: 18px;
    display: block;
  }

  .nav-toggle {
    position: relative;
    z-index: 2;
    display: inline-grid;
    width: 34px;
    height: 26px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .nav-toggle span {
    display: block;
    height: 1px;
    background: var(--blue);
  }

  .top-nav a {
    display: none;
    margin-top: 16px;
    font-size: 18px;
  }

  .top-nav.is-open {
    inset: 0;
    padding: 18px;
    background: white;
  }

  .top-nav.is-open a {
    display: block;
  }

  .fixed-title {
    left: 50%;
    bottom: 74px;
    width: calc(100vw - 36px);
  }

  .index-grid {
    gap: 14px;
    padding: 6px;
  }

  .card-overlay {
    padding: 12px;
    font-size: clamp(13px, 4vw, 18px);
  }

  .content-section,
  .work-list-page,
  .archive-page-main,
  .site-footer {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .work-list {
    position: relative;
    top: 0;
    margin-bottom: 30px;
  }

  .archive-sidebar {
    position: relative;
    top: 0;
    margin-bottom: 30px;
  }

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

  .archive-album img {
    min-height: 0;
  }

  .archive-album .archive-span-wide,
  .archive-album .archive-span-tall {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 1 / 1;
  }

  .project-header {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-bottom: 50px;
  }

  .packaging-page .project-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-intro {
    width: 100%;
    margin-bottom: 50px;
  }

  .packaging-project-section,
  .publishing-project-section,
  .campaign-project-section {
    margin-top: 90px;
    padding-top: 56px;
  }

  .campaign-lotte-artwork,
  .campaign-lotte-photo-grid {
    grid-template-columns: 1fr;
  }

  .campaign-lotte-artwork,
  .campaign-lotte-installation {
    gap: 12px;
  }

  .campaign-lotte-installation {
    margin-top: 74px;
  }

  .campaign-album-cover {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .campaign-fogen-showcase {
    gap: 56px;
  }

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

  .campaign-class101-showcase {
    gap: 56px;
  }

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

  .packaging-showcase {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .packaging-product-grid {
    gap: 8px;
  }

  .packaging-window-product {
    width: 100%;
  }

  .packaging-showcase + .packaging-showcase {
    margin-top: 56px;
  }

  .image-lightbox {
    padding: 44px 16px 20px;
  }

  .work-item-small {
    width: 100%;
  }

  .work-grid,
  .work-grid-compact {
    grid-template-columns: 1fr;
    gap: 74px;
  }

  .motion-header {
    margin-bottom: 52px;
  }

  .motion-section {
    margin-bottom: 86px;
  }

  .motion-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .site-footer a,
  .site-footer span {
    grid-column: 1;
  }

  .site-footer a {
    font-size: 20px;
    line-height: 1.15;
  }

  .site-footer .contact-availability {
    grid-column: 1;
    max-width: 340px;
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.45;
  }

  .cursor-wrap {
    display: none;
  }
}

@media (max-width: 900px) {
  html,
  body {
    font-size: 13px;
  }

  body::after {
    right: 16px;
    bottom: 14px;
    font-size: 11px;
  }

  .index-hero,
  .hero-media {
    min-height: 100svh;
  }

  .hero-media video {
    height: 100svh;
  }

  .fixed-title {
    bottom: clamp(54px, 10svh, 86px);
    width: min(320px, calc(100vw - 36px));
  }

  .fixed-title h1 {
    font-size: 13px;
  }

  .intro-text {
    margin-top: 11px;
    font-size: 12px;
    line-height: 1.42;
  }

  .intro-cta {
    margin-top: 11px;
    font-size: 12px;
    line-height: 1.42;
  }

  .hero-media figcaption {
    left: 18px;
    bottom: 16px;
    font-size: 11px;
  }

  .index-grid {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
  }

  .index-card {
    aspect-ratio: 1 / 1;
  }

  .card-overlay {
    opacity: 1;
    background: rgba(255, 255, 255, 0.58);
    font-size: 22px;
  }

  .content-section,
  .work-list-page,
  .archive-page-main,
  .site-footer {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 86px 18px 64px;
  }

  .section-label {
    color: var(--accent-orange);
  }

  .section-copy {
    font-size: clamp(26px, 8vw, 42px);
    line-height: 1.08;
  }

  .about-section .section-copy {
    font-size: 18px;
    line-height: 1.35;
  }

  .about-contact {
    margin-top: 34px;
    font-size: 13px;
  }

  .work-list,
  .archive-sidebar {
    position: relative;
    top: auto;
    z-index: 10;
    width: calc(100vw - 36px);
    max-width: 100%;
    margin: 0 0 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .work-list::-webkit-scrollbar,
  .archive-sidebar::-webkit-scrollbar {
    display: none;
  }

  .work-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 6px;
  }

  .work-categories,
  .work-sublist,
  .archive-sidebar {
    flex: 0 0 auto;
  }

  .work-categories,
  .work-sublist {
    display: flex;
    width: 100%;
    flex-direction: row;
    gap: 18px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .work-categories::-webkit-scrollbar,
  .work-sublist::-webkit-scrollbar {
    display: none;
  }

  .work-categories {
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(17, 17, 17, 0.12);
  }

  .work-sublist {
    gap: 14px;
    color: rgba(17, 17, 17, 0.58);
    font-size: 12.5px;
    line-height: 1.2;
  }

  .work-list a {
    flex: 0 0 auto;
  }

  .work-categories a.active {
    color: var(--accent-orange);
    font-style: italic;
  }

  .work-sublist .current {
    color: var(--accent-orange);
    font-style: normal;
  }

  .archive-sidebar {
    flex-direction: row;
    gap: 18px;
    white-space: nowrap;
  }

  .work-preview {
    max-width: none;
    padding-bottom: 74px;
  }

  .project-header,
  .publishing-page .project-header,
  .campaign-page .project-header,
  .packaging-page .project-header {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 42px;
  }

  .project-header h1 {
    max-width: 100%;
    font-size: clamp(21px, 7vw, 31px);
    line-height: 1.08;
  }

  .project-details,
  .packaging-page .project-details,
  .publishing-page .project-details,
  .campaign-page .project-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 18px;
  }

  .project-details dt,
  .project-details dd {
    font-size: 13px;
  }

  .project-intro {
    width: 100%;
    margin-bottom: 48px;
    font-size: 16px;
    line-height: 1.45;
  }

  .packaging-project-section,
  .publishing-project-section,
  .campaign-project-section {
    margin-top: 86px;
    padding-top: 58px;
    scroll-margin-top: 84px;
  }

  .packaging-showcase,
  .packaging-showcase.jane-packer-pair,
  .packaging-product-grid,
  .campaign-lotte-photo-grid,
  .campaign-fogen-grid,
  .campaign-class101-grid,
  .work-grid,
  .work-grid-compact,
  .motion-grid {
    grid-template-columns: 1fr;
  }

  .packaging-showcase,
  .publishing-showcase,
  .campaign-episode-grid,
  .campaign-mural-stack,
  .campaign-fogen-showcase,
  .campaign-class101-showcase,
  .motion-grid {
    gap: 44px;
  }

  .packaging-product-grid {
    gap: 14px;
  }

  .packaging-artwork,
  .packaging-carousel {
    aspect-ratio: 1 / 1;
  }

  .packaging-caption,
  .campaign-episode-grid figcaption,
  .campaign-mural-stack figcaption,
  .campaign-album-cover figcaption,
  .campaign-digital-goods figcaption,
  .campaign-lotte-artwork figcaption,
  .campaign-lotte-floor-artwork figcaption,
  .campaign-lotte-installation figcaption,
  .campaign-lotte-sticker-sheet figcaption,
  .campaign-fogen-showcase figcaption,
  .campaign-class101-showcase figcaption,
  .publishing-media-caption,
  .motion-preview figcaption {
    font-size: 12.5px;
    line-height: 1.35;
  }

  .campaign-note {
    margin-top: -28px;
    font-size: 12.5px;
  }

  .campaign-album-cover,
  .campaign-digital-goods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 58px;
  }

  .campaign-digital-goods {
    gap: 18px;
  }

  .campaign-lotte-key-visual {
    width: min(100%, 620px);
  }

  .campaign-lotte-floor-artwork {
    width: min(84%, 420px);
    margin-top: 52px;
  }

  .campaign-lotte-sticker-sheet {
    width: min(72%, 280px);
    margin-top: 52px;
  }

  .publishing-mobile-goods {
    width: min(78%, 340px);
  }

  .publishing-book-pair + .publishing-book-pair {
    margin-top: 62px;
  }

  .archive-album {
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .motion-section {
    margin-bottom: 86px;
  }

  .motion-grid-wide img {
    height: auto;
    aspect-ratio: 16 / 7;
  }

  .image-lightbox {
    padding: 52px 14px 22px;
  }

  .image-lightbox img {
    max-width: 96vw;
    max-height: 82svh;
  }

  .image-lightbox img.is-zoomed {
    transform: scale(1.65);
  }

  .cursor-wrap {
    display: none;
  }
}

@media (max-width: 560px) {
  .top-nav {
    top: 14px;
    left: 14px;
    right: 14px;
  }

  .top-nav.is-open {
    background: var(--paper);
  }

  .top-nav a {
    font-size: 22px;
    line-height: 1.05;
  }

  .index-grid {
    gap: 16px;
    padding: 16px 14px;
  }

  .card-overlay {
    font-size: 20px;
  }

  .fixed-title h1 {
    font-size: 16px;
  }

  .intro-text,
  .intro-cta {
    font-size: 10px;
    line-height: 1.42;
  }

  .content-section,
  .work-list-page,
  .archive-page-main,
  .site-footer {
    padding-left: 14px;
    padding-right: 14px;
  }

  .work-list,
  .archive-sidebar {
    width: calc(100vw - 28px);
  }

  .project-details,
  .packaging-page .project-details,
  .publishing-page .project-details,
  .campaign-page .project-details {
    grid-template-columns: 1fr 1fr;
  }

  .project-intro {
    font-size: 15px;
  }

  .campaign-album-cover,
  .campaign-digital-goods {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 380px) {
  .project-details,
  .packaging-page .project-details,
  .publishing-page .project-details,
  .campaign-page .project-details {
    grid-template-columns: 1fr;
  }

  .campaign-album-cover,
  .campaign-digital-goods {
    grid-template-columns: 1fr;
  }
}
