/* ============ Tokens ============ */
:root {
  --purple: #8c4a97;
  --purple-deep: #6f3a7c;
  --gray: #9a9a9a;
  --gray-dark: #7a7a7a;
  --ink: #585858;
  --paper: #F9F6E4;

  --font-display: "Barrio", system-ui;
  --font-body: "Be Vietnam Pro", sans-serif;
  --section-gap: clamp(2.5rem, 5vh, 4.5rem);
}

.barrio-regular {
  font-family: "Barrio", system-ui;
  font-weight: 400;
  font-style: normal;
}

.be-vietnam-pro-regular {
  font-family: "Be Vietnam Pro", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.be-vietnam-pro-medium {
  font-family: "Be Vietnam Pro", sans-serif;
  font-weight: 500;
  font-style: normal;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

/* Avoid browser restoring mid-page scroll on refresh */
html, body {
  overflow-anchor: none;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Be Vietnam Pro", sans-serif;
  font-weight: 400;
  font-style: normal;
  overflow-x: hidden;
}

body.custom-cursor-active {
  cursor: none;
}

body.custom-cursor-active a,
body.custom-cursor-active button,
body.custom-cursor-active .site-nav,
body.custom-cursor-active .site-nav-link,
body.custom-cursor-active .nabi-flipbook,
body.custom-cursor-active .nabi-flipbook *,
body.custom-cursor-active .nabi-flipbook-sheet,
body.custom-cursor-active .nabi-flipbook-nav,
body.custom-cursor-active .nabi-pdf-link,
body.custom-cursor-active .luag-medium-link {
  cursor: none !important;
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 2.55rem;
  aspect-ratio: 559 / 541;
  height: auto;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: url("assets/cursor.png") no-repeat 0 0 / contain;
  pointer-events: none;
  z-index: 10000;
  transform: translate3d(-100px, -100px, 0);
  transform-origin: 4% 6%;
  backface-visibility: hidden;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .block { animation: none !important; transition: none !important; }
  .scroll-cue-arrow { animation: none; }
  .nav-about-cue-arrow { animation: none; }
  .hero-flower { animation: none !important; }
  .hobby-camera,
  .hobby-phone { animation: none !important; }
  .hobby-camera { transform: rotate(-4deg); }
  .hobby-phone { transform: rotate(5deg); }
  body.custom-cursor-active { cursor: auto; }
  .custom-cursor { display: none; }
  .lastcall-cardstack-card,
  .lastcall-cardstack-card:hover,
  .lastcall-cardstack-card.is-up {
    transition: none;
  }
}

/* ============ Site nav ============ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(1rem, 2.5vw, 2.25rem);
  padding: 1.1rem 6vw;
  background: var(--paper);
  overflow: visible;
}

.site-nav--with-case {
  justify-content: space-between;
  align-items: center;
  gap: 1rem 1.5rem;
  overflow-x: auto;
}

.site-nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(1rem, 2.5vw, 2.25rem);
  flex-shrink: 0;
  margin-left: auto;
}

.case-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: clamp(0.55rem, 1.2vw, 1rem);
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.case-nav-item {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}

.case-nav-link {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(0.72rem, 1.15vw, 0.95rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-transform: lowercase;
  white-space: nowrap;
  color: var(--gray);
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

.case-nav-link.is-active,
.case-nav-link:hover {
  color: var(--purple);
}

.case-section {
  scroll-margin-top: 5.5rem;
}

.site-nav-link {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.05rem, 2vw, 1.65rem);
  line-height: 1.2;
  color: var(--purple);
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
  display: inline-block;
  padding: 0.45rem 0.15rem;
  transform: scale(1);
  transform-origin: center;
  transition: color 0.2s ease, transform 0.18s ease;
}

.site-nav-link:hover,
.site-nav-link.is-hot,
.site-nav-link[aria-current="page"] {
  color: var(--purple-deep);
}

@media (hover: hover) and (pointer: fine) {
  .site-nav-link:hover,
  .site-nav-link.is-hot {
    transform: scale(1.16);
  }
}

.nav-about-cue {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  color: var(--purple);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.nav-about-cue.is-visible {
  opacity: 1;
  visibility: visible;
}

.nav-about-cue-arrow {
  width: clamp(2rem, 3.5vw, 2.75rem);
  height: auto;
  display: block;
  transform: rotate(180deg);
  animation: nav-about-bounce 1.8s ease-in-out infinite;
}

@keyframes nav-about-bounce {
  0%, 100% { transform: rotate(180deg) translateY(0); }
  50%      { transform: rotate(180deg) translateY(-24px); }
}

/* ============ Hero ============ */
.hero-pin {
  /* Height set in JS so the hero stays pinned through drop + shake */
  min-height: 100vh;
  position: relative;
}

.hero {
  position: sticky;
  top: 0;
  min-height: 100vh;
  height: 100vh;
  /* One vertical unit: all hero height gaps are multiples of --hero-gap */
  --hero-gap: 3.2vh;
  padding: calc(var(--hero-gap) * 1.25) 6vw calc(var(--hero-gap) * 3.1);
  overflow: hidden;
  background: var(--paper);
  isolation: isolate;
}

.hero.is-releasing {
  overflow: visible;
}

.hero-name-wrap {
  display: inline-grid;
  grid-template-columns: max-content auto;
  align-items: end;
  column-gap: 0.32em;
  max-width: 100%;
}

.hero-name {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--purple);
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 0.95;
  margin: 0;
  letter-spacing: 0.01em;
}

.hero-flowers {
  display: flex;
  align-items: flex-end;
  gap: 0.22em;
  height: clamp(2rem, 6vw, 4.2rem);
  margin-bottom: 0.14em;
  margin-left: 0.4cm;
  pointer-events: none;
  user-select: none;
}

.hero-flower {
  display: block;
  height: 78%;
  width: auto;
  transform-origin: center center;
  animation: flower-spin 14s linear infinite;
}

.hero-flower:nth-child(1) {
  height: 52%;
}

.hero-flower:nth-child(2) {
  height: 78%;
  animation-duration: 18s;
  animation-direction: reverse;
}

.hero-flower:nth-child(3) {
  height: 68%;
  animation-duration: 11s;
}

.hero-flower:nth-child(4) {
  height: 62%;
  animation-duration: 16s;
  animation-direction: reverse;
}

.hero-flower:nth-child(5) {
  height: 60%;
  animation-duration: 13s;
}

@keyframes flower-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-word {
  display: inline-block;
  transition: transform 0.18s ease-out;
  will-change: transform;
}

.hero-top,
.hero-question {
  position: relative;
  z-index: 3;
}

.hero-tagline {
  text-align: right;
  color: var(--gray);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  margin: calc(var(--hero-gap) * 2.7 - 0.5cm) 0 0;
  max-width: 32ch;
  margin-left: auto;
}

.hero-question {
  /* Keep fixed multiple of --hero-gap (includes prior 1.8cm nudge as ratio) */
  margin-top: calc(var(--hero-gap) * 4);
  max-width: none;
}

.hero-question-label {
  color: var(--gray);
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  margin: 0 0 0.12em;
}

.hero-question-main {
  position: relative;
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  color: var(--purple);
  font-weight: 400;
  font-size: clamp(0.72rem, 2.6vw + 0.4rem, 1.4rem);
  margin: 0;
  white-space: nowrap;
}

.hero-question-main::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.42em);
  bottom: auto;
  height: 0.42em;
  background: var(--purple);
  border-radius: 1em 0.35em 1.4em 0.55em / 0.9em 1.1em 0.45em 1.2em;
  pointer-events: none;
}

.hero-stroke {
  display: inline;
}

/* ============ Falling block field ============ */
.block-field {
  position: absolute;
  right: calc(7vw - 1.5cm);
  bottom: calc(var(--hero-gap, 3.2vh) * -0.6);
  width: min(28vw, 350px);
  height: min(28vw, 350px);
  pointer-events: none;
  z-index: 1;
  --block-size: 26%;
}

.stack-hint {
  position: absolute;
  right: calc(7vw - 1.5cm + min(28vw, 350px) + 1.2rem);
  bottom: calc(var(--hero-gap, 3.2vh) * -0.6 + min(28vw, 350px) * 0.28);
  max-width: min(22ch, 28vw);
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  line-height: 1.15;
  color: var(--purple);
  text-align: right;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  transition: opacity 1.1s ease, transform 1.1s ease;
}

.stack-hint.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.block {
  position: absolute;
  width: var(--block-size, 26%);
  height: var(--block-size, 26%);
  aspect-ratio: 1 / 1;
  border-radius: 30% 32% 34% 28% / 32% 30% 32% 34%;
  will-change: transform, opacity;
  transform-origin: center center;
  --tilt: 0deg;
  --mag-x: 0px;
  --mag-y: 0px;
  opacity: 0;
  animation: none;
  box-sizing: border-box;
  flex-shrink: 0;
}

.block.gray   { background: var(--gray); }
.block.purple { background: var(--purple); }
.block.to-grey {
  background: var(--gray) !important;
  transition: background 0.35s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* Landing cluster: hover any box to see Scroll! */
.block-field.is-landed:not(.is-exiting) .block {
  pointer-events: auto;
  cursor: none;
}

.block-field.is-landed:not(.is-exiting) .block::after {
  content: "Scroll!";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-body);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(0.72rem, 1.1vw, 0.9rem);
  line-height: 1;
  color: var(--purple);
  background: #ffffff;
  padding: 0.35rem 0.5rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 2;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.block-field.is-landed:not(.is-exiting) .block:hover::after {
  opacity: 1;
}

.tower-more {
  position: absolute;
  display: block;
  z-index: 50;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  text-decoration: none;
  color: var(--purple);
  font-family: var(--font-body);
  font-weight: 400;
  font-style: normal;
  transition: opacity 0.35s ease;
}

.tower-more.is-ready {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.tower-more-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  font-size: clamp(0.72rem, 1.1vw, 0.85rem);
  letter-spacing: 0.01em;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: #ffffff;
  color: var(--purple);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

.tower-more.is-ready:hover .tower-more-label,
.tower-more.is-ready:focus-visible .tower-more-label {
  opacity: 1;
}

#cascadeLayer .block {
  width: auto;
  height: auto;
  box-sizing: border-box;
  flex-shrink: 0;
}

.tower-phew {
  position: absolute;
  z-index: 51;
  margin: 0;
  max-width: min(18ch, 32vw);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  line-height: 1.1;
  color: var(--purple);
  text-align: right;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  transition: opacity 0.7s ease, transform 0.7s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
}

.tower-phew.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.tower-phew-text {
  display: block;
}

.tower-phew-arrow {
  position: relative;
  display: block;
  width: 52px;
  height: 14px;
  margin-right: 0.15rem;
}

.tower-phew-arrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: calc(100% - 11px);
  height: 2px;
  background: var(--purple);
  transform: translateY(-50%);
}

.tower-phew-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 12px solid var(--purple);
  transform: translateY(-50%);
}

.to-top {
  display: block;
  width: fit-content;
  margin: 0 auto calc(var(--section-gap, 3.5rem) * 0.7);
  padding: 0 6vw calc(var(--section-gap, 3.5rem) * 0.35);
  color: var(--gray);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.95rem;
  text-decoration: none;
  text-align: center;
  transition: color 0.2s ease;
}

.to-top:hover {
  color: var(--gray-dark);
}

.hobby-detail .to-top {
  margin-bottom: -2cm;
  padding-bottom: 0;
}

/* mid-drop / bounce / exit: JS owns transform */
.block-field.is-dropping .block,
.block-field.is-bouncing .block,
.block-field.is-exiting .block {
  animation: none;
}

.block-field.is-exiting .block,
.block-field.is-bouncing .block {
  opacity: 1 !important;
}

/* after landing in hero: slow shake (keeps going while grey) */
.block-field.is-landed .block {
  opacity: 1;
  animation: shake 1.15s ease-in-out infinite;
}

.block-field.is-exiting .block,
.block-field.is-gone .block {
  opacity: 1;
}

.block-field.is-gone {
  visibility: hidden;
}

/* initial scatter (font-drop landing) */
.block:nth-child(1) { top: 10%; left: 32%; animation-delay: 0s;   --tilt: -20deg; }
.block:nth-child(2) { top: calc(26% + 0.5cm); left: 10%; animation-delay: .5s;  --tilt: 20deg; }
.block:nth-child(3) { top: calc(28% + 0.5cm); left: 50%; animation-delay: 1s;   --tilt: 0deg; }
.block:nth-child(4) { top: calc(48% + 1cm);  left: 2%;  animation-delay: .2s;  --tilt: 0deg; }
.block:nth-child(5) { top: calc(50% + 1cm);  left: 30%; animation-delay: .8s;  --tilt: -20deg; }
.block:nth-child(6) { top: calc(48% + 1cm);  left: 58%; animation-delay: 1.3s; --tilt: 0deg; }

@keyframes shake {
  0%, 100% { transform: rotate(calc(var(--tilt) - 2deg)) translate3d(var(--mag-x, 0px), var(--mag-y, 0px), 0); }
  25%      { transform: rotate(calc(var(--tilt) + 3deg)) translate3d(calc(var(--mag-x, 0px) + 2px), calc(var(--mag-y, 0px) - 1px), 0); }
  50%      { transform: rotate(calc(var(--tilt) - 3deg)) translate3d(calc(var(--mag-x, 0px) - 2px), calc(var(--mag-y, 0px) + 2px), 0); }
  75%      { transform: rotate(calc(var(--tilt) + 2deg)) translate3d(calc(var(--mag-x, 0px) + 1px), calc(var(--mag-y, 0px) - 1px), 0); }
}

/* ============ Discipline scatter (in hero, near scroll arrow) ============ */
.discipline-scatter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--hero-gap) * 3.4);
  z-index: 2;
  width: 100%;
  height: min(32vh, 16rem);
  margin: 0;
  padding: 0;
  background: transparent;
  overflow: visible;
  pointer-events: none;
}

.discipline {
  position: absolute;
  margin: 0;
  color: var(--gray);
  line-height: 1;
  white-space: nowrap;
  opacity: 0.92;
  --mag-x: 0px;
  --mag-y: 0px;
  transform: rotate(var(--tilt, 0deg)) translate3d(var(--mag-x), var(--mag-y), 0);
  will-change: transform;
}

.discipline--ux {
  left: calc(9vw - 0.1cm);
  bottom: calc(59%);
  --tilt: -7deg;
  font-family: "Syne", "Be Vietnam Pro", sans-serif;
  font-weight: 700;
  font-size: calc(1.2 * clamp(1.25rem, 2.8vw, 1.9rem));
  letter-spacing: 0.04em;
  animation: discipline-drift-a 7s ease-in-out infinite;
}

.discipline--graphic {
  left: 24vw;
  bottom: calc(68% - 0.5cm);
  --tilt: 6deg;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: calc(1.2 * clamp(1.3rem, 3vw, 2rem));
  animation: discipline-drift-b 8.5s ease-in-out infinite;
}

.discipline--product {
  left: 8vw;
  bottom: calc(17% + 0.5cm);
  --tilt: 3deg;
  font-family: "Space Grotesk", "Be Vietnam Pro", sans-serif;
  font-weight: 600;
  font-size: calc(1.2 * clamp(1.2rem, 2.6vw, 1.8rem));
  letter-spacing: 0.02em;
  animation: discipline-drift-c 6.5s ease-in-out infinite;
}

.discipline--web {
  left: 28vw;
  bottom: calc(28% - 0.5cm);
  --tilt: -5deg;
  font-family: "Caveat", "Barrio", cursive;
  font-weight: 600;
  font-size: calc(1.2 * clamp(1.5rem, 3.4vw, 2.25rem));
  animation: discipline-drift-a 9s ease-in-out infinite reverse;
}

@keyframes discipline-drift-a {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -0.35rem; }
}

@keyframes discipline-drift-b {
  0%, 100% { translate: 0 0; }
  50% { translate: 0.25rem -0.2rem; }
}

@keyframes discipline-drift-c {
  0%, 100% { translate: 0 0; }
  50% { translate: -0.2rem 0.25rem; }
}

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

/* About landing cluster — same pile, all grey */
.panel-about {
  overflow: visible;
  border-top: none;
  align-items: flex-start;
  flex-direction: column;
  padding-top: calc(var(--section-gap, 3.5rem) * 1.15);
}

.about-blocks {
  position: absolute;
  right: calc(7vw - 1.5cm);
  bottom: calc(var(--section-gap) * 1.4);
  top: auto;
  width: min(28vw, 350px);
  height: min(28vw, 350px);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  --block-size: 26%;
}

.about-blocks.is-visible {
  opacity: 1;
}

.about-blocks .block {
  opacity: 0;
  background: var(--gray);
  animation: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.about-blocks.is-visible .block {
  animation: none;
  opacity: 1;
  transform: rotate(var(--tilt)) translate3d(var(--mag-x, 0px), var(--mag-y, 0px), 0);
}

.about-blocks .block:nth-child(1) { top: 10%; left: 32%; --tilt: -20deg; }
.about-blocks .block:nth-child(2) { top: calc(26% + 0.5cm); left: 10%; --tilt: 20deg; }
.about-blocks .block:nth-child(3) { top: calc(28% + 0.5cm); left: 50%; --tilt: 0deg; }
.about-blocks .block:nth-child(4) { top: calc(48% + 1cm);  left: 2%;  --tilt: 0deg; }
.about-blocks .block:nth-child(5) { top: calc(50% + 1cm);  left: 30%; --tilt: -20deg; }
.about-blocks .block:nth-child(6) { top: calc(48% + 1cm);  left: 58%; --tilt: 0deg; }

.panel-about .panel-inner {
  position: relative;
  z-index: 1;
  transform: none;
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.panel-about .panel-index {
  font-family: "Be Vietnam Pro", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.1rem;
  margin-bottom: calc(var(--section-gap, 3.5rem) * 1.3);
  display: block;
  color: var(--purple);
  position: relative;
  z-index: 2;
}

/* ============ Scroll cue ============ */
.scroll-cue {
  position: absolute;
  right: 14vw;
  bottom: calc(var(--hero-gap) * 3.6);
  left: auto;
  transform: none;
  display: flex;
  align-items: flex-end;
  gap: 0.85rem;
  color: var(--purple);
  z-index: 3;
  pointer-events: none;
}

.scroll-cue-label {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.15rem, 2.4vw, 1.8rem);
  line-height: 1.1;
  text-align: right;
  max-width: none;
  flex-shrink: 0;
  transform: translate(calc(2rem + 0.6cm), calc(var(--hero-gap) * -3.9));
}

.scroll-cue-arrow {
  width: clamp(5.5rem, 11vw, 8.5rem);
  height: auto;
  display: block;
  flex-shrink: 0;
  position: relative;
  left: 1cm;
  animation: cue-bounce 1.8s ease-in-out infinite;
}

@keyframes cue-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(0.35em); }
}

/* ============ Content panels ============ */
.panel {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  padding: var(--section-gap) 6vw;
  border-top: none;
}

.panel-inner { max-width: 620px; }

.panel-index {
  display: inline-block;
  color: var(--purple);
  font-weight: 400;
  font-size: 1.1rem;
  margin-bottom: var(--section-gap, 3.5rem);
}

.panel h2 {
  font-family: "Be Vietnam Pro", sans-serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 1.2rem;
}

.panel p {
  color: var(--gray-dark);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 60ch;
}

.panel-about.panel {
  padding-left: 4vw;
  padding-right: 4vw;
}

.panel-about .panel-inner {
  max-width: none;
  width: 100%;
}

.panel-about .work-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(var(--section-gap, 3.5rem) * 1.55) calc(var(--section-gap, 3.5rem) * 1.1);
  width: 100%;
  margin: calc(var(--section-gap, 3.5rem) * 0.45) 0 calc(var(--section-gap, 3.5rem) * 0.55);
}

.panel-about .work-feature-link {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  text-decoration: none;
  color: inherit;
}

.panel-about .work-feature-link:last-of-type {
  margin-bottom: 0;
}

.panel-about .work-feature-frame {
  display: block;
  width: 100%;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.panel-about .work-feature-caption {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  margin-top: 1.25rem;
}

.panel-about .work-feature-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  color: var(--purple);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  flex-shrink: 0;
  align-self: flex-start;
}

.panel-about .work-feature-title {
  display: block;
  margin-top: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--ink);
  text-align: left;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  align-self: flex-start;
}

.panel-about .work-feature-meta {
  position: absolute;
  right: calc(var(--media-inset) + var(--meta-gap));
  bottom: calc(var(--media-inset) + var(--meta-gap));
  z-index: 2;
  display: block;
  width: fit-content;
  max-width: calc(100% - (var(--media-inset) * 2) - 0.5rem);
  margin: 0;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: var(--purple);
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(0.65rem, 1vw, 0.78rem);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.panel-about .work-feature-clip {
  --media-inset: 0.85rem;
  --meta-gap: 0.55rem;
  position: relative;
  border-radius: 1em 0.35em 1.4em 0.55em / 0.9em 1.1em 0.45em 1.2em;
  overflow: hidden;
  aspect-ratio: 1024 / 682;
  width: 100%;
  margin: 0;
  border: 0.7rem solid var(--purple);
  background: var(--paper);
  padding: var(--media-inset);
  box-shadow: none;
  box-sizing: border-box;
}

.panel-about .work-feature-media {
  position: absolute;
  inset: var(--media-inset);
  overflow: hidden;
  border-radius: 0.55em 0.2em 0.75em 0.3em / 0.5em 0.65em 0.25em 0.7em;
}

.panel-about .work-feature-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: inherit;
  transition: transform 0.5s ease, filter 0.35s ease;
  transform-origin: center center;
  will-change: transform;
}

.panel-about .work-feature-image--raised {
  object-position: center calc(50% - 3cm);
}

.panel-about .work-feature-image--dayul {
  object-position: center calc(50% - 0.8cm);
}

@media (hover: hover) and (pointer: fine) {
  .panel-about .work-feature-link:hover .work-feature-image {
    transform: scale(1.12);
    filter: brightness(0.72);
  }
}

.panel-about .work-feature-coming {
  display: block;
  width: 100%;
}

.panel-about .work-feature-coming-frame {
  --media-inset: 0.85rem;
  --meta-gap: 0.55rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1024 / 682;
  width: 100%;
  border: 0.7rem solid var(--purple);
  border-radius: 1em 0.35em 1.4em 0.55em / 0.9em 1.1em 0.45em 1.2em;
  background: var(--paper);
  box-sizing: border-box;
  padding: 0.85rem;
  overflow: hidden;
}

.panel-about .work-feature-coming-label {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  line-height: 1;
  color: var(--purple);
  text-align: center;
}

/* ============ Project pages ============ */
.project-page {
  min-height: 100vh;
}

.project {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 8vh 6vw 12vh;
  box-sizing: border-box;
}

.project-page:not(.is-about-page) > .project:not(.hobby-page) {
  padding-top: 0.35rem;
}

.about-page {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-top: 2.5vh;
  padding-left: 4vw;
  padding-right: 4vw;
  padding-bottom: calc(10vh - 1.3cm);
  box-sizing: border-box;
}

.about-page .project-back {
  margin-bottom: 1.25rem;
}

.about-page .project-index,
.about-page .about-name,
.about-page .about-tagline {
  position: relative;
  top: 0.5cm;
}

.about-page .about-copy p {
  max-width: none;
  width: 100%;
}

.about-page .project-body.about-copy {
  width: 100%;
  max-width: none;
}

.project-back {
  display: inline-block;
  margin-bottom: 2.5rem;
  color: var(--purple);
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.project-back:hover {
  border-color: var(--purple);
}

.project-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.project-nav .project-back {
  margin-bottom: 0;
}

.project-next {
  display: inline-block;
  color: var(--purple);
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
  white-space: nowrap;
  text-align: right;
}

.project-next:hover {
  border-color: var(--purple);
}

.project-index {
  display: block;
  color: var(--purple);
  font-weight: 500;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  margin-bottom: 0.85rem;
}

.project-title {
  font-family: "Be Vietnam Pro", sans-serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 2rem;
}

.project-page:not(.is-about-page) .project-index {
  color: #000;
  font-weight: 400;
  font-size: clamp(0.85rem, 1.3vw, 1rem);
}

.case-section > .project-index {
  margin-bottom: 1.5rem;
}

.project-page:not(.is-about-page) .project-title {
  font-family: var(--font-display);
  color: var(--purple);
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  line-height: 1.05;
}

.project-summary {
  margin: -1.15rem 0 2rem;
  max-width: 60ch;
  color: var(--gray);
  font-size: clamp(0.92rem, 1.5vw, 1.05rem);
  line-height: 1.55;
}

.project-intro-row {
  display: grid;
  grid-template-columns: minmax(12rem, 0.85fr) minmax(0, 1.35fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: stretch;
  width: 100%;
  margin: 0 0 2rem;
}

.project-intro-copy {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.project-intro-copy .project-title {
  margin-bottom: 0.85rem;
}

.project-intro-row .project-summary {
  margin: 0;
  max-width: none;
}

.project-intro-row .project-body--intro {
  width: 100%;
  max-width: none;
  margin-top: auto;
  padding-top: 1.25rem;
}

.project-intro-row .project-body--intro p {
  margin-bottom: 0;
}

.project-intro-row .project-hero-frame {
  width: 100%;
  max-width: none;
  margin: 0;
}

/* ============ LUAG case study layout ============ */
.luag-page .project-index {
  margin-bottom: 1.9rem;
}

.luag-intro .project-title {
  margin-bottom: 1.35rem;
}

.luag-intro-head {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(12rem, 0.9fr);
  gap: clamp(0.5rem, 1.2vw, 1rem);
  align-items: end;
  width: 100%;
  margin: 0 0 1.35rem;
}

.luag-intro-head-main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.85rem;
  min-width: 0;
  width: 100%;
}

.luag-intro-head-main .project-title {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  transform: translateY(-0.65cm);
}

.luag-intro-head .luag-title-compass {
  margin-left: 0;
  justify-self: end;
}

.luag-intro-head + .luag-hero-stage {
  margin-top: -0.5cm;
}

.luag-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  margin: 0 0 1.35rem;
}

.luag-title-row .project-title {
  margin-bottom: 0;
  flex: 1 1 auto;
}

.luag-title-compass {
  position: relative;
  flex: 0 0 auto;
  width: clamp(calc(2.8rem * 1.1), calc(5vw * 1.1), calc(4rem * 1.1));
  aspect-ratio: 362 / 447;
  margin-left: auto;
  transform: translateY(-0.75cm);
  user-select: none;
  pointer-events: none;
}

.luag-title-compass-ring,
.luag-title-compass-needle {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.luag-title-compass-needle {
  transform-origin: 49.8% 57.1%;
  will-change: transform;
  transition: transform 0.08s linear;
}

.luag-hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(12rem, 0.9fr);
  gap: clamp(0.5rem, 1.2vw, 1rem);
  align-items: stretch;
  width: 100%;
  margin: 0 0 3.5rem;
  /* Match LUAG hero image height: 90% of left column × 711/1024 */
  --hero-img-h: calc((100vw - 12vw - 1rem) * 1.65 / 2.55 * 0.9 * 711 / 1024);
}

.luag-hero-panel {
  width: 90%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-radius: 1em 0.35em 1.4em 0.55em / 0.9em 1.1em 0.45em 1.2em;
  background: transparent;
  overflow: hidden;
}

.luag-hero-panel img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
  transition: transform 0.5s ease;
  transform-origin: center center;
  will-change: transform;
}

.luag-hero-panel--dayul {
  position: relative;
  overflow: hidden;
  width: 90%;
  height: calc(var(--hero-img-h) - 1.3cm);
}

.luag-hero-panel--dayul img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  margin: 0;
  max-width: none;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.5s ease;
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .luag-hero-panel--dayul:hover img,
  .luag-hero-panel.luag-hero-panel--dayul:hover img {
    transform: scale(1.08);
  }
}

.dayul-overview {
  margin-top: 2.1cm;
}

.dayul-overview .project-subhead {
  margin: 0 0 1.25rem;
}

.dayul-overview-row {
  --dayul-overview-h: clamp(16.8rem, 43.2vw, 28.8rem);
  display: flex;
  align-items: flex-start;
  gap: clamp(0.85rem, 2vw, 1.35rem);
  width: 100%;
  margin: 0;
}

.dayul-overview-media {
  margin: 0;
  overflow: hidden;
  flex: 0 1 auto;
  background: transparent;
  border-radius: 1em 0.35em 1.4em 0.55em / 0.9em 1.1em 0.45em 1.2em;
}

.dayul-overview-media--portrait {
  height: var(--dayul-overview-h);
  border-radius: 0.4em 1.2em 0.5em 1.1em / 1.05em 0.45em 1.15em 0.5em;
}

.dayul-overview-media img {
  display: block;
  height: var(--dayul-overview-h);
  width: auto;
  max-width: none;
  transform-origin: center center;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.dayul-overview-media--portrait img {
  height: calc(var(--dayul-overview-h) + 2cm);
  margin-top: -1cm;
}

.dayul-overview-copy {
  flex: 1 1 0;
  min-width: 12rem;
  margin: 0;
  max-width: none;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  min-height: calc(var(--dayul-overview-h) + 0.5cm);
}

.dayul-overview-copy p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(0.92rem, 1.35vw, 1.02rem);
  line-height: 1.65;
}

.dayul-overview-location {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  line-height: 1.35;
}

.dayul-overview-copy p.dayul-overview-location {
  margin-top: auto;
  font-size: 0.7rem;
  line-height: 1.35;
}

.dayul-overview-location span {
  font-size: 0.7rem;
  line-height: 1.35;
  margin-top: 0.2cm;
}

.dayul-overview-pin {
  display: block;
  width: 1.3rem;
  height: auto;
  flex: 0 0 auto;
}

@media (hover: hover) and (pointer: fine) {
  .dayul-overview-media:hover img {
    transform: scale(1.06);
  }
}

@media (max-width: 900px) {
  .dayul-overview-row {
    flex-wrap: wrap;
  }

  .dayul-overview-copy {
    flex: 1 1 100%;
  }
}

@media (max-width: 700px) {
  .dayul-overview-row {
    flex-direction: column;
  }

  .dayul-overview-media--portrait {
    height: auto;
  }

  .dayul-overview-media img,
  .dayul-overview-media--portrait img {
    width: 100%;
    height: auto;
    margin-top: 0;
  }
}

.dayul-logos {
  padding-top: 0.2cm;
  padding-bottom: 0.3cm;
}

.dayul-cup {
  padding-top: 0;
}

.dayul-logos .project-subhead,
.dayul-cup .project-subhead,
.dayul-merch .project-subhead,
.dayul-other .project-subhead,
.dayul-planning .project-subhead {
  margin: 0 0 1.25rem;
}

.dayul-logos > .project-subhead:first-of-type {
  margin-top: 2rem;
}

.dayul-cup > .project-subhead:first-of-type {
  margin-top: calc(2rem + 0.3cm);
}

.dayul-planning {
  margin-top: 0.5cm;
  padding-top: 0.3cm;
}

.dayul-planning > .project-subhead:first-of-type {
  margin-top: 2rem;
}

.dayul-logos-intro.project-body,
.dayul-planning-intro.project-body {
  width: 100%;
  max-width: none;
  margin: 0 0 2rem;
}

.dayul-logos-intro p,
.dayul-planning-intro p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(0.92rem, 1.35vw, 1.02rem);
  line-height: 1.65;
}

.dayul-logos-split {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: calc(1.5rem + 1cm);
  width: 100%;
}

.dayul-logos-split::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #cfcfcf;
  transform: translateX(-50%);
  pointer-events: none;
}

.dayul-logos-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.dayul-logos-side-title {
  margin: 0 0 1.25rem;
  color: var(--ink);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 400;
  line-height: 1.35;
}

.dayul-logos-media-stack {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 1rem;
  width: 100%;
}

.dayul-logos-media {
  margin: 0;
  flex: 1 1 0;
  min-width: 0;
  overflow: visible;
}

.dayul-logos-media img {
  display: block;
  width: 100%;
  height: clamp(11rem, 24vw, 15rem);
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
  border-radius: 0.85em 0.3em 1.1em 0.4em / 0.7em 0.95em 0.35em 0.9em;
}

.dayul-logos-caption {
  margin: 0.55rem 0 0;
  color: var(--ink);
  font-size: clamp(0.78rem, 1.1vw, 0.88rem);
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
}

.dayul-logos-col-copy {
  margin: 1.75rem 0 0;
  color: var(--ink);
  font-size: clamp(0.92rem, 1.35vw, 1.02rem);
  line-height: 1.65;
}

.dayul-logos-mini-title {
  margin: 1.35rem 0 0;
  color: var(--ink);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 400;
  line-height: 1.35;
}

.dayul-logos-mini-title--font {
  margin-top: 1.75rem;
}

.dayul-logos-font-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-top: 0.85rem;
}

.dayul-logos-font-mocks {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.85rem;
  flex: 1 1 28rem;
  min-width: 0;
}

.dayul-logos-font-mock {
  margin: 0;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  border-radius: 0.85em 0.3em 1.1em 0.4em / 0.7em 0.95em 0.35em 0.9em;
}

.dayul-logos-font-mock img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transform-origin: center center;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .dayul-logos-font-mock:hover img {
    transform: scale(1.06);
  }
}

.dayul-logos-font-row {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 0.45rem;
  flex: 1 1 16rem;
  min-width: 0;
  margin-top: 0;
}

.dayul-logos-font-en {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  margin-top: -3.5cm;
  align-self: stretch;
  width: 100%;
}

.dayul-logos-font-en .dayul-logos-font-label {
  margin-top: calc(0.7cm - 0.5cm + 0.5cm);
}

.dayul-logos-font-sample {
  margin: -0.2cm 0 0;
  color: #1f4b2f;
  font-family: "gowun-dodum", sans-serif;
  font-size: clamp(2.6rem, 5.2vw, 3.575rem);
  font-weight: 400;
  line-height: 1.35;
}

.dayul-logos-font-label {
  margin: 0;
  color: var(--ink);
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  font-weight: 400;
  line-height: 1.35;
}

.dayul-logos-font-sample + .dayul-logos-font-label {
  margin-top: calc(0.7cm - 0.5cm);
}

.dayul-logos-font-media + .dayul-logos-font-label {
  margin-top: calc(0.7cm - 0.5cm + 0.3cm);
}

.dayul-logos-font-label-prefix {
  font-weight: 700;
}

.dayul-logos-font-traits {
  margin: 0;
  color: var(--ink);
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  font-weight: 400;
  line-height: 1.45;
}

.dayul-logos-font-copy {
  margin: 0.3cm 0 0;
  align-self: stretch;
  max-width: none;
  width: 100%;
  box-sizing: border-box;
  color: var(--ink);
  font-size: clamp(0.88rem, 1.25vw, 0.98rem);
  line-height: 1.55;
}

.dayul-logos-font-media {
  margin: 0;
  width: min(100%, 18rem);
  transform: translateY(2.2cm);
}

.dayul-logos-font-media img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.dayul-logos-color .dayul-logos-mini-title {
  margin-top: 0;
}

.dayul-logos-color {
  margin-top: auto;
  padding-top: 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dayul-logos-col--left .dayul-logos-color .dayul-logos-swatch {
  margin-top: auto;
  margin-bottom: auto;
}

.dayul-logos-col--right .dayul-logos-color {
  justify-content: flex-start;
}

.dayul-logos-swatch-row {
  display: grid;
  grid-template-columns: max-content max-content;
  justify-content: start;
  align-items: start;
  column-gap: 1.25rem;
  row-gap: 1rem;
  margin-top: 0;
  flex: 0 0 auto;
}

.dayul-logos-swatch-row .dayul-logos-swatch {
  margin-top: 0;
  flex: none;
  width: auto;
}

.dayul-logos-swatch-body {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 0.85rem;
}

.dayul-logos-swatch-body .dayul-logos-swatch-copy {
  flex: 1 1 0;
  min-width: 0;
  margin: 0 0 0 0.5cm;
}

.dayul-logos-swatch {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-top: 0.85rem;
}

.dayul-logos-swatch-chip {
  display: block;
  flex: 0 0 auto;
  width: 4.5rem;
  height: 4.5rem;
  background: var(--swatch);
  border-radius: 0.55em 0.25em 0.75em 0.3em / 0.5em 0.65em 0.25em 0.6em;
}

.dayul-logos-swatch-meta {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.dayul-logos-swatch-label {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  gap: 0.15rem;
}

.dayul-logos-swatch-name {
  color: var(--swatch);
  font-size: clamp(0.88rem, 1.25vw, 0.98rem);
  font-weight: 700;
  line-height: 1.35;
}

.dayul-logos-swatch-code {
  display: block;
  margin: 0;
  color: var(--ink);
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.55;
}

.dayul-logos-swatch-copy {
  flex: 1 1 0;
  min-width: 0;
  margin: 0 0 0 0.5cm;
  color: var(--ink);
  font-size: clamp(0.88rem, 1.25vw, 0.98rem);
  line-height: 1.55;
}

.dayul-logos-col--left .dayul-logos-media:nth-child(1) img {
  transform: scale(0.82);
  transform-origin: center center;
}

.dayul-logos-col--left .dayul-logos-media:nth-child(2) img {
  transform: scale(0.902);
  transform-origin: center center;
}

.dayul-logos-col--right .dayul-logos-media:nth-child(2) {
  margin-top: -0.4cm;
}

@media (max-width: 700px) {
  .dayul-logos-split {
    grid-template-columns: 1fr;
    row-gap: 1.5rem;
    column-gap: 0;
  }

  .dayul-logos-split::after {
    display: none;
  }
}

.dayul-cup-row {
  display: flex;
  align-items: flex-start;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  width: 100%;
}

.dayul-cup-copy.project-body {
  flex: 1 1 0;
  min-width: 12rem;
  max-width: none;
  width: auto;
  margin: 0;
}

.dayul-cup-copy p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(0.92rem, 1.35vw, 1.02rem);
  line-height: 1.65;
}

.dayul-cup-copy p + p {
  margin-top: 1rem;
}

.dayul-cup-media {
  margin: 0;
  width: min(46.672rem, 58%);
  flex: 0 1 auto;
  overflow: hidden;
  border-radius: 1em 0.35em 1.4em 0.55em / 0.9em 1.1em 0.45em 1.2em;
}

.dayul-cup-media img {
  display: block;
  width: 100%;
  height: auto;
  margin-block: -1.3cm;
  transform-origin: center center;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .dayul-cup-media:hover img {
    transform: scale(1.04);
  }
}

@media (max-width: 700px) {
  .dayul-cup-row {
    flex-direction: column;
  }

  .dayul-cup-media {
    width: min(46.672rem, 100%);
    align-self: flex-end;
  }
}

.dayul-planning-subhead {
  margin: 0 0 1.25rem;
  color: var(--ink);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 400;
  line-height: 1.35;
}

.dayul-planning-subhead--activities {
  position: static;
  width: auto;
  margin: 0 0 0.85rem;
}

.dayul-activities {
  position: relative;
  width: auto;
  min-width: 0;
}

.dayul-activities-row {
  display: flex;
  align-items: stretch;
  gap: clamp(0.4rem, 1vw, 0.65rem);
  width: 100%;
}

.dayul-activities-media {
  margin: 0;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 0.75em 0.3em 1em 0.4em / 0.7em 0.9em 0.35em 0.85em;
}

.dayul-activities-media:nth-child(2) {
  border-radius: 0.35em 0.95em 0.4em 0.85em / 0.9em 0.4em 0.95em 0.45em;
}

.dayul-activities-media:nth-child(2) img {
  object-position: center 78%;
}

.dayul-activities-row--second .dayul-activities-media:first-child img {
  object-position: center 82%;
}

.dayul-activities-row--second .dayul-activities-media:nth-child(2) img {
  object-position: center center;
}

.dayul-activities-media:nth-child(3) {
  border-radius: 0.9em 0.35em 0.75em 0.5em / 0.45em 0.85em 0.4em 1em;
}

.dayul-activities-media:nth-child(4) {
  border-radius: 0.4em 1em 0.45em 0.9em / 0.95em 0.4em 1em 0.45em;
}

.dayul-activities-media img {
  display: block;
  width: 100%;
  height: calc(100% + 3cm);
  margin-top: -3cm;
  object-fit: cover;
  transform-origin: center center;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .dayul-activities-media:hover img {
    transform: scale(1.05);
  }
}

.dayul-activities-copy {
  margin: 1rem 0 0;
  color: var(--ink);
  font-size: clamp(0.92rem, 1.35vw, 1.02rem);
  line-height: 1.65;
  width: 100%;
}

.dayul-activities-row--second {
  margin-top: 1rem;
}

.dayul-halloween-block {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: calc(1.5rem + 1cm);
  width: 100%;
  align-items: stretch;
}

.dayul-halloween-block::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #cfcfcf;
  transform: translateX(-50%);
  pointer-events: none;
}

.dayul-halloween-content {
  display: flex;
  flex-direction: column;
  width: auto;
  max-width: none;
  margin-left: 0;
  padding-left: 0;
  box-sizing: border-box;
  min-width: 0;
  min-height: 100%;
}

.dayul-halloween-content .dayul-planning-subhead {
  margin: 0 0 1.25rem;
}

.dayul-halloween-collage {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0.3cm 0 0;
  min-height: clamp(22rem, 44vw, 34rem);
}

.dayul-halloween-copy {
  margin: auto 0 0;
  padding-top: calc(1.25rem + 0.5cm);
  color: var(--ink);
  font-size: clamp(0.92rem, 1.35vw, 1.02rem);
  line-height: 1.65;
  max-width: none;
  width: 100%;
}

.dayul-halloween-item {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: transparent;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), z-index 0s;
  will-change: transform;
}

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

@media (hover: hover) and (pointer: fine) {
  .dayul-halloween-item:hover {
    z-index: 20;
  }

  .dayul-halloween-item--1:hover { transform: rotate(-7deg) translateY(-1rem) scale(1.18); }
  .dayul-halloween-item--2:hover { transform: rotate(6deg) translateY(-1rem) scale(1.18); }
  .dayul-halloween-item--3:hover { transform: rotate(8deg) translateY(-1rem) scale(1.18); }
  .dayul-halloween-item--4:hover { transform: rotate(-5deg) translateY(-1rem) scale(1.18); }
  .dayul-halloween-item--5:hover { transform: rotate(7deg) translateY(-1rem) scale(1.18); }
  .dayul-halloween-item--6:hover { transform: rotate(-6deg) translateY(-1rem) scale(1.18); }
}

.dayul-halloween-item--1 {
  top: 5%;
  left: 2%;
  width: 30%;
  height: 44%;
  z-index: 3;
  transform: rotate(-7deg);
  border-radius: 1.1em 0.35em 1.25em 0.5em / 0.85em 1.1em 0.4em 1em;
}

.dayul-halloween-item--2 {
  top: 1%;
  left: calc(29% + 0.8cm);
  width: 26%;
  height: 48%;
  z-index: 4;
  transform: rotate(6deg);
  border-radius: 0.4em 1.2em 0.5em 1.05em / 1.05em 0.45em 1.15em 0.5em;
}

.dayul-halloween-item--3 {
  top: 4%;
  right: 3%;
  width: 35%;
  height: 42%;
  z-index: 2;
  transform: rotate(8deg);
  border-radius: 0.9em 0.4em 1.3em 0.45em / 0.5em 1em 0.55em 1.15em;
}

.dayul-halloween-item--4 {
  bottom: 5%;
  left: 6%;
  width: 33%;
  height: 40%;
  z-index: 5;
  transform: rotate(-5deg);
  border-radius: 0.55em 1.1em 0.4em 1.2em / 1em 0.5em 1.1em 0.45em;
}

.dayul-halloween-item--5 {
  bottom: 1%;
  left: 36%;
  width: 28%;
  height: 46%;
  z-index: 6;
  transform: rotate(7deg);
  border-radius: 1.15em 0.45em 0.9em 0.55em / 0.55em 1.15em 0.45em 1em;
}

.dayul-halloween-item--6 {
  bottom: 7%;
  right: 3%;
  width: 32%;
  height: 44%;
  z-index: 3;
  transform: rotate(-6deg);
  border-radius: 0.45em 1.05em 0.7em 1.15em / 1.1em 0.5em 1em 0.45em;
}

@media (max-width: 700px) {
  .dayul-halloween-block::after {
    display: none;
  }

  .dayul-halloween-block {
    display: block;
  }

  .dayul-planning-subhead--activities {
    position: static;
    width: auto;
    margin: 0 0 0.85rem;
  }

  .dayul-activities {
    position: static;
    width: 100%;
    margin: 0 0 1.75rem;
  }

  .dayul-activities-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .dayul-halloween-content {
    width: 100%;
    max-width: none;
    margin-left: 0;
    padding-left: 0;
  }

  .dayul-halloween-collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    min-height: 0;
    width: 100%;
    max-width: none;
  }

  .dayul-halloween-item {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3 / 4;
    transform: none !important;
  }
}

.dayul-other-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  width: 100%;
  position: relative;
}

.dayul-other-col {
  min-width: 0;
  position: relative;
  max-width: none;
}

.dayul-other-title {
  margin: 0 0 0.85rem;
  color: var(--ink);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
}

.dayul-other-title--foot {
  margin: 2rem 0 0.85rem;
  text-align: left;
}

.dayul-foot-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(36.4rem, 48%);
  grid-template-rows: auto auto;
  column-gap: clamp(1.25rem, 3vw, 2.5rem);
  row-gap: calc(1.25rem + 3cm);
  align-items: start;
  width: 100%;
}

.dayul-foot-copy.project-body {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  max-width: none;
  width: auto;
  margin: 0;
}

.dayul-foot-copy p {
  margin: 0;
  padding-bottom: 1rem;
  border-bottom: 3px solid #cfcfcf;
  color: var(--ink);
  font-size: clamp(0.92rem, 1.35vw, 1.02rem);
  line-height: 1.65;
}

.dayul-other-media.dayul-other-media--foot {
  grid-column: 2;
  grid-row: 1;
  display: block;
  width: 100%;
  margin: 0;
  flex: none;
}

.dayul-foot-signage-row {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  align-items: flex-end;
  gap: clamp(0.85rem, 2vw, 1.35rem);
  margin-top: -7cm;
  width: 100%;
}

.dayul-foot-signage {
  margin: 0;
  overflow: hidden;
  border-radius: 1em 0.35em 1.4em 0.55em / 0.9em 1.1em 0.45em 1.2em;
  width: min(100%, 43.68rem);
  flex: 0 1 auto;
}

.dayul-foot-signage img {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: center center;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.dayul-foot-signage-text {
  flex: 1 1 0;
  min-width: 12rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.dayul-other-title--signage {
  margin: 0 0 0.65rem;
  text-align: left;
}

.dayul-foot-signage-copy {
  margin: 0;
  padding-bottom: 0;
  border-bottom: 0;
  color: var(--ink);
  font-size: clamp(0.88rem, 1.25vw, 0.98rem);
  line-height: 1.55;
}

@media (hover: hover) and (pointer: fine) {
  .dayul-foot-signage:hover img {
    transform: scale(1.06);
  }
}

@media (max-width: 700px) {
  .dayul-foot-row {
    grid-template-columns: 1fr;
    row-gap: 1.25rem;
  }

  .dayul-other-media.dayul-other-media--foot {
    grid-column: 1;
    grid-row: auto;
    width: min(36.4rem, 100%);
  }

  .dayul-foot-signage-row {
    flex-direction: column;
    align-items: stretch;
    margin-top: 0;
  }
}

.dayul-other-media-row {
  display: flex;
  align-items: stretch;
  gap: clamp(0.85rem, 2vw, 1.35rem);
  width: 100%;
}

.dayul-other-card-side {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: 1 1 0;
  min-width: min(100%, 28rem);
  max-width: 52rem;
  width: auto;
  margin-left: 0.5cm;
  overflow: visible;
}

.dayul-other-card-text {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
}

.dayul-other-title--card {
  margin: 0 0 0.85rem;
  text-align: left;
}

.dayul-other-card-copy {
  width: 100%;
  max-width: none;
  margin: auto 0 0.85rem;
}

.dayul-other-card-copy.project-body {
  width: 100%;
  max-width: none;
}

.dayul-other-card-copy p {
  margin: 0 0 0.75rem;
  color: var(--ink);
  font-size: clamp(0.88rem, 1.25vw, 0.98rem);
  line-height: 1.55;
}

.dayul-other-card-copy p:last-child {
  margin-bottom: 0;
}

.dayul-other-media {
  margin: 0;
  flex: 0 0 auto;
  width: min(36.4rem, 42%);
  overflow: hidden;
  border-radius: 1em 0.35em 1.4em 0.55em / 0.9em 1.1em 0.45em 1.2em;
}

.dayul-other-alt-wrap {
  position: relative;
  width: 100%;
  max-width: min(36.4rem, 100%);
  margin-top: 0;
}

.dayul-other-alt-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: calc(-1 * clamp(0.75rem, 1.5vw, 1.25rem) - 6cm);
  width: 3px;
  background: #cfcfcf;
  pointer-events: none;
}

.dayul-other-media--alt {
  position: relative;
  margin-left: 0;
  margin-top: 0;
  width: 100%;
  max-width: none;
  overflow: visible;
  border-radius: 0;
}

.dayul-other-media--alt img {
  border-radius: 0.4em 1.2em 0.5em 1.1em / 1.05em 0.45em 1.15em 0.5em;
}

.dayul-other-media--alt::after {
  content: none;
}

.dayul-other-media img {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: center center;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (max-width: 700px) {
  .dayul-other-media-row {
    flex-direction: column;
    align-items: stretch;
  }

  .dayul-other-media,
  .dayul-other-card-side {
    width: min(36.4rem, 100%);
    max-width: none;
    margin-left: 0;
  }

  .dayul-other-card-copy {
    margin-top: 0.85rem;
  }

  .dayul-other-media--alt::after,
  .dayul-other-alt-wrap::after {
    display: none;
  }
}

@media (hover: hover) and (pointer: fine) {
  .dayul-other-media:hover img {
    transform: scale(1.04);
  }
}

.dayul-merch-body.project-body {
  display: flex;
  align-items: flex-start;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  width: 100%;
  max-width: none;
  container-type: inline-size;
}

.dayul-merch-col--lead {
  flex: 0 0 35%;
  max-width: 35%;
}

.dayul-merch-media {
  margin: 1rem 0 0;
  overflow: hidden;
  border-radius: 1em 0.35em 1.4em 0.55em / 0.9em 1.1em 0.45em 1.2em;
}

.dayul-merch-media--side {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  max-width: none;
  margin-top: 0;
  border-radius: 0.4em 1.2em 0.5em 1.1em / 1.05em 0.45em 1.15em 0.5em;
}

.dayul-merch-tote-row {
  display: flex;
  align-items: flex-start;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  width: 100cqi;
  margin-top: calc(1rem + 1cm);
  margin-left: calc(-35cqi - clamp(1.25rem, 3vw, 2.5rem));
}

.dayul-merch-tote-note {
  flex: 0 0 35%;
  max-width: 35%;
  margin: 0;
  text-align: right;
  color: var(--ink);
  font-size: clamp(0.92rem, 1.35vw, 1.02rem);
  line-height: 1.55;
}

.dayul-merch-body p.dayul-merch-tote-note {
  margin-top: 6.5cm;
  margin-bottom: 0;
}

.dayul-merch-tote-count {
  display: inline-block;
  color: var(--purple);
  font-weight: 700;
  font-size: clamp(4.5rem, 9vw, 7rem);
  line-height: 1.1;
  margin-top: 0.5cm;
}

.dayul-merch-tote-label {
  font-weight: 400;
  color: var(--ink);
  vertical-align: baseline;
}

.dayul-merch-media img {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: center center;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .dayul-merch-media:hover img {
    transform: scale(1.04);
  }
}

.dayul-merch-col--side {
  flex: 0 0 35%;
  max-width: 35%;
  min-width: 0;
  overflow: visible;
}

.dayul-merch-side-copy {
  position: relative;
}

.dayul-merch-side-copy::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: calc(-1 * clamp(0.75rem, 1.5vw, 1.25rem));
  width: 3px;
  background: #cfcfcf;
  pointer-events: none;
}

.dayul-merch-body p {
  margin: 0 0 1rem;
  color: var(--ink);
}

.dayul-merch-col p:last-child {
  margin-bottom: 0;
}

.dayul-merch-body .luag-list {
  margin: 0.35rem 0 0;
}

@media (max-width: 700px) {
  .dayul-merch-body {
    flex-direction: column;
  }

  .dayul-merch-col--lead {
    flex: 1 1 auto;
    max-width: none;
  }

  .dayul-merch-col--side {
    flex: 1 1 auto;
    max-width: none;
  }

  .dayul-merch-tote-row {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-left: 0;
  }

  .dayul-merch-tote-note {
    flex: none;
    max-width: none;
    text-align: left;
  }

  .dayul-merch-media--side {
    width: 100%;
  }

  .dayul-merch-side-copy::after {
    display: none;
  }
}

.luag-hero-panel--nabi {
  overflow: hidden;
}

.luag-hero-panel--nabi img {
  margin-top: -1cm;
  margin-bottom: -1cm;
  width: 100%;
  max-width: none;
}

.luag-hero-panel--luag {
  overflow: hidden;
  width: calc(100% - 2.5cm);
}

.luag-hero-panel--luag img {
  margin-top: -1cm;
  margin-bottom: -1cm;
  width: 100%;
  max-width: none;
  height: auto;
}

.luag-hero-panel--tricoard {
  width: calc((var(--hero-img-h) - 1cm) * 682 / 1024);
  max-width: none;
  height: calc(var(--hero-img-h) - 1cm);
  overflow: hidden;
}

.luag-hero-panel--tricoard img {
  width: 100%;
  height: calc(100% + 4cm);
  max-width: none;
  margin-top: -2cm;
  margin-bottom: -2cm;
  object-fit: cover;
  object-position: center center;
}

.luag-hero-stage--tricoard {
  grid-template-columns: max-content minmax(12rem, 1fr);
  gap: 5rem; /* match LUAG / Dayul ~80px */
}

.luag-hero-stage--tricoard .luag-hero-copy {
  margin-left: -1cm !important;
}

.luag-hero-stage--tricoard .luag-hero-copy .project-body {
  max-width: 48rem;
}

.luag-hero-panel--lastcall {
  width: auto;
  max-width: 90%;
  height: calc(var(--hero-img-h) - 2cm);
  overflow: hidden;
}

.luag-hero-panel--lastcall img {
  width: auto;
  height: 100%;
  max-width: none;
}

.luag-hero-stage--lastcall {
  grid-template-columns: max-content minmax(12rem, 1fr);
  gap: clamp(0.5rem, 1.2vw, 1rem);
}

.luag-hero-stage--lastcall .luag-hero-copy {
  margin-left: -2.75rem;
}

.lastcall-overview {
  width: 100%;
  margin: -0.3cm 0 2.5rem;
  padding-top: 0.2cm;
  padding-bottom: 3.25rem;
  border-bottom: 3px solid #cfcfcf;
}

.lastcall-overview-body.project-body {
  width: 100%;
  max-width: none;
  margin: 0;
}

.lastcall-overview-body p {
  margin: 0;
  color: var(--ink);
}

.lastcall-progress {
  width: 100%;
  margin: 0 0 2.5rem;
  padding-bottom: 3.25rem;
  border-bottom: 3px solid #cfcfcf;
}

.lastcall-mechanics-title-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  margin: calc(2.4rem - 2cm) 0 0.85rem;
}

.lastcall-mechanics-title-row .project-subhead {
  margin: 0;
  line-height: 1;
}

.lastcall-mechanics-dice {
  flex: 0 0 auto;
  width: clamp(6.4rem, 12vw, 9rem);
  height: auto;
  display: block;
  transform: translate(-1.3cm, 0.6cm);
  pointer-events: none;
  user-select: none;
}

.lastcall-mechanics-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  width: 100%;
  margin: 1.75rem 0 2rem;
}

.lastcall-cardstack {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  aspect-ratio: 16 / 9;
  min-height: 18rem;
  transform: translateY(1cm);
}

.lastcall-mechanics-copy.project-body {
  width: 100%;
  max-width: none;
  margin: 0;
}

.lastcall-mechanics-copy p {
  margin: 0 0 0.9rem;
  color: var(--ink);
}

.lastcall-mechanics-copy p:last-child {
  margin-bottom: 0;
}

.lastcall-mechanics-copy .luag-list {
  margin: 0 0 0.9rem;
}

.lastcall-playability-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: calc(clamp(1.25rem, 3vw, 2.5rem) - 1.2cm);
  align-items: center;
  width: 100%;
  margin: calc(0.5rem - 2cm) 0 0;
}

.lastcall-playability-icon {
  position: relative;
  width: min(52vw, 45.5rem);
  margin: 0;
  display: block;
  justify-self: end;
  transform: translate(1.9cm, 1.2cm) rotate(10deg);
  transform-origin: center center;
}

.lastcall-playability-body.project-body {
  width: 100%;
  max-width: none;
  margin: 0;
  justify-self: start;
}

.lastcall-playability-glasses {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
  transform: translateY(-1.5cm) scale(0.8) rotate(-10deg);
  transform-origin: center center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.lastcall-playability-ask {
  position: absolute;
  left: 0.5%;
  top: -3%;
  width: 78%;
  height: auto;
  overflow: visible;
  opacity: 0;
  transform: translateY(0.45rem) rotate(-6deg) scale(0.92);
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.lastcall-playability-ask-text {
  fill: var(--purple);
  font-size: 20.4px;
  letter-spacing: 0.04em;
  font-family: var(--font-display);
}

@media (hover: hover) and (pointer: fine) {
  .lastcall-playability-icon:hover .lastcall-playability-glasses,
  .lastcall-playability-icon:focus-visible .lastcall-playability-glasses {
    transform: translateY(-1.5cm) scale(0.8) rotate(0deg);
  }

  .lastcall-playability-icon:hover .lastcall-playability-ask,
  .lastcall-playability-icon:focus-visible .lastcall-playability-ask {
    opacity: 1;
    transform: translate(0.2cm, -0.6cm) rotate(-6deg) scale(1);
  }
}

.lastcall-playability-body p {
  margin: 0 0 0.9rem;
  color: var(--ink);
}

.lastcall-playability-body p:last-child {
  margin-bottom: 0;
}

.lastcall-structure {
  margin-top: calc(1cm - 2.5cm);
  margin-bottom: 2.5rem;
  padding-bottom: 3.25rem;
  border-bottom: 3px solid #cfcfcf;
}

.lastcall-structure-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
  width: 100%;
}

.lastcall-structure-body.project-body {
  width: 100%;
  max-width: none;
  margin: 0;
}

.lastcall-structure-body p {
  margin: 0 0 0.9rem;
  color: var(--ink);
}

.lastcall-structure-body p:last-child {
  margin-bottom: 0;
}

.lastcall-structure-media {
  margin: 0;
  width: 100%;
  overflow: hidden;
  border-radius: 1em 0.35em 1.4em 0.55em / 0.9em 1.1em 0.45em 1.2em;
}

.lastcall-structure-media img {
  display: block;
  width: 100%;
  height: auto;
}

.lastcall-conclusion-body.project-body {
  width: 100%;
  max-width: none;
  margin: 0;
}

.lastcall-conclusion-body p {
  margin: 0;
  color: var(--ink);
}

.lastcall-cardstack-card {
  position: absolute;
  margin: 0;
  width: min(48%, 22rem);
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: 1em 0.35em 1.4em 0.55em / 0.9em 1.1em 0.45em 1.2em;
  overflow: hidden;
  background: #111;
  box-shadow:
    0 0.85rem 1.8rem rgba(0, 0, 0, 0.16),
    0 0.2rem 0.45rem rgba(0, 0, 0, 0.1);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    z-index 0s linear 0.35s;
  cursor: pointer;
  will-change: transform;
}

.lastcall-cardstack-card--left {
  left: 4%;
  top: 12%;
  z-index: 2;
  transform: rotate(-18deg) translateY(0.4rem);
}

.lastcall-cardstack-card--right {
  right: 4%;
  top: 10%;
  z-index: 1;
  transform: rotate(12deg) translateY(0.55rem);
}

.lastcall-cardstack-card--center {
  left: 50%;
  top: 4%;
  z-index: 3;
  transform: translateX(-50%) rotate(-1deg);
  width: min(52%, 24rem);
}

.lastcall-cardstack-card:hover,
.lastcall-cardstack-card.is-up {
  z-index: 8;
  box-shadow:
    0 1.6rem 2.8rem rgba(0, 0, 0, 0.22),
    0 0.35rem 0.8rem rgba(0, 0, 0, 0.12);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    z-index 0s;
}

.lastcall-cardstack-card--left:hover,
.lastcall-cardstack-card--left.is-up {
  transform: rotate(-10deg) translateY(-1.1rem) scale(1.08);
}

.lastcall-cardstack-card--right:hover,
.lastcall-cardstack-card--right.is-up {
  transform: rotate(6deg) translateY(-1.1rem) scale(1.08);
}

.lastcall-cardstack-card--center:hover,
.lastcall-cardstack-card--center.is-up {
  transform: translateX(-50%) rotate(0deg) translateY(-1.25rem) scale(1.1);
}

.lastcall-cardstack-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

body.custom-cursor-active .lastcall-cardstack,
body.custom-cursor-active .lastcall-cardstack *,
body.custom-cursor-active .lastcall-cardstack-card {
  cursor: none !important;
}

.lastcall-progress-body.project-body {
  width: 100%;
  max-width: none;
  margin: 0;
}

.lastcall-progress-body p {
  margin: 0 0 1rem;
  color: var(--ink);
}

.lastcall-progress-body p:last-child {
  margin-bottom: 0;
}

.lastcall-progress-body .luag-list {
  margin: 0 0 1rem;
}

.lastcall-progress-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
  width: 100%;
}

.lastcall-progress-visual {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  min-width: 0;
}

.lastcall-visual-body.project-body {
  width: 100%;
  max-width: none;
  margin: 0;
  text-align: left;
}

.lastcall-visual-body p {
  margin: 0 0 1rem;
  color: var(--ink);
}

.lastcall-visual-body p:last-child {
  margin-bottom: 0;
}

.lastcall-visual-body .luag-list {
  margin: 0 0 1rem;
}

.lastcall-figma-embed {
  width: 100%;
  max-width: none;
  margin: 0;
  aspect-ratio: 800 / 450;
  border: 1px solid rgba(0, 0, 0, 0.1);
  overflow: hidden;
  background: #fff;
  position: relative;
}

.lastcall-figma-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.lastcall-figma-embed.is-live iframe {
  pointer-events: auto;
}

body.custom-cursor-active .lastcall-figma-embed,
body.custom-cursor-active .lastcall-figma-embed * {
  cursor: none !important;
}

.luag-hero-panel--umami {
  width: max-content;
  max-width: none;
  height: calc(var(--hero-img-h) - 2cm);
  overflow: hidden;
}

.luag-hero-panel--umami img {
  display: block;
  width: auto;
  height: 100%;
  max-width: none;
}

.luag-hero-stage--umami {
  grid-template-columns: max-content minmax(12rem, 1fr);
  gap: 3.9rem;
}

.umami-intro {
  position: relative;
}

.umami-title-row {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0 0 1.35rem;
  overflow: visible;
}

.umami-intro .project-title {
  margin-bottom: 0;
  flex: 0 1 auto;
}

.umami-hero-floaters {
  position: absolute;
  left: 0;
  right: -6vw;
  top: 0;
  height: 0;
  margin: 0;
  pointer-events: none;
  overflow: visible;
  z-index: 2;
}

.umami-hero-floater {
  position: absolute;
  display: block;
  height: auto;
  width: auto;
  max-height: 2.17rem;
  left: 0;
  top: 0;
  user-select: none;
  will-change: transform;
  transform-origin: center center;
}

@media (prefers-reduced-motion: reduce) {
  .umami-hero-floater {
    display: none;
  }
}

.nabi-overview {
  width: 100%;
  margin: 0 0 1.75rem;
  padding-top: 0.15cm;
}

.nabi-overview .project-subhead {
  margin: 2rem 0 1rem;
  text-align: left;
}

.nabi-overview-row {
  display: grid;
  grid-template-columns: minmax(0, calc(50% + 0.5cm)) minmax(0, calc(50% - 0.5cm));
  width: 100%;
  align-items: stretch;
  position: relative;
}

.nabi-overview-row::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% + 0.5cm);
  width: 3px;
  background: #cfcfcf;
  transform: translateX(-50%);
  pointer-events: none;
}

.nabi-overview-col {
  min-width: 0;
}

.nabi-overview-label {
  margin: 0 0 0.85rem;
  color: #000;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.45;
}

.nabi-overview-body {
  max-width: none;
}

.nabi-overview-body p {
  margin: 0 0 1rem;
  color: var(--ink);
}

.nabi-overview-body p:last-child {
  margin-bottom: 0;
}

.nabi-overview-row .nabi-overview-col:first-child {
  padding-right: clamp(1rem, 2.5vw, 2rem);
}

.nabi-overview-row .nabi-overview-col:last-child {
  padding-left: clamp(1rem, 2.5vw, 2rem);
}

.tricoard-overview {
  width: 100%;
  margin: 2.5rem 0 3rem;
  padding-bottom: 3.25rem;
  border-bottom: 3px solid #cfcfcf;
}

.tricoard-overview .project-subhead {
  margin-top: 0;
  margin-bottom: 1rem;
}

.tricoard-overview-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}

.tricoard-overview-copy,
.tricoard-overview-copy.project-body {
  width: 100%;
  max-width: none;
  margin: 0;
}

.tricoard-overview-copy p {
  margin: 0 0 1rem;
  color: var(--ink);
}

.tricoard-overview-copy p:last-child {
  margin-bottom: 0;
}

.tricoard-overview-media {
  margin: 0;
  width: 100%;
  overflow: hidden;
  border-radius: 1em 0.35em 1.4em 0.55em / 0.9em 1.1em 0.45em 1.2em;
  background: transparent;
}

.tricoard-overview-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 800px) {
  .tricoard-overview-row {
    grid-template-columns: 1fr;
  }
}

.tricoard-research {
  width: 100%;
  margin: 2.5rem 0 0.5rem;
}

.tricoard-research .project-subhead {
  margin: 0 0 0.85rem;
}

.tricoard-progress {
  width: 100%;
  margin: 3rem 0 0.5rem;
  padding-bottom: 3.25rem;
  border-bottom: 3px solid #cfcfcf;
}

.tricoard-progress .project-subhead {
  margin: 0 0 calc(1.35rem + 1cm);
}

.tricoard-sketch-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1.35rem);
  align-items: center;
  width: 100%;
  container-type: inline-size;
}

.tricoard-sketch {
  margin: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 24px rgba(40, 30, 25, 0.12);
  width: 100%;
  aspect-ratio: unset;
  height: calc((100cqw - 3 * clamp(0.75rem, 2cqw, 1.35rem)) / 4 * 4 / 3 - 0.5cm);
}

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

.tricoard-sketch--1 {
  transform: rotate(-3.5deg);
  border-radius: 1em 0.35em 1.15em 0.5em / 0.85em 1.1em 0.4em 1em;
}

.tricoard-sketch--2 {
  transform: rotate(2deg);
  border-radius: 0.4em 1.2em 0.5em 1em / 1.05em 0.45em 1.15em 0.5em;
}

.tricoard-sketch--3 {
  transform: rotate(-1.5deg);
  border-radius: 0.85em 0.45em 1.25em 0.4em / 0.5em 1em 0.55em 1.15em;
}

.tricoard-sketch--4 {
  transform: rotate(3deg);
  border-radius: 0.5em 1.05em 0.4em 1.2em / 1.1em 0.5em 1em 0.45em;
}

.tricoard-sketch-caption {
  margin: 1.35rem 0 0;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--gray);
}

.tricoard-progress-body,
.tricoard-progress-body.project-body {
  width: 100%;
  max-width: none;
  margin: 1.5rem 0 0;
}

.tricoard-progress-body p {
  margin: 0 0 1rem;
  color: var(--ink);
  max-width: none;
}

.tricoard-progress-body p:last-child {
  margin-bottom: 0;
}

.tricoard-deliverable {
  width: 100%;
  margin: 2.5rem 0 0.5rem;
}

.tricoard-deliverable .project-subhead {
  margin: 0 0 1.25rem;
}

.tricoard-final-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  align-items: stretch;
  width: 65%;
  max-width: 65%;
  margin: 0 auto;
}

.tricoard-final-media {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 1em 0.35em 1.4em 0.55em / 0.9em 1.1em 0.45em 1.2em;
  background: transparent;
  cursor: pointer;
  display: block;
  width: 100%;
}

.tricoard-final-media:last-child {
  border-radius: 0.4em 1.2em 0.5em 1.1em / 1.05em 0.45em 1.15em 0.5em;
}

.tricoard-final-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .tricoard-final-media:hover img {
    transform: scale(1.04);
  }
}

.tricoard-final-caption {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--gray);
}

.tricoard-final-panel .photo-panel-nav {
  background: transparent;
  border: 0;
  padding: 0.35rem;
}

.tricoard-final-panel .photo-panel-nav img {
  display: block;
  width: clamp(2.4rem, 4vw, 3.2rem);
  height: auto;
}

body.custom-cursor-active .tricoard-final-media,
body.custom-cursor-active .tricoard-final-panel,
body.custom-cursor-active .tricoard-final-panel * {
  cursor: none !important;
}

@media (max-width: 800px) {
  .tricoard-final-row {
    grid-template-columns: 1fr;
  }
}

.tricoard-takeaways {
  width: 100%;
  margin: 2.5rem 0 0.5rem;
}

.tricoard-takeaways .project-subhead {
  margin: 0 0 0.85rem;
}

.tricoard-takeaways-body,
.tricoard-takeaways-body.project-body {
  width: 100%;
  max-width: none;
  margin: 0;
}

.tricoard-takeaways-body p {
  margin: 0 0 1rem;
  color: var(--ink);
  max-width: none;
}

.tricoard-takeaways-body p:last-child {
  margin-bottom: 0;
}

@media (hover: hover) and (pointer: fine) {
  .tricoard-sketch {
    transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.3s ease;
  }

  .tricoard-sketch--1:hover {
    transform: rotate(-3.5deg) translateY(-0.55rem) scale(1.04);
    box-shadow: 0 16px 32px rgba(40, 30, 25, 0.18);
  }

  .tricoard-sketch--2:hover {
    transform: rotate(2deg) translateY(-0.55rem) scale(1.04);
    box-shadow: 0 16px 32px rgba(40, 30, 25, 0.18);
  }

  .tricoard-sketch--3:hover {
    transform: rotate(-1.5deg) translateY(-0.55rem) scale(1.04);
    box-shadow: 0 16px 32px rgba(40, 30, 25, 0.18);
  }

  .tricoard-sketch--4:hover {
    transform: rotate(3deg) translateY(-0.55rem) scale(1.04);
    box-shadow: 0 16px 32px rgba(40, 30, 25, 0.18);
  }
}

@media (max-width: 800px) {
  .tricoard-sketch-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 0.85rem;
  }

  .tricoard-sketch {
    height: calc((100cqw - 0.85rem) / 2 * 4 / 3 - 0.5cm);
  }
}

.tricoard-research-body,
.tricoard-research-body.project-body {
  width: 100%;
  max-width: none;
  margin: 0;
}

.tricoard-research-body p {
  margin: 0;
  color: var(--ink);
  max-width: none;
}

.tricoard-collage {
  position: relative;
  width: 100%;
  max-width: 58rem;
  margin: 1.75rem auto 0;
  min-height: clamp(32rem, 66vw, 45rem);
}

.tricoard-collage-item {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 12px 28px rgba(40, 30, 25, 0.14);
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.35s ease, z-index 0s;
  will-change: transform;
}

.tricoard-collage-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .tricoard-collage-item:hover {
    z-index: 20;
    box-shadow: 0 22px 40px rgba(40, 30, 25, 0.22);
  }

  .tricoard-collage-item--1:hover { transform: rotate(-4deg) translateY(-0.85rem) scale(1.06); }
  .tricoard-collage-item--2:hover { transform: rotate(2.5deg) translateY(-0.85rem) scale(1.06); }
  .tricoard-collage-item--3:hover { transform: rotate(3.5deg) translateY(-0.85rem) scale(1.06); }
  .tricoard-collage-item--4:hover { transform: rotate(-2deg) translateY(-0.85rem) scale(1.06); }
  .tricoard-collage-item--5:hover { transform: rotate(4deg) translateY(-0.85rem) scale(1.06); }
  .tricoard-collage-item--6:hover { transform: rotate(2deg) translateY(-0.85rem) scale(1.06); }
  .tricoard-collage-item--7:hover { transform: rotate(-3deg) translateY(-0.85rem) scale(1.06); }
  .tricoard-collage-item--8:hover { transform: rotate(3deg) translateY(-0.85rem) scale(1.06); }
}

.tricoard-collage-item--1 {
  top: 2%;
  left: 0;
  width: 28%;
  height: 42%;
  z-index: 3;
  transform: rotate(-4deg);
  border-radius: 1.2em 0.35em 1.1em 0.55em / 0.85em 1.15em 0.4em 1em;
}

.tricoard-collage-item--2 {
  top: 0;
  left: 26%;
  width: 34%;
  height: 36%;
  z-index: 2;
  transform: rotate(2.5deg);
  border-radius: 0.4em 1.3em 0.55em 1em / 1.1em 0.45em 1.2em 0.5em;
}

.tricoard-collage-item--3 {
  top: 4%;
  right: 0;
  width: 36%;
  height: 40%;
  z-index: 4;
  transform: rotate(3.5deg);
  border-radius: 0.9em 0.4em 1.35em 0.45em / 0.5em 1em 0.55em 1.2em;
}

.tricoard-collage-item--4 {
  top: 38%;
  left: 8%;
  width: 40%;
  height: 34%;
  z-index: 5;
  transform: rotate(-2deg);
  border-radius: 0.55em 1.1em 0.4em 1.25em / 1em 0.5em 1.15em 0.45em;
}

.tricoard-collage-item--5 {
  top: 34%;
  right: 6%;
  width: 42%;
  height: 32%;
  z-index: 3;
  transform: rotate(4deg);
  border-radius: 1.15em 0.45em 0.9em 0.55em / 0.55em 1.2em 0.45em 1em;
}

.tricoard-collage-item--6 {
  bottom: 2%;
  left: 0;
  width: 32%;
  height: 30%;
  z-index: 4;
  transform: rotate(2deg);
  border-radius: 0.45em 1em 0.7em 1.15em / 1.15em 0.5em 1em 0.45em;
}

.tricoard-collage-item--7 {
  bottom: 0;
  left: 30%;
  width: 36%;
  height: 34%;
  z-index: 6;
  transform: rotate(-3deg);
  border-radius: 1em 0.5em 1.2em 0.4em / 0.5em 1.1em 0.45em 1.2em;
}

.tricoard-collage-item--8 {
  bottom: 4%;
  right: 0;
  width: 30%;
  height: 36%;
  z-index: 5;
  transform: rotate(3deg);
  border-radius: 0.5em 1.2em 0.45em 0.95em / 1.1em 0.45em 1.15em 0.55em;
}

@media (max-width: 800px) {
  .tricoard-collage {
    min-height: 58rem;
  }

  .tricoard-collage-item--1 {
    top: 0;
    left: 2%;
    width: 48%;
    height: 22%;
  }

  .tricoard-collage-item--2 {
    top: 2%;
    left: auto;
    right: 0;
    width: 46%;
    height: 20%;
  }

  .tricoard-collage-item--3 {
    top: 23%;
    left: 0;
    right: auto;
    width: 56%;
    height: 18%;
  }

  .tricoard-collage-item--4 {
    top: 24%;
    left: auto;
    right: 0;
    width: 48%;
    height: 20%;
  }

  .tricoard-collage-item--5 {
    top: 46%;
    left: 4%;
    right: auto;
    width: 58%;
    height: 18%;
  }

  .tricoard-collage-item--6 {
    top: 48%;
    bottom: auto;
    left: auto;
    right: 0;
    width: 42%;
    height: 18%;
  }

  .tricoard-collage-item--7 {
    top: 68%;
    bottom: auto;
    left: 0;
    width: 52%;
    height: 22%;
  }

  .tricoard-collage-item--8 {
    top: 70%;
    bottom: auto;
    right: 0;
    width: 46%;
    height: 24%;
  }
}

.nabi-article {
  width: 100%;
  margin: 0 0 4rem;
  padding: 0;
  box-sizing: border-box;
}

.nabi-article:has(+ .nabi-takeaways) {
  margin-bottom: 0.5rem;
}

.nabi-takeaways {
  width: 100%;
  margin: 2.5rem 0 0.5rem;
}

.nabi-takeaways .project-subhead {
  margin: 0 0 0.85rem;
}

.nabi-takeaways-body,
.nabi-takeaways-body.project-body {
  max-width: none;
  width: 100%;
}

.nabi-takeaways-body p {
  margin: 0 0 1rem;
  color: var(--ink);
  max-width: none;
  width: 100%;
}

.nabi-takeaways-body p:last-child {
  margin-bottom: 0;
}

.project.luag-page:has(.nabi-article) {
  padding-bottom: 2.5vh;
}

.project-page:has(.nabi-article) .to-top {
  margin-top: calc(0.35rem + 1cm);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
}

.nabi-article--divided {
  padding-bottom: 3.25rem;
  margin-bottom: 3.25rem;
  border-bottom: 3px solid #cfcfcf;
}

.nabi-article-title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 400;
  color: var(--purple);
  text-align: left;
}

.nabi-article--divided .nabi-article-title {
  margin-top: 1cm;
}

.nabi-flipbook {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 0 5cm;
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
}

.nabi-flipbook-prev {
  grid-column: 1;
}

.nabi-flipbook-stage {
  position: relative;
  grid-column: 2;
  width: 100%;
  max-width: 46rem;
  margin: 0 auto;
  perspective: 2400px;
  overflow: visible;
}

.nabi-flipbook-next {
  grid-column: 3;
}

.nabi-flipbook-book {
  position: relative;
  width: 100%;
  aspect-ratio: 2520 / 1620;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.nabi-flipbook-book[data-mode="spread"] {
  transform: translateX(0);
}

/* Cover mode: center on single page or spine */
.nabi-flipbook-book[data-mode="cover"][data-view="0"] {
  transform: translateX(-25%);
}

.nabi-flipbook-book[data-mode="cover"][data-view="1"] {
  transform: translateX(0);
}

.nabi-flipbook-book[data-mode="cover"][data-view="2"] {
  transform: translateX(25%);
}

/* Each sheet lives on the right half; spine = center of the book */
.nabi-flipbook-sheet {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  transform-origin: left center;
  transform-style: preserve-3d;
  transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
  cursor: grab;
}

.nabi-flipbook-sheet--base {
  cursor: default;
  pointer-events: none;
}

.nabi-flipbook-sheet.is-dragging {
  transition: none;
  cursor: grabbing;
}

.nabi-flipbook-sheet.is-flipped {
  transform: rotateY(-180deg);
}

.nabi-flipbook-side {
  position: absolute;
  inset: 0;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: #f7f3ea;
  box-shadow: 0 10px 28px rgba(44, 24, 16, 0.12);
}

.nabi-flipbook-side--front {
  border-radius: 0.12em 0.55em 0.65em 0.1em / 0.3em 0.45em 0.22em 0.4em;
}

.nabi-flipbook-side--back {
  transform: rotateY(180deg);
  border-radius: 0.55em 0.12em 0.1em 0.65em / 0.45em 0.3em 0.4em 0.22em;
}

.nabi-flipbook-side:empty {
  background: transparent;
  box-shadow: none;
}

.nabi-flipbook-side img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.nabi-flipbook-book::before {
  content: "";
  position: absolute;
  top: 3%;
  bottom: 3%;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: rgba(44, 24, 16, 0.12);
  pointer-events: none;
  z-index: 0;
}

.nabi-flipbook-book[data-mode="cover"][data-view="0"]::before,
.nabi-flipbook-book[data-mode="cover"][data-view="2"]::before {
  opacity: 0;
}

.nabi-flipbook-nav {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0.35rem 0.2rem;
  cursor: pointer;
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.2s ease;
  line-height: 0;
}

.nabi-flipbook-nav img {
  display: block;
  width: clamp(2.4rem, 4.5vw, 3.35rem);
  height: auto;
  pointer-events: none;
}

.nabi-flipbook-nav:hover:not(:disabled) {
  opacity: 1;
  transform: scale(1.08);
}

.nabi-flipbook-nav:disabled {
  visibility: hidden;
  pointer-events: none;
}

.nabi-flipbook-meta {
  margin: 0.9rem 0 0;
  padding: 0 5cm;
  box-sizing: border-box;
  text-align: center;
  font-size: 0.92rem;
  opacity: 0.72;
}

.nabi-pdf-link {
  display: block;
  width: fit-content;
  margin: 2.25rem auto 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.2;
  color: var(--purple);
  text-decoration: none;
  text-align: center;
  border: none;
  border-bottom: 2px solid var(--purple);
  padding: 0 0 0.15rem;
  background: none;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.18s ease;
}

.nabi-pdf-link:hover {
  color: var(--purple-deep);
  border-bottom-color: var(--purple-deep);
  transform: scale(1.03);
}

.nabi-flip-panel {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3vh 3vw;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.nabi-flip-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nabi-flip-panel-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(40, 30, 45, 0.55);
}

.nabi-flip-panel-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: min(1100px, 100%);
  max-height: 92vh;
  padding: 1.1rem 1.25rem 1.4rem;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: auto;
}

.nabi-flip-panel-close {
  align-self: flex-end;
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0.15rem;
  margin: 0 0 0.55rem;
  line-height: 0;
  cursor: pointer;
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nabi-flip-panel-close img {
  display: block;
  width: clamp(1.85rem, 3.2vw, 2.35rem);
  height: auto;
  pointer-events: none;
}

.nabi-flip-panel-close:hover {
  opacity: 1;
  transform: scale(1.08);
}

.nabi-flip-panel-slot {
  width: 100%;
}

.nabi-flip-panel .nabi-flipbook {
  padding: 0;
  max-width: none;
}

.nabi-flip-panel .nabi-flipbook-stage {
  max-width: min(52rem, 92vw);
}

.nabi-flip-panel .nabi-flipbook-nav img {
  width: clamp(2.8rem, 5vw, 3.8rem);
}

body.nabi-flip-panel-open {
  overflow: hidden;
}

body.custom-cursor-active .nabi-flip-panel,
body.custom-cursor-active .nabi-flip-panel *,
body.custom-cursor-active .nabi-flip-panel-close {
  cursor: none !important;
}

@media (max-width: 900px) {
  .nabi-flipbook,
  .nabi-flipbook-meta {
    padding: 0 1.25rem;
  }

  .nabi-flipbook-stage {
    max-width: 100%;
  }

  .nabi-flip-panel {
    padding: 2vh 2vw;
  }

  .nabi-flip-panel-dialog {
    padding: 0.85rem 0.75rem 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nabi-flipbook-sheet,
  .nabi-flipbook-book {
    transition: none;
  }
}

@media (hover: hover) and (pointer: fine) {
  .luag-hero-panel:hover img {
    transform: scale(1.06);
  }

  .luag-media--signage:hover img,
  .luag-final-media:hover img {
    transform: scale(1.06);
  }
}

.luag-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  min-width: 0;
  margin-left: -2.75rem;
}

.luag-hero-copy .project-summary,
.luag-hero-copy .project-body {
  opacity: 0;
  transform: translateX(2.75rem);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.luag-hero-copy .project-body {
  transition-delay: 0.12s;
}

.luag-hero-copy.is-in .project-summary,
.luag-hero-copy.is-in .project-body {
  opacity: 1;
  transform: translateX(0);
}

.luag-hero-copy .project-summary {
  margin: 0;
  max-width: none;
  color: var(--gray);
}

.luag-hero-stage--umami .luag-hero-copy .project-summary,
.luag-hero-stage--umami .luag-hero-copy .project-body {
  margin-left: 1cm;
}

.luag-hero-stage:has(.luag-hero-panel--nabi) .luag-hero-copy .project-summary,
.luag-hero-stage:has(.luag-hero-panel--nabi) .luag-hero-copy .project-body {
  margin-left: -0.6cm;
}

.luag-hero-copy .project-summary p {
  margin: 0 0 0.35rem;
}

.luag-hero-copy .project-summary p:last-child {
  margin-bottom: 0;
}

.luag-hero-copy .project-body {
  width: 100%;
  max-width: none;
  margin: 0;
}

.luag-hero-copy .project-body p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(0.92rem, 1.35vw, 1.02rem);
  line-height: 1.65;
}

.project-index-tag {
  color: var(--gray);
  font-family: "Be Vietnam Pro", sans-serif;
  font-weight: 400;
  font-size: clamp(0.85rem, 1.3vw, 1rem);
  line-height: 1.2;
  margin: 0.35rem 0 0;
}

.project-index-tag--black {
  color: #000;
}

.luag-digital-label {
  margin-top: calc(0.35rem + 0.7cm);
  color: #000;
}

.luag-braille-label {
  margin-top: calc(0.35rem + 1.5cm);
}

.luag-em,
.umami-em,
.nabi-em,
.tricoard-em,
.lastcall-em,
.dayul-em {
  color: var(--ink);
  font-weight: 700;
}

.luag-digital-layout {
  --luag-digital-gap: 0.7cm;
  --luag-digital-cols: 1.35fr 1.15fr;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(14rem, 1.15fr);
  align-items: start;
  gap: var(--luag-digital-gap);
  width: 100%;
  margin: 1rem 0 0;
}

.luag-digital-visuals {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: 100%;
  min-width: 0;
}

.luag-digital-row {
  display: flex;
  align-items: stretch;
  gap: 0.45rem;
  width: 100%;
  margin: 0;
}

.luag-digital-row--galleries {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: clamp(1rem, 2.5vw, 2cm);
  width: 100%;
  margin-top: 1cm;
  justify-content: space-between;
}

.luag-digital-row--final-ill {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: clamp(1rem, 2.5vw, 2cm);
  width: 100%;
  margin-top: 1cm;
  justify-content: space-between;
}

.luag-braille-row {
  margin-top: 0.5cm;
}

.luag-braille-final-row {
  margin-top: 1.8cm;
}

.luag-braille-physical {
  width: 100%;
  margin-top: 1.2cm;
}

.luag-braille-physical .luag-digital-stage-label {
  margin: 0 0 0.55rem;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.4;
}

.luag-braille-physical-body {
  display: flex;
  align-items: flex-start;
  gap: 1.5cm;
  width: 100%;
  justify-content: flex-start;
}

.luag-braille-pile-wrap {
  flex: 0 0 31%;
  max-width: 36%;
  min-width: 0;
  width: 100%;
  margin-top: 0.5cm;
}

.luag-braille-physical-body--press {
  margin-top: 1.2cm;
  justify-content: flex-start;
}

.luag-braille-physical-body--press .luag-braille-physical-copy {
  flex: 1 1 0;
  max-width: none;
  margin-top: 2cm;
}

.luag-braille-physical-body--press .luag-braille-pile-wrap {
  margin-top: -4cm;
  margin-left: 0;
  flex: 0 0 31%;
  max-width: 36%;
}

.luag-braille-pile {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1024 / 768;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.luag-braille-pile-card {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 0.9em 0.9em 1.1em 0.85em / 0.85em 0.95em 0.9em 1em;
  background: #f3f3f3;
  box-shadow:
    0 0.55rem 1.2rem rgba(0, 0, 0, 0.12),
    0 0.12rem 0.35rem rgba(0, 0, 0, 0.08);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease;
  will-change: transform;
}

.luag-braille-pile-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  pointer-events: none;
}

.luag-braille-pile-card[data-pile-depth="0"] {
  z-index: 4;
  transform: rotate(-1.2deg) translate(0, 0);
}

.luag-braille-pile-card[data-pile-depth="1"] {
  z-index: 3;
  transform: rotate(2.4deg) translate(0.45rem, 0.35rem);
}

.luag-braille-pile-card[data-pile-depth="2"] {
  z-index: 2;
  transform: rotate(-3.1deg) translate(-0.4rem, 0.55rem);
}

.luag-braille-pile-card[data-pile-depth="3"] {
  z-index: 1;
  transform: rotate(1.6deg) translate(0.25rem, 0.75rem);
}

.luag-braille-pile:hover .luag-braille-pile-card[data-pile-depth="0"] {
  box-shadow:
    0 0.9rem 1.7rem rgba(0, 0, 0, 0.16),
    0 0.2rem 0.45rem rgba(0, 0, 0, 0.1);
  transform: rotate(-1.2deg) translate(0, -0.15rem);
}

.luag-braille-pile-hint {
  margin: calc(0.55rem + 0.7cm) 0 0;
  color: var(--ink);
  font-size: clamp(0.78rem, 1.1vw, 0.88rem);
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
}

.luag-braille-physical-copy {
  flex: 1 1 0;
  min-width: 12rem;
  max-width: none;
  margin: 0;
}

.luag-braille-physical-body .luag-digital-galleries-copy.luag-braille-physical-copy {
  max-width: none;
}

.luag-braille-result {
  width: 100%;
  margin-top: 1.5cm;
}

.luag-braille-result-row {
  display: flex;
  align-items: stretch;
  gap: 0.45rem;
  width: 100%;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
}

.luag-braille-result-media {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 0.9em 0.9em 1.1em 0.85em / 0.85em 0.95em 0.9em 1em;
}

.luag-braille-result-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

.luag-braille-result-copy.project-body {
  width: 100%;
  max-width: none;
  margin: 1.1rem 0 0;
}

.luag-braille-result-copy p {
  margin: 0;
}

.luag-braille-compare-row {
  display: flex;
  align-items: stretch;
  gap: clamp(1.4rem, 3.5vw, 2.4cm);
  width: 100%;
  margin-top: calc(1.1rem + 0.8cm);
  box-sizing: border-box;
}

.luag-braille-compare-pair {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  flex: 1 1 0;
  min-width: 0;
}

.luag-braille-compare-label {
  margin: 0 0 0.55rem;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.4;
}

.luag-braille-compare-pair-media {
  display: flex;
  align-items: stretch;
  gap: 0.45rem;
  width: 100%;
  min-width: 0;
}

.luag-braille-compare-pair-media .luag-braille-result-media {
  flex: 1 1 0;
}

.luag-braille-compare-pair + .luag-braille-compare-pair {
  position: relative;
}

.luag-braille-compare-pair + .luag-braille-compare-pair::before {
  content: "";
  position: absolute;
  left: calc(clamp(1.4rem, 3.5vw, 2.4cm) / -2);
  top: 8%;
  bottom: 8%;
  width: 1.5px;
  background: #cfcfcf;
  transform: translateX(-50%);
  pointer-events: none;
}

.luag-digital-final-ill-media {
  margin-left: 0;
  margin-right: 0;
}

.luag-digital-final-ill-copy {
  margin-left: 0;
}

.luag-digital-gallery--final {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
}

.luag-digital-galleries-copy {
  flex: 1 1 0;
  min-width: 12rem;
  max-width: 28rem;
  margin: 0;
}

.luag-digital-galleries-copy p {
  margin: 0;
}

.luag-digital-galleries-media {
  display: flex;
  align-items: stretch;
  gap: 0.45rem;
  flex: 0 1 62%;
  max-width: 72%;
  min-width: 0;
  margin-left: auto;
}

.luag-digital-work,
.luag-digital-map,
.luag-digital-gallery {
  margin: 0;
  overflow: hidden;
  border-radius: 1em 0.35em 1.4em 0.55em / 0.9em 1.1em 0.45em 1.2em;
  min-width: 0;
}

.luag-digital-work {
  flex: 0 1 38%;
  max-width: 19.8rem;
}

.luag-digital-map {
  flex: 1 1 0;
}

.luag-digital-gallery {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 0.9em 0.9em 1.1em 0.85em / 0.85em 0.95em 0.9em 1em;
}

.luag-digital-work img,
.luag-digital-map img,
.luag-digital-gallery img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left top;
}

.luag-digital-gallery img {
  border-radius: inherit;
}

.luag-digital-work img,
.luag-digital-map img {
  transform-origin: center center;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.luag-digital-copy {
  width: auto;
  min-width: 0;
  max-width: none;
  margin: 0;
}

.luag-digital-copy p {
  margin: 0;
}

.luag-digital-copy .luag-digital-stage-label,
.luag-digital-galleries-copy .luag-digital-stage-label {
  margin: 0 0 0.55rem;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.4;
}

.luag-intro-top {
  display: grid;
  grid-template-columns: minmax(14rem, 1fr) minmax(14rem, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
  width: 100%;
  margin: 0 0 2rem;
}

.luag-intro-left .project-title {
  margin-bottom: 0.85rem;
}

.luag-intro-left .project-summary {
  margin: 0;
  max-width: none;
}

.luag-intro-right {
  width: 100%;
  max-width: none;
}

.luag-intro-right.project-body {
  width: 100%;
  max-width: none;
}

.umami-intro-top {
  grid-template-columns: minmax(14rem, 1fr) minmax(14rem, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.umami-intro-top .luag-intro-right {
  justify-self: end;
  margin-left: auto;
  margin-right: 0;
  /* Match top of Packaging Design (below title) */
  margin-top: calc(clamp(2.1rem, 6vw, 3.6rem) * 1.05 + 0.85rem);
  width: 100%;
  max-width: 42rem;
}

.luag-intro-right p {
  margin-bottom: 0;
}

.luag-media {
  width: 100%;
  max-width: none;
  margin: 0 0 3.5rem;
  padding: 0;
  border-radius: 1em 0.35em 1.4em 0.55em / 0.9em 1.1em 0.45em 1.2em;
  background: transparent;
  box-sizing: border-box;
  overflow: hidden;
}

.luag-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
  transition: transform 0.45s ease;
}

.luag-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  width: 100%;
  margin: 3.5rem 0;
  padding: 0;
}

.luag-split-col {
  min-width: 0;
  scroll-margin-top: 5.5rem;
}

.luag-split-col:first-child {
  position: relative;
  padding-right: clamp(1rem, 2.5vw, 2rem);
  border-right: 0;
}

.luag-split-col:first-child::after {
  content: "";
  position: absolute;
  top: 2rem; /* match .project-subhead:first-of-type margin-top */
  right: 0;
  bottom: 0.2cm;
  width: 3px;
  background: #cfcfcf;
}

.luag-split--plain {
  gap: clamp(0.75rem, 2vw, 1.25rem);
  align-items: start;
}

.luag-split--plain .luag-split-col:first-child {
  padding-right: 0;
  border-right: 0;
}

.luag-split--plain .luag-split-col:first-child::after {
  display: none;
}

.umami-overview {
  width: 100%;
  margin: calc(3.5rem - 0.3cm) 0 3.5rem;
  padding: 0.2cm 0 3.5rem;
  border-bottom: 3px solid #cfcfcf;
}

.umami-overview .project-subhead {
  margin-top: 0;
  margin-bottom: 0.85rem;
}

.umami-overview-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  align-items: start;
  width: 100%;
}

.umami-overview-row .project-body {
  width: 100%;
  max-width: none;
  margin: 0;
}

.umami-overview-row .project-body:last-child {
  margin-left: -2cm;
}

.umami-progress-figure {
  width: 44%;
  margin: 0 0 0 auto;
}

.umami-progress-caption {
  margin: 0.75rem 0 0;
  text-align: center;
  color: var(--gray);
  font-size: clamp(0.85rem, 1.3vw, 1rem);
  line-height: 1.4;
}

.umami-figma-figure {
  margin: 0;
  width: 100%;
  max-width: none;
}

.umami-figma-figure .umami-progress-caption {
  text-align: left;
}

.umami-flavor-heading {
  margin: calc(2rem + 1cm) 0 0.85rem;
  color: #000;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 400;
  line-height: 1.3;
}

.umami-flavor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.55rem, 1.2vw, 0.85rem);
  width: 100%;
  margin: 0.5cm 0 0;
}

.umami-illustration-link {
  margin-top: 1.75rem;
}

.umami-flavor-card {
  margin: 0;
  overflow: hidden;
  border-radius: 0.85em 0.3em 1.1em 0.45em / 0.75em 0.95em 0.4em 1em;
  background: transparent;
}

.umami-flavor-card img {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: center center;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .umami-flavor-card:hover img {
    transform: scale(1.04);
  }
}

.umami-progress-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
  width: 100%;
}

.umami-progress-copy {
  width: 100%;
  max-width: none;
  margin: 0;
}

.project-body.umami-progress-copy p {
  margin: 1cm 0 0;
}

.umami-biotech-icons {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2.15rem;
  width: min(100%, 26rem);
  margin: 0;
  user-select: none;
}

.umami-biotech-icon {
  display: block;
  height: auto;
  width: auto;
  max-height: 3.35rem;
  flex: 0 0 auto;
  transform-origin: center center;
  animation: umami-icon-float 3.8s ease-in-out infinite;
}

.umami-biotech-icon--cell {
  max-height: 3.1rem;
  animation-duration: 3.8s;
  animation-delay: 0s;
}

.umami-biotech-icon--fiber {
  max-height: 2.7em;
  animation-duration: 4.5s;
  animation-delay: -1.4s;
}

.umami-biotech-icon--link {
  max-height: 1.7rem;
  transform-origin: center center;
  animation-name: umami-icon-float-tilted;
  animation-duration: 4s;
  animation-delay: -2.2s;
}

@keyframes umami-icon-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.35rem);
  }
}

@keyframes umami-icon-float-tilted {
  0%,
  100% {
    transform: translateY(0) rotate(-14deg);
  }
  50% {
    transform: translateY(-0.35rem) rotate(-14deg);
  }
}

@keyframes umami-icon-shake {
  0%,
  100% {
    transform: translateX(0) rotate(0deg);
  }
  20% {
    transform: translateX(-0.14rem) rotate(-5deg);
  }
  40% {
    transform: translateX(0.14rem) rotate(5deg);
  }
  60% {
    transform: translateX(-0.1rem) rotate(-3deg);
  }
  80% {
    transform: translateX(0.1rem) rotate(3deg);
  }
}

@keyframes umami-icon-shake-tilted {
  0%,
  100% {
    transform: translateX(0) rotate(-14deg);
  }
  20% {
    transform: translateX(-0.14rem) rotate(-19deg);
  }
  40% {
    transform: translateX(0.14rem) rotate(-9deg);
  }
  60% {
    transform: translateX(-0.1rem) rotate(-17deg);
  }
  80% {
    transform: translateX(0.1rem) rotate(-11deg);
  }
}

@media (hover: hover) and (pointer: fine) {
  .umami-biotech-icon:hover {
    animation: umami-icon-shake 0.42s ease-in-out infinite;
  }

  .umami-biotech-icon--link:hover {
    animation: umami-icon-shake-tilted 0.42s ease-in-out infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .umami-biotech-icon {
    animation: none;
  }

  .umami-biotech-icon--link {
    transform: rotate(-14deg);
  }
}

.umami-figma-embed {
  width: 100%;
  max-width: none;
  margin: 0;
  aspect-ratio: 800 / 450;
  border: 1px solid rgba(0, 0, 0, 0.1);
  overflow: hidden;
  background: #fff;
  position: relative;
}

.umami-figma-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  /* Let parent keep mousemove so the custom cursor still tracks over the embed */
  pointer-events: none;
}

.umami-figma-embed.is-live iframe {
  pointer-events: auto;
}

body.custom-cursor-active .umami-figma-embed,
body.custom-cursor-active .umami-figma-embed * {
  cursor: none !important;
}

.umami-takeaways {
  width: 100%;
  margin: calc(2.5rem + 0.5cm) 0 0.5rem;
}

.umami-deliverable {
  width: 100%;
  margin: 2.5rem 0 0;
  padding-top: calc(3.25rem / 1.5 - 0.4cm);
  border-top: 3px solid #cfcfcf;
  border-bottom: 0;
  padding-bottom: 0;
}

.umami-deliverable .project-subhead {
  margin: 0 0 1.25rem;
}

.umami-final-media {
  margin: 0 auto;
  width: min(100%, 52rem);
  overflow: hidden;
  border-radius: 1em 0.35em 1.4em 0.55em / 0.9em 1.1em 0.45em 1.2em;
}

.umami-final-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transform-origin: center center;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .umami-final-media:hover img {
    transform: scale(1.06);
  }
}

.umami-deliverable .nabi-pdf-link {
  margin-top: 2.25rem;
}

.umami-takeaways .project-subhead {
  margin: 0 0 0.85rem;
}

.umami-takeaways-body,
.umami-takeaways-body.project-body {
  width: 100%;
  max-width: none;
  margin: 0;
}

.umami-takeaways-body p {
  margin: 0 0 1rem;
  color: var(--ink);
  max-width: none;
}

.umami-takeaways-body p:last-child {
  margin-bottom: 0;
}

.umami-page-doodle {
  position: relative;
  display: block;
  width: clamp(7rem, 16vw, 11rem);
  margin: calc(-0.5rem - 2cm) calc(2vw - 1.3cm) 0 auto;
  user-select: none;
  cursor: pointer;
  z-index: 2;
}

.umami-page-doodle-img {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: 85% 90%;
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.umami-page-doodle-yum {
  position: absolute;
  left: calc(-42% + 1cm);
  top: -6%;
  right: auto;
  bottom: auto;
  width: 78%;
  height: auto;
  transform: rotate(-8deg) scale(0.92);
  opacity: 0;
  pointer-events: none;
  overflow: visible;
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.umami-page-doodle-yum-text {
  fill: var(--purple);
  font-size: 38px;
  letter-spacing: 0.28em;
  font-family: var(--font-display);
}

@media (hover: hover) and (pointer: fine) {
  .umami-page-doodle:hover .umami-page-doodle-img {
    transform: scale(1.18);
  }

  .umami-page-doodle:hover .umami-page-doodle-yum {
    opacity: 1;
    transform: rotate(-8deg) scale(1);
  }
}

body.custom-cursor-active .umami-page-doodle {
  cursor: none !important;
}

body:has(.umami-page-doodle) {
  padding-bottom: 0;
}

body:has(.umami-page-doodle) .project.luag-page {
  padding-bottom: 1.5rem;
}

body:has(.umami-page-doodle) .to-top {
  margin-top: 0.7cm;
  margin-bottom: -3cm;
  padding-bottom: 0;
}

.luag-progress .luag-media--umami-moodboard {
  width: 100%;
  max-width: none;
  margin: 0;
}

.umami-flavor-pin {
  position: relative;
  width: 100%;
  margin: 2rem 0 0;
}

.umami-flavor-carousel {
  position: sticky;
  top: calc(100vh - min(38vh, 22rem) - 1cm);
  width: 100%;
  overflow: clip;
  touch-action: pan-y;
}

.umami-flavor-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  padding: 0.15rem 0 0.75rem;
  will-change: transform;
}

.umami-flavor-slide {
  flex: 0 0 auto;
  width: auto;
  max-height: min(38vh, 22rem);
  margin: 0;
  border-radius: 1em 0.35em 1.4em 0.55em / 0.9em 1.1em 0.45em 1.2em;
  overflow: hidden;
  background: transparent;
}

.umami-flavor-slide img {
  display: block;
  width: auto;
  height: min(38vh, 22rem);
  max-width: none;
  border-radius: inherit;
}

.luag-split-col .project-subhead {
  margin-top: 0;
}

.luag-split-col .project-body {
  width: 100%;
  max-width: none;
}

.luag-list {
  margin: 0 0 1.2rem;
  padding-left: 1.2rem;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.7;
}

.luag-list li {
  margin-bottom: 0.45rem;
}

.luag-list--numbered {
  list-style: decimal;
}

.luag-research {
  display: grid;
  grid-template-columns: minmax(14rem, 0.9fr) minmax(0, 1.25fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  width: 100%;
  margin: 0 0 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 3px solid #cfcfcf;
}

.luag-research-media {
  min-width: 0;
  width: 80%;
  margin-left: auto;
  border: 0;
  background: transparent;
  overflow: hidden;
  border-radius: 0;
}

.luag-research-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

.luag-research-copy .project-subhead,
.luag-research-copy > .project-subhead:first-of-type {
  margin-top: 0;
  text-align: left;
}

.luag-research-copy .project-body {
  width: 100%;
  max-width: none;
}

.luag-reveal {
  opacity: 0;
  transform: translateX(2.5rem);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.luag-reveal.is-in {
  opacity: 1;
  transform: translateX(0);
}

.dayul-slide-ltr {
  opacity: 0;
  transform: translateX(-3.5rem);
  transition: opacity 0.85s ease, transform 0.85s ease;
  will-change: opacity, transform;
}

.dayul-slide-ltr.is-in {
  opacity: 1;
  transform: translateX(0);
}

.luag-progress {
  width: 100%;
  margin: 0 0 3.5rem;
}

.luag-progress .project-subhead {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.luag-progress .luag-media {
  margin-bottom: 0;
}

.luag-signage-pin {
  position: relative;
  margin: 0 0 3.5rem;
  padding-bottom: 1.8cm;
  border-bottom: 3px solid #cfcfcf;
}

.luag-digital-pin {
  margin: 0 0 2.5rem;
  padding-bottom: 3.25rem;
  border-bottom: 3px solid #cfcfcf;
}

.luag-3d-pin {
  margin: 0 0 2.5rem;
  padding-bottom: 3.25rem;
  border-bottom: 3px solid #cfcfcf;
}

.luag-3d-layout {
  display: flex;
  align-items: flex-start;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  width: 100%;
}

.luag-3d-media {
  margin: 0;
  flex: 0 1 auto;
  width: min(42%, 28rem);
  overflow: hidden;
  border-radius: 1em 0.35em 1.4em 0.55em / 0.9em 1.1em 0.45em 1.2em;
}

.luag-3d-media img {
  display: block;
  width: 100%;
  height: auto;
}

.luag-3d-copy.project-body {
  flex: 1 1 0;
  min-width: 12rem;
  width: auto;
  max-width: none;
  margin: 0;
}

.luag-3d-copy p {
  margin: 0 0 1rem;
  color: var(--ink);
}

.luag-3d-copy p:last-child {
  margin-bottom: 0;
}

@media (max-width: 700px) {
  .luag-3d-layout {
    flex-direction: column;
  }

  .luag-3d-media {
    width: 100%;
    max-width: 28rem;
  }
}

.luag-final-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: start;
  width: 100%;
}

.luag-final-media {
  margin: 0;
  width: 100%;
  overflow: hidden;
  border-radius: 1em 0.35em 1.4em 0.55em / 0.9em 1.1em 0.45em 1.2em;
}

.luag-final-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
  transition: transform 0.45s ease;
}

.luag-final-copy.project-body {
  width: 100%;
  max-width: none;
  margin: 1.25rem 0 0;
  text-align: left;
}

.luag-final-copy .luag-list {
  margin: 0;
}

.luag-takeaways-body.project-body {
  width: 100%;
  max-width: none;
  margin: 0;
  text-align: left;
}

.luag-takeaways-body p {
  margin: 0 0 1rem;
  color: var(--ink);
}

.luag-takeaways-body p:last-of-type {
  margin-bottom: 0;
}

.luag-medium-link {
  position: relative;
  display: block;
  margin: 0;
  width: fit-content;
  line-height: 0;
  text-decoration: none;
  border: none;
  padding: 0;
  flex: 0 0 auto;
  align-self: flex-end;
  transform: translateX(-2.5cm) translateY(-0.65cm);
}

.luag-medium-icon {
  display: block;
  width: clamp(1.229rem, 2.05vw, 1.587rem);
  height: auto;
  object-fit: contain;
  transition: transform 0.22s ease;
  transform-origin: center center;
}

.luag-medium-link::after {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 0.75rem);
  left: auto;
  top: 50%;
  transform: translateY(-50%) translateX(0.2rem);
  padding: 0.35rem 0.65rem;
  border: none;
  border-radius: 0.85rem;
  background: var(--paper);
  color: var(--purple);
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 5;
}

.luag-medium-link::before {
  content: "";
  position: absolute;
  right: calc(100% + 0.75rem - 0.42rem);
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border: none;
  background: var(--paper);
  transform: translateY(-50%) rotate(-45deg) translateX(0.2rem);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 6;
}

.luag-medium-link:hover .luag-medium-icon,
.luag-medium-link:focus-visible .luag-medium-icon {
  transform: scale(1.18);
}

.luag-medium-link:hover::after,
.luag-medium-link:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.luag-medium-link:hover::before,
.luag-medium-link:focus-visible::before {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) rotate(-45deg) translateX(0);
}

.luag-signage-stroke-icon {
  position: absolute;
  left: auto;
  right: 0;
  bottom: calc(-0.12rem - 0.12cm);
  width: clamp(calc(2.4rem * 1.3 * 1.8), calc(4.5vw * 1.3 * 1.8), calc(3.4rem * 1.3 * 1.8));
  height: auto;
  transform: translateY(0);
  pointer-events: none;
  user-select: none;
  z-index: 2;
}

.luag-signage-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.5fr) minmax(0, 0.5fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
  width: 100%;
}

.luag-media--signage {
  width: 100%;
  max-width: none;
  margin: 0;
}

.luag-signage-copy {
  position: static;
  width: 100%;
  max-width: none;
  margin: 0;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  overflow: visible;
}

.luag-signage-copy p {
  margin: 0;
  font-size: clamp(0.92rem, 1.35vw, 1.05rem);
  line-height: 1.65;
}

.luag-drive-link {
  display: inline-block;
  margin-top: 1.15rem;
  color: var(--purple);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.2;
  text-decoration: none;
  border-bottom: 2px solid var(--purple);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.luag-drive-link:hover {
  color: var(--purple-deep);
  border-bottom-color: var(--purple-deep);
}

.luag-media--hero {
  width: 90%;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.luag-media--hero img {
  transition: transform 0.5s ease;
  transform-origin: center center;
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .luag-media--hero:hover img {
    transform: scale(1.08);
  }
}

.luag-page .project-subhead--right,
.luag-page .project-body--right {
  text-align: left;
  margin-left: 0;
}

.project-summary p {
  margin: 0 0 0.2rem;
}

.project-summary p:nth-child(2) {
  margin-bottom: 1.7rem;
}

.project-summary p:last-child {
  margin-bottom: 0;
}

.project-summary strong {
  font-weight: 700;
}

.project-year {
  font-family: var(--font-body);
  font-weight: 400;
  font-style: normal;
  font-size: calc(0.55em * 0.45);
  letter-spacing: 0.02em;
  color: var(--gray);
  white-space: nowrap;
  margin-left: -0.2cm;
}

.about-name {
  font-family: var(--font-display);
  color: var(--purple);
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 0.95;
  margin: 0 0 1.2rem;
}

.about-tagline {
  color: var(--gray);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  margin: 0 0 2.5rem;
  max-width: none;
  white-space: nowrap;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(300px, 440px) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
  width: 100%;
  margin-left: 0;
}

.about-copy {
  font-family: var(--font-body);
  width: 100%;
}

.about-copy p,
.about-copy strong {
  font-family: var(--font-body);
  font-weight: 400;
}

.about-copy strong {
  font-weight: 500;
  color: var(--ink);
}

.about-photo {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
}

.about-photo-frame {
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 440px;
  margin: 0;
  border: none;
  background: transparent;
  padding: 0;
  box-sizing: border-box;
}

.about-photo-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
}

.about-resume {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.2;
  color: var(--purple);
  text-decoration: none;
  text-align: center;
  max-width: 440px;
  margin-top: 0.4cm;
  border: none;
  border-bottom: 2px solid var(--purple);
  padding: 0 0 0.15rem;
  align-self: center;
  background: none;
  cursor: pointer;
}

.about-resume:hover {
  color: var(--purple-deep);
  border-bottom-color: var(--purple-deep);
}

.resume-preview {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.resume-preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(40, 30, 45, 0.55);
}

.resume-preview-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(920px, 100%);
  height: min(88vh, 980px);
  background: var(--paper);
  border: none;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.resume-preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid rgba(140, 74, 151, 0.25);
  background: var(--paper);
}

.resume-preview-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  color: var(--purple);
}

.resume-preview-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.resume-preview-open,
.resume-preview-close {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--purple);
  background: none;
  border: none;
  border-bottom: 1.5px solid var(--purple);
  padding: 0.15rem 0;
  cursor: pointer;
  text-decoration: none;
}

.resume-preview-open:hover,
.resume-preview-close:hover {
  color: var(--purple-deep);
  border-bottom-color: var(--purple-deep);
}

.resume-preview-frame {
  flex: 1;
  width: 100%;
  border: 0;
  background: #f3efe6;
}

.project-hero-frame {
  width: 90%;
  max-width: min(90%, 738px);
  margin: 0 0 2rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.project-hero-clip {
  border-radius: 1em 0.35em 1.4em 0.55em / 0.9em 1.1em 0.45em 1.2em;
  overflow: hidden;
  aspect-ratio: 1024 / 682;
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
  box-sizing: border-box;
}

.project-hero-clip img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 0.55em 0.2em 0.75em 0.3em / 0.5em 0.65em 0.25em 0.7em;
}

.project-hero-clip img.is-raised {
  object-position: center calc(50% - 3cm);
}

.project-body {
  width: 90%;
  max-width: min(90%, 738px);
}

.project-body--right {
  margin-left: auto;
  margin-right: 0;
  text-align: right;
}

.project-body p {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: none;
  margin: 0 0 1.2rem;
}

.project-subhead {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(1.45rem, 3.4vw, 2.25rem);
  line-height: 1.15;
  color: var(--purple);
  margin: 2.4rem 0 0.85rem;
}

.project-subhead:first-of-type {
  margin-top: 2rem;
}

.project-subhead--right {
  width: 100%;
  max-width: none;
  text-align: right;
  margin-top: 2rem;
}

.panel-about h2,
.panel-about p {
  font-family: "Be Vietnam Pro", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.panel-about h2 {
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  line-height: 1.35;
}

.panel-about p {
  font-size: 0.92rem;
  line-height: 1.65;
}


/* ============ Hobbies ============ */
.panel-hobbies {
  align-items: flex-start;
  flex-direction: column;
  padding-top: calc(var(--section-gap, 3.5rem) * 1.4);
  padding-bottom: calc(var(--section-gap, 3.5rem) * 2);
}

.hobbies-inner {
  max-width: none;
  width: 100%;
}

.panel-hobbies .panel-index {
  margin-bottom: 0.25rem;
}

.hobby-doodles {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: clamp(5rem, 14vw, 12rem);
  margin-top: 1rem;
}

.hobby-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}

.hobby-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transform-origin: center 58%;
  transition: transform 0.22s ease;
}

.hobby-link:hover,
.hobby-link.is-hot,
.hobby-link:focus-visible {
  transform: scale(1.1);
}

.hobby-link:hover .hobby-camera,
.hobby-link.is-hot .hobby-camera,
.hobby-link:hover .hobby-phone,
.hobby-link.is-hot .hobby-phone {
  animation-duration: 0.85s;
}

.hobby-link:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 0.6rem;
}

.hobby-label {
  margin-top: clamp(0.85rem, 1.8vw, 1.4rem);
  color: var(--purple);
  font-size: clamp(1.35rem, 2.5vw, 2.05rem);
  line-height: 0.9;
  text-align: center;
}

.hobby-camera,
.hobby-phone {
  display: block;
  max-width: 100%;
  height: auto;
  transform-origin: center center;
  animation: hobby-shake 4.2s ease-in-out infinite;
}

.hobby-camera {
  width: min(28vw, 18rem);
  --tilt: -4deg;
}

.hobby-phone {
  height: min(34vw, 16.5rem);
  width: auto;
  --tilt: 5deg;
  animation-duration: 4.8s;
  animation-delay: -1.6s;
}

@keyframes hobby-shake {
  0%, 100% { transform: rotate(calc(var(--tilt) - 3deg)); }
  25%      { transform: rotate(calc(var(--tilt) + 4deg)); }
  50%      { transform: rotate(calc(var(--tilt) - 4deg)); }
  75%      { transform: rotate(calc(var(--tilt) + 3deg)); }
}

.hobby-page {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-top: 4vh;
  padding-left: 6vw;
  padding-right: 6vw;
  box-sizing: border-box;
}

.hobby-page-title {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--purple);
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  line-height: 0.95;
  margin: 0 0 1.1rem;
}

.hobby-page-lead {
  max-width: 38ch;
  margin: 0;
  color: var(--ink);
  font-family: "Be Vietnam Pro", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.65;
}

.hobby-gallery {
  margin-top: 2.75rem;
  max-width: 980px;
}

.hobby-gallery-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: min(42vh, 22rem);
  border: 0.7rem solid var(--purple);
  border-radius: 1em 0.35em 1.4em 0.55em / 0.9em 1.1em 0.45em 1.2em;
  background: var(--paper);
  box-sizing: border-box;
  padding: 1.5rem;
}

.hobby-gallery-empty-label {
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  color: var(--purple);
  text-align: center;
}

.hobby-detail {
  padding-top: 0.35rem;
}

.hobby-detail .project-back {
  margin-bottom: 0;
}

.hobby-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: calc(0.55rem + 0.3cm);
}

.hobby-next {
  display: inline-block;
  color: var(--purple);
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
  white-space: nowrap;
}

.hobby-next:hover {
  border-color: var(--purple);
}

.hobby-detail .hobby-page-title {
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  margin-bottom: 0.45rem;
}

.hobby-detail .hobby-page-lead {
  margin-bottom: 0;
}

.ig-profile {
  margin-top: 2.4rem;
  max-width: 58rem;
}

.ig-profile-top {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 5vw, 4.25rem);
}

.ig-avatar-wrap {
  flex: 0 0 auto;
  width: clamp(6.4rem, 18vw, 9.4rem);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 0.28rem;
  border: 0.22rem solid var(--purple);
  box-sizing: border-box;
  background: var(--paper);
  overflow: hidden;
}

.ig-avatar {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 46%;
  border-radius: 50%;
}

.ig-profile-meta {
  min-width: 0;
}

.ig-username {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
  font-weight: 500;
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  color: var(--ink);
  line-height: 1.2;
}

.ig-verified {
  display: block;
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
}

.ig-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-size: 0.95rem;
}

.ig-stats strong {
  font-weight: 500;
  color: var(--purple);
  margin-right: 0.28rem;
}

.ig-name {
  margin: 1.2rem 0 0.2rem;
  font-weight: 500;
  color: var(--ink);
}

.ig-bio {
  margin: 0;
  max-width: 38ch;
  color: var(--ink);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.65;
}

.ig-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.15rem;
  max-width: 22rem;
}

.ig-action {
  flex: 1 1 8.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.62rem 1rem;
  border-radius: 0.55rem;
  border: 0.16rem solid var(--purple);
  background: var(--paper);
  color: var(--purple);
}

.ig-follow {
  background: var(--purple);
  color: var(--paper);
}

.ig-follow.is-following {
  background: var(--paper);
  color: var(--purple);
}

.ig-action:hover {
  border-color: var(--purple-deep);
}

.ig-follow:hover {
  background: var(--purple-deep);
  color: var(--paper);
}

.ig-follow.is-following:hover {
  background: var(--paper);
  color: var(--purple-deep);
}

.ig-message:hover {
  color: var(--purple-deep);
}

.ig-dialog {
  position: fixed;
  inset: 0;
  z-index: 230;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.ig-dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(140, 74, 151, 0.18);
}

.ig-dialog-card {
  position: relative;
  z-index: 1;
  width: min(22rem, 100%);
  padding: 1.6rem 1.4rem 1.35rem;
  background: var(--paper);
  border: 0.22rem solid var(--purple);
  border-radius: 0.9rem;
  text-align: center;
}

.ig-dialog-title {
  margin: 0;
  font-size: clamp(1.35rem, 3.4vw, 1.85rem);
  line-height: 1.15;
  color: var(--purple);
}

.ig-dialog-choices {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.ig-dialog-choice {
  min-width: 5.4rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.52rem 1.1rem;
  border-radius: 0.5rem;
  border: 0.16rem solid var(--purple);
  background: var(--paper);
  color: var(--purple);
}

.ig-dialog-choice.is-yes {
  background: var(--purple);
  color: var(--paper);
}

.ig-dialog-choice:hover {
  border-color: var(--purple-deep);
}

.ig-dialog-choice.is-yes:hover {
  background: var(--purple-deep);
}

.ig-dialog-choice.is-no:hover {
  color: var(--purple-deep);
}

.ig-confetti {
  position: fixed;
  inset: 0;
  z-index: 220;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.ig-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 0.28rem;
  margin-top: 2.1rem;
  margin-bottom: 4rem;
  max-width: none;
  width: 100%;
}

.ig-cell {
  aspect-ratio: 1;
  background: rgba(140, 74, 151, 0.06);
  border: 1px solid rgba(140, 74, 151, 0.18);
  box-sizing: border-box;
}

.ig-cell-post {
  aspect-ratio: auto;
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
}

.ig-cell-post::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 16, 30, 0);
  transition: background 0.2s ease;
  pointer-events: none;
}

.ig-cell-post:hover::after {
  background: rgba(26, 16, 30, 0.38);
}

.ig-cell-post img {
  display: block;
  width: 100%;
  height: auto;
}

.ig-cell-multi {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  z-index: 1;
  width: 1.15rem;
  height: 1.15rem;
  color: var(--paper);
  filter: drop-shadow(0 1px 2px rgba(40, 30, 45, 0.45));
  pointer-events: none;
}

.ig-cell-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 2.4rem;
  height: 2.4rem;
  transform: translate(-50%, -50%);
  color: #1a101e;
  filter: drop-shadow(0 2px 6px rgba(40, 30, 45, 0.35));
  pointer-events: none;
}

.ig-cell-hover-label {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.6rem;
  color: var(--paper);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.1;
  text-align: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.ig-cell-post-label:hover .ig-cell-hover-label {
  opacity: 1;
}

.photo-panel-count {
  margin: 0 0 0 auto;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--purple);
  white-space: nowrap;
}

.ig-cell-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem;
  background: var(--paper);
  border: 0.18rem solid var(--purple);
}

.ig-cell-label {
  font-size: clamp(0.95rem, 2.4vw, 1.35rem);
  color: var(--purple);
  text-align: center;
  line-height: 1;
}

.photography-page {
  padding-top: 0;
  padding-bottom: 0;
}

.photo-pin {
  margin-top: 0;
  margin-left: -6vw;
  margin-right: -6vw;
  width: calc(100% + 12vw);
}

.photo-carousel {
  position: sticky;
  top: 4.3rem;
  height: calc(100svh - 4.3rem);
  max-height: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  box-sizing: border-box;
  padding: 0 0 calc(1rem + 0.7cm);
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.photo-carousel.is-scroll-driven {
  overflow: clip;
}

.photo-intro {
  flex: 0 0 auto;
  padding: 0 6vw calc(2.9rem - 0.2cm);
}

.photo-track {
  display: flex;
  align-items: stretch;
  flex: 1 1 auto;
  min-height: 0;
  gap: 1.15rem;
  padding: 0 6vw;
  will-change: transform;
}

.photo-slide {
  margin: 0;
  flex: 0 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
}

.photo-slide-open {
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.photo-slide img {
  display: block;
  height: 100%;
  width: auto;
  object-fit: contain;
  border-radius: 0.85em 0.28em 1.1em 0.4em / 0.7em 0.9em 0.35em 0.95em;
  user-select: none;
  pointer-events: none;
}

.photo-panel {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.photo-panel-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(40, 30, 45, 0.55);
}

.photo-panel-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(1080px, 100%);
  max-height: min(90vh, 980px);
  background: var(--paper);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.photo-panel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid rgba(140, 74, 151, 0.25);
}

.photo-panel-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  color: var(--purple);
  line-height: 1.15;
}

.photo-panel-close {
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--purple);
  background: none;
  border: none;
  border-bottom: 1.5px solid var(--purple);
  padding: 0.15rem 0;
  cursor: pointer;
}

.photo-panel-close:hover {
  color: var(--purple-deep);
  border-bottom-color: var(--purple-deep);
}

.photo-panel-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.1rem 1.2rem;
  min-height: 0;
  background: var(--paper);
}

.photo-panel-frame img {
  display: block;
  max-width: 100%;
  max-height: min(74vh, 820px);
  width: auto;
  height: auto;
  object-fit: contain;
}

.photo-panel-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: auto;
  height: auto;
  min-width: 2.7rem;
  min-height: 2.7rem;
  display: grid;
  place-items: center;
  padding: 0.45rem 0.55rem;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  color: var(--purple);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.photo-panel-nav svg,
.photo-panel-nav img {
  display: block;
  width: 1.55rem;
  height: auto;
}

.photo-panel-nav svg {
  width: 1.15rem;
  height: 1.15rem;
}

.photo-panel-nav.is-prev {
  left: max(0.6rem, 1.5vw);
}

.photo-panel-nav.is-next {
  right: max(0.6rem, 1.5vw);
}

.photo-panel-nav:hover {
  color: var(--purple-deep);
}

.ig-post-panel {
  padding: 1.25rem;
}

.ig-post-panel .photo-panel-backdrop {
  background: rgba(26, 16, 30, 0.68);
}

.ig-post-stage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  max-width: 100%;
}

.ig-post-panel .photo-panel-nav {
  position: static;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  transform: none;
  flex-shrink: 0;
}

.ig-post-panel #igPostImage {
  display: block;
  max-width: calc((100vw - 8.5rem) * 0.8);
  max-height: min(73.6vh, 784px);
  width: auto;
  height: auto;
  object-fit: contain;
}

.ig-post-panel #igPostVideo {
  display: none;
  max-width: calc((100vw - 8.5rem) * 0.8);
  max-height: min(73.6vh, 784px);
  width: auto;
  height: auto;
  background: #1a101e;
}

.ig-post-panel.is-video-only .photo-panel-nav {
  display: none;
}

.ig-post-panel.is-showing-video #igPostImage {
  display: none !important;
}

.ig-post-panel.is-showing-video #igPostVideo {
  display: block !important;
}

@media (prefers-reduced-motion: reduce) {
  .photo-pin {
    height: auto !important;
  }

  .photo-carousel {
    position: relative;
    top: auto;
    height: auto;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .photo-track {
    transform: none !important;
    flex: 0 0 auto;
    height: min(58vh, calc(100svh - 14rem));
  }

  .photo-slide {
    scroll-snap-align: start;
  }

  .photo-panel {
    transition: none;
  }
}

.panel-contact {
  align-items: flex-start;
  min-height: auto;
  padding-top: calc(var(--section-gap, 3.5rem) * 4 - 1.7cm);
  padding-bottom: calc(var(--section-gap, 3.5rem) * 5 + 0.8cm);
}

.contact-link {
  display: inline-block;
  margin-top: calc(0.5rem - 0.3cm);
  color: var(--purple);
  font-size: 1.4rem;
  font-weight: 400;
  text-decoration: none;
  border-bottom: 2px solid var(--purple);
}

.contact-link:hover { color: var(--purple-deep); border-color: var(--purple-deep); }

.contact-socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 4rem;
}

.contact-socials .contact-social:last-child {
  margin-left: 0.1cm;
}

.contact-social {
  position: relative;
  display: block;
  line-height: 0;
  text-decoration: none;
}

.contact-social img {
  display: block;
  width: calc(2.85rem * 0.6);
  height: auto;
  transition: transform 0.22s ease;
  transform-origin: center center;
}

.contact-social::after {
  content: attr(data-label);
  position: absolute;
  left: 50%;
  top: calc(100% + 0.45rem);
  bottom: auto;
  transform: translateX(-50%) translateY(-0.2rem);
  padding: 0.28rem 0.55rem;
  border: 2px solid var(--purple);
  border-radius: 0.35rem;
  background: #fff;
  color: var(--purple);
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 5;
}

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

.contact-social:hover::after,
.contact-social:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .contact-social img,
  .contact-social::after {
    transition: none;
  }
}

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .site-nav {
    padding: 0.95rem 5vw;
    gap: 1.35rem;
  }

  .hero {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .panel {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .panel-about.panel {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .panel-about .work-feature-name {
    font-size: clamp(1.75rem, 5.5vw, 2.6rem);
  }

  .panel-about .work-feature-clip,
  .panel-about .work-feature-coming-frame {
    --media-inset: 0.65rem;
    border-width: 0.55rem;
    padding: var(--media-inset);
  }

  .scroll-cue {
    right: 6vw;
  }

  .scroll-cue-arrow {
    width: clamp(3.5rem, 14vw, 5.5rem);
  }

  .scroll-cue-label {
    font-size: clamp(1rem, 3.2vw, 1.35rem);
  }

  .project {
    padding: 6vh 5vw 10vh;
  }

  .about-page {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .project-hero-frame {
    width: 100%;
    max-width: 100%;
  }

  .project-body {
    width: 100%;
    max-width: 100%;
  }

  .project-hero-clip {
    border: 0;
    padding: 0;
  }
}

@media (max-width: 800px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .project-intro-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .project-intro-row .project-body--intro {
    margin-top: 1rem;
    padding-top: 0;
  }

  .luag-intro-top,
  .luag-hero-stage,
  .luag-split,
  .luag-research {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .luag-intro-head {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .luag-intro-head-main {
    flex-wrap: wrap;
  }

  .luag-hero-panel {
    min-height: 0;
    width: 100%;
  }

  .luag-hero-panel--dayul {
    width: 100%;
    height: auto;
  }

  .luag-hero-panel--dayul img {
    position: static;
    height: auto;
    object-fit: unset;
    object-position: unset;
    transform: none;
  }

  .luag-hero-panel--tricoard {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .luag-hero-panel--tricoard img {
    width: 100%;
    height: auto;
    margin-top: 0;
    margin-bottom: 0;
  }

  .luag-hero-stage--tricoard {
    grid-template-columns: 1fr;
  }

  .luag-hero-stage--tricoard .luag-hero-copy {
    margin-left: 0;
  }

  .luag-hero-panel--lastcall {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .luag-hero-panel--lastcall img {
    width: 100%;
    height: auto;
  }

  .luag-hero-stage--lastcall {
    grid-template-columns: 1fr;
  }

  .luag-hero-stage--lastcall .luag-hero-copy {
    margin-left: 0;
  }

  .lastcall-progress-body.project-body {
    width: 100%;
    max-width: 100%;
  }

  .lastcall-progress-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .lastcall-cardstack {
    aspect-ratio: 5 / 4;
    min-height: 16rem;
    max-width: 100%;
  }

  .lastcall-mechanics-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .lastcall-structure-body.project-body {
    width: 100%;
    max-width: 100%;
  }

  .lastcall-structure-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .lastcall-playability-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .lastcall-playability-glasses {
    width: min(85%, 25.2rem);
  }

  .lastcall-playability-icon {
    width: min(90%, 28rem);
  }

  .lastcall-cardstack-card {
    width: min(56%, 16rem);
  }

  .lastcall-cardstack-card--center {
    width: min(60%, 17rem);
  }

  .luag-hero-panel--umami {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .luag-hero-panel--umami img {
    width: 100%;
    height: auto;
  }

  .luag-hero-stage--umami {
    grid-template-columns: 1fr;
  }

  .luag-hero-stage--umami .luag-hero-copy {
    margin-left: 0;
  }

  .luag-hero-copy {
    gap: 1.5rem;
    margin-left: 0;
  }

  .luag-research-media {
    width: 100%;
    margin-left: 0;
  }

  .luag-signage-stage {
    grid-template-columns: 1fr;
  }

  .luag-split-col:first-child {
    padding-right: 0;
    padding-bottom: 1.5rem;
    border-right: 0;
    border-bottom: 0;
  }

  .luag-split-col:first-child::after {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    height: 3px;
  }

  .luag-split--plain .luag-split-col:first-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .umami-overview-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .umami-progress-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .luag-digital-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .luag-digital-visuals {
    width: 100%;
  }

  .luag-final-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .luag-digital-row {
    flex-direction: row;
    width: 100%;
  }

  .luag-digital-row--galleries {
    flex-direction: column;
  }

  .luag-digital-row--final-ill {
    flex-direction: column;
    width: 100%;
    max-width: none;
    margin-left: 0;
  }

  .luag-digital-final-ill-media {
    flex: 1 1 auto;
    max-width: none;
    width: 100%;
  }

  .luag-digital-gallery--final {
    flex: 1 1 0;
    width: auto;
  }

  .luag-digital-galleries-copy {
    max-width: none;
  }

  .luag-digital-galleries-media {
    flex: 1 1 auto;
    max-width: none;
    width: 100%;
    margin-left: 0;
  }

  .luag-braille-pile-wrap {
    width: 100%;
    max-width: none;
    flex: 1 1 auto;
  }

  .luag-braille-physical-body {
    flex-direction: column;
  }

  .luag-braille-physical-body--press {
    justify-content: flex-start;
  }

  .luag-braille-physical-body--press .luag-braille-physical-copy {
    flex: 1 1 auto;
    max-width: none;
  }

  .luag-braille-physical-copy {
    max-width: none;
  }

  .luag-digital-work {
    width: min(18rem, 38%);
    max-width: none;
  }

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

  .luag-intro-top {
    align-items: start;
  }

  .umami-intro-top {
    grid-template-columns: 1fr;
  }

  .umami-intro-top .luag-intro-right {
    margin-left: 0;
    margin-top: 0;
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }

  .umami-progress-figure {
    width: 100%;
    margin-left: 0;
  }

  .about-photo {
    display: flex;
    justify-content: flex-start;
    max-width: 360px;
  }

  .about-photo-frame {
    max-width: 100%;
  }

  .about-resume {
    max-width: 100%;
    align-self: flex-start;
  }

  .about-tagline {
    white-space: normal;
    max-width: 36ch;
  }

  .panel-about .work-feature-grid {
    grid-template-columns: 1fr;
  }

  .panel-about .work-feature-title {
    text-align: left;
  }

  .panel-about .work-feature-meta {
    max-width: calc(100% - (var(--media-inset) * 2) - 0.5rem);
    white-space: normal;
    line-height: 1.25;
  }

  .resume-preview {
    padding: 0;
    align-items: stretch;
  }

  .resume-preview-dialog {
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
  }

  .photo-panel {
    padding: 0;
    align-items: stretch;
  }

  .photo-panel-dialog {
    width: 100%;
    max-height: 100%;
    height: 100%;
    border-radius: 0;
  }

  .photo-panel-frame img {
    max-height: calc(100vh - 5.5rem);
  }

  .photo-panel-nav {
    top: auto;
    bottom: 1.1rem;
    transform: none;
  }

  .photo-panel-nav.is-prev {
    left: 1rem;
  }

  .photo-panel-nav.is-next {
    right: 1rem;
  }

  .ig-post-panel {
    padding: 0.75rem;
    align-items: center;
  }

  .ig-post-panel .photo-panel-nav {
    position: static;
    transform: none;
  }

  .ig-post-panel #igPostImage,
  .ig-post-panel #igPostVideo {
    max-height: 68.8vh;
    max-width: calc((100vw - 6.5rem) * 0.8);
  }
}

@media (max-width: 640px) {
  .site-nav {
    justify-content: flex-end;
    padding: 0.85rem 5vw;
    gap: 1rem;
  }

  .site-nav--with-case {
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .hobby-doodles {
    margin-top: 0.75rem;
    gap: 3.25rem;
  }

  .hobby-camera {
    width: min(48vw, 14rem);
  }

  .hobby-phone {
    height: min(42vw, 13rem);
  }

  .ig-profile-top {
    gap: 1.1rem;
  }

  .ig-stats {
    gap: 0.2rem 1rem;
    font-size: 0.85rem;
  }

  .ig-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.18rem;
  }

  .site-nav-link {
    font-size: clamp(1.05rem, 4.5vw, 1.35rem);
    padding: 0.35rem 0;
  }

  .discipline-scatter {
    height: min(28vh, 12rem);
    bottom: calc(var(--hero-gap) * 3.8);
  }

  .discipline--ux { left: calc(5vw - 0.3cm); bottom: calc(70%); }
  .discipline--graphic { left: 18vw; bottom: calc(70% - 0.5cm); }
  .discipline--product { left: 5vw; bottom: calc(26% + 0.5cm); }
  .discipline--web { left: 22vw; bottom: calc(32% - 0.5cm); }

  .hero {
    min-height: 100svh;
    height: 100svh;
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .hero-name-wrap {
    grid-template-columns: minmax(0, max-content) auto;
    column-gap: 0.2em;
  }

  .hero-name {
    font-size: clamp(2.45rem, 12vw, 3.6rem);
  }

  .hero-flowers {
    height: clamp(1.2rem, 8vw, 2.1rem);
  }

  .hero-tagline {
    max-width: 28ch;
    font-size: clamp(0.95rem, 3.8vw, 1.15rem);
  }

  .block-field,
  .about-blocks {
    width: min(46vw, 190px);
    height: min(46vw, 190px);
    right: 4vw;
  }

  .block-field {
    bottom: calc(var(--hero-gap, 3.2vh) * 0.6);
  }

  .about-blocks {
    bottom: calc(var(--section-gap, 3.5rem) * 0.7);
  }

  .stack-hint {
    right: 4vw;
    left: auto;
    bottom: calc(var(--hero-gap, 3.2vh) * 0.6 + min(46vw, 190px) + 0.5rem);
    max-width: min(22ch, 58vw);
    text-align: right;
    font-size: clamp(0.95rem, 3.8vw, 1.2rem);
  }

  .tower-phew {
    max-width: min(16ch, 42vw);
    font-size: clamp(1rem, 4vw, 1.35rem);
  }

  .scroll-cue {
    right: 5vw;
    left: auto;
  }

  .scroll-cue-label {
    font-size: clamp(0.95rem, 4vw, 1.2rem);
  }

  .scroll-cue-arrow {
    width: clamp(2.75rem, 12vw, 4rem);
  }

  .panel {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .panel-about.panel {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .panel-index {
    margin-bottom: 2.5rem;
    font-size: 1rem;
  }

  .panel h2 {
    font-size: clamp(1.25rem, 5.5vw, 1.7rem);
  }

  .panel p,
  .project-body p,
  .about-copy p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .panel-about .work-feature-clip,
  .panel-about .work-feature-coming-frame {
    --media-inset: 0.5rem;
    border-width: 0.45rem;
    padding: var(--media-inset);
  }

  .panel-about .work-feature-caption {
    margin-top: 0.9rem;
    gap: 0.25rem;
  }

  .panel-about .work-feature-coming-label {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .contact-link {
    font-size: clamp(1.05rem, 4.5vw, 1.25rem);
    word-break: break-word;
  }

  .to-top {
    font-size: 0.9rem;
  }

  .project {
    padding: 4vh 5vw 8vh;
  }

  .project-back {
    margin-bottom: 3.5rem;
    font-size: 0.9rem;
  }

  .project-title {
    margin-bottom: 1.4rem;
  }

  .about-page {
    padding-top: 1.5vh;
    padding-bottom: 8vh;
  }

  .about-page .project-index,
  .about-page .about-name,
  .about-page .about-tagline {
    top: 0;
  }

  .about-name {
    font-size: clamp(2.1rem, 10vw, 3.2rem);
  }

  .about-tagline {
    margin-bottom: 1.75rem;
    font-size: clamp(0.95rem, 3.8vw, 1.15rem);
  }

  .about-photo {
    max-width: 100%;
  }

  .about-resume {
    font-size: clamp(1.05rem, 4.5vw, 1.35rem);
  }

  .project-hero-frame {
    margin-bottom: 1.5rem;
  }

  .project-hero-clip {
    border: 0;
    padding: 0;
  }

  .project-hero-clip img.is-raised,
  .panel-about .work-feature-image--raised {
    object-position: center 40%;
  }

  .custom-cursor {
    display: none !important;
  }

  body.custom-cursor-active {
    cursor: auto;
  }

  body.custom-cursor-active a,
  body.custom-cursor-active button {
    cursor: pointer;
  }

  .nav-about-cue {
    display: none;
  }
}

@media (max-width: 400px) {
  .hero-name {
    font-size: clamp(2.15rem, 11.5vw, 2.8rem);
  }

  .hero-flowers {
    height: clamp(1.05rem, 7.5vw, 1.7rem);
  }

  .block-field,
  .about-blocks {
    width: min(42vw, 160px);
    height: min(42vw, 160px);
  }

  .panel-about .work-feature-meta {
    font-size: 0.62rem;
    padding: 0.22rem 0.45rem;
  }
}
