:root {
  --paper: #f8f7f5;
  --ink: #33382f;
  --muted: #8f9185;
  --purple: #5b566f;
  --lavender: #958abc;
  --dark: #2e2a39;
  --lilac: #cab6f4;
  --frame: #2d2a36;
  --shadow: #96929f;
  --display: "Gaegu", "Comic Sans MS", cursive;
  --body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  overflow-x: hidden;
}

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

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

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(18px, 4vw, 56px);
  pointer-events: none;
}

.logo,
.topnav a {
  pointer-events: auto;
}

.logo {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 700;
  color: #f4aeb7;
  text-shadow: 6px 0 #b7e0e9, 3px 4px #f6dca1;
}

.topnav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.side-nav {
  position: fixed;
  z-index: 15;
  right: clamp(18px, 5vw, 72px);
  top: 56%;
  display: grid;
  gap: 5px;
  color: #969b8d;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: right;
}

.side-nav a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.side-nav span {
  width: 13px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 116px 20px 80px;
}

.hero-inner {
  width: min(1050px, 100%);
  display: grid;
  justify-items: center;
  gap: 92px;
}

.hero h1 {
  max-width: 1000px;
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(3.9rem, 7.6vw, 8.6rem);
  font-weight: 700;
  line-height: 0.94;
  text-align: center;
}

.down-mark {
  position: relative;
  display: grid;
  width: 80px;
  height: 80px;
  grid-template-columns: repeat(2, 1fr);
  transform: rotate(45deg);
}

.down-mark span {
  margin: 4px;
  background: #9da092;
}

.portfolio-section {
  padding: 44px clamp(20px, 8vw, 140px) 120px;
}

.section-title {
  width: min(960px, 100%);
  margin: 0 auto 26px;
}

.section-title p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-title h2 {
  margin: 0;
  color: var(--purple);
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 6.8rem);
  line-height: 0.85;
}

.project-list {
  display: grid;
  gap: clamp(72px, 10vw, 138px);
}

.project-row {
  width: min(960px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) 64px minmax(300px, 1fr);
  gap: 22px;
  align-items: center;
}

.project-copy {
  min-width: 0;
}

.project-title {
  display: inline-block;
  color: var(--purple);
  font-family: var(--display);
  font-size: clamp(2.6rem, 4.5vw, 5rem);
  font-weight: 700;
  line-height: 0.88;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-top: 22px;
  color: var(--lavender);
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  font-weight: 650;
  line-height: 1.23;
}

.arrow-link {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 999px;
  background: var(--purple);
  color: white;
  font-size: 4rem;
  font-family: var(--display);
  line-height: 0.7;
  transition: transform 180ms ease, background 180ms ease;
}

.project-row:hover .arrow-link {
  transform: translateX(4px);
  background: #48435c;
}

.project-frame,
.detail-frame {
  display: block;
  border: 11px solid var(--frame);
  background: var(--frame);
  box-shadow: 12px 12px 0 var(--shadow);
  overflow: hidden;
}

.project-frame img,
.project-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 300ms ease;
}

.project-row:hover .project-frame img,
.project-row:hover .project-frame video {
  transform: scale(1.025);
}

.about-section {
  min-height: 100svh;
  background: var(--dark);
  color: var(--lilac);
  padding: 82px clamp(20px, 8vw, 150px) 92px;
}

.about-wrap {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: clamp(30px, 7vw, 96px);
  align-items: start;
}

.about-wrap h2 {
  grid-column: 1 / -1;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4rem, 7vw, 8.2rem);
  line-height: 0.8;
}

.about-wrap::before {
  content: "";
  width: min(300px, 68vw);
  aspect-ratio: 0.72;
  justify-self: center;
  border-radius: 48% 48% 0 0;
  background:
    linear-gradient(rgba(202, 182, 244, 0.16), rgba(202, 182, 244, 0.16)),
    url("/assets/images/3f3e1e134b79-e4f353_8d93ed00df4d438f9f498faca9e3cead_mv2.png") center / cover;
}

.about-body {
  max-width: 620px;
  font-size: clamp(1.06rem, 1.6vw, 1.36rem);
  font-weight: 700;
  line-height: 1.48;
}

.about-body p {
  margin: 0 0 8px;
}

.contact-section {
  min-height: 62svh;
  display: grid;
  place-items: center;
  gap: 28px;
  background: var(--dark);
  color: var(--lilac);
  padding: 84px 22px 120px;
  text-align: center;
}

.contact-section p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4rem, 8vw, 9rem);
  font-weight: 700;
  line-height: 0.85;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.contact-links a,
.back-link {
  border: 2px solid currentColor;
  padding: 11px 18px 12px;
  color: var(--lilac);
  font-size: 1rem;
  font-weight: 800;
}

.home-footer {
  background: var(--dark);
  color: var(--muted);
  padding: 0 22px 36px;
  text-align: center;
}

.home-footer p {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
}

.detail-page {
  min-height: 100svh;
  padding: 112px clamp(20px, 7vw, 130px) 90px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 54px;
  color: var(--purple);
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.56fr);
  gap: clamp(24px, 6vw, 88px);
  align-items: end;
}

.detail-kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
}

.detail-hero h1 {
  margin: 0;
  color: var(--purple);
  font-family: var(--display);
  font-size: clamp(4rem, 10vw, 11rem);
  line-height: 0.78;
}

.detail-summary {
  color: var(--purple);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  font-weight: 650;
  line-height: 1.45;
}

.detail-media {
  margin-top: 52px;
}

.detail-frame img,
.detail-frame video {
  width: 100%;
  max-height: 78svh;
  object-fit: contain;
  background: #111;
}

.detail-notes {
  max-width: 760px;
  margin: 42px auto 0;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 650;
  text-align: center;
}

.ysbh-page {
  --ysbh-bg: #bdc994;
  --ysbh-dark: #596347;
  --ysbh-ink: #3e482b;
  --ysbh-light: #dbe5b3;
  min-height: 100svh;
  background: var(--ysbh-bg);
  color: var(--ysbh-ink);
  font-family: var(--display);
}

.ysbh-page .side-nav {
  color: var(--ysbh-light);
}

.ysbh-page .side-nav a:first-child {
  color: var(--ysbh-ink);
}

.ysbh-hero {
  min-height: 100svh;
  display: grid;
  justify-items: center;
  align-content: start;
  padding: 132px clamp(18px, 7vw, 120px) 86px;
}

.ysbh-hero h1 {
  margin: 0 0 62px;
  font-size: clamp(4rem, 6vw, 7.4rem);
  line-height: 0.9;
  text-align: center;
}

.ysbh-video-wrap {
  width: min(740px, 76vw);
  background: #1a1a1a;
}

.ysbh-video-wrap video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.ysbh-description {
  width: min(700px, 80vw);
  margin: 36px 0 84px;
  font-family: var(--body);
  font-size: clamp(1.08rem, 1.35vw, 1.36rem);
  font-weight: 600;
  line-height: 1.38;
}

.ysbh-credits {
  width: min(780px, 82vw);
  display: grid;
  justify-items: center;
  gap: 20px;
  text-align: center;
}

.ysbh-credits h2,
.ysbh-section h2 {
  margin: 0;
  font-size: clamp(2.4rem, 3.6vw, 4.4rem);
  line-height: 0.96;
}

.ysbh-credits article h3 {
  margin: 0 0 4px;
  font-size: clamp(1.6rem, 2.2vw, 2.5rem);
}

.ysbh-credits article p {
  max-width: 650px;
  margin: 0;
  font-family: var(--body);
  font-size: clamp(1rem, 1.25vw, 1.22rem);
  font-weight: 600;
  line-height: 1.4;
}

.ysbh-section {
  min-height: 100svh;
  padding: 86px clamp(18px, 8vw, 140px) 110px;
}

.ysbh-section h2 {
  width: min(1000px, 100%);
  margin: 0 auto 56px;
}

.project-image-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.ysbh-video-grid {
  width: min(1120px, 100%);
  margin: 0 auto 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ysbh-video-card {
  margin: 0;
  display: grid;
  gap: 8px;
}

.ysbh-video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.24);
}

.ysbh-video-card figcaption {
  font-size: clamp(1.05rem, 1.4vw, 1.45rem);
  font-weight: 700;
  line-height: 1;
}

.complete-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: stretch;
}

.complete-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.08);
}

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

.work-display-grid img {
  aspect-ratio: 16 / 10;
}

.ysbh-dark {
  background: var(--ysbh-dark);
  color: var(--ysbh-light);
}

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

.still-grid img {
  aspect-ratio: 16 / 9;
}

.concept-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.concept-grid img {
  aspect-ratio: 4 / 3;
}

.concept-grid img:nth-child(1),
.concept-grid img:nth-child(2) {
  grid-column: span 2;
}

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

.storyboard-grid img {
  aspect-ratio: 5 / 4;
  background: white;
}

.ysbh-footer {
  min-height: 42svh;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--ysbh-dark);
  color: var(--ysbh-light);
  padding: 70px 20px 120px;
}

.ysbh-footer p {
  width: 100%;
  margin: 0;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
}

.ysbh-footer a {
  border: 2px solid currentColor;
  padding: 10px 18px 12px;
  font-size: 1.25rem;
  font-weight: 700;
}

body[data-page="advertising-display"] {
  background: #2d2938;
}

body[data-page="advertising-display"] .topnav,
body[data-page="advertising-display"] .side-nav {
  color: #c9b9ee;
}

body[data-page="advertising-display"] .side-nav {
  font-size: 1.18rem;
}

.ad-page {
  --ad-bg: #2d2938;
  --ad-deep: #1f1f22;
  --ad-text: #c7b6f0;
  --ad-soft: #a999cf;
  --ad-muted: #8b829c;
  min-height: 100svh;
  background: var(--ad-bg);
  color: var(--ad-text);
  font-family: var(--display);
  overflow-x: clip;
}

.ad-title {
  min-height: 55svh;
  display: grid;
  align-items: center;
  padding: 110px clamp(24px, 13vw, 260px) 60px;
}

.ad-title h1 {
  margin: 0;
  font-size: clamp(4.6rem, 7vw, 9rem);
  line-height: 0.86;
  position: relative;
  z-index: 1;
}

.ad-section {
  scroll-margin-top: 80px;
  padding: 96px clamp(20px, 6vw, 120px) 116px;
}

.ad-scene {
  display: grid;
  justify-items: center;
  gap: 48px;
}

.ad-section h2 {
  width: min(1420px, 100%);
  margin: 0 auto;
  font-size: clamp(3.2rem, 4.6vw, 6.2rem);
  line-height: 0.9;
}

.ad-scene h2,
.ad-scene p,
.ad-final h2,
.ad-final p {
  text-align: center;
}

.ad-scene p {
  max-width: 980px;
  margin: 0;
  font-family: var(--body);
  color: var(--ad-text);
  font-size: clamp(1.1rem, 1.6vw, 1.62rem);
  font-weight: 700;
  line-height: 1.35;
}

.ad-strip-video,
.ad-strip-stack,
.ad-figure,
.ad-breakdown-list {
  width: min(1420px, 82vw);
}

.ad-strip-video,
.ad-strip-stack img,
.ad-figure > img,
.ad-figure > video {
  background: #111;
}

.ad-strip-video {
  aspect-ratio: 131 / 18;
  object-fit: cover;
  min-height: clamp(96px, 13vw, 210px);
}

.ad-strip-stack {
  display: grid;
  gap: 14px;
}

.ad-strip-stack img {
  width: 100%;
  aspect-ratio: 64 / 9;
  object-fit: contain;
}

.ad-mark {
  width: 72px;
  height: 72px;
  opacity: 0.55;
}

.ad-mark span {
  background: #8b829c;
}

.ad-breakdown {
  background: var(--ad-deep);
}

.ad-breakdown h2 {
  margin-bottom: 66px;
  text-align: left;
}

.ad-breakdown-list {
  margin: 0 auto;
  display: grid;
  gap: 76px;
}

.ad-figure {
  margin: 0 auto;
  display: grid;
  gap: 22px;
  justify-items: center;
}

.ad-figure > img,
.ad-figure > video {
  width: 100%;
  max-height: 84svh;
  object-fit: contain;
}

.ad-figure figcaption {
  max-width: 980px;
  margin: 0;
  color: var(--ad-text);
  font-family: var(--body);
  font-size: clamp(1.1rem, 1.55vw, 1.62rem);
  font-weight: 600;
  line-height: 1.38;
  text-align: center;
}

.ad-pair-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
}

.ad-pair-grid img {
  width: 100%;
  max-height: 76svh;
  object-fit: contain;
}

.ad-final {
  display: grid;
  justify-items: center;
  gap: 26px;
}

.ad-final h2 {
  font-size: clamp(4rem, 5.8vw, 8rem);
}

.ad-final p {
  margin: 0 0 34px;
  font-size: clamp(1.8rem, 3vw, 3.3rem);
  font-weight: 700;
  line-height: 1;
}

.ad-final-video {
  width: min(520px, 74vw);
  max-height: 82svh;
  object-fit: contain;
  border-radius: 45% 45% 0 0 / 26% 26% 0 0;
  background: #17151e;
}

.ad-final-images {
  width: min(1420px, 88vw);
  margin-top: 78px;
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: clamp(42px, 8vw, 120px);
  align-items: center;
}

.ad-final-images img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
}

.ad-footer {
  min-height: 30svh;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--ad-bg);
  color: var(--ad-muted);
  padding: 54px 20px 90px;
  font-family: var(--body);
}

.ad-footer p {
  width: 100%;
  margin: 0;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 800;
}

.ad-footer a {
  border: 2px solid currentColor;
  padding: 10px 18px 12px;
  font-weight: 800;
}

body[data-page="seelf-mobile"] {
  background: #f5f4f2;
}

body[data-page="seelf-mobile"] .topnav,
body[data-page="seelf-mobile"] .side-nav {
  color: #969b8d;
}

body[data-page="seelf-mobile"] .side-nav {
  right: clamp(18px, 2.2vw, 46px);
  top: 55%;
  gap: 6px;
  font-size: clamp(1.06rem, 1.45vw, 1.55rem);
  line-height: 1.08;
}

body[data-page="seelf-mobile"] .side-nav span {
  width: 16px;
  height: 16px;
  border-width: 3px;
}

.seelf-page {
  --seelf-paper: #f5f4f2;
  --seelf-lavender: #b3a8d1;
  --seelf-deep: #5d586f;
  --seelf-ink: #5e5a73;
  --seelf-pale: #d9d2eb;
  --seelf-cream: #fff1d2;
  --seelf-green: #dcecae;
  min-height: 100svh;
  background: var(--seelf-paper);
  color: var(--seelf-ink);
  font-family: var(--display);
}

.seelf-section {
  min-height: 100svh;
  scroll-margin-top: 80px;
  padding: 108px clamp(22px, 7vw, 132px) 112px;
}

.seelf-title-block {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.seelf-title-block h1,
.seelf-section h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.92;
}

.seelf-title-block h1 {
  font-size: clamp(4.6rem, 6.6vw, 8rem);
}

.seelf-title-block h2 {
  margin: 28px 0 0;
  color: var(--seelf-ink);
  font-size: clamp(2.3rem, 3vw, 3.9rem);
}

.seelf-title-block p {
  margin: 0;
  font-size: clamp(1.35rem, 1.8vw, 2rem);
  font-weight: 700;
}

.seelf-intro {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 42px;
  background: var(--seelf-paper);
}

.seelf-overview {
  width: min(1050px, 74vw);
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: white;
  box-shadow: 0 2px 8px rgba(46, 42, 57, 0.18);
}

.seelf-problem {
  background: var(--seelf-lavender);
  color: white;
}

.seelf-problem-grid {
  width: min(1120px, 78vw);
  min-height: calc(100svh - 220px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 0.95fr) minmax(280px, 1fr);
  grid-template-areas:
    "title title"
    "lead lead"
    "faces evidence"
    "validation validation";
  gap: 42px clamp(34px, 7vw, 110px);
  align-items: center;
}

.seelf-problem h2 {
  grid-area: title;
  color: var(--seelf-ink);
  font-size: clamp(3.5rem, 5vw, 6.2rem);
}

.seelf-problem p,
.seelf-solution p,
.seelf-solution li {
  font-family: var(--body);
  font-size: clamp(1.08rem, 1.6vw, 1.55rem);
  font-weight: 750;
  line-height: 1.42;
}

.seelf-problem-lead {
  grid-area: lead;
  width: min(720px, 100%);
  margin: 0;
}

.seelf-problem-evidence {
  grid-area: evidence;
  margin: 0;
}

.seelf-problem-validation {
  grid-area: validation;
  width: min(850px, 100%);
  margin: 0 auto;
  text-align: center;
}

.seelf-face-cloud {
  grid-area: faces;
  min-height: 360px;
  position: relative;
}

.face {
  position: absolute;
  width: clamp(120px, 12vw, 180px);
  aspect-ratio: 1;
  border-radius: 50%;
}

.face-cream {
  left: 8%;
  top: 4%;
  background: var(--seelf-cream);
}

.face-lilac {
  right: 12%;
  top: 0;
  background: var(--seelf-pale);
}

.face-green {
  left: 42%;
  bottom: 0;
  background: var(--seelf-green);
}

.face::before,
.face::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.face::before {
  top: 42%;
  width: 46%;
  height: 12%;
  border-top: 6px solid #18151d;
  border-radius: 50%;
}

.face::after {
  top: 58%;
  width: 34%;
  height: 18%;
  border-bottom: 6px solid #18151d;
  border-radius: 50%;
}

.seelf-solution {
  background: var(--seelf-deep);
  color: #f6f0ff;
}

.seelf-solution h2,
.seelf-userflow h2,
.seelf-demo h2 {
  width: min(1240px, 100%);
  margin: 0 auto 66px;
  font-size: clamp(3.8rem, 5.5vw, 7.2rem);
}

.seelf-solution-grid {
  width: min(1240px, 100%);
  margin: 0 auto 74px;
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(320px, 1fr);
  gap: clamp(38px, 8vw, 130px);
  align-items: center;
}

.seelf-solution h3 {
  margin: 0 0 20px;
  color: #efe7ff;
  font-size: clamp(2rem, 3.2vw, 4.4rem);
  line-height: 1;
}

.seelf-solution p {
  margin: 0;
}

.seelf-heart-figure {
  width: min(430px, 72vw);
  aspect-ratio: 1;
  position: relative;
  justify-self: center;
}

.seelf-heart-figure::before {
  content: "";
  position: absolute;
  inset: 18% 6% 8% 6%;
  border-radius: 52% 48% 54% 46%;
  background: #dcd0ff;
  transform: rotate(18deg);
}

.seelf-heart-figure span {
  position: absolute;
  left: 36%;
  top: 40%;
  width: 34%;
  aspect-ratio: 1;
  background: #4c78ba;
  transform: rotate(45deg);
}

.seelf-heart-figure span::before,
.seelf-heart-figure span::after {
  content: "";
  position: absolute;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: inherit;
}

.seelf-heart-figure span::before {
  left: -50%;
}

.seelf-heart-figure span::after {
  top: -50%;
}

.seelf-second-try {
  width: min(1040px, 100%);
  margin: 0 auto;
}

.seelf-second-try ul {
  margin: 0 0 20px;
  padding-left: 1.2em;
}

.seelf-second-try li + li {
  margin-top: 12px;
}

.seelf-userflow {
  display: grid;
  align-content: center;
  background: var(--seelf-paper);
}

.seelf-userflow h2 {
  width: min(1000px, 100%);
  margin-bottom: 48px;
  color: var(--seelf-ink);
  font-size: clamp(3rem, 4.25vw, 5.6rem);
  text-align: left;
}

.seelf-userflow img {
  width: min(760px, 64vw);
  margin: 0 auto;
  aspect-ratio: 1089 / 896;
  object-fit: contain;
}

.seelf-demo {
  background: #d8d1eb;
  color: var(--seelf-ink);
}

.seelf-demo h2 {
  margin-bottom: 34px;
}

.seelf-demo > p {
  width: min(1240px, 100%);
  margin: 0 auto 28px;
  color: #7d72a5;
  font-size: clamp(1.8rem, 2.5vw, 3rem);
  font-weight: 700;
}

.seelf-demo video {
  width: min(1180px, 100%);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: white;
  box-shadow: 0 2px 8px rgba(46, 42, 57, 0.28);
}

.seelf-footer {
  display: grid;
  justify-items: center;
  gap: 24px;
  background: var(--seelf-paper);
  color: #a1a497;
  padding: 34px 20px 44px;
  font-family: var(--body);
  font-size: 0.98rem;
  font-weight: 600;
  text-align: center;
}

.seelf-footer p {
  margin: 0;
}

.seelf-footer div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.seelf-footer a {
  border: 2px solid currentColor;
  padding: 10px 16px 11px;
  font-weight: 800;
}

body[data-page="interior-room"] {
  background: #2d2938;
}

body[data-page="interior-room"] .topnav,
body[data-page="interior-room"] .side-nav {
  color: #d9d1f0;
}

body[data-page="interior-room"] .side-nav {
  right: clamp(18px, 3vw, 58px);
  top: 58%;
  gap: 6px;
  font-size: clamp(1.05rem, 1.45vw, 1.55rem);
  line-height: 1.08;
}

body[data-page="interior-room"] .side-nav span {
  width: 15px;
  height: 15px;
  border-width: 3px;
}

.interior-page {
  --interior-bg: #2d2938;
  --interior-band: #615c76;
  --interior-text: #cabdf2;
  --interior-soft: #9088a8;
  --interior-muted: #aaa2bb;
  min-height: 100svh;
  background: var(--interior-bg);
  color: var(--interior-text);
  font-family: var(--display);
}

.interior-section {
  scroll-margin-top: 80px;
  padding: 96px clamp(22px, 7vw, 136px) 118px;
}

.interior-hero {
  min-height: 100svh;
  display: grid;
  align-content: center;
  gap: 34px;
  padding-top: 150px;
}

.interior-title {
  width: min(1320px, calc(100vw - 280px));
  margin: 0 auto;
}

.interior-title h1 {
  margin: 0 0 28px;
  font-size: clamp(4.8rem, 6.8vw, 8.8rem);
  line-height: 0.92;
}

.interior-title p {
  margin: 0;
  font-size: clamp(1.7rem, 2.35vw, 3rem);
  font-weight: 700;
}

.interior-hero-image,
.interior-renders img,
.interior-renders video,
.interior-figure img {
  display: block;
  width: min(1320px, calc(100vw - 280px));
  margin: 0 auto;
  object-fit: contain;
  background: #17151d;
}

.interior-hero-image {
  max-height: 74svh;
}

.interior-renders {
  display: grid;
  gap: 86px;
}

.interior-renders img,
.interior-renders video {
  max-height: 84svh;
}

.interior-divider {
  display: grid;
  width: 76px;
  height: 76px;
  grid-template-columns: repeat(2, 1fr);
  margin: 26px auto 74px;
  transform: rotate(45deg);
  opacity: 0.62;
}

.interior-divider span {
  margin: 5px;
  background: var(--interior-soft);
}

.interior-model,
.interior-texture,
.interior-materials,
.interior-cloth {
  background: var(--interior-band);
}

.interior-section h2 {
  width: min(1320px, calc(100vw - 280px));
  margin: 0 auto 72px;
  font-size: clamp(3.8rem, 5.7vw, 7.3rem);
  line-height: 0.9;
}

.interior-figure {
  display: grid;
  justify-items: center;
  gap: 20px;
  margin: 0 auto 82px;
}

.interior-figure figcaption,
.material-sample figcaption {
  color: #e1dbf8;
  font-family: var(--body);
  font-size: clamp(1.25rem, 1.8vw, 1.95rem);
  font-weight: 800;
  text-align: center;
}

.interior-texture-grid {
  width: min(1580px, calc(100vw - 220px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(420px, 1.18fr) repeat(2, minmax(260px, 0.92fr));
  gap: clamp(28px, 2.8vw, 48px);
  align-items: center;
}

.interior-texture-grid .interior-figure {
  margin: 0;
}

.interior-texture-grid .is-wide {
  grid-row: span 2;
  align-self: center;
}

.interior-texture-grid img {
  width: 100%;
  max-height: 66svh;
  background: transparent;
}

.interior-material-list {
  width: min(1420px, calc(100vw - 260px));
  margin: 0 auto;
  display: grid;
  gap: 84px;
}

.interior-material-row {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(220px, 0.48fr) minmax(420px, 1fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.material-sample {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.material-sample img {
  width: min(340px, 100%);
  aspect-ratio: 1;
  object-fit: contain;
}

.material-nodes {
  width: 100%;
  max-height: 52svh;
  object-fit: contain;
}

.interior-cloth .interior-figure img {
  background: transparent;
}

.interior-footer {
  display: grid;
  justify-items: center;
  gap: 22px;
  padding: 54px 20px 82px;
  background: var(--interior-bg);
  color: var(--interior-muted);
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}

.interior-footer p {
  margin: 0;
}

.interior-footer div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.interior-footer a {
  border: 2px solid currentColor;
  padding: 10px 18px 12px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .side-nav {
    display: none;
  }

  body[data-page="seelf-mobile"] .side-nav {
    right: 12px;
    top: 54%;
    display: grid;
    gap: 4px;
    font-size: clamp(0.82rem, 3.1vw, 1rem);
  }

  body[data-page="seelf-mobile"] .side-nav span {
    width: 11px;
    height: 11px;
    border-width: 2px;
  }

  body[data-page="seelf-mobile"] .seelf-section {
    padding-right: clamp(86px, 24vw, 122px);
  }

  body[data-page="seelf-mobile"] .seelf-overview,
  body[data-page="seelf-mobile"] .seelf-userflow img,
  body[data-page="seelf-mobile"] .seelf-demo video {
    width: 100%;
  }

  body[data-page="interior-room"] .side-nav {
    display: none;
  }

  .interior-section {
    padding: 78px 22px 92px;
  }

  .interior-title,
  .interior-hero-image,
  .interior-renders img,
  .interior-renders video,
  .interior-section h2,
  .interior-figure img,
  .interior-texture-grid,
  .interior-material-list {
    width: 100%;
  }

  .interior-texture-grid,
  .interior-material-row {
    grid-template-columns: 1fr;
  }

  .interior-texture-grid .is-wide {
    grid-row: auto;
  }

  .project-row,
  .detail-hero,
  .about-wrap {
    grid-template-columns: 1fr;
  }

  .project-row {
    gap: 14px;
  }

  .arrow-link {
    justify-self: start;
  }

  .ysbh-video-wrap,
  .ysbh-description,
  .ysbh-credits {
    width: min(100%, 760px);
  }

  .ysbh-video-grid,
  .work-display-grid,
  .still-grid,
  .storyboard-grid,
  .ad-pair-grid,
  .ad-final-images {
    grid-template-columns: 1fr;
  }

  .ad-strip-video,
  .ad-strip-stack,
  .ad-figure,
  .ad-breakdown-list,
  .seelf-problem-grid {
    width: 100%;
  }

  .seelf-problem-grid,
  .seelf-solution-grid {
    grid-template-columns: 1fr;
  }

  .seelf-problem-grid {
    grid-template-areas:
      "title"
      "lead"
      "faces"
      "evidence"
      "validation";
  }

  .seelf-face-cloud {
    min-height: 280px;
  }

  .concept-grid img:nth-child(1),
  .concept-grid img:nth-child(2) {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .topbar {
    padding: 18px;
  }

  .topnav {
    gap: 10px;
    font-size: 0.78rem;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 17vw, 5.2rem);
  }

  .portfolio-section {
    padding-inline: 18px;
  }

  .project-frame,
  .detail-frame {
    border-width: 8px;
    box-shadow: 8px 8px 0 var(--shadow);
  }
}

body[data-page="dyson-ring"] .topnav,
body[data-page="dyson-ring"] .side-nav {
  color: #cfd4c8;
}

body[data-page="dyson-ring"] .side-nav {
  right: clamp(18px, 3vw, 58px);
  top: 58%;
  gap: 7px;
  font-size: clamp(1.02rem, 1.35vw, 1.42rem);
  line-height: 1.08;
}

body[data-page="dyson-ring"] .side-nav span {
  width: 14px;
  height: 14px;
  border-width: 3px;
}

.dyson-page {
  --dyson-bg: #363d30;
  --dyson-band: #6e7568;
  --dyson-text: #d8ddd4;
  --dyson-muted: #aeb6aa;
  --dyson-soft: #919989;
  min-height: 100svh;
  background: var(--dyson-bg);
  color: var(--dyson-text);
  font-family: var(--display);
}

.dyson-section {
  scroll-margin-top: 80px;
  padding: 96px clamp(22px, 7vw, 136px) 118px;
}

.dyson-hero {
  min-height: 100svh;
  display: grid;
  align-content: center;
  gap: clamp(54px, 7vw, 92px);
  padding-top: 150px;
}

.dyson-title,
.dyson-intro-grid {
  width: min(1040px, calc(100vw - 320px));
  margin: 0 auto;
}

.dyson-title h1 {
  margin: 0;
  font-size: clamp(4.5rem, 6vw, 7.9rem);
  line-height: 0.92;
}

.dyson-intro-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.58fr) minmax(360px, 1fr);
  gap: clamp(44px, 6vw, 92px);
  align-items: center;
}

.dyson-intro-grid p {
  max-width: 340px;
  margin: 0;
  color: var(--dyson-muted);
  font-family: var(--body);
  font-size: clamp(1.05rem, 1.35vw, 1.42rem);
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.42;
}

.dyson-page img {
  background: transparent;
}

.dyson-hero-media,
.dyson-showcase-image,
.dyson-motion-grid img,
.dyson-graph-stack img,
.dyson-wide,
.dyson-portal-attributes,
.dyson-animator-grid img,
.dyson-oval {
  width: 100%;
  object-fit: contain;
}

.dyson-hero-media {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.dyson-divider {
  display: grid;
  grid-template-columns: repeat(2, 22px);
  justify-content: center;
  padding: 40px 0 52px;
  background: var(--dyson-bg);
}

.dyson-divider span {
  width: 22px;
  height: 22px;
  margin: 5px;
  background: var(--dyson-soft);
  transform: rotate(45deg);
}

.dyson-showcase {
  display: grid;
  justify-items: center;
  gap: clamp(42px, 6vw, 92px);
  padding-top: 40px;
}

.dyson-showcase-image {
  width: min(840px, calc(100vw - 360px));
}

.dyson-motion-grid {
  width: min(1120px, calc(100vw - 320px));
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: clamp(42px, 5vw, 86px);
}

.dyson-motion-grid img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.dyson-breakdown,
.dyson-layout {
  background: var(--dyson-band);
}

.dyson-breakdown h2,
.dyson-layout h2 {
  width: min(1180px, calc(100vw - 320px));
  margin: 0 auto 64px;
  font-size: clamp(4rem, 5.8vw, 7.2rem);
  line-height: 0.9;
}

.dyson-breakdown-block {
  width: min(1180px, calc(100vw - 320px));
  margin: 0 auto 104px;
  display: grid;
  gap: 34px;
}

.dyson-breakdown-block:last-child {
  margin-bottom: 0;
}

.dyson-breakdown-block h3 {
  margin: 0;
  font-size: clamp(2.2rem, 3.2vw, 4rem);
  line-height: 1;
}

.dyson-copy {
  max-width: 760px;
  margin: 0;
  color: var(--dyson-text);
  font-family: var(--body);
  font-size: clamp(1.06rem, 1.45vw, 1.58rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.46;
}

.dyson-graph-stack {
  display: grid;
  gap: 22px;
}

.dyson-label {
  margin: 18px 0 -8px;
  color: var(--dyson-text);
  font-family: var(--body);
  font-size: clamp(1.2rem, 1.6vw, 1.8rem);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.dyson-portal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.46fr);
  gap: clamp(30px, 4vw, 68px);
  align-items: start;
}

.dyson-portal-attributes {
  max-height: 56svh;
}

.dyson-animator-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, 0.72fr);
  gap: clamp(30px, 4vw, 64px);
  align-items: center;
}

.dyson-layout-list {
  width: min(1120px, calc(100vw - 320px));
  margin: 0 auto;
  display: grid;
  gap: clamp(70px, 9vw, 130px);
}

.dyson-oval {
  aspect-ratio: 2.05 / 1;
  border-radius: 50%;
  object-fit: cover;
}

.dyson-footer {
  display: grid;
  justify-items: center;
  gap: 22px;
  padding: 54px 20px 82px;
  background: var(--dyson-bg);
  color: var(--dyson-muted);
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

.dyson-footer p {
  margin: 0;
}

.dyson-footer div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.dyson-footer a {
  border: 2px solid currentColor;
  padding: 10px 18px 12px;
  font-weight: 900;
}

@media (max-width: 980px) {
  body[data-page="dyson-ring"] .side-nav {
    display: none;
  }

  .dyson-section {
    padding: 78px 22px 92px;
  }

  .dyson-hero {
    padding-top: 120px;
  }

  .dyson-title,
  .dyson-intro-grid,
  .dyson-showcase-image,
  .dyson-motion-grid,
  .dyson-breakdown h2,
  .dyson-layout h2,
  .dyson-breakdown-block,
  .dyson-layout-list {
    width: 100%;
  }

  .dyson-intro-grid,
  .dyson-motion-grid,
  .dyson-portal-grid,
  .dyson-animator-grid {
    grid-template-columns: 1fr;
  }

  .dyson-title h1,
  .dyson-breakdown h2,
  .dyson-layout h2 {
    font-size: clamp(3.2rem, 14vw, 5.4rem);
  }

  .dyson-intro-grid p {
    max-width: none;
  }

  .dyson-oval {
    border-radius: 44%;
  }
}

body[data-page="rabbit-spacesuit"] {
  background: #5f5a73;
}

body[data-page="rabbit-spacesuit"] .topnav,
body[data-page="rabbit-spacesuit"] .side-nav {
  color: #d9cdf5;
}

body[data-page="rabbit-spacesuit"] .side-nav {
  right: clamp(18px, 4vw, 70px);
  top: 58%;
  gap: 28px;
  font-size: clamp(1.18rem, 1.65vw, 1.8rem);
  line-height: 1.05;
}

body[data-page="rabbit-spacesuit"] .side-nav span {
  width: 16px;
  height: 16px;
  border-width: 3px;
  border-color: #d9cdf5;
}

body[data-page="rabbit-spacesuit"] .side-nav a.is-active span,
body[data-page="rabbit-spacesuit"] .side-nav a:hover span {
  background: #bbaae5;
}

.rabbit-page {
  --rabbit-bg: #5f5a73;
  --rabbit-dark: #282631;
  --rabbit-text: #d8cdf5;
  --rabbit-muted: #bbaee1;
  --rabbit-mark: #968ab1;
  min-height: 100svh;
  background: var(--rabbit-bg);
  color: var(--rabbit-text);
  font-family: var(--display);
}

.rabbit-section {
  width: min(1420px, calc(100vw - 320px));
  margin: 0 auto;
  scroll-margin-top: 80px;
}

.rabbit-hero {
  min-height: 100svh;
  display: grid;
  align-content: center;
  gap: 48px;
  padding: 150px 0 80px;
}

.rabbit-hero h1 {
  margin: 0;
  font-size: clamp(4.5rem, 7vw, 8.4rem);
  line-height: 0.95;
}

.rabbit-hero-image,
.rabbit-showcase-image,
.rabbit-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
}

.rabbit-hero-image,
.rabbit-showcase-image {
  margin: 0 auto;
}

.rabbit-divider {
  display: grid;
  grid-template-columns: repeat(2, 22px);
  justify-content: center;
  padding: clamp(42px, 6vw, 82px) 0;
  background: var(--rabbit-bg);
}

.rabbit-divider span {
  width: 22px;
  height: 22px;
  margin: 5px;
  background: var(--rabbit-mark);
  transform: rotate(45deg);
}

.rabbit-showcase {
  display: grid;
  gap: clamp(22px, 3vw, 44px);
  padding-bottom: 120px;
}

.rabbit-showcase-image {
  max-width: 1320px;
}

.rabbit-breakdown {
  scroll-margin-top: 80px;
  background: var(--rabbit-dark);
  padding: clamp(86px, 9vw, 150px) 0 124px;
}

.rabbit-breakdown-inner {
  width: min(1220px, calc(100vw - 360px));
  margin: 0 auto;
}

.rabbit-breakdown h2 {
  margin: 0 0 clamp(60px, 7vw, 96px);
  font-size: clamp(4rem, 6vw, 7.4rem);
  line-height: 0.9;
}

.rabbit-breakdown-stack {
  display: grid;
  gap: clamp(62px, 8vw, 112px);
}

.rabbit-figure {
  margin: 0;
  text-align: center;
}

.rabbit-figure figcaption {
  margin-top: 22px;
  color: var(--rabbit-text);
  font-family: var(--body);
  font-size: clamp(1.45rem, 2vw, 2.25rem);
  font-weight: 900;
}

.rabbit-texture-heading {
  margin-top: clamp(92px, 12vw, 170px) !important;
}

.rabbit-texture-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: clamp(70px, 8vw, 120px) clamp(50px, 6vw, 90px);
  align-items: start;
}

.rabbit-texture-grid .is-wide {
  grid-column: 1 / -1;
  width: min(900px, 100%);
  justify-self: center;
}

.rabbit-footer {
  display: grid;
  justify-items: center;
  gap: 22px;
  padding: 54px 20px 82px;
  background: var(--rabbit-dark);
  color: #aca5bb;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

.rabbit-footer p {
  margin: 0;
}

.rabbit-footer div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.rabbit-footer a {
  border: 2px solid currentColor;
  padding: 10px 18px 12px;
  font-weight: 900;
}

@media (max-width: 980px) {
  body[data-page="rabbit-spacesuit"] .side-nav {
    display: none;
  }

  .rabbit-section,
  .rabbit-breakdown-inner {
    width: min(100% - 32px, 760px);
  }

  .rabbit-hero {
    min-height: auto;
    padding-top: 130px;
  }

  .rabbit-hero h1,
  .rabbit-breakdown h2 {
    font-size: clamp(3.3rem, 14vw, 5.6rem);
  }

  .rabbit-texture-grid {
    grid-template-columns: 1fr;
  }
}

body[data-page="into-cube"] {
  background: #292d20;
}

body[data-page="into-cube"] .topnav {
  display: none;
}

body[data-page="into-cube"] .logo {
  color: #dceaa8;
  text-shadow: 5px 0 #7d8772, 2px 4px #a9a291;
}

body[data-page="into-cube"] .side-nav {
  color: #c7c8bd;
}

body[data-page="into-cube"] .side-nav {
  right: clamp(24px, 3.2vw, 64px);
  top: 65%;
  gap: 7px;
  font-family: var(--body);
  font-size: clamp(0.78rem, 0.82vw, 1rem);
  font-weight: 900;
  line-height: 1.08;
}

body[data-page="into-cube"] .side-nav span {
  width: 12px;
  height: 12px;
  border-width: 2px;
  border-color: #bfc5b6;
}

body[data-page="into-cube"] .side-nav a.is-active span,
body[data-page="into-cube"] .side-nav a:hover span {
  background: #aeb5a8;
}

body[data-page="into-cube"] .side-nav a.is-active {
  color: #aeb5a8;
}

.cube-page {
  --cube-bg: #292d20;
  --cube-heading: #dceaa8;
  --cube-lead: #c2d797;
  --cube-copy: #aba495;
  --cube-soft: #c8c9bd;
  --cube-dark: #10120d;
  min-height: 100svh;
  background: var(--cube-bg);
  color: var(--cube-copy);
  font-family: var(--display);
}

.cube-section {
  width: min(1240px, calc(100vw - 380px));
  margin: 0 auto 0 clamp(58px, 5.4vw, 112px);
  scroll-margin-top: 80px;
}

.cube-hero {
  min-height: 88svh;
  display: grid;
  align-content: start;
  gap: clamp(54px, 4.4vw, 76px);
  padding: clamp(58px, 3.7vw, 70px) 0 74px;
}

.cube-hero h1 {
  margin: 0;
  color: var(--cube-heading);
  font-size: clamp(4.7rem, 4.1vw, 5.6rem);
  font-weight: 700;
  line-height: 0.86;
}

.cube-intro-row {
  display: grid;
  grid-template-columns: clamp(96px, 5.8vw, 113px) minmax(420px, 920px);
  gap: clamp(56px, 3.9vw, 74px);
  align-items: start;
  margin-left: clamp(44px, 3.4vw, 68px);
}

.cube-avatar {
  width: clamp(96px, 5.8vw, 113px);
  margin-top: 6px;
  image-rendering: pixelated;
}

.cube-copy {
  display: grid;
  gap: clamp(24px, 2.3vw, 34px);
  color: var(--cube-copy);
  font-family: var(--body);
  font-size: clamp(1.08rem, 1.12vw, 1.42rem);
  font-weight: 530;
  line-height: 1.17;
  margin-top: 28px;
}

.cube-copy p {
  margin: 0;
}

.cube-lead {
  color: var(--cube-lead);
}

.cube-download span,
.cube-download a {
  color: var(--cube-copy);
}

.cube-download a {
  overflow-wrap: anywhere;
}

@media (min-width: 1400px) {
  .cube-download a {
    white-space: nowrap;
  }
}

.cube-credits {
  display: grid;
  gap: 1px;
}

.cube-credits p {
  margin: 0;
}

.cube-credits span {
  font-weight: 620;
}

.cube-playthrough h2,
.cube-screenshots h2 {
  margin: 0;
  color: var(--cube-heading);
  font-size: clamp(2.7rem, 2.55vw, 3.4rem);
  line-height: 0.92;
  text-align: center;
}

.cube-playthrough {
  width: min(1860px, calc(100vw - 96px));
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: clamp(72px, 4.2vw, 86px);
  padding: 58px 0 clamp(128px, 15vw, 220px);
}

.cube-playthrough video,
.cube-gallery-main {
  aspect-ratio: 16 / 9;
  background: #050604;
  object-fit: cover;
}

.cube-playthrough video {
  width: min(750px, calc(100vw - 220px));
}

.cube-screenshots {
  width: min(1860px, calc(100vw - 96px));
  margin: 0 auto;
  padding: 34px 0 122px;
}

.cube-gallery {
  display: grid;
  gap: 14px;
  margin-top: clamp(56px, 4.2vw, 80px);
}

.cube-gallery-stage {
  position: relative;
  width: 100%;
  display: grid;
  place-items: center;
}

.cube-gallery-main {
  width: min(750px, calc(100vw - 220px));
  max-height: 74svh;
  display: block;
}

.cube-gallery-arrow {
  position: absolute;
  top: 50%;
  width: clamp(56px, 5vw, 78px);
  height: clamp(82px, 8vw, 116px);
  border: 0;
  background: transparent;
  color: #aeb5a8;
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(6.5rem, 9vw, 10rem);
  font-weight: 200;
  line-height: 0.5;
  transform: translateY(-50%);
}

.cube-gallery-prev {
  left: clamp(34px, 5vw, 100px);
}

.cube-gallery-next {
  right: clamp(34px, 5vw, 100px);
}

.cube-gallery-arrow:hover {
  color: var(--cube-heading);
}

.cube-thumb-strip {
  width: min(750px, calc(100vw - 220px));
  margin: 0 auto;
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding: 0 0 8px;
  scrollbar-color: #536047 transparent;
}

.cube-thumb {
  flex: 0 0 clamp(132px, 8.6vw, 170px);
  height: clamp(88px, 8.6vw, 166px);
  border: 0;
  outline: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0.56;
  transition: opacity 160ms ease, filter 160ms ease;
}

.cube-thumb.is-active {
  opacity: 1;
  filter: saturate(0.55) brightness(1.28);
  box-shadow: inset 0 0 0 3px var(--cube-heading);
}

.cube-thumb:focus-visible {
  box-shadow: inset 0 0 0 3px var(--cube-heading);
}

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

.cube-footer {
  display: grid;
  justify-items: center;
  gap: 22px;
  padding: 54px 20px 82px;
  background: var(--cube-bg);
  color: var(--cube-copy);
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

.cube-footer p {
  margin: 0;
}

.cube-footer div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.cube-footer a {
  border: 2px solid currentColor;
  padding: 10px 18px 12px;
  font-weight: 900;
}

@media (max-width: 980px) {
  body[data-page="into-cube"] .side-nav {
    display: none;
  }

  .cube-section,
  .cube-playthrough,
  .cube-screenshots {
    width: min(100% - 32px, 820px);
    margin: 0 auto;
  }

  .cube-hero {
    min-height: auto;
    padding-top: 118px;
  }

  .cube-intro-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cube-avatar {
    width: 112px;
  }

  .cube-copy {
    font-size: clamp(1rem, 4.5vw, 1.28rem);
    margin-top: 0;
  }

  .cube-hero h1,
  .cube-playthrough h2,
  .cube-screenshots h2 {
    font-size: clamp(3.4rem, 14vw, 5.8rem);
  }

  .cube-playthrough video {
    width: 100%;
  }

  .cube-gallery {
    margin-top: 42px;
  }

  .cube-gallery-main {
    width: 100%;
  }

  .cube-gallery-arrow {
    top: calc(50% - 58px);
    font-size: 5.4rem;
  }

  .cube-gallery-prev {
    left: -24px;
  }

  .cube-gallery-next {
    right: -24px;
  }

  .cube-thumb {
    flex-basis: 118px;
    height: 76px;
  }
}

@media (max-width: 640px) {
  body[data-page="into-cube"] .logo {
    font-size: 1.75rem;
  }

  .cube-hero {
    gap: 44px;
  }

  .cube-gallery-arrow {
    display: none;
  }
}

body[data-page="dragons"] {
  background: #eee7d8;
}

body[data-page="dragons"] .topnav {
  display: none;
}

body[data-page="dragons"] .side-nav {
  right: clamp(42px, 4vw, 82px);
  top: 56%;
  gap: 0;
  color: #69645b;
  font-family: var(--body);
  font-size: clamp(1.06rem, 1.12vw, 1.35rem);
  font-weight: 900;
  line-height: 1.1;
}

body[data-page="dragons"] .side-nav span {
  width: 17px;
  height: 17px;
  border: 0;
  background: #69645b;
}

.dragon-page {
  --dragon-bg: #eee7d8;
  --dragon-ink: #676258;
  --dragon-soft: #c7c4b8;
  --dragon-lilac: #b1a5d3;
  --dragon-wide: min(1176px, calc(100vw - 420px));
  --dragon-video: min(1004px, calc(100vw - 420px));
  min-height: 100svh;
  background: var(--dragon-bg);
  color: var(--dragon-ink);
  font-family: var(--display);
}

.dragon-infinity {
  position: absolute;
  top: clamp(44px, 4vw, 76px);
  right: clamp(64px, 5.2vw, 104px);
  width: 170px;
  height: 110px;
  color: var(--dragon-lilac);
  pointer-events: none;
}

.dragon-infinity-mark {
  position: absolute;
  inset: 10px 0 auto;
  color: transparent;
  -webkit-text-stroke: 2px var(--dragon-lilac);
  filter: drop-shadow(0 12px 10px rgba(105, 100, 91, 0.16));
  font-family: var(--body);
  font-size: 7.4rem;
  font-weight: 300;
  line-height: 0.7;
}

.dragon-heart {
  position: absolute;
  left: 80px;
  top: 0;
  color: transparent;
  -webkit-text-stroke: 1.6px var(--dragon-lilac);
  font-family: var(--body);
  font-size: 2.2rem;
  line-height: 1;
}

.dragon-dash {
  position: absolute;
  left: 82px;
  top: -14px;
  width: 14px;
  height: 3px;
  background: var(--dragon-lilac);
}

.dragon-hero {
  min-height: 100svh;
  padding: clamp(230px, 14vw, 274px) 0 112px;
}

.dragon-hero h1 {
  margin: 0 0 clamp(74px, 5.6vw, 108px) clamp(52px, 4.2vw, 84px);
  color: var(--dragon-ink);
  font-size: clamp(4.8rem, 4.4vw, 5.6rem);
  line-height: 0.9;
}

.dragon-hero video {
  width: var(--dragon-video);
  margin-left: auto;
  margin-right: auto;
  display: block;
  aspect-ratio: 16 / 9;
  background: #111;
  object-fit: cover;
}

.dragon-concept {
  padding: 36px 0 88px;
}

.dragon-concept h2 {
  width: var(--dragon-wide);
  margin: 0 auto 52px;
  color: var(--dragon-ink);
  font-size: clamp(2.2rem, 2vw, 2.8rem);
  line-height: 1;
  text-align: center;
}

.dragon-reference {
  width: min(438px, calc(100vw - 80px));
  margin: 0 auto 52px;
  display: block;
  object-fit: contain;
}

.dragon-render-stack {
  display: grid;
  gap: clamp(64px, 7vw, 120px);
}

.dragon-render {
  width: var(--dragon-wide);
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.dragon-divider {
  width: 92px;
  display: grid;
  grid-template-columns: repeat(2, 34px);
  justify-content: center;
  gap: 6px;
  margin: 0 auto;
}

.dragon-divider span {
  width: 34px;
  height: 34px;
  background: var(--dragon-soft);
  transform: rotate(45deg);
}

.dragon-footer {
  display: grid;
  justify-items: center;
  gap: 22px;
  padding: 36px 20px 82px;
  background: var(--dragon-bg);
  color: var(--dragon-ink);
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

.dragon-footer p {
  margin: 0;
}

.dragon-footer div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.dragon-footer a {
  border: 2px solid currentColor;
  padding: 10px 18px 12px;
  font-weight: 900;
}

@media (max-width: 980px) {
  body[data-page="dragons"] .side-nav {
    display: none;
  }

  .dragon-infinity {
    display: none;
  }

  .dragon-hero {
    min-height: auto;
    padding: 118px 16px 78px;
  }

  .dragon-hero h1,
  .dragon-hero video,
  .dragon-concept h2,
  .dragon-reference,
  .dragon-render,
  .dragon-divider {
    width: min(100%, 760px);
    margin-left: auto;
    margin-right: auto;
  }

  .dragon-hero h1 {
    margin-bottom: 56px;
    font-size: clamp(3.6rem, 15vw, 5.2rem);
  }

  .dragon-concept {
    padding: 54px 16px 78px;
  }

  .dragon-concept h2 {
    margin-bottom: 40px;
  }

  .dragon-reference {
    width: min(100%, 460px);
  }
}

body[data-page="roboco"] {
  background: #f2e5c9;
}

body[data-page="roboco"] .topbar {
  position: absolute;
  display: flex;
  padding: 22px clamp(78px, 7vw, 104px);
}

body[data-page="roboco"] .topnav {
  display: none;
}

body[data-page="roboco"] .side-nav {
  right: clamp(34px, 4.4vw, 86px);
  top: 61%;
  gap: 3px;
  color: #9b9584;
  font-family: var(--body);
  font-size: clamp(1rem, 0.94vw, 1.18rem);
  font-weight: 700;
  line-height: 1.35;
}

body[data-page="roboco"] .side-nav a.is-active,
body[data-page="roboco"] .side-nav a:hover {
  color: #5f604f;
}

body[data-page="roboco"] .side-nav span {
  width: 14px;
  height: 14px;
  border: 3px solid currentColor;
}

body[data-page="roboco"] .side-nav a.is-active span {
  background: currentColor;
}

.roboco-page {
  --roboco-cream: #f2e5c9;
  --roboco-green: #e3eeb9;
  --roboco-ink: #5d604f;
  --roboco-muted: #9b9584;
  --roboco-blue: #6570ff;
  --roboco-title: "Chelsea Market", var(--display);
  background: var(--roboco-cream);
  color: var(--roboco-ink);
  font-family: var(--body);
  font-weight: 500;
}

.roboco-infinity {
  position: absolute;
  top: clamp(62px, 5vw, 82px);
  right: clamp(24px, 2.8vw, 42px);
  width: 130px;
  height: 88px;
  color: #b6a9d6;
  z-index: 2;
  pointer-events: none;
}

.roboco-infinity-mark {
  position: absolute;
  inset: 12px 0 auto;
  color: rgba(182, 169, 214, 0.12);
  -webkit-text-stroke: 1.8px currentColor;
  filter: drop-shadow(0 12px 10px rgba(100, 92, 78, 0.16));
  font-family: var(--body);
  font-size: 5.6rem;
  font-weight: 300;
  line-height: 0.7;
}

.roboco-heart {
  position: absolute;
  left: 62px;
  top: 0;
  color: rgba(182, 169, 214, 0.12);
  -webkit-text-stroke: 1.4px currentColor;
  font-family: var(--body);
  font-size: 1.72rem;
  line-height: 1;
}

.roboco-dash {
  position: absolute;
  left: 64px;
  top: -12px;
  width: 13px;
  height: 3px;
  background: currentColor;
}

.roboco-section {
  position: relative;
}

.roboco-section-inner {
  width: min(980px, calc(100vw - 330px));
  margin: 0 0 0 clamp(96px, 11.5vw, 165px);
}

.roboco-section h2 {
  margin: 0;
  color: var(--roboco-ink);
  font-family: var(--roboco-title);
  font-size: clamp(2.62rem, 3.2vw, 3.12rem);
  font-weight: 400;
  line-height: 1;
}

.roboco-section p {
  margin: 0;
  font-family: var(--body);
  font-size: clamp(1.3rem, 1.7vw, 1.5rem);
  font-weight: 500;
  line-height: 1.17;
  letter-spacing: 2px;
}

.roboco-section em {
  font-style: italic;
}

.roboco-intro {
  min-height: clamp(720px, 57vw, 810px);
  padding-top: clamp(190px, 15.1vw, 216px);
  background: var(--roboco-cream);
}

.roboco-intro h1 {
  margin: 0 0 0 clamp(78px, 5.5vw, 104px);
  font-family: var(--roboco-title);
  font-size: clamp(3.4rem, 4.1vw, 3.85rem);
  font-weight: 400;
  line-height: 0.95;
}

.roboco-intro-copy {
  width: min(860px, calc(100vw - 360px));
  margin: clamp(108px, 7.8vw, 122px) 0 0 clamp(207px, 14.6vw, 258px);
  display: grid;
  gap: 28px;
}

.roboco-intro-copy a {
  color: var(--roboco-blue);
  font-style: italic;
}

.roboco-vegetations {
  min-height: 1300px;
  padding: 24px 0 120px;
  background: var(--roboco-green);
}

.roboco-vegetations h2 {
  margin-left: calc(clamp(78px, 5.5vw, 104px) - clamp(96px, 11.5vw, 165px));
  margin-bottom: 62px;
}

.roboco-veg-grid {
  position: relative;
  min-height: 1180px;
}

.roboco-veg-copy {
  position: absolute;
  top: 78px;
  left: 18px;
  width: 465px;
  display: grid;
  gap: 30px;
}

.roboco-oval {
  border-radius: 999px;
  object-fit: cover;
}

.roboco-veg-bush {
  position: absolute;
  top: 50px;
  left: 620px;
  width: 293px;
  height: 162px;
}

.roboco-veg-wide {
  position: absolute;
  top: 278px;
  left: 515px;
  width: 320px;
  height: 177px;
  object-fit: cover;
}

.roboco-veg-note {
  position: absolute;
  top: 558px;
  left: 500px;
  width: 390px;
}

.roboco-veg-small {
  position: absolute;
  top: 435px;
  left: 18px;
  width: 320px;
  height: 177px;
  object-fit: cover;
}

.roboco-veg-center {
  position: absolute;
  top: 765px;
  left: 438px;
  width: 320px;
  height: 180px;
  object-fit: cover;
}

.roboco-assets {
  padding: 50px 0 150px;
  background: var(--roboco-cream);
}

.roboco-assets h2 {
  margin-bottom: 94px;
}

.roboco-factory {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-bottom: 72px;
}

.roboco-factory-stage {
  position: relative;
  width: min(804px, 100%);
  height: 430px;
  overflow: hidden;
}

.roboco-factory-stage img:first-child {
  width: 758px;
  height: 430px;
  object-fit: cover;
}

.roboco-factory-stage img:nth-child(2) {
  position: absolute;
  top: 0;
  right: 0;
  width: 56px;
  height: 430px;
  object-fit: cover;
  object-position: right center;
}

.roboco-factory-stage span {
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  color: var(--roboco-ink);
  font-family: var(--body);
  font-size: 5rem;
  font-weight: 300;
  line-height: 1;
}

.roboco-factory p {
  font-size: clamp(1.55rem, 1.35vw, 1.95rem);
  text-align: center;
}

.roboco-props {
  display: grid;
  grid-template-columns: repeat(2, 349px);
  justify-content: center;
  gap: clamp(120px, 17vw, 220px);
}

.roboco-props img {
  width: 349px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.roboco-asset-copy {
  width: 440px;
  margin: 66px auto 62px;
}

.roboco-asset-copy-second {
  margin-top: 64px;
  margin-bottom: 62px;
}

.roboco-shader {
  min-height: 700px;
  padding: 44px 0 110px;
  background: var(--roboco-green);
}

.roboco-shader h2 {
  margin-bottom: 70px;
}

.roboco-shader-media {
  display: grid;
  grid-template-columns: repeat(2, 399px);
  justify-content: start;
  gap: 43px;
  margin-left: clamp(58px, 5.2vw, 66px);
}

.roboco-shader-media img {
  width: 399px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.roboco-shader p {
  width: 430px;
  margin: 82px 0 0 310px;
}

.roboco-level {
  padding: 28px 0 78px;
  background: var(--roboco-cream);
}

.roboco-level h2 {
  margin-bottom: 88px;
}

.roboco-gallery {
  display: grid;
  justify-items: center;
}

.roboco-gallery-stage {
  position: relative;
  width: min(804px, 100%);
}

.roboco-gallery-main {
  width: min(804px, 100%);
  aspect-ratio: 804 / 534;
  height: auto;
  object-fit: cover;
}

.roboco-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 1;
  border: 0;
  background: transparent;
  color: var(--roboco-ink);
  font-family: var(--body);
  font-size: 5rem;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.roboco-gallery-prev {
  left: 18px;
}

.roboco-gallery-next {
  right: 18px;
}

.roboco-thumb-strip {
  width: min(1110px, 100%);
  margin-top: 10px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.roboco-thumb-strip::-webkit-scrollbar {
  display: none;
}

.roboco-thumb {
  flex: 0 0 136px;
  border: 0;
  padding: 0;
  background: transparent;
  opacity: 0.72;
  cursor: pointer;
}

.roboco-thumb.is-active {
  opacity: 1;
}

.roboco-thumb img {
  width: 136px;
  height: 136px;
  object-fit: cover;
}

.roboco-footer {
  display: grid;
  justify-items: center;
  gap: 20px;
  padding: 28px 20px 76px;
  background: var(--roboco-cream);
  color: var(--roboco-ink);
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

.roboco-footer p {
  margin: 0;
}

.roboco-footer div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.roboco-footer a {
  border: 2px solid currentColor;
  padding: 10px 18px 12px;
  font-weight: 900;
}

@media (max-width: 1180px) {
  .roboco-section-inner {
    width: min(900px, calc(100vw - 80px));
  }

  .roboco-intro-copy {
    width: min(780px, calc(100vw - 120px));
    margin-left: clamp(48px, 12vw, 150px);
  }

  .roboco-veg-grid {
    display: grid;
    gap: 34px;
    min-height: auto;
  }

  .roboco-veg-copy,
  .roboco-veg-bush,
  .roboco-veg-wide,
  .roboco-veg-note,
  .roboco-veg-small,
  .roboco-veg-center {
    position: static;
    width: min(100%, 560px);
    height: auto;
    justify-self: center;
  }

  .roboco-veg-copy,
  .roboco-veg-note {
    justify-self: start;
  }

  .roboco-props,
  .roboco-shader-media {
    gap: 34px;
  }

  .roboco-shader p {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 1350px) {
  body[data-page="roboco"] .side-nav {
    right: 14px;
    font-size: 1rem;
  }

  body[data-page="roboco"] .side-nav span {
    width: 12px;
    height: 12px;
    border-width: 2px;
  }
}

@media (max-width: 980px) {
  body[data-page="roboco"] .side-nav {
    display: none;
  }

  .roboco-intro {
    min-height: auto;
    padding: 74px 20px 86px;
  }

  .roboco-intro h1,
  .roboco-section h2 {
    margin-left: 0;
  }

  .roboco-intro-copy {
    width: 100%;
    margin: 64px 0 0;
  }

  .roboco-vegetations,
  .roboco-assets,
  .roboco-shader,
  .roboco-level {
    min-height: auto;
    padding: 54px 20px 84px;
  }

  .roboco-section-inner {
    width: min(100%, 720px);
    margin-left: auto;
    margin-right: auto;
  }

  .roboco-section p {
    font-size: 1.55rem;
  }

  .roboco-props,
  .roboco-shader-media {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .roboco-props img,
  .roboco-shader-media img,
  .roboco-gallery-main {
    width: 100%;
    height: auto;
  }

  .roboco-factory-stage,
  .roboco-factory-stage img:first-child {
    width: 100%;
    height: auto;
  }

  .roboco-factory-stage img:nth-child(2),
  .roboco-factory-stage span {
    display: none;
  }

  .roboco-asset-copy,
  .roboco-asset-copy-second,
  .roboco-shader p {
    width: 100%;
  }

  .roboco-gallery-arrow {
    display: none;
  }
}
