:root {
  --bg: #f7f6f2;
  --paper: #fffefa;
  --ink: #111111;
  --muted: #6f6f68;
  --line: #d8d6cf;
  --accent: #0ea5a4;
  --max: 1440px;
  --pad: clamp(20px, 4vw, 72px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.65;
}

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

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

.work-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  padding: 18px var(--pad);
  border-bottom: 1px solid rgba(216, 214, 207, 0.78);
  background: rgba(247, 246, 242, 0.82);
  backdrop-filter: blur(18px);
}

.work-header a {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.work-hero,
.work-section,
.work-gallery,
.work-footer {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding-right: var(--pad);
  padding-left: var(--pad);
}

.work-hero {
  display: grid;
  min-height: min(86vh, 920px);
  grid-template-columns: minmax(420px, 0.9fr) minmax(520px, 1.1fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
  padding-top: 86px;
  padding-bottom: 72px;
}

.kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(64px, 8.2vw, 128px);
  font-weight: 780;
  line-height: 0.96;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-copy p:not(.kicker) {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 23px);
  line-height: 1.8;
}

.hero-media {
  overflow: hidden;
  background: #111;
  box-shadow: 0 36px 80px rgba(17, 17, 17, 0.16);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter 0.6s var(--ease);
}

.hero-media:hover img {
  transform: scale(1.02);
  filter: contrast(1.06);
}

.meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 34px;
  background: var(--line);
}

.meta div {
  padding: 18px;
  background: var(--paper);
}

.meta span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.meta strong {
  display: block;
  margin-top: 10px;
  font-size: 18px;
}

.work-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 88px);
  padding-top: 100px;
  padding-bottom: 60px;
  border-top: 1px solid var(--line);
}

.work-section h2 {
  margin: 0;
  font-size: clamp(32px, 3.8vw, 58px);
  line-height: 1.08;
  text-wrap: balance;
}

.work-section p {
  max-width: 860px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.85;
}

.work-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding-bottom: 100px;
}

.work-gallery img,
.work-gallery video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #111;
}

.work-gallery .wide {
  grid-column: 1 / -1;
}

.audible-page {
  background:
    radial-gradient(circle at 78% 14%, rgba(14, 165, 164, 0.08), transparent 22%),
    linear-gradient(90deg, rgba(17, 17, 17, 0.032) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 17, 17, 0.032) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
}

.audible-hero .hero-copy p:not(.kicker) {
  max-width: 700px;
}

.audible-statement {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.audible-statement h2 {
  max-width: 940px;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.audible-statement > p:last-child {
  margin-top: clamp(22px, 3vw, 36px);
}

.audible-concept-grid,
.audible-act-grid,
.audible-feature-images {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding-right: var(--pad);
  padding-left: var(--pad);
}

.audible-concept-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.05fr 1.05fr;
  gap: clamp(24px, 5vw, 86px);
  padding-top: clamp(72px, 9vw, 128px);
  padding-bottom: clamp(72px, 9vw, 128px);
  border-bottom: 1px solid var(--line);
}

.audible-concept-grid article {
  display: grid;
  min-height: 260px;
  align-content: start;
  border-top: 1px solid var(--ink);
  padding-top: 18px;
  background: transparent;
}

.audible-concept-grid span,
.audible-act-grid span,
.audible-system-list span {
  display: block;
  color: var(--accent);
  font-family: Inter, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.audible-concept-grid h2 {
  max-width: 360px;
  margin: clamp(46px, 7vw, 96px) 0 18px;
  font-size: clamp(30px, 4vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.audible-concept-grid p,
.audible-act-grid p,
.audible-system-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.audible-section {
  border-top: 1px solid var(--line);
}

.audible-act-grid {
  display: grid;
  gap: clamp(56px, 8vw, 112px);
  padding-top: 20px;
  padding-bottom: clamp(88px, 11vw, 156px);
}

.audible-act-grid article {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: end;
  min-height: 0;
  border-top: 1px solid var(--line);
  padding-top: clamp(24px, 4vw, 54px);
  background: transparent;
}

.audible-act-grid article:nth-child(even) {
  grid-template-columns: minmax(0, 0.66fr) minmax(220px, 0.34fr);
}

.audible-act-grid article:nth-child(even) > div {
  grid-column: 2;
  grid-row: 1;
}

.audible-act-grid article:nth-child(even) > figure {
  grid-column: 1;
  grid-row: 1;
}

.audible-act-grid h3 {
  max-width: 420px;
  margin: clamp(38px, 6vw, 86px) 0 18px;
  font-size: clamp(32px, 4.8vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.audible-act-grid figure {
  overflow: hidden;
  margin: 0;
  background: #111;
}

.audible-act-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: grayscale(0.08) contrast(1.04);
}

.audible-system {
  background: var(--ink);
  color: var(--paper);
}

.audible-system .case-section-title h2 {
  white-space: normal;
}

.audible-system .case-copy p,
.audible-system-list p {
  color: rgba(255, 254, 250, 0.68);
}

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

.audible-system-list article {
  min-height: 250px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    #111;
}

.audible-system-list h3 {
  margin: 48px 0 16px;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.15;
}

.audible-feature-images {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
  padding-top: clamp(88px, 11vw, 156px);
  padding-bottom: clamp(88px, 11vw, 156px);
  border-top: 1px solid var(--line);
}

.audible-feature-copy {
  grid-column: 1 / span 4;
  position: sticky;
  top: 96px;
}

.audible-feature-copy h2 {
  max-width: 420px;
  margin: 0;
  font-size: clamp(34px, 4.2vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.audible-feature-copy p:not(.kicker) {
  max-width: 360px;
  margin: 22px 0 0;
  color: var(--muted);
  line-height: 1.85;
}

.audible-feature-images figure {
  position: relative;
  margin: 0;
  background: transparent;
}

.audible-feature-images figure:nth-of-type(1) {
  grid-column: 6 / span 3;
}

.audible-feature-images figure:nth-of-type(2) {
  grid-column: 8 / span 5;
  margin-top: clamp(140px, 14vw, 220px);
}

.audible-feature-images img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  box-shadow: 0 28px 70px rgba(17, 17, 17, 0.14);
}

.audible-feature-images figcaption {
  position: static;
  padding: 14px 0 0;
  background: transparent;
  backdrop-filter: none;
  color: var(--ink);
}

.audible-feature-images figcaption span {
  display: block;
  color: var(--cyan, #00d7ff);
  font-family: Inter, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.audible-feature-images figcaption b {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.audible-output {
  border-top: 1px solid var(--line);
}

.artwalk-hero .hero-media img {
  aspect-ratio: 4 / 5.4;
  object-position: top center;
}

.case-brief {
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
}

.star-section,
.process-section,
.image-feature {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding-right: var(--pad);
  padding-left: var(--pad);
}

.star-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.28fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 88px);
  padding-top: 100px;
  padding-bottom: 100px;
  border-top: 1px solid var(--line);
}

.section-label h2,
.process-copy h2 {
  margin: 0;
  font-size: clamp(32px, 3.8vw, 58px);
  line-height: 1.08;
  text-wrap: balance;
}

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

.star-grid article,
.process-steps article {
  border: 1px solid var(--line);
  padding: 26px;
  background: rgba(255, 254, 250, 0.72);
}

.star-grid span,
.process-steps span,
.image-feature figcaption span {
  display: block;
  color: var(--accent);
  font-family: Inter, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.star-grid h3 {
  margin: 46px 0 16px;
  font-size: clamp(24px, 2.4vw, 38px);
  line-height: 1.18;
}

.star-grid p,
.process-steps p,
.outcome-list p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.process-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 88px);
  padding-top: 100px;
  padding-bottom: 100px;
  border-top: 1px solid var(--line);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.process-steps article {
  min-height: 260px;
}

.process-steps b {
  display: block;
  margin: 52px 0 14px;
  font-size: 24px;
}

.image-feature {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 14px;
  padding-bottom: 100px;
}

.image-feature figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  min-height: 560px;
  background: #111;
}

.image-feature figure:first-child {
  min-height: 760px;
}

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

.image-feature-single figure,
.image-feature-single figure:first-child {
  min-height: 640px;
}

.image-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-feature figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 16px 18px;
  background: rgba(255, 254, 250, 0.82);
  backdrop-filter: blur(14px);
}

.image-feature figcaption b {
  display: block;
  margin-top: 8px;
  font-size: 16px;
}

.ui-showcase-section,
.ui-system-section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 100px var(--pad);
  border-top: 1px solid var(--line);
}

.ui-showcase-section {
  background:
    radial-gradient(circle at 88% 10%, rgba(14, 165, 164, 0.08), transparent 22%),
    linear-gradient(90deg, rgba(17, 17, 17, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 17, 17, 0.03) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
}

.ui-showcase-section .section-label {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 88px);
  margin-bottom: 54px;
}

.ui-showcase-section .section-label p:not(.kicker) {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.8;
}

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

.ui-phone-card {
  display: grid;
  gap: 18px;
  align-content: start;
}

.portfolio-phone {
  position: relative;
  width: min(100%, 360px);
  min-height: 760px;
  justify-self: center;
  overflow: hidden;
  border: 9px solid #263f36;
  border-radius: 42px;
  padding: 26px 18px 76px;
  background: #fbfaf5;
  box-shadow: 0 28px 70px rgba(17, 17, 17, 0.16);
  color: #1f2d27;
}

.portfolio-phone::before {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 86px;
  height: 24px;
  border-radius: 999px;
  background: #1d3029;
  content: "";
  transform: translateX(-50%);
  z-index: 3;
}

.portfolio-phone header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-top: 30px;
}

.portfolio-phone header span,
.portfolio-phone small,
.ui-filter b,
.ui-card-copy span,
.ui-system-grid span {
  color: #4b6f60;
  font-family: Inter, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.portfolio-phone header b {
  display: grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 34%, #d39a58 0 24%, transparent 25%),
    radial-gradient(circle at 68% 62%, #b8d0dc 0 25%, transparent 26%),
    #d7ef7a;
  color: #263f36;
  font-size: 12px;
}

.portfolio-phone h3 {
  margin: 10px 0 14px;
  font-family: Inter, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  font-size: 30px;
  line-height: 1.05;
}

.ui-search,
.explore-search {
  border: 1px solid rgba(75, 111, 96, 0.12);
  border-radius: 18px;
  padding: 12px 14px;
  background: rgba(255, 253, 248, 0.86);
  color: rgba(32, 45, 39, 0.45);
  font-size: 12px;
}

.ui-chip-row,
.ui-summary,
.ui-floor {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0;
}

.ui-chip-row span,
.ui-chip-row strong,
.ui-summary span,
.ui-filter span,
.ui-floor span,
.ui-floor strong {
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(255, 253, 248, 0.82);
  color: rgba(32, 45, 39, 0.58);
  font-size: 10px;
  font-weight: 850;
}

.ui-chip-row strong,
.ui-floor strong {
  background: #d7ef7a;
  color: #4b6f60;
}

.ui-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.ui-summary span {
  display: grid;
  place-items: center;
}

.ui-show-card {
  position: relative;
  overflow: hidden;
  min-height: 178px;
  border-radius: 26px;
  padding: 22px;
  background:
    radial-gradient(circle at 78% 24%, #d7ef7a 0 18%, transparent 19%),
    radial-gradient(circle at 28% 32%, #d39a58 0 22%, transparent 23%),
    radial-gradient(circle at 74% 76%, #b8d0dc 0 24%, transparent 25%),
    #4b6f60;
  color: #fffdf8;
}

.ui-show-card h4,
.ui-poster h4 {
  margin: 28px 0 0;
  font-family: Inter, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  font-size: 34px;
  line-height: 0.92;
}

.ui-show-card i,
.ui-poster i {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.9);
  color: #4b6f60;
  font-style: normal;
  font-weight: 900;
}

.ui-route-card,
.ui-route-sheet,
.ui-sheet,
.ui-guide-panel,
.ui-share-card,
.ui-result,
.ui-saved-item {
  border: 1px solid rgba(75, 111, 96, 0.12);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.86);
}

.ui-route-card {
  margin-top: 14px;
  padding: 14px;
}

.ui-route-card b,
.ui-route-sheet b {
  display: block;
  margin: 6px 0 10px;
  font-size: 15px;
}

.ui-route-card em,
.ui-progress i {
  display: block;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d39a58 0 33%, #4b6f60 33% 66%, #b8d0dc 66% 100%);
}

.portfolio-phone nav {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  border: 1px solid rgba(75, 111, 96, 0.1);
  border-radius: 999px;
  padding: 8px;
  background: rgba(255, 253, 248, 0.92);
  color: rgba(32, 45, 39, 0.48);
  font-size: 11px;
  font-weight: 850;
  text-align: center;
}

.portfolio-phone nav strong {
  border-radius: 999px;
  background: rgba(215, 239, 122, 0.5);
  color: #4b6f60;
  padding: 4px 0;
}

.screen-home,
.screen-explore,
.screen-route,
.screen-saved {
  background:
    radial-gradient(circle at 86% 10%, rgba(215, 239, 122, 0.3), transparent 20%),
    linear-gradient(180deg, #fffdf8, #efede6);
}

.ui-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.ui-filter b {
  width: 100%;
}

.ui-result,
.ui-saved-item {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
}

.ui-result i,
.ui-saved-item i {
  grid-row: span 3;
  border-radius: 14px;
  background: linear-gradient(135deg, #d39a58, #b8d0dc);
}

.ui-result.green i,
.ui-saved-item:nth-of-type(2) i {
  background: linear-gradient(135deg, #4b6f60, #d7ef7a);
}

.ui-result b,
.ui-saved-item b {
  font-size: 13px;
}

.ui-result small,
.ui-saved-item small {
  color: var(--muted);
  font-size: 11px;
}

.ui-result em {
  width: max-content;
  border-radius: 999px;
  padding: 3px 7px;
  background: rgba(215, 239, 122, 0.44);
  color: #4b6f60;
  font-style: normal;
  font-size: 10px;
  font-weight: 900;
}

.screen-detail {
  padding: 0;
  background: #efede6;
}

.ui-poster {
  position: relative;
  min-height: 260px;
  padding: 48px 22px 22px;
  background:
    radial-gradient(circle at 72% 32%, #d7ef7a 0 20%, transparent 21%),
    linear-gradient(135deg, #e7e1d4, #879d8d 45%, #4b6f60);
  color: #fffdf8;
}

.ui-sheet {
  position: relative;
  margin: -32px 14px 0;
  padding: 22px;
}

.ui-sheet h3 {
  margin-top: 6px;
  font-size: 24px;
}

.ui-data-row,
.ui-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin: 13px 0;
}

.ui-data-row span,
.ui-stats span {
  border-radius: 14px;
  padding: 9px 7px;
  background: rgba(239, 237, 230, 0.82);
  color: rgba(32, 45, 39, 0.55);
  font-size: 9px;
  font-weight: 800;
  text-align: center;
}

.ui-data-row b,
.ui-stats b {
  display: block;
  color: #1f2d27;
  font-size: 14px;
}

.ui-sheet p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.ui-sheet button {
  width: 100%;
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: #4b6f60;
  color: #fffdf8;
  font-weight: 900;
}

.screen-route svg {
  width: 100%;
  height: 100%;
}

.ui-map {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: 26px;
  background:
    linear-gradient(90deg, rgba(75, 111, 96, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(75, 111, 96, 0.08) 1px, transparent 1px),
    #f2f0e7;
  background-size: 34px 34px;
}

.ui-map path {
  fill: none;
  stroke: #4b6f60;
  stroke-width: 8;
  stroke-linecap: round;
}

.pin {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 5px solid #4b6f60;
  border-radius: 50%;
  background: #d7ef7a;
  z-index: 1;
}

.p1 { left: 42px; top: 188px; }
.p2 { left: 132px; top: 118px; }
.p3 { right: 48px; top: 58px; }

.ui-route-sheet {
  margin-top: -28px;
  padding: 18px;
}

.ui-route-sheet p {
  color: var(--muted);
  font-size: 12px;
}

.screen-guide {
  padding: 0;
  background: #efede6;
}

.ui-guide-photo {
  min-height: 230px;
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.02), rgba(17, 17, 17, 0.28)),
    url("../assets/images/artwalk-scene-phone-v2.png") center / cover;
}

.ui-guide-panel {
  margin: -26px 14px 0;
  padding: 18px;
}

.ui-progress {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 10px;
}

.ui-step {
  position: relative;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  margin-top: 10px;
  border-radius: 16px;
  padding: 10px;
  background: rgba(255, 253, 248, 0.8);
}

.ui-step i {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(75, 111, 96, 0.22);
}

.ui-step.active {
  background: #eef3df;
}

.ui-step.active i {
  background: #d7ef7a;
}

.ui-step small {
  display: block;
  grid-column: 2;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
  word-break: keep-all;
  overflow-wrap: normal;
  white-space: nowrap;
}

.ui-step b {
  grid-column: 2;
}

.ui-share-card {
  padding: 16px;
  background:
    radial-gradient(circle at 82% 28%, #d7ef7a 0 18%, transparent 19%),
    #4b6f60;
  color: #fffdf8;
}

.ui-share-card b {
  display: block;
  margin: 18px 0 8px;
  font-size: 26px;
  line-height: 0.98;
}

.ui-share-card em {
  color: rgba(255, 253, 248, 0.72);
  font-style: normal;
  font-size: 11px;
}

.ui-card-copy {
  max-width: 360px;
  justify-self: center;
}

.ui-card-copy b {
  display: block;
  margin-top: 8px;
  font-size: 24px;
}

.ui-card-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.ui-system-section {
  display: grid;
  grid-template-columns: 0.32fr 1fr;
  gap: clamp(28px, 6vw, 88px);
}

.ui-system-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.ui-system-grid article {
  min-height: 210px;
  border: 1px solid var(--line);
  padding: 22px;
  background: rgba(255, 254, 250, 0.72);
}

.ui-system-grid b {
  display: block;
  margin: 42px 0 12px;
  font-size: 22px;
  line-height: 1.2;
}

.ui-system-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.outcome-section {
  align-items: start;
}

.outcome-section h2 {
  white-space: nowrap;
}

.outcome-list {
  display: grid;
  gap: 18px;
}

.outcome-list strong {
  color: var(--ink);
}

.work-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.button-dark {
  background: var(--ink);
  color: var(--paper);
}

.button-light {
  background: transparent;
}

.work-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 42px;
  padding-bottom: 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

/* Korean portfolio-inspired case layout */
.case-page {
  --case-pad-y: clamp(88px, 9vw, 132px);
  --case-gap: clamp(48px, 7vw, 104px);
}

.case-cover,
.case-statement,
.case-two-column,
.case-image-wide,
.case-gallery-large,
.case-output,
.case-system-grid {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding-right: var(--pad);
  padding-left: var(--pad);
}

.case-cover {
  display: grid;
  min-height: min(92vh, 960px);
  grid-template-columns: minmax(360px, 0.42fr) minmax(560px, 0.58fr);
  gap: var(--case-gap);
  align-items: center;
  padding-top: clamp(88px, 10vw, 140px);
  padding-bottom: var(--case-pad-y);
}

.case-cover-copy {
  align-self: center;
}

.case-cover h1 {
  max-width: 760px;
  font-size: clamp(72px, 8.4vw, 132px);
  line-height: 0.94;
  white-space: nowrap;
}

.case-cover-copy > p:not(.kicker) {
  max-width: 560px;
  margin: clamp(18px, 2.5vw, 28px) 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.85;
}

.case-meta-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(24px, 3vw, 36px);
  max-width: 560px;
}

.case-meta-list dt {
  font-family: Inter, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.case-meta-list dd {
  margin: 0;
  font-size: clamp(13px, 1.1vw, 16px);
  color: var(--ink);
  line-height: 1.4;
}

.case-cover-media {
  margin: 0;
  background: #efede7;
  box-shadow: 0 32px 90px rgba(17, 17, 17, 0.12);
}

.case-cover-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
}

.case-meta-list {
  display: grid;
  max-width: 640px;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 40px 0 0;
  background: var(--line);
}

.case-meta-list div {
  padding: 18px 20px;
  background: rgba(255, 254, 250, 0.78);
}

.case-meta-list dt {
  margin: 0;
  color: var(--muted);
  font-family: Inter, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-meta-list dd {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

.case-statement {
  display: grid;
  grid-template-columns: minmax(160px, 0.24fr) minmax(0, 0.76fr);
  gap: var(--case-gap);
  padding-top: clamp(84px, 9vw, 128px);
  padding-bottom: clamp(84px, 9vw, 128px);
  border-top: 1px solid var(--line);
}

.case-statement h2 {
  max-width: 940px;
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 720;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.case-statement > p:last-child {
  grid-column: 2;
  max-width: 680px;
  margin: clamp(22px, 3vw, 36px) 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.9;
  text-wrap: pretty;
}

.case-statement.audible-statement h2 {
  line-height: 1.18;
}

.case-statement.audible-statement > p:last-child {
  margin: clamp(22px, 3vw, 36px) 0 0;
}

.case-two-column {
  display: grid;
  grid-template-columns: minmax(220px, 0.28fr) minmax(0, 0.72fr);
  gap: var(--case-gap);
  padding-top: clamp(84px, 9vw, 128px);
  padding-bottom: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line);
}

.case-section-title {
  margin-bottom: clamp(24px, 3vw, 36px);
}

.case-section-title .kicker {
  margin-bottom: 10px;
}

.case-section-title h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 720;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.case-output h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.1;
  white-space: nowrap;
}

.case-copy p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.9;
}

.case-image-wide {
  padding-bottom: clamp(84px, 9vw, 132px);
}

.case-image-wide img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #ece9e2;
}

.case-gallery-large {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-bottom: clamp(84px, 9vw, 132px);
}

.case-gallery-large.compact {
  padding-top: 0;
  gap: 18px;
}

.case-gallery-large figure {
  margin: 0;
}

.case-gallery-large img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #ece9e2;
  transition: transform 0.8s var(--ease), filter 0.5s var(--ease);
}

.case-gallery-large figure:hover img {
  transform: scale(1.008);
  filter: contrast(1.04);
}

.case-gallery-large figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-family: Inter, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-output {
  display: grid;
  grid-template-columns: minmax(220px, 0.28fr) minmax(0, 0.72fr);
  gap: var(--case-gap);
  padding-top: clamp(84px, 9vw, 128px);
  padding-bottom: clamp(84px, 9vw, 128px);
  border-top: 1px solid var(--line);
}

.case-output .kicker {
  grid-column: 1;
  grid-row: 1;
}

.case-output h2 {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  margin-top: 46px;
}

.case-output ul {
  display: grid;
  grid-column: 2;
  grid-row: 1;
  max-width: 820px;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.85;
}

.case-output li {
  padding: 0 0 22px;
  border-bottom: 1px solid rgba(216, 214, 207, 0.72);
}

.case-output li + li {
  padding-top: 22px;
}

.case-ui-block {
  background: transparent;
}

.case-system-grid {
  padding-bottom: var(--case-pad-y);
}

.patchi-page .case-cover-media,
.patchi-page .case-image-wide img,
.patchi-page .case-gallery-large img {
  background: #f3eadb;
}

.artwalk-page .case-cover-media,
.artwalk-page .case-image-wide img {
  background: #eef1e8;
}

/* Homi smart-home UI case */
.homi-page {
  --homi-navy: #0e2233;
  --homi-green: #8fd16a;
  --homi-mist: #edf3f0;
}

.homi-page .case-cover {
  min-height: auto;
}

.homi-page .case-cover h1 {
  color: var(--homi-navy);
}

.homi-page .case-cover-media,
.homi-page .case-image-wide img {
  background: var(--homi-mist);
}

.homi-page .case-cover-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.case-slide-sequence {
  display: grid;
  width: min(100%, var(--max));
  gap: clamp(52px, 6vw, 84px);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(96px, 10vw, 148px);
}

.case-slide-sequence figure {
  margin: 0;
}

.case-slide-sequence img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: var(--homi-mist);
  border: 1px solid rgba(14, 34, 51, 0.08);
}

.case-slide-sequence figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-family: Inter, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-slide-sequence .homi-dark-slide img {
  background: var(--homi-navy);
}

.homi-finale {
  padding-bottom: clamp(84px, 9vw, 132px);
}

.poster-page .case-cover h1 {
  white-space: normal;
}

.poster-cover-media {
  display: grid;
  place-items: center;
  padding: clamp(14px, 2vw, 24px);
  background: #ece7dd;
}

.poster-cover-media img {
  width: min(100%, 520px);
  aspect-ratio: 3 / 4.25;
  object-fit: contain;
  box-shadow: 0 24px 64px rgba(17, 17, 17, 0.16);
}

.poster-index-section,
.poster-detail-list {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding-right: var(--pad);
  padding-left: var(--pad);
}

.poster-index-section {
  padding-top: clamp(72px, 8vw, 116px);
  padding-bottom: clamp(84px, 9vw, 132px);
  border-top: 1px solid var(--line);
}

.poster-index-head {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 0.72fr);
  gap: clamp(28px, 6vw, 88px);
  margin-bottom: clamp(34px, 5vw, 64px);
}

.poster-index-head h2 {
  margin: 0;
  font-size: clamp(34px, 4.8vw, 70px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.poster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.poster-card {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 100%;
  border-top: 1px solid var(--ink);
  padding-top: 14px;
  color: inherit;
}

.poster-card img {
  width: 100%;
  aspect-ratio: 3 / 4.25;
  object-fit: cover;
  background: #ece9e2;
  transition: transform 0.7s var(--ease), filter 0.5s var(--ease);
}

.poster-card:hover img {
  filter: contrast(1.05);
  transform: translateY(-4px);
}

.poster-card span {
  margin-top: 18px;
  color: var(--accent);
  font-family: Inter, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.poster-card h3 {
  margin: 8px 0 0;
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: 1.15;
}

.poster-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.poster-detail-list {
  display: grid;
  gap: clamp(72px, 9vw, 128px);
  padding-top: clamp(84px, 9vw, 128px);
  padding-bottom: clamp(96px, 11vw, 156px);
  border-top: 1px solid var(--line);
}

.poster-detail {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
  scroll-margin-top: 96px;
}

.poster-detail figure {
  position: sticky;
  top: 92px;
  margin: 0;
  background: #ece9e2;
}

.poster-detail img {
  width: 100%;
  aspect-ratio: 3 / 4.25;
  object-fit: contain;
  box-shadow: 0 28px 70px rgba(17, 17, 17, 0.12);
}

.poster-detail-copy {
  border-top: 1px solid var(--ink);
  padding-top: 18px;
}

.poster-detail-copy h2 {
  margin: 0 0 clamp(28px, 4vw, 52px);
  font-size: clamp(38px, 5vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.poster-detail-copy h3 {
  margin: 28px 0 8px;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.2;
}

.poster-detail-copy p:not(.kicker) {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.9;
}

.poster-page .work-footer {
  margin-top: 0;
}

@media (max-width: 900px) {
  .work-hero,
  .work-section,
  .work-gallery,
  .star-section,
  .process-section,
  .image-feature,
  .audible-feature-images {
    grid-template-columns: 1fr;
  }

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

  h1,
  .outcome-section h2 {
    white-space: normal;
  }

  .star-grid,
  .process-steps,
  .ui-screen-grid,
  .ui-system-grid,
  .audible-concept-grid,
  .audible-act-grid,
  .audible-system-list {
    grid-template-columns: 1fr;
  }

  .image-feature figure,
  .image-feature figure:first-child {
    min-height: 420px;
  }

  .audible-act-grid article,
  .audible-act-grid article:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .audible-act-grid article:nth-child(even) > div,
  .audible-act-grid article:nth-child(even) > figure {
    grid-column: auto;
    grid-row: auto;
  }

  .audible-feature-copy {
    position: static;
    grid-column: auto;
  }

  .audible-feature-images figure:nth-of-type(1),
  .audible-feature-images figure:nth-of-type(2) {
    grid-column: auto;
    margin-top: 0;
  }

  .ui-showcase-section .section-label,
  .ui-system-section {
    grid-template-columns: 1fr;
  }

  .portfolio-phone {
    width: min(100%, 340px);
    min-height: 720px;
  }

  .case-cover,
  .case-statement,
  .case-two-column,
  .case-output,
  .poster-index-head,
  .poster-detail {
    grid-template-columns: 1fr;
  }

  .case-cover h1,
  .case-section-title h2,
  .case-output h2 {
    white-space: normal;
  }

  .case-meta-list,
  .case-gallery-large {
    grid-template-columns: 1fr;
  }

  .case-statement > p:last-child {
    grid-column: auto;
    margin-top: 0;
  }

  .case-output .kicker,
  .case-output h2,
  .case-output ul {
    grid-column: auto;
    grid-row: auto;
  }

  .case-output h2 {
    margin-top: 0;
  }

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

  .poster-detail figure {
    position: static;
  }

}

@media (max-width: 640px) {
  .poster-grid {
    grid-template-columns: 1fr;
  }

  .poster-card img,
  .poster-detail img,
  .poster-cover-media img {
    aspect-ratio: 3 / 4.1;
  }
}

/* Experiments / AI motion studies */
.experiment-page {
  --motion-black: #090909;
  --motion-white: #fffefa;
}

.experiment-cover {
  min-height: min(90vh, 940px);
}

.experiment-cover h1 {
  font-size: clamp(58px, 6.1vw, 92px);
}

.experiment-cover-media {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: var(--motion-black);
  box-shadow: 0 32px 90px rgba(17, 17, 17, 0.16);
}

.experiment-cover-media video,
.motion-video-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 2.35 / 1;
  object-fit: cover;
  background: var(--motion-black);
  cursor: pointer;
}

.motion-video-shell {
  position: relative;
  overflow: hidden;
  background: var(--motion-black);
}

.motion-video-shell::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  content: "";
  pointer-events: none;
}

.motion-video-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  color: rgba(255, 255, 255, 0.76);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
  font-family: Inter, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
}

.motion-video-caption b {
  margin-right: 10px;
  color: var(--accent);
}

.motion-video-toggle {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  min-width: 58px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 0;
  color: var(--motion-white);
  background: rgba(9, 9, 9, 0.64);
  font: 800 9px/1 Inter, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.motion-video-toggle:hover,
.motion-video-toggle:focus-visible {
  border-color: var(--accent);
  color: var(--motion-black);
  background: var(--accent);
  outline: none;
}

.motion-study-intro {
  padding-bottom: clamp(64px, 7vw, 96px);
}

.motion-study-grid {
  display: grid;
  width: min(100%, var(--max));
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(44px, 6vw, 88px) clamp(18px, 2vw, 28px);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(104px, 11vw, 164px);
}

.motion-study {
  min-width: 0;
  margin: 0;
}

.motion-study:nth-child(even) {
  transform: translateY(clamp(28px, 4vw, 58px));
}

.motion-study-meta {
  display: grid;
  grid-template-columns: 42px minmax(140px, 0.7fr) minmax(160px, 1fr);
  gap: 16px;
  align-items: baseline;
  padding-top: 14px;
  border-top: 1px solid var(--ink);
  color: var(--muted);
  font-family: Inter, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.motion-study-meta strong,
.motion-study-meta small {
  display: block;
}

.motion-study-meta strong {
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.motion-study-meta small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
}

.motion-study-index {
  color: var(--accent);
  font-weight: 900;
}

.experiment-static-intro {
  padding-top: clamp(92px, 10vw, 144px);
}

.experiment-gallery {
  row-gap: clamp(56px, 7vw, 92px);
}

@media (max-width: 900px) {
  .experiment-cover {
    min-height: auto;
  }

  .experiment-cover-media {
    order: -1;
  }

  .motion-study-grid {
    grid-template-columns: 1fr;
  }

  .motion-study:nth-child(even) {
    transform: none;
  }
}

@media (max-width: 640px) {
  .experiment-cover h1 {
    font-size: clamp(48px, 14.2vw, 62px);
  }

  .motion-video-caption {
    padding: 32px 12px 10px;
  }

  .motion-video-caption span:last-child {
    display: none;
  }

  .motion-video-toggle {
    top: 8px;
    right: 8px;
  }

  .motion-study-meta {
    grid-template-columns: 34px 1fr;
  }

  .motion-study-meta > span:last-child {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-video-toggle {
    display: none;
  }
}
