:root {
  --ink: #000000;
  --paper: #ffffff;
  --line: #000000;
  --page: min(92vw, 1440px);
  --display: "Arial Narrow", "Helvetica Neue", "PingFang SC", sans-serif;
  --body: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: "Times New Roman", "Songti SC", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

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

p,
h1,
h2,
h3 {
  margin: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border: 1px solid var(--ink);
  background: var(--paper);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  width: var(--page);
  height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  transform: translateX(-50%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.brand {
  width: max-content;
  display: flex;
  align-items: center;
}

.brand img {
  display: block;
  width: clamp(176px, 13.2vw, 226px);
  height: auto;
}

.site-header nav {
  display: flex;
  gap: clamp(10px, 1.2vw, 18px);
}

.site-header nav a,
.site-header .availability {
  text-transform: uppercase;
}

.site-header nav a {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 4.4em;
  padding: 9px 20px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1;
  transition: color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.site-header nav a::after {
  content: none;
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after {
  transform: none;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: #111111;
  background: #ffffff;
  transform: translateY(-2px);
}

.availability {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.availability span {
  width: 7px;
  height: 7px;
  border: 1px solid #ffffff;
  border-radius: 50%;
}

.hero {
  --hero-star-left-shift: clamp(12px, 3.2vw, 58px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100svh;
  width: 100%;
  margin: 0;
  background: #000000;
  color: #ffffff;
}

.hero-art {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  image-rendering: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.star-canvas {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.meteor-layer {
  position: absolute;
  z-index: 1;
  inset: 92px 50% 0 0;
  overflow: hidden;
  pointer-events: none;
}

.meteor {
  --meteor-x: -380px;
  --meteor-y: 220px;
  position: absolute;
  width: clamp(80px, 8vw, 136px);
  height: 3px;
  opacity: 0;
  transform: rotate(-31deg);
  transform-origin: right center;
  animation: meteor-fall var(--meteor-duration, 1.25s) cubic-bezier(0.12, 0.5, 0.28, 1) forwards;
}

.meteor::before {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, #fff5cf, rgba(255, 221, 132, 0.78) 10%, rgba(255, 218, 119, 0.12) 72%, transparent);
  filter: blur(0.3px) drop-shadow(0 0 5px rgba(255, 207, 91, 0.65));
}

.meteor::after {
  position: absolute;
  top: 50%;
  left: -4px;
  width: 9px;
  height: 9px;
  content: "";
  background: #fff0ae;
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  filter: drop-shadow(0 0 5px #ffd464);
  transform: translateY(-50%);
}

.hero-star {
  position: absolute;
  z-index: 3;
  top: 20.5%;
  left: calc(82.4% - var(--hero-star-left-shift));
  width: clamp(138px, 10.67vw, 176px);
  height: clamp(138px, 10.67vw, 176px);
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #ffbe32;
  background: transparent;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.hero-star::before {
  position: absolute;
  inset: 16px;
  content: "";
  border-radius: 50%;
  background: rgba(255, 185, 42, 0.2);
  filter: blur(17px);
  animation: star-glow 2.2s ease-in-out infinite;
}

.hero-star-shape {
  position: relative;
  font-size: clamp(112px, 9.33vw, 149px);
  line-height: 1;
  filter: drop-shadow(0 0 12px rgba(255, 190, 50, 0.82));
  animation: star-breathe 2.2s ease-in-out infinite;
  transition: color 220ms ease, filter 220ms ease, transform 220ms ease;
}

.hero-star-label {
  position: absolute;
  top: calc(100% - 5px);
  left: 50%;
  color: rgba(255, 255, 255, 0.78);
  font-size: 9px;
  letter-spacing: 0.16em;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 5px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.hero-star:hover .hero-star-shape,
.hero-star:focus-visible .hero-star-shape {
  color: #fff4c7;
  filter: drop-shadow(0 0 10px #ffffff) drop-shadow(0 0 30px #ffb82e);
  transform: scale(1.18);
}

.hero-star:hover .hero-star-label,
.hero-star:focus-visible .hero-star-label {
  opacity: 1;
  transform: translate(-50%, 0);
}

.hero-star:focus-visible {
  outline: 1px solid #ffffff;
  outline-offset: 4px;
}

.hero-star.is-transitioning {
  visibility: hidden;
}

.falling-star {
  position: fixed;
  z-index: 90;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  color: #ffbe32;
  font-size: clamp(72px, 7vw, 112px);
  line-height: 1;
  pointer-events: none;
  filter: drop-shadow(0 0 12px rgba(255, 190, 50, 0.9));
  will-change: transform, opacity;
}

.star-burst {
  position: fixed;
  z-index: 92;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.burst-star {
  position: absolute;
  top: 0;
  left: 0;
  color: #ffb400;
  font-size: var(--burst-size, 13px);
  line-height: 1;
  -webkit-text-stroke: 0.5px #9d5200;
  filter: drop-shadow(0 0 4px #fff1a3) drop-shadow(0 0 14px rgba(255, 145, 0, 0.95));
  animation: burst-out var(--burst-duration, 760ms) cubic-bezier(0.12, 0.55, 0.22, 1) forwards;
}

.section-pad {
  width: var(--page);
  margin: 0 auto;
  padding-top: clamp(55px, 6.5vw, 105px);
}

.section-label {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.about.section-pad {
  --id-anchor-shift: clamp(14.28px, 1.208vw, 18.31px);
  --about-popup-left-shift: clamp(0px, calc(10vw - 76px), 58px);
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 640px;
  margin: 0;
  padding-top: 0;
  overflow: clip;
}

.about-impact {
  position: absolute;
  top: 0;
  left: calc(20.5% + var(--id-anchor-shift) - var(--about-popup-left-shift));
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.id-card-stage {
  position: absolute;
  z-index: 2;
  top: 0;
  left: calc(0px - var(--about-popup-left-shift));
  width: 41%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.id-card-follow {
  position: absolute;
  top: 0;
  left: 50%;
  width: clamp(390px, 33vw, 500px);
  transform: translate3d(-50%, var(--badge-follow-y, 0px), 0);
  will-change: transform;
}

.id-card-rig {
  position: relative;
  width: 100%;
  height: clamp(760px, 68vw, 980px);
  opacity: 0;
  transform: rotate(0deg);
  transform-origin: 53.662% 0;
  will-change: transform, opacity;
}

.id-card-rope {
  position: absolute;
  top: 0;
  left: 53.662%;
  width: 16.442%;
  height: clamp(290px, 26vw, 360px);
  border-radius: 0;
  transform: translateX(-50%);
  transform-origin: 50% 0;
  will-change: height;
  overflow: hidden;
}

.id-card-rope img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  user-select: none;
  -webkit-user-drag: none;
}

.id-card-body {
  position: absolute;
  z-index: 2;
  top: clamp(290px, 26vw, 360px);
  left: 50%;
  width: 100%;
  aspect-ratio: 669 / 530;
  transform: translateX(-50%);
  transform-origin: 50% 0;
  will-change: top, opacity;
}

.id-card-body img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.about.badge-visible .id-card-rig {
  animation: rig-sway 2.25s cubic-bezier(0.16, 0.72, 0.24, 1) both;
}

.about.badge-visible .id-card-rope {
  animation: rope-tether 2.25s cubic-bezier(0.16, 0.72, 0.24, 1) both;
}

.about.badge-visible .id-card-body {
  animation: body-tether 2.25s cubic-bezier(0.16, 0.72, 0.24, 1) both;
}

.about.badge-settled .id-card-rig {
  opacity: 1;
  transform: rotate(0deg);
}

.about.badge-settled .id-card-rope {
  height: clamp(290px, 26vw, 360px);
  transform: translateX(-50%);
}

.about.badge-settled .id-card-body {
  top: clamp(290px, 26vw, 360px);
  opacity: 1;
  transform: translateX(-50%);
}

.about-grid {
  display: grid;
  grid-template-columns: 41% 59%;
  gap: 0;
  height: 100%;
  margin: 0;
  padding: 0;
}

.about-content {
  align-self: start;
}

.about-profile {
  --about-profile-center-shift: clamp(38px, 3.75vw, 77px);
  --about-skill-card-height: clamp(108px, 8.9vw, 114px);
  position: relative;
  width: 100%;
  height: 100%;
  padding: clamp(68px, 5.2vw, 104px) clamp(76px, 7.5vw, 154px) clamp(24px, 2vw, 40px) 0;
}

.about-profile-card {
  color: #1a1a1a;
}

.about-profile-card h2,
.about-profile-card h3 {
  margin: 0 0 clamp(12px, 1vw, 16px);
  font-size: clamp(17px, 1.32vw, 23px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
}

.about-profile-card p {
  margin: 0;
  font-size: clamp(14px, 1.08vw, 19px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}

.about-profile-card--education {
  margin-top: clamp(48px, 4.4vw, 84px);
}

.about-profile-card--education p {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: baseline;
}

.about-profile-card--education p + p {
  margin-top: clamp(12px, 1vw, 18px);
}

.about-profile-card--education strong {
  font-weight: 800;
  white-space: nowrap;
}

.about-profile-motto {
  position: absolute;
  top: 59%;
  left: calc(50% - var(--about-profile-center-shift));
  width: min(82%, 860px);
  height: clamp(72px, 6vw, 114px);
  margin: 0;
  overflow: hidden;
  transform: translate(-50%, -50%);
  transition: opacity 160ms ease;
}

.about-profile-motto img {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 100%;
  height: auto;
  transform: translate(-50%, -50%);
}

.about-profile-window {
  position: absolute;
  z-index: 3;
  top: auto;
  bottom: calc(
    clamp(20px, 2vw, 38px) + var(--about-skill-card-height) + clamp(12px, 1vw, 24px)
  );
  left: calc(50% - var(--about-profile-center-shift));
  width: min(59%, 530px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 0;
  border-radius: clamp(14px, 1.2vw, 22px);
  background: transparent;
  box-shadow: none;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
}

.about-profile-window[hidden] {
  display: none;
}

.about-profile-window-chrome {
  display: none;
  grid-template-columns: auto auto auto minmax(0, 1fr) auto;
  gap: clamp(8px, 0.7vw, 12px);
  align-items: center;
  height: 12%;
  min-height: 36px;
  padding: 0 clamp(12px, 1vw, 18px);
  background: #e5e5e8;
}

.about-profile-window-close {
  width: clamp(14px, 1vw, 19px);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ff3933;
  cursor: pointer;
}

.about-profile-window-control {
  display: grid;
  width: clamp(16px, 1.15vw, 21px);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: #9b9ba0;
  background: #ffffff;
  font-size: clamp(13px, 1.1vw, 19px);
  font-weight: 800;
  line-height: 1;
}

.about-profile-window-address {
  display: block;
  height: clamp(16px, 1.25vw, 23px);
  border-radius: 999px;
  background: #ffffff;
}

.about-profile-window-search {
  width: clamp(14px, 1vw, 20px);
  aspect-ratio: 1;
  border: clamp(2px, 0.14vw, 3px) solid #a4a4a9;
  border-radius: 50%;
}

.about-profile-window-search::after {
  display: block;
  width: 45%;
  height: clamp(2px, 0.15vw, 3px);
  margin: 75% 0 0 77%;
  border-radius: 999px;
  background: #a4a4a9;
  content: "";
  transform: rotate(45deg);
  transform-origin: left center;
}

.about-profile-window-body {
  position: absolute;
  top: 15.5%;
  right: 8.8%;
  bottom: 14.5%;
  left: 9.4%;
  overflow: auto;
  padding: clamp(9px, 0.9vw, 16px) clamp(10px, 1vw, 18px);
  color: #1f1f1f;
  font-size: clamp(8px, 0.74vw, 13px);
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: 0;
}

.about-profile-window-frame {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.about-profile-window-body ol {
  margin: 0;
  padding-left: 1.45em;
}

.about-profile-window-body p {
  margin: 0;
}

.about-profile-window-body p + p {
  margin-top: 0.5em;
}

.about-profile-window-body li + li {
  margin-top: 0.55em;
}

.about-profile-window-body h4 {
  margin: 0 0 0.35em;
  font-size: 1em;
  font-weight: 900;
  line-height: 1.45;
}

.about-profile-window-body section + section {
  margin-top: 1.05em;
}

.about-profile-skills {
  position: absolute;
  right: auto;
  bottom: clamp(20px, 2vw, 38px);
  left: calc(50% - var(--about-profile-center-shift));
  width: min(86%, 740px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(20px, 1.8vw, 32px);
  margin: 0;
  transform: translateX(-50%);
}

.about-profile-skill {
  display: block;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform-origin: 50% 100%;
  transition: transform 180ms ease, filter 180ms ease;
}

.about-profile-skill:hover,
.about-profile-skill:focus-visible,
.about-profile-skill.is-active {
  filter: saturate(1.08) drop-shadow(0 10px 12px rgba(0, 0, 0, 0.12));
  transform: translateY(-8px) rotate(-1.4deg);
}

.about-profile.has-active-skill .about-profile-skill:not(.is-active) {
  filter: grayscale(1) saturate(0) opacity(0.48);
}

.about-profile.has-active-skill .about-profile-motto {
  opacity: 0;
}

.about-profile-skill:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 5px;
}

.about-profile-skill img {
  display: block;
  width: 100%;
  height: auto;
}

.work-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 48px 0 84px;
}

.work-heading h2 {
  font-family: var(--display);
  font-size: clamp(45px, 6.5vw, 104px);
  font-weight: 500;
  letter-spacing: -0.065em;
}

.work-heading p {
  padding-bottom: 10px;
  font-size: 12px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(14px, 2vw, 34px);
  row-gap: clamp(88px, 12vw, 190px);
}

.project-featured,
.project-wide {
  grid-column: 1 / -1;
}

.project-half {
  grid-column: span 6;
}

.project-offset {
  margin-top: clamp(80px, 11vw, 170px);
}

.project a {
  display: block;
}

.project-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--ink);
  background: var(--paper);
}

.project-half .project-visual {
  aspect-ratio: 4 / 5;
}

.project-info {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 20px;
  align-items: baseline;
  padding-top: 15px;
}

.project-info h3 {
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 31px);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.project-info p,
.project-info span {
  font-size: 11px;
  text-transform: uppercase;
}

.visual-one {
  display: grid;
  place-items: center;
}

.visual-one > span {
  z-index: 1;
  font-family: var(--display);
  font-size: clamp(48px, 11vw, 170px);
  font-weight: 700;
  letter-spacing: -0.08em;
}

.visual-one i {
  position: absolute;
  width: 38%;
  aspect-ratio: 1;
  border: 1px solid var(--ink);
  border-radius: 50%;
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.visual-one i:nth-of-type(1) {
  left: 9%;
}

.visual-one i:nth-of-type(2) {
  width: 28%;
}

.visual-one i:nth-of-type(3) {
  right: 9%;
}

.project:hover .visual-one i:nth-of-type(1) {
  transform: translateX(35%);
}

.project:hover .visual-one i:nth-of-type(3) {
  transform: translateX(-35%);
}

.visual-two {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.visual-two::after {
  position: absolute;
  inset: 14% 10%;
  content: "";
  border: 1px solid var(--ink);
  transform: rotate(-8deg);
  transition: transform 500ms ease;
}

.project:hover .visual-two::after {
  transform: rotate(5deg);
}

.visual-two span,
.visual-two em {
  z-index: 1;
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.08em;
}

.visual-two strong {
  z-index: 1;
  align-self: center;
  font-family: var(--serif);
  font-size: clamp(58px, 8vw, 116px);
  font-weight: 400;
  line-height: 0.78;
}

.visual-two em {
  align-self: end;
}

.visual-three {
  display: grid;
  place-items: center;
}

.visual-three span {
  z-index: 1;
  font-family: var(--display);
  font-size: clamp(66px, 9vw, 130px);
  font-weight: 700;
  line-height: 0.74;
  letter-spacing: -0.09em;
}

.echo-circle {
  position: absolute;
  width: 60%;
  aspect-ratio: 1;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.echo-circle::before,
.echo-circle::after {
  position: absolute;
  inset: 12%;
  content: "";
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.echo-circle::after {
  inset: 25%;
}

.project:hover .echo-circle {
  animation: pulse-ring 1.4s ease-out infinite;
}

.visual-four {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: clamp(28px, 4vw, 64px);
}

.visual-four p {
  z-index: 1;
  font-family: var(--display);
  font-size: clamp(66px, 10vw, 158px);
  font-weight: 700;
  line-height: 0.72;
  letter-spacing: -0.09em;
}

.visual-four > span {
  position: absolute;
  right: 30px;
  bottom: 24px;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.form-lines {
  height: 75%;
  background: repeating-linear-gradient(to bottom, transparent 0 17%, var(--ink) 17% calc(17% + 1px));
  transition: transform 500ms ease;
}

.project:hover .form-lines {
  transform: skewY(-6deg);
}

.work {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  background: #ffffff;
}

.project-portfolio-mark {
  position: absolute;
  z-index: 0;
  top: 42%;
  left: 50%;
  display: block;
  width: min(67vw, 1120px);
  height: auto;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.project-window {
  position: absolute;
  z-index: 1;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform-origin: 50% 94%;
  will-change: transform, opacity, clip-path;
}

.project-window.is-interactive {
  pointer-events: auto;
}

.project-window-frame {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  user-select: none;
  -webkit-user-drag: none;
}

.project-window-dot {
  position: absolute;
  top: 5.778%;
  left: 4.688%;
  width: 2.938%;
  height: 5.222%;
  object-fit: fill;
  border-radius: 50%;
  clip-path: circle(49% at 50% 50%);
  user-select: none;
  -webkit-user-drag: none;
}

.project-window-content {
  position: absolute;
  z-index: 2;
  top: 17.5%;
  right: 10%;
  bottom: var(--project-safe-bottom, 30%);
  left: 10%;
  overflow: hidden;
  color: #111111;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

.project-window-content[hidden] {
  display: none;
}

.project-scroll-region {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(10px, 1.3vw, 22px) clamp(8px, 1vw, 18px) clamp(20px, 2vw, 34px) 0;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.28) transparent;
  -webkit-overflow-scrolling: touch;
}

.project-scroll-region:focus-visible {
  outline: 1px solid rgba(0, 0, 0, 0.35);
  outline-offset: 5px;
}

.project-entry-list {
  --project-entry-gap: clamp(35px, 3.333vw, 52px);
  display: grid;
  gap: var(--project-entry-gap);
}

.project-entry {
  --timeline-date-line-height: 25.2px;
  --timeline-dot-size: 9px;
  --timeline-marker-x: 5px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(132px, 11vw, 190px);
  grid-template-rows: auto auto;
  column-gap: clamp(28px, 4vw, 64px);
  row-gap: 16px;
  align-items: start;
  padding-left: 28px;
}

.project-entry::before {
  position: absolute;
  top: calc((var(--timeline-date-line-height) - var(--timeline-dot-size)) / 2);
  left: var(--timeline-marker-x);
  width: var(--timeline-dot-size);
  height: var(--timeline-dot-size);
  border-radius: 50%;
  background: #111111;
  content: "";
}

.project-entry:not(:last-child)::after {
  position: absolute;
  top: calc((var(--timeline-date-line-height) + var(--timeline-dot-size)) / 2);
  bottom: calc(-1 * var(--project-entry-gap) - ((var(--timeline-date-line-height) - var(--timeline-dot-size)) / 2));
  left: calc(var(--timeline-marker-x) + (var(--timeline-dot-size) - 1px) / 2);
  width: 1px;
  background: #111111;
  content: "";
}

.project-entry time {
  grid-column: 1;
  grid-row: 1;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.project-entry-copy {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
}

.project-entry-copy h3 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

.project-entry-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
  margin-bottom: 20px;
}

.project-entry-title-row h3 {
  margin-bottom: 0;
}

.project-entry-title-row h3:last-child {
  margin-right: 1em;
  white-space: nowrap;
  text-align: right;
}

.project-entry-workstream h4 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.project-entry-workstream + .project-entry-workstream {
  margin-top: 20px;
}

.project-entry-meta {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 20px;
}

.project-entry-meta strong {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.project-entry-meta strong:last-child {
  margin-right: 1em;
  text-align: right;
}

.project-entry-copy p {
  max-width: 72ch;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.02em;
}

.project-entry-copy p strong {
  font-weight: 700;
}

.project-entry-copy p + p {
  margin-top: 12px;
}

.project-action-reserve {
  position: relative;
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 100%;
  min-height: 76px;
}

.project-detail-hand {
  --detail-hand-travel: clamp(8px, 0.85vw, 16px);
  position: absolute;
  z-index: 1;
  left: -26%;
  bottom: -6%;
  display: block;
  width: 32%;
  height: auto;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  animation: project-detail-hand-nudge 1800ms ease-in-out infinite alternate;
}

@keyframes project-detail-hand-nudge {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(var(--detail-hand-travel));
  }
}

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

.project-detail-box {
  appearance: none;
  position: relative;
  width: 100%;
  aspect-ratio: 852 / 458;
  margin: 110px 0 0;
  padding: 0;
  display: block;
  overflow: visible;
  border: 0;
  outline: 0;
  background: transparent;
  cursor: pointer;
  transform-origin: 50% 78%;
  -webkit-tap-highlight-color: transparent;
}

.project-detail-base {
  position: absolute;
  z-index: 2;
  display: block;
  left: 50%;
  bottom: 0;
  width: 127.58%;
  height: auto;
  transform: translateX(-46.36%);
  user-select: none;
  -webkit-user-drag: none;
}

.project-detail-box--self-media {
  left: clamp(-42px, -2.2vw, -28px);
  width: 120%;
  margin-top: calc(var(--timeline-date-line-height) + 16px);
  aspect-ratio: 904 / 964;
}

.project-detail-box--self-media .project-detail-base {
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
}

.project-action-reserve--self-media .project-detail-hand {
  left: auto;
  right: calc(100% + clamp(52px, 3.8vw, 56px));
}

.project-detail-box.is-launching {
  pointer-events: none;
  animation: project-detail-shake 420ms cubic-bezier(0.22, 0.76, 0.28, 1) both;
}

.project-detail-box:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 6px;
}

.project-folders {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: clamp(6px, 0.8vw, 20px);
  width: min(65vw, 1560px);
  transform: translateX(-50%);
}

.project-folder {
  appearance: none;
  position: relative;
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  cursor: default;
  transform: scale(1);
  transform-origin: 50% 88%;
  filter: grayscale(0) saturate(1);
  opacity: 1;
  transition:
    transform 340ms cubic-bezier(0.2, 0.78, 0.2, 1),
    filter 280ms ease,
    opacity 280ms ease;
  will-change: transform, filter;
}

.project-folder img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.project-folder-shield {
  position: absolute;
  z-index: 0;
  inset: 0;
  filter: brightness(0) invert(1);
  opacity: 1;
}

.project-folder-art {
  position: relative;
  z-index: 1;
}

.project-folders.has-active .project-folder:not(.is-active) {
  transform: scale(0.91);
  filter: grayscale(1) saturate(0.08) contrast(0.88);
  opacity: 0.64;
}

.project-folder.is-active {
  z-index: 2;
  transform: translateY(-7%) scale(1.075);
  filter: grayscale(0) saturate(1.08);
  opacity: 1;
}

.project-folder:focus-visible {
  filter: grayscale(0) saturate(1.08) drop-shadow(0 0 9px rgba(0, 0, 0, 0.18));
}

.contact {
  position: relative;
  width: var(--page);
  height: 100svh;
  min-height: 100svh;
  margin: clamp(70px, 9vw, 145px) auto 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.contact-top-button {
  --contact-top-button-height: 42px;
  appearance: none;
  position: absolute;
  z-index: 2;
  top: calc(var(--contact-top-button-height) * 2);
  right: 0;
  height: var(--contact-top-button-height);
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.contact-top-button:hover,
.contact-top-button:focus-visible {
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-2px);
}

.contact-inner {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(72px, 7vh, 110px);
}

.contact-kicker {
  margin-bottom: clamp(25px, 4vw, 58px);
  font-size: 12px;
  text-transform: uppercase;
}

.contact-art-title {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
}

.contact-headline {
  display: block;
  width: 100%;
  height: auto;
}

.contact-star-animation {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
}

.contact-falling-star {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  height: auto;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}

.contact-star-jar {
  position: absolute;
  z-index: 2;
  right: clamp(16px, 3vw, 48px);
  bottom: clamp(10px, 1.6vh, 18px);
  display: block;
  width: clamp(174px, 16vw, 280px);
  height: auto;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.contact-link,
.contact-phone {
  min-height: clamp(70px, 6vw, 90px);
  display: flex;
  align-items: center;
  padding: 18px 0 16px;
  font-size: clamp(21px, 2.3vw, 36px);
  line-height: 1.2;
  text-align: left;
}

.contact-link {
  justify-content: space-between;
  border-bottom: 1px solid var(--ink);
  transition: padding 250ms ease;
}

.contact-email {
  margin-top: clamp(45px, 7vh, 100px);
  border-top: 1px solid var(--ink);
}

.contact-link:hover,
.contact-link:focus-visible {
  padding-right: 16px;
  padding-left: 16px;
}

.contact-phone {
  margin: 0;
  border-bottom: 1px solid var(--ink);
}

footer {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  padding: 24px 0 28px;
  border-top: 1px solid var(--ink);
  font-size: 10px;
  letter-spacing: 0.05em;
}

.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

@keyframes pulse-ring {
  50% {
    transform: scale(1.08);
  }
}

@keyframes star-breathe {
  0%,
  100% {
    opacity: 0.52;
    transform: scale(0.9) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.08) rotate(6deg);
  }
}

@keyframes project-detail-shake {
  0%,
  100% {
    transform: translateX(0) scale(1);
  }
  22% {
    transform: translateX(-3px) scale(1.025);
  }
  46% {
    transform: translateX(4px) scale(1.035);
  }
  68% {
    transform: translateX(-2px) scale(1.025);
  }
  84% {
    transform: translateX(1px) scale(1.012);
  }
}

@keyframes star-glow {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(0.75);
  }
  50% {
    opacity: 1;
    transform: scale(1.28);
  }
}

@keyframes meteor-fall {
  0% {
    opacity: 0;
    translate: 0 0;
    scale: 0.75;
  }
  12% {
    opacity: 1;
  }
  72% {
    opacity: 0.92;
  }
  100% {
    opacity: 0;
    translate: var(--meteor-x) var(--meteor-y);
    scale: 1.05;
  }
}

@keyframes burst-out {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.72) rotate(0deg);
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--burst-x)), calc(-50% + var(--burst-y))) scale(0.25) rotate(var(--burst-rotate));
  }
}

@keyframes rope-tether {
  0% {
    height: 12px;
  }
  34% {
    height: calc(clamp(290px, 26vw, 360px) * 1.17);
  }
  49% {
    height: calc(clamp(290px, 26vw, 360px) * 0.88);
  }
  63% {
    height: calc(clamp(290px, 26vw, 360px) * 1.09);
  }
  75% {
    height: calc(clamp(290px, 26vw, 360px) * 0.94);
  }
  86% {
    height: calc(clamp(290px, 26vw, 360px) * 1.035);
  }
  94% {
    height: calc(clamp(290px, 26vw, 360px) * 0.988);
  }
  100% {
    height: clamp(290px, 26vw, 360px);
  }
}

@keyframes rig-sway {
  0% {
    opacity: 0;
    transform: rotate(0deg);
  }
  16% {
    opacity: 1;
  }
  34% {
    transform: rotate(7deg);
  }
  49% {
    transform: rotate(-6deg);
  }
  63% {
    transform: rotate(4.6deg);
  }
  75% {
    transform: rotate(-3.1deg);
  }
  86% {
    transform: rotate(1.8deg);
  }
  94% {
    transform: rotate(-0.75deg);
  }
  100% {
    opacity: 1;
    transform: rotate(0deg);
  }
}

@keyframes body-tether {
  0% {
    opacity: 0;
    top: 12px;
  }
  16% {
    opacity: 1;
  }
  34% {
    top: calc(clamp(290px, 26vw, 360px) * 1.17);
  }
  49% {
    top: calc(clamp(290px, 26vw, 360px) * 0.88);
  }
  63% {
    top: calc(clamp(290px, 26vw, 360px) * 1.09);
  }
  75% {
    top: calc(clamp(290px, 26vw, 360px) * 0.94);
  }
  86% {
    top: calc(clamp(290px, 26vw, 360px) * 1.035);
  }
  94% {
    top: calc(clamp(290px, 26vw, 360px) * 0.988);
  }
  100% {
    opacity: 1;
    top: clamp(290px, 26vw, 360px);
  }
}

body.is-case-open {
  overflow: hidden;
}

.project-case-dialog {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: #111111;
  background: #ffffff;
}

.project-case-dialog::backdrop {
  background: rgba(0, 0, 0, 0.48);
}

.project-case-dialog[open] {
  animation: project-case-enter 520ms cubic-bezier(0.16, 0.78, 0.22, 1) both;
}

.project-case-shell {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: 72px minmax(0, 1fr);
  background: #ffffff;
}

.project-case-toolbar {
  position: relative;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 clamp(22px, 4vw, 72px);
  border-bottom: 1px solid #d8d8d4;
  background: rgba(255, 255, 255, 0.96);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.project-case-close,
.project-case-section-link,
.project-case-back,
.project-case-next,
.project-case-chapter-nav button {
  appearance: none;
  border: 0;
  color: inherit;
  font: inherit;
}

.project-case-close,
.project-case-section-link {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid #111111;
  border-radius: 999px;
  background: #ffffff;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease;
}

.project-case-close:hover,
.project-case-close:focus-visible,
.project-case-section-link:hover,
.project-case-section-link:focus-visible {
  color: #ffffff;
  background: #111111;
}

.project-case-section-nav {
  position: absolute;
  left: 50%;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
  white-space: nowrap;
}

.project-case-scroll {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #aaa9a3 transparent;
}

.project-case-scroll:focus {
  outline: 0;
}

.project-case-cover {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid #d8d8d4;
  background: #81c4e6;
}

.project-case-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.project-case-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: clamp(54px, 8vw, 140px);
  align-items: start;
  padding: clamp(48px, 5vw, 80px) clamp(28px, 7vw, 120px) clamp(70px, 7vw, 110px);
  border-bottom: 1px solid #d8d8d4;
}

.project-case-browser-heading > p:first-child,
.project-case-results > div:first-child > p {
  margin-bottom: 28px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-case-title-block h1 {
  max-width: 9em;
  font-family: var(--display);
  font-size: clamp(52px, 6.4vw, 110px);
  font-weight: 500;
  line-height: 1.01;
  letter-spacing: -0.07em;
}

#project-case-title {
  line-height: 1.3;
}

.project-placeholder-dialog .project-case-title--red-army {
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3em;
  line-height: 1;
  text-align: left;
}

.project-placeholder-dialog .project-case-title--red-army span {
  display: block;
  white-space: nowrap;
}

.project-case-intro {
  padding-top: 5px;
}

.project-case-lead {
  max-width: 580px;
  font-size: clamp(16px, 1.25vw, 21px);
  line-height: 1.72;
}

.project-case-meta {
  margin: clamp(46px, 5vw, 78px) 0 0;
}

.project-case-meta div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid #d8d8d4;
  font-size: 14px;
  line-height: 1.55;
}

.project-case-meta dt {
  color: #777772;
  font-size: 13px;
}

.project-case-meta dd {
  margin: 0;
}

.project-case-showcase {
  padding: clamp(45px, 5vw, 80px) clamp(28px, 7vw, 120px) clamp(55px, 6vw, 95px);
  background: #ffffff;
}

.project-case-showcase-heading {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0;
  padding-bottom: clamp(29px, 3.5vw, 55px);
  text-align: right;
}

.project-showcase-eyebrow {
  margin-bottom: 28px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-case-showcase-heading h2 {
  font-family: var(--display);
  font-size: clamp(54px, 6.8vw, 108px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.project-showcase-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  border-top: 1px solid #d8d8d4;
}

.project-showcase-row {
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
  gap: clamp(30px, 3.4vw, 54px);
  min-width: 0;
  padding: clamp(14px, 1.5vw, 23px) clamp(24px, 3.2vw, 52px) 0;
  border-bottom: 0;
}

.project-showcase-row:not(:last-child) {
  border-right: 1px solid #d8d8d4;
}

.project-showcase-label {
  display: flex;
  min-height: 0;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  transform: none;
}

.project-showcase-number {
  display: inline;
  margin-right: 1ch;
  color: #111111;
  font-size: 1em;
  letter-spacing: 0.12em;
  vertical-align: middle;
}

.project-showcase-label h3 {
  max-width: none;
  font-family: var(--display);
  font-size: clamp(24px, 2.2vw, 38px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.project-showcase-content {
  --project-showcase-media-gap: clamp(20px, 3vw, 46px);
  display: flex;
  min-height: 0;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.project-showcase-card {
  display: block;
  color: #111111;
}

.project-showcase-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: 0;
  object-fit: contain;
}

.project-showcase-card:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 8px;
}

.project-showcase-game,
.project-showcase-article {
  width: 100%;
  max-width: none;
}

.project-showcase-caption {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.55;
  text-align: center;
}

.project-showcase-video-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--project-showcase-media-gap);
  width: 100%;
}

.project-showcase-video-card {
  min-width: 0;
  margin: 0;
}

.project-showcase-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  display: block;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent url("./assets/red-army-showcase/video-frame.png") center / 112% 112% no-repeat;
}

.project-showcase-video-frame::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  border: clamp(9px, 1.2vw, 20px) solid #ffe453;
  content: "";
  pointer-events: none;
}

.project-showcase-video-frame video {
  position: absolute;
  z-index: 1;
  inset: 4.5%;
  display: block;
  width: 91%;
  height: 91%;
  border: 0;
  border-radius: 0;
  background: #000000;
  box-shadow: none;
  object-fit: cover;
  overflow: hidden;
}

.okamoto-case-toolbar > p {
  max-width: min(72vw, 900px);
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: none;
}

.okamoto-case-scroll {
  background: #ffffff;
}

.okamoto-detail-section {
  display: grid;
  grid-template-columns: clamp(230px, 22vw, 360px) minmax(0, 1fr);
  gap: clamp(45px, 5vw, 88px);
  align-items: start;
  padding: clamp(92px, 9vw, 150px) clamp(40px, 6.5vw, 120px);
}

.okamoto-detail-section--white {
  background: #ffffff;
}

.okamoto-detail-section--gray {
  background: #efefec;
}

.okamoto-section-label {
  font-family: var(--body);
  padding-top: clamp(8px, 1vw, 18px);
}

.okamoto-section-label h2 {
  margin: 0;
  font-family: inherit;
  font-size: clamp(28px, 2.7vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

#okamoto-skill-title {
  white-space: nowrap;
}

.okamoto-section-label p {
  margin-top: 16px;
  font-size: clamp(20px, 1.8vw, 32px);
  font-weight: 700;
  line-height: 1.25;
}

.okamoto-browser-grid {
  display: grid;
  gap: clamp(26px, 2.4vw, 44px);
  min-width: 0;
}

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

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

.okamoto-browser-grid--single .okamoto-browser {
  grid-column: 1;
}

.okamoto-browser {
  position: relative;
  margin: 0;
  aspect-ratio: 3200 / 1800;
  min-width: 0;
}

.okamoto-carousel {
  margin-bottom: clamp(39px, 3.5vw, 58px);
}

.okamoto-browser-frame {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.okamoto-browser-viewport {
  position: absolute;
  z-index: 4;
  top: 14.1%;
  right: 2.75%;
  bottom: 2.65%;
  left: 2.75%;
  overflow: hidden;
  border-radius: 0 0 14px 14px;
  background: #ffffff;
}

.okamoto-browser--scroll .okamoto-browser-viewport {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.28) transparent;
}

.okamoto-browser-viewport img {
  display: block;
  width: 100%;
  height: auto;
}

.okamoto-carousel-viewport {
  display: grid;
  place-items: center;
}

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

.okamoto-carousel-viewport .okamoto-carousel-slide[hidden] {
  display: none;
}

.okamoto-carousel-controls {
  position: absolute;
  z-index: 6;
  right: 2.75%;
  bottom: calc(-1 * clamp(42px, 3.4vw, 56px));
  left: 2.75%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.okamoto-carousel-controls button {
  appearance: none;
  width: clamp(66px, 6vw, 102px);
  height: clamp(24px, 2.4vw, 33px);
  padding: 0 14px;
  border: 2px solid rgba(17, 17, 17, 0.55);
  border-radius: 999px;
  color: #111111;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  font: inherit;
  font-size: clamp(12px, 1vw, 16px);
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.okamoto-carousel-controls button:hover,
.okamoto-carousel-controls button:focus-visible {
  color: #ffffff;
  border-color: #111111;
  background: #111111;
  transform: translateY(-2px);
}

.okamoto-detail-section--phones {
  row-gap: clamp(70px, 7vw, 120px);
}

.okamoto-phone-grid {
  display: grid;
  gap: clamp(22px, 2.6vw, 52px);
  align-items: start;
  min-width: 0;
}

.okamoto-phone-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.okamoto-phone-grid--three {
  grid-column: 2;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.okamoto-section-label--poster {
  grid-column: 1;
}

.okamoto-section-label--poster h2 {
  font-family: inherit;
  font-size: clamp(20px, 1.8vw, 32px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}

.okamoto-phone {
  position: relative;
  margin: 0;
  aspect-ratio: 960 / 1955;
  min-width: 0;
}

.okamoto-phone-frame {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.okamoto-phone-screen {
  position: absolute;
  z-index: 4;
  top: 2.45%;
  right: 5.42%;
  bottom: 2.4%;
  left: 5.42%;
  overflow: hidden;
  border-radius: 10.5% / 5.4%;
  background: #ffffff;
}

.okamoto-phone--scroll .okamoto-phone-screen {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.okamoto-phone--scroll .okamoto-phone-screen::-webkit-scrollbar {
  display: none;
}

.neptune-phone-carousel {
  cursor: pointer;
}

.neptune-phone-carousel-track {
  position: relative;
  width: 100%;
}

.neptune-phone-carousel-track > img {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.neptune-phone-carousel-track > img.is-active {
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
}

.neptune-phone-carousel:focus-visible {
  outline: 2px solid #111111;
  outline-offset: -2px;
}

.okamoto-phone-screen img {
  display: block;
  width: 100%;
  height: auto;
}

.okamoto-phone--poster .okamoto-phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.neptune-detail-section {
  min-height: clamp(560px, 58vh, 760px);
  padding-top: clamp(46px, 4.5vw, 75px);
  padding-bottom: clamp(46px, 4.5vw, 75px);
}

.neptune-phone-grid {
  grid-column: 2;
  justify-content: start;
  justify-items: start;
  column-gap: clamp(44px, 5.2vw, 104px);
  row-gap: clamp(40px, 4vw, 72px);
}

.neptune-phone-grid--two {
  grid-template-columns: repeat(2, minmax(0, clamp(176px, 15.4vw, 302px)));
}

.neptune-phone-grid--one {
  grid-template-columns: minmax(0, clamp(176px, 15.4vw, 302px));
}

.neptune-phone {
  width: 100%;
}

.neptune-phone--static .okamoto-phone-screen img {
  width: 127.2%;
  max-width: none;
  margin-top: -40%;
  margin-left: -13.65%;
}

.neptune-detail-section--xiaohongshu {
  row-gap: clamp(66px, 6.5vw, 112px);
}

.neptune-section-label--sub h2 {
  font-family: inherit;
  font-size: clamp(20px, 1.8vw, 32px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}

.neptune-phone--empty .okamoto-phone-screen {
  background: #ffffff;
}

.self-media-case-scroll {
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(20px, 2.2vw, 38px);
  background: #ffffff;
}

.self-media-dashboard {
  display: grid;
  grid-template-areas:
    "profile topic qr video"
    "profile analytics analytics video";
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(18px, 2vw, 34px);
  width: min(100%, 1560px);
  height: min(calc(100% - 48px), 676px);
  min-height: 0;
}

.self-media-panel {
  min-width: 0;
  min-height: 0;
  margin: 0;
  border: clamp(2px, 0.2vw, 4px) solid #efefec;
  border-radius: clamp(26px, 2.2vw, 44px);
  background: #ffffff;
}

.self-media-profile-panel {
  grid-area: profile;
  overflow: hidden;
}

.self-media-profile-panel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.self-media-topic-panel {
  grid-area: topic;
  overflow: hidden;
  aspect-ratio: 1;
  padding: 0;
  background: #f1f1ee;
}

.self-media-topic-panel img,
.self-media-qr-panel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.self-media-qr-panel {
  grid-area: qr;
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 0;
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease;
}

.self-media-qr-panel:hover,
.self-media-qr-panel:focus-visible {
  border-color: #bcbcb8;
  transform: translateY(-2px);
}

.self-media-qr-panel:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 5px;
}

.self-media-analytics-panel {
  position: relative;
  grid-area: analytics;
  overflow: visible;
}

.self-media-analytics-scroll {
  width: 100%;
  height: 100%;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: inherit;
  scrollbar-width: thin;
  scrollbar-color: #cfcfca transparent;
}

.self-media-analytics-scroll::-webkit-scrollbar {
  width: 7px;
}

.self-media-analytics-scroll::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: #cfcfca;
}

.self-media-analytics-scroll img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0 auto;
}

.self-media-analytics-panel > p,
.self-media-video-panel > p {
  position: absolute;
  top: calc(100% + clamp(9px, 1.1vw, 16px));
  left: 0;
  width: max-content;
  max-width: none;
  margin: 0;
  color: #343432;
  font-size: clamp(13px, 1.1vw, 20px);
  line-height: 1.35;
  letter-spacing: 0;
}

.self-media-video-panel > p {
  white-space: nowrap;
}

.self-media-video-panel {
  position: relative;
  grid-area: video;
  overflow: visible;
  background: #ffffff;
}

.self-media-video-panel video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  background: #171717;
}

.project-placeholder-dialog .project-case-hero {
  padding-bottom: clamp(35px, 3.5vw, 55px);
}

.project-placeholder-dialog .project-case-browser {
  padding-top: clamp(45px, 5vw, 80px);
  padding-bottom: clamp(55px, 6vw, 95px);
}

.project-placeholder-dialog .project-case-browser-heading {
  margin-bottom: clamp(35px, 4vw, 60px);
}

.project-placeholder-dialog .project-case-page-placeholder.has-image {
  aspect-ratio: 2267 / 1275;
}

.project-placeholder-dialog .project-case-page-placeholder.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.planning-case-dialog .project-case-page-placeholder.has-image {
  aspect-ratio: 1800 / 1273;
}

.planning-case-dialog .project-case-page-placeholder.has-image img {
  object-fit: contain;
}

.project-placeholder-dialog .project-case-scroll {
  overflow-anchor: none;
  scroll-behavior: auto !important;
}

.project-placeholder-dialog .project-case-results {
  grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(60px, 10vw, 170px);
  align-items: start;
  min-height: max(clamp(560px, 62vh, 680px), calc(100dvh - 72px));
  padding-top: clamp(50px, 6vw, 95px);
  padding-bottom: clamp(50px, 6vw, 95px);
}

.project-case-dialog:not(.project-placeholder-dialog) .project-case-hero {
  padding-top: clamp(24px, 2.5vw, 40px);
  padding-bottom: clamp(35px, 3.5vw, 55px);
}

.project-case-dialog:not(.project-placeholder-dialog) .project-case-browser {
  padding-top: clamp(45px, 5vw, 80px);
  padding-bottom: clamp(55px, 6vw, 95px);
}

.project-case-dialog:not(.project-placeholder-dialog) .project-case-results {
  min-height: calc(100dvh - 72px);
  padding-top: clamp(50px, 6vw, 95px);
  padding-bottom: clamp(50px, 6vw, 95px);
}

.project-case-dialog:not(.project-placeholder-dialog) .project-case-page-placeholder.has-image {
  aspect-ratio: 2 / 1;
}

.project-case-dialog:not(.project-placeholder-dialog) .project-case-page-placeholder.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-case-dialog:not(.project-placeholder-dialog) .project-case-scroll {
  overflow-anchor: none;
  scroll-behavior: auto !important;
}

.project-case-result-link {
  color: #e0a900;
  font-weight: 700;
  text-decoration: none;
  text-underline-offset: 0.18em;
}

.project-case-result-link:hover,
.project-case-result-link:focus-visible {
  color: #111111;
  background: #ffd42a;
  text-decoration: underline;
}

.project-case-achievement {
  width: min(100%, clamp(270px, 34vw, 540px));
  justify-self: center;
  padding-top: 39px;
}

.project-case-achievement > img {
  display: block;
  width: 100%;
  height: auto;
}

.project-case-title--planning {
  max-width: none !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3em;
  line-height: 1 !important;
  text-align: left;
  letter-spacing: -0.06em !important;
}

.project-case-title--planning span {
  white-space: nowrap;
}

.project-case-achievement-caption,
.project-case-achievement-media-link {
  font-size: 17px;
  line-height: 1.55;
  text-align: left;
}

.project-case-achievement-caption {
  margin-top: 16px;
}

.project-case-achievement-media-link {
  appearance: none;
  display: block;
  margin-top: 3.1em;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111111;
  cursor: pointer;
}

.project-case-achievement-media-link strong {
  color: #e5b900;
  font-weight: 700;
}

.project-case-achievement-media-link:hover strong,
.project-case-achievement-media-link:focus-visible strong {
  color: #111111;
  background: #ffd42a;
}

.project-case-browser {
  padding: clamp(90px, 10vw, 160px) clamp(22px, 5.4vw, 92px) clamp(110px, 12vw, 190px);
  background: #efefec;
}

.project-case-browser-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.45fr);
  column-gap: 40px;
  align-items: end;
  margin: 0 0 clamp(70px, 8vw, 120px) calc(clamp(150px, 14vw, 220px) + clamp(30px, 4vw, 70px));
}

.project-case-browser-heading > p:first-child {
  grid-column: 1 / -1;
}

.project-case-browser-heading h2,
.project-case-results h2 {
  font-family: var(--display);
  font-size: clamp(54px, 6.8vw, 108px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.project-case-browser-heading > p:last-child {
  max-width: 340px;
  padding-bottom: 8px;
  color: #5d5d59;
  font-size: 14px;
  line-height: 1.7;
}

.project-case-browser-layout {
  display: grid;
  grid-template-columns: clamp(150px, 14vw, 220px) minmax(0, 1fr);
  gap: clamp(30px, 4vw, 70px);
  align-items: start;
}

.project-case-chapter-nav {
  position: sticky;
  z-index: 8;
  top: 50%;
  display: grid;
  gap: 8px;
  transform: translateY(-50%);
}

.project-case-chapter-nav button {
  width: 75%;
  min-height: 46px;
  padding: 10px 17px;
  border: 1px solid #bdbdb7;
  border-radius: 14px;
  color: #555550;
  background: rgba(255, 255, 255, 0.84);
  text-align: left;
  font-size: 13px;
  cursor: pointer;
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.project-case-chapter-nav button:hover,
.project-case-chapter-nav button:focus-visible {
  color: #111111;
  border-color: #111111;
  transform: translateX(4px);
}

.project-case-chapter-nav button.is-active {
  color: #111111;
  border-color: #e0a900;
  background: #ffd42a;
  font-weight: 600;
}

.project-case-pages {
  display: grid;
  gap: clamp(60px, 6vw, 96px);
}

.project-case-chapter {
  scroll-margin-top: 42px;
}

.project-case-chapter header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 18px;
}

.project-case-chapter header span {
  color: #777772;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.project-case-chapter h3 {
  font-family: var(--display);
  font-size: clamp(20px, 1.7vw, 30px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.project-case-chapter-pages {
  display: grid;
  gap: clamp(18px, 2vw, 30px);
}

.project-case-page-placeholder {
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid #c7c7c1;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.055);
}

.project-case-page-placeholder.has-image {
  aspect-ratio: auto;
}

.project-case-page-placeholder img {
  display: block;
  width: 100%;
  height: auto;
}

.project-case-results {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(60px, 10vw, 170px);
  padding: clamp(100px, 12vw, 190px) clamp(28px, 7vw, 120px);
  background: #ffffff;
}

.project-case-results-copy {
  border-top: 1px solid #111111;
}

.project-case-results-copy article {
  display: grid;
  grid-template-columns: 42px minmax(120px, 0.45fr) minmax(220px, 1fr);
  gap: 24px;
  padding: 30px 0 34px;
  border-bottom: 1px solid #d8d8d4;
}

.project-case-results-copy span {
  color: #777772;
  font-size: 11px;
}

.project-case-results-copy h3 {
  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: 500;
}

.project-case-results-copy p {
  color: #5d5d59;
  font-size: 15px;
  line-height: 1.75;
}

.project-case-footer {
  min-height: 42vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #111111;
  background: #111111;
  color: #ffffff;
}

.project-case-back,
.project-case-next {
  min-height: 300px;
  padding: clamp(34px, 6vw, 96px);
  background: transparent;
  text-align: left;
}

.project-case-back {
  border-right: 1px solid rgba(255, 255, 255, 0.26);
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 82px);
  font-weight: 500;
  letter-spacing: -0.055em;
  cursor: pointer;
  transition: color 220ms ease, background-color 220ms ease;
}

.project-case-back:hover,
.project-case-back:focus-visible {
  color: #111111;
  background: #ffd42a;
}

.project-case-next {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.42);
}

.project-case-next span {
  font-size: 11px;
  letter-spacing: 0.14em;
}

.project-case-next strong {
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 82px);
  font-weight: 500;
  letter-spacing: -0.055em;
}

@keyframes project-case-enter {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 760px) {
  :root {
    --page: calc(100vw - 32px);
  }

  .site-header {
    height: 68px;
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    gap: 6px;
  }

  .site-header nav a {
    min-width: 0;
    padding: 8px 10px 9px;
    font-size: 16px;
  }

  .brand img {
    width: clamp(110px, 31vw, 132px);
  }

  .availability {
    display: none;
  }

  .hero {
    --hero-star-left-shift: 12px;
    min-height: 100svh;
  }

  .hero-art {
    width: 100%;
    object-position: 83% 50%;
  }

  .hero-star {
    top: 20.5%;
    left: calc(82.5% - var(--hero-star-left-shift));
    width: 133px;
    height: 133px;
  }

  .hero-star-shape {
    font-size: 109px;
  }

  .meteor-layer {
    right: 36%;
  }

  .about.section-pad {
    --id-anchor-shift: min(3.662vw, 16.11px);
    --about-popup-left-shift: 0px;
    width: var(--page);
    height: auto;
    min-height: auto;
    margin: 0 auto;
    padding-top: 42px;
    padding-bottom: 100px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 42px;
    height: auto;
  }

  .about-impact {
    top: 0;
    left: calc(50% + var(--id-anchor-shift));
  }

  .id-card-stage {
    width: 100%;
    height: 760px;
  }

  .id-card-follow {
    width: min(100vw, 440px);
  }

  .about-card-space {
    min-height: 720px;
  }

  .about-content {
    grid-row: 2;
  }

  .about-profile {
    height: auto;
    padding-right: 0;
    padding-bottom: 0;
  }

  .about-profile-card--education {
    margin-top: 38px;
  }

  .about-profile-card--education p {
    gap: 12px;
  }

  .about-profile-motto {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: 62px;
    margin: 54px 0 36px;
    transform: none;
  }

  .about-profile-window {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    margin: 0 0 36px;
    transform: none;
  }

  .about-profile-skills {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 18px;
    margin: 0;
    width: auto;
    transform: none;
  }

  .work-heading {
    display: block;
    padding-bottom: 54px;
  }

  .work-heading p {
    margin-top: 18px;
  }

  .project-grid {
    row-gap: 82px;
  }

  .project-half {
    grid-column: 1 / -1;
  }

  .project-offset {
    margin-top: 0;
  }

  .project-info {
    grid-template-columns: 1fr auto;
  }

  .project-info p {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .project-info > span {
    grid-column: 2;
    grid-row: 1;
  }

  .visual-four {
    aspect-ratio: 4 / 5;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .form-lines {
    position: absolute;
    right: 8%;
    bottom: 8%;
    width: 42%;
    height: 36%;
  }

  .work {
    min-height: 560px;
  }

  .project-folders {
    bottom: 0;
    gap: 0;
    width: 96vw;
  }

  .project-folder.is-active {
    transform: translateY(-5%) scale(1.06);
  }

  .project-window-content {
    top: 18%;
  }

  .project-portfolio-mark {
    top: 39%;
    width: min(86vw, 680px);
  }

  .project-entry {
    grid-template-columns: minmax(0, 1fr) clamp(92px, 25vw, 118px);
    column-gap: 18px;
  }

  .project-entry-meta {
    gap: 18px;
  }

  .project-detail-box {
    margin-top: 112px;
  }

  .project-case-shell {
    grid-template-rows: 60px minmax(0, 1fr);
  }

  .project-case-toolbar {
    padding: 0 18px;
    font-size: 9px;
  }

  .project-case-close,
  .project-case-section-link {
    min-height: 34px;
    padding: 0 13px;
  }

  .project-placeholder-dialog .project-case-toolbar > p {
    display: none;
  }

  .okamoto-case-toolbar > p {
    display: block;
    max-width: 58vw;
    font-size: 14px;
    line-height: 1.35;
  }

  .project-case-section-nav {
    left: 12px;
    right: 88px;
    justify-content: flex-start;
    overflow-x: auto;
    transform: none;
    scrollbar-width: none;
  }

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

  .project-case-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 64px;
    align-content: space-between;
    padding: 72px 22px 54px;
  }

  .project-case-title-block h1 {
    font-size: clamp(48px, 13.5vw, 64px);
    line-height: 1.03;
  }

  .project-placeholder-dialog .project-case-title--red-army {
    font-size: clamp(38px, 11.5vw, 56px);
  }

  .project-case-lead {
    font-size: 17px;
  }

  .project-case-showcase {
    padding: 37px 22px 48px;
  }

  .project-case-showcase-heading {
    margin-bottom: 27px;
    padding-bottom: 27px;
  }

  .project-case-showcase-heading h2 {
    font-size: 54px;
  }

  .project-showcase-list {
    grid-template-columns: 1fr;
  }

  .project-showcase-row {
    grid-template-rows: auto 1fr;
    gap: 15px;
    padding: 12px 0 34px;
  }

  .project-showcase-row:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid #d8d8d4;
  }

  .project-showcase-label h3 {
    max-width: none;
    font-size: 26px;
  }

  .project-showcase-label {
    min-height: 0;
    transform: none;
  }

  .project-showcase-video-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .project-showcase-video-frame video {
    width: 91%;
    height: 91%;
  }

  .okamoto-detail-section {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 0;
    padding: 52px 22px 64px;
  }

  .okamoto-section-label {
    padding-top: 0;
  }

  .okamoto-section-label h2 {
    font-size: clamp(27px, 8vw, 36px);
  }

  .okamoto-section-label p {
    margin-top: 10px;
    font-size: clamp(20px, 6vw, 26px);
  }

  .okamoto-section-label--poster h2 {
    font-size: clamp(20px, 6vw, 26px);
  }

  .okamoto-browser-grid--two,
  .okamoto-browser-grid--single,
  .okamoto-phone-grid--four,
  .okamoto-phone-grid--three,
  .neptune-phone-grid--two,
  .neptune-phone-grid--one {
    grid-template-columns: 1fr;
  }

  .okamoto-browser-grid--single .okamoto-browser {
    grid-column: auto;
  }

  .okamoto-phone-grid--three,
  .neptune-phone-grid,
  .okamoto-section-label--poster {
    grid-column: auto;
  }

  .okamoto-browser {
    width: 100%;
  }

  .okamoto-phone {
    width: min(72vw, 320px);
    justify-self: center;
  }

  .neptune-phone-grid {
    justify-content: center;
    justify-items: center;
  }

  .okamoto-carousel-controls button {
    width: 36px;
    height: 36px;
    font-size: 22px;
  }

  .project-showcase-game,
  .project-showcase-article {
    width: 100%;
  }

  .project-placeholder-dialog .project-case-hero {
    padding-bottom: 27px;
  }

  .project-placeholder-dialog .project-case-browser {
    padding-top: 37px;
    padding-bottom: 55px;
  }

  .project-placeholder-dialog .project-case-browser-heading {
    margin-bottom: 27px;
  }

  .project-placeholder-dialog .project-case-results {
    grid-template-columns: 1fr;
    gap: 44px;
    min-height: calc(100dvh - 60px);
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .project-case-dialog:not(.project-placeholder-dialog) .project-case-hero {
    padding-top: 36px;
    padding-bottom: 27px;
  }

  .project-case-dialog:not(.project-placeholder-dialog) .project-case-browser {
    padding-top: 37px;
    padding-bottom: 55px;
  }

  .project-case-dialog:not(.project-placeholder-dialog) .project-case-results {
    min-height: calc(100dvh - 60px);
    padding-top: 45px;
    padding-bottom: 45px;
  }

  .project-case-achievement {
    width: min(100%, 540px);
    justify-self: start;
    padding-top: 0;
  }

  .project-case-browser {
    padding: 74px 0 110px;
  }

  .project-case-browser-heading {
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 0 22px 54px;
  }

  .project-case-browser-heading h2 {
    font-size: 54px;
  }

  .project-case-browser-heading > p:last-child {
    padding-bottom: 0;
  }

  .project-case-browser-layout {
    display: block;
  }

  .project-case-chapter-nav {
    top: 0;
    display: flex;
    gap: 8px;
    width: 100%;
    padding: 12px 22px;
    overflow-x: auto;
    border-top: 1px solid #d8d8d4;
    border-bottom: 1px solid #d8d8d4;
    background: rgba(239, 239, 236, 0.96);
    transform: none;
    scrollbar-width: none;
  }

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

  .project-case-chapter-nav button {
    flex: 0 0 auto;
    width: auto;
    min-height: 40px;
    padding: 8px 15px;
    border-radius: 12px;
    white-space: nowrap;
  }

  .project-case-chapter-nav button:hover,
  .project-case-chapter-nav button:focus-visible {
    transform: none;
  }

  .project-case-pages {
    gap: 58px;
    padding: 54px 22px 0;
  }

  .project-case-chapter {
    scroll-margin-top: 82px;
  }

  .project-case-chapter h3 {
    font-size: 21px;
  }

  .project-case-page-placeholder {
    border-radius: 10px;
  }

  .project-case-results {
    grid-template-columns: 1fr;
    gap: 66px;
    padding: 90px 22px;
  }

  .project-case-results h2 {
    font-size: 54px;
  }

  .project-case-results-copy article {
    grid-template-columns: 34px 1fr;
    gap: 10px 14px;
  }

  .project-case-results-copy p {
    grid-column: 2;
  }

  .project-case-footer {
    min-height: 60vh;
    grid-template-columns: 1fr;
  }

  .project-case-back,
  .project-case-next {
    min-height: 240px;
    padding: 34px 22px;
  }

  .project-case-back {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.26);
    font-size: 48px;
  }

  .project-case-next strong {
    font-size: 48px;
  }

  .self-media-case-scroll {
    display: block;
    overflow-y: auto;
    padding: 18px;
  }

  .self-media-dashboard {
    grid-template-areas:
      "profile"
      "topic"
      "qr"
      "analytics"
      "video";
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 18px;
    height: auto;
  }

  .self-media-profile-panel,
  .self-media-video-panel {
    aspect-ratio: 1236 / 2427;
  }

  .self-media-topic-panel {
    min-height: 0;
    aspect-ratio: 1;
  }

  .self-media-qr-panel {
    min-height: 0;
    aspect-ratio: 1;
  }

  .self-media-analytics-panel {
    height: min(68svh, 560px);
  }

  .self-media-analytics-panel > p,
  .self-media-video-panel > p {
    position: static;
    width: auto;
    margin-top: 10px;
  }

  .contact-star-jar {
    right: 6px;
    bottom: 8px;
    width: clamp(132px, 38vw, 188px);
  }

  footer {
    gap: 30px;
    flex-direction: column;
  }

  .contact-top-button {
    --contact-top-button-height: 38px;
    padding: 0 16px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .about.badge-visible .id-card-rig {
    animation: none !important;
    opacity: 1;
    transform: rotate(0deg);
  }

  .about.badge-visible .id-card-rope {
    animation: none !important;
    height: clamp(290px, 26vw, 360px);
    transform: translateX(-50%);
  }

  .about.badge-visible .id-card-body {
    animation: none !important;
    opacity: 1;
    top: clamp(290px, 26vw, 360px);
    transform: translateX(-50%);
  }
}
