:root {
  --ink: #050505;
  --muted: #cfc7c7;
  --paper: #f7f7f7;
  --accent: #ff6a12;
  --green: #24f795;
  --pointer-x: 50%;
  --pointer-y: 18%;
  --card-shadow: 0 18px 46px rgba(0, 0, 0, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.88);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family:
    "Bahnschrift", "Aptos", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei",
    "PingFang SC", sans-serif;
  background: var(--paper);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255, 106, 18, 0.13), transparent 24rem),
    radial-gradient(circle at 14% 72%, rgba(36, 247, 149, 0.1), transparent 22rem),
    var(--paper);
  transition: background 220ms ease;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, #000, transparent 76%);
}

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

button {
  font: inherit;
}

.stage {
  min-height: 100vh;
  display: flex;
  padding: clamp(18px, 2.2vh, 34px) clamp(14px, 2vw, 26px) clamp(18px, 2.4vh, 36px);
}

.page-shell {
  width: min(100%, 1340px);
  margin: 0 auto;
  min-height: calc(100vh - clamp(18px, 2.2vh, 34px) - clamp(18px, 2.4vh, 36px));
  display: flex;
  flex-direction: column;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(20px, 3.4vh, 48px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  animation: rise-in 520ms ease both;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex: 0 0 auto;
  transition: transform 220ms ease;
}

.brand:hover .brand-logo {
  transform: rotate(-6deg) scale(1.05);
}

.brand-dot {
  width: 7px;
  height: 7px;
  margin: 22px 14px 0 10px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
  animation: dot-pulse 2.6s ease-in-out infinite;
}

.brand-name {
  font-size: clamp(27px, 2.25vw, 32px);
  line-height: 1;
  font-weight: 860;
  letter-spacing: 0;
}

.language-toggle {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #0c0c0c;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
  animation: rise-in 560ms 60ms ease both;
}

.language-toggle:hover,
.language-toggle:focus-visible {
  transform: translateY(-3px) rotate(4deg);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  outline: none;
}

.hero {
  margin-bottom: clamp(18px, 2.6vh, 30px);
}

.hero-title {
  margin: 0;
  font-size: clamp(34px, 3.45vw, 48px);
  line-height: 1.13;
  letter-spacing: 0;
  font-weight: 900;
}

.hero-row {
  animation: rise-in 620ms ease both;
}

.hero-row:nth-child(1) {
  animation-delay: 90ms;
}

.hero-row:nth-child(2) {
  animation-delay: 170ms;
}

.hero-row:nth-child(3) {
  animation-delay: 250ms;
}

.hero-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
}

.hero-muted-line {
  color: var(--muted);
}

.hero-role-line {
  gap: 22px;
}

.avatar {
  width: clamp(58px, 4.8vw, 72px);
  height: clamp(58px, 4.8vw, 72px);
  border-radius: 20px;
  object-fit: cover;
  box-shadow: inset 0 0 0 4px #fff;
  animation: avatar-float 4.8s ease-in-out infinite;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.avatar:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: inset 0 0 0 4px #fff, 0 16px 34px rgba(0, 0, 0, 0.14);
}

.accent {
  color: var(--accent);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 32px;
  padding: 0 12px 0 9px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #2c2c2c;
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
}

.status-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(36, 247, 149, 0.13);
  animation: status-breathe 2.4s ease-in-out infinite;
}

.intro-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: clamp(22px, 2.8vh, 34px);
  animation: rise-in 620ms 330ms ease both;
}

.primary-button {
  min-width: 136px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  color: #fff;
  background: #000;
  font-size: 16px;
  font-weight: 820;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.15);
  outline: none;
}

.intro-row p {
  max-width: 620px;
  margin: 0;
  font-size: clamp(16px, 1.55vw, 19px);
  line-height: 1.12;
  font-weight: 820;
  letter-spacing: 0;
}

.card-grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(310px, 1.02fr) minmax(310px, 0.98fr) minmax(300px, 0.9fr);
  grid-template-rows: minmax(236px, 0.82fr) minmax(244px, 1.08fr);
  align-items: stretch;
  gap: clamp(16px, 2vh, 24px);
  min-height: 0;
}

.card-grid .card:nth-child(1) {
  --card-index: 1;
}

.card-grid .card:nth-child(2) {
  --card-index: 2;
}

.card-grid .card:nth-child(3) {
  --card-index: 3;
}

.card-grid .card:nth-child(4) {
  --card-index: 4;
}

.card-grid .card:nth-child(5) {
  --card-index: 5;
}

.card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 0;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.5)),
    url("assets/card-texture.png") center / cover,
    #fff;
  box-shadow: var(--card-shadow);
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateZ(0);
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease;
  animation: card-rise 680ms ease both;
  animation-delay: calc(420ms + var(--card-index, 0) * 78ms);
}

.clickable-card {
  cursor: pointer;
}

.clickable-card:focus-visible {
  outline: 3px solid rgba(255, 106, 18, 0.38);
  outline-offset: 5px;
}

.clickable-card:hover,
.clickable-card:focus-visible {
  border-color: #fff;
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.98);
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-8px) scale(1.023);
}

.clickable-card:active {
  transform: perspective(900px) rotateX(0deg) rotateY(0deg) translateY(-3px) scale(1.012);
}

.card::before {
  content: "";
  position: absolute;
  inset: -42% -55%;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    115deg,
    transparent 36%,
    rgba(255, 255, 255, 0.16) 44%,
    rgba(255, 255, 255, 0.78) 50%,
    rgba(255, 255, 255, 0.18) 56%,
    transparent 64%
  );
  transform: translateX(-58%) rotate(8deg);
}

.clickable-card:hover::before,
.clickable-card:focus-visible::before {
  animation: card-shine 860ms ease;
}

@keyframes card-shine {
  0% {
    opacity: 0;
    transform: translateX(-58%) rotate(8deg);
  }

  18%,
  62% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(58%) rotate(8deg);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes card-rise {
  from {
    opacity: 0;
    transform: perspective(900px) rotateX(0deg) rotateY(0deg) translateY(20px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(0) scale(1);
  }
}

@keyframes avatar-float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -5px;
  }
}

@keyframes dot-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.35);
    opacity: 0.7;
  }
}

@keyframes status-breathe {
  0%,
  100% {
    box-shadow: 0 0 0 7px rgba(36, 247, 149, 0.13);
  }

  50% {
    box-shadow: 0 0 0 11px rgba(36, 247, 149, 0.08);
  }
}

.card-tag {
  position: relative;
  z-index: 2;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #111;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.experience-card {
  display: flex;
  flex-direction: column;
  padding: clamp(18px, 2.1vh, 24px) 24px clamp(16px, 2.1vh, 22px);
}

.timeline {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 24px;
  margin-top: 14px;
  padding-top: 4px;
  padding-left: 26px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 0;
  bottom: 18px;
  width: 2px;
  background: #d5d5d5;
}

.timeline-item {
  position: relative;
  padding-top: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 10px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #050505;
}

.timeline-item.is-muted {
  color: #cfcfcf;
}

.timeline-item.is-muted::before {
  background: #cfcfcf;
}

.timeline-item h2 {
  margin: 0;
  font-size: 15px;
  line-height: 1.28;
  font-weight: 850;
  letter-spacing: 0;
}

.timeline-item p {
  margin: 6px 0 0;
  color: #9b9b9b;
  font-size: 12.5px;
  line-height: 1.24;
  font-weight: 520;
}

.project-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: clamp(18px, 2.1vh, 24px) 0 clamp(16px, 2.1vh, 22px);
}

.project-card .card-tag {
  align-self: flex-start;
  margin-left: 26px;
}

.project-collage {
  position: relative;
  z-index: 2;
  width: 94%;
  height: clamp(136px, 15.4vh, 212px);
  max-width: none;
  margin: 0 auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.14));
}

.project-caption {
  position: relative;
  z-index: 2;
  margin-top: 0;
  text-align: center;
}

.project-caption h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.14;
  font-weight: 900;
}

.project-caption p {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 9px 0 0;
  color: #9a9a9a;
  font-size: 13px;
  font-weight: 600;
}

.play-icon {
  width: 12px;
  height: 14px;
  display: inline-block;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.info-card {
  display: flex;
  flex-direction: column;
  padding: clamp(16px, 1.9vh, 22px) 25px clamp(14px, 1.9vh, 18px);
}

.info-list {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 22px;
  margin-top: 14px;
}

.info-block + .info-block {
  margin-top: 0;
}

.info-block:last-child {
  margin-top: auto;
}

.info-label {
  position: relative;
  margin: 0 0 4px;
  padding-left: 18px;
  color: #969696;
  font-size: 12.5px;
  font-weight: 750;
}

.info-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.info-block h2 {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.24;
  font-weight: 880;
}

.info-block p:not(.info-label) {
  margin: 4px 0 0;
  color: #9c9c9c;
  font-size: 11.5px;
  line-height: 1.22;
  font-weight: 540;
}

.metrics-card {
  min-height: 228px;
  display: flex;
  flex-direction: column;
  padding: clamp(18px, 2vh, 24px) 22px clamp(16px, 2vh, 22px);
}

.metrics-skill-block {
  position: relative;
  z-index: 2;
  margin-top: 12px;
}

.metrics-skill-label {
  position: relative;
  margin: 0 0 6px;
  padding-left: 18px;
  color: #969696;
  font-size: 12.5px;
  line-height: 1.2;
  font-weight: 760;
}

.metrics-skill-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.metrics-skill-block h2 {
  margin: 0;
  color: #121212;
  font-size: 14px;
  line-height: 1.28;
  font-weight: 880;
}

.metrics-skill-block p:not(.metrics-skill-label) {
  margin: 6px 0 0;
  color: #8d8d8d;
  font-size: 11.5px;
  line-height: 1.3;
  font-weight: 560;
}

.metrics-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  margin-top: auto;
  padding-top: 18px;
}

.metrics-grid div {
  min-height: 58px;
  padding: 9px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.metrics-card:hover .metrics-grid div {
  background: rgba(255, 255, 255, 0.78);
}

.metrics-grid div:hover {
  transform: translateY(-2px);
}

.metrics-grid strong {
  display: block;
  color: var(--accent);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1;
  font-weight: 920;
}

.metrics-grid span {
  display: block;
  margin-top: 6px;
  color: #777;
  font-size: 11.5px;
  line-height: 1.24;
  font-weight: 700;
}

.work-card {
  grid-column: 2 / 4;
  min-height: 308px;
  padding: clamp(18px, 2.1vh, 24px) 28px clamp(16px, 2.1vh, 18px);
  display: flex;
  flex-direction: column;
}

.work-tag {
  align-self: flex-start;
  min-width: 150px;
}

.work-copy {
  position: relative;
  z-index: 2;
  margin-top: 12px;
  min-height: 52px;
}

.work-copy h2 {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.1;
  font-weight: 920;
  letter-spacing: 0;
}

.work-copy p {
  max-width: 680px;
  margin: 0;
  color: #8d8d8d;
  font-size: 12.5px;
  line-height: 1.3;
  font-weight: 540;
}

.workflow-visual {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 10px;
  margin-top: 12px;
  min-height: 0;
}

.workflow-rail {
  display: flex;
  align-items: stretch;
}

.workflow-rail span {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  border: 1px solid rgba(47, 65, 58, 0.16);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(217, 247, 228, 0.96), rgba(229, 251, 238, 0.9));
  color: #1f2b26;
  font-size: 11.5px;
  line-height: 1.1;
  font-weight: 880;
  text-align: center;
}

.workflow-panel {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 9px 10px 10px;
  border: 2px dashed rgba(42, 42, 42, 0.24);
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 106, 18, 0.08), transparent 20%),
    rgba(255, 255, 255, 0.54);
}

.workflow-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.workflow-overview-card {
  position: relative;
  min-width: 0;
  min-height: 52px;
  padding: 8px 9px 9px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(246, 249, 255, 0.94));
  box-shadow: inset 0 0 0 1px rgba(91, 111, 255, 0.08);
}

.workflow-overview-card:nth-child(1) {
  background: linear-gradient(135deg, rgba(239, 251, 243, 0.96), rgba(255, 255, 255, 0.96));
  box-shadow: inset 0 0 0 1px rgba(71, 152, 103, 0.12);
}

.workflow-overview-card:nth-child(2) {
  background: linear-gradient(135deg, rgba(255, 248, 241, 0.96), rgba(255, 255, 255, 0.98));
  box-shadow: inset 0 0 0 1px rgba(255, 106, 18, 0.1);
}

.workflow-overview-card span {
  display: block;
  margin-bottom: 5px;
  color: #8c8c8c;
  font-size: 9px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.workflow-overview-card strong {
  display: -webkit-box;
  overflow: hidden;
  color: #181818;
  font-size: 11.5px;
  line-height: 1.28;
  font-weight: 760;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

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

.workflow-item {
  display: flex;
  gap: 8px;
  min-width: 0;
  padding: 8px 9px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(248, 250, 255, 0.98), rgba(255, 255, 255, 0.92));
  box-shadow: inset 0 0 0 1px rgba(91, 111, 255, 0.08);
}

.workflow-item--wide {
  grid-column: auto;
}

.workflow-item__index {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #171717;
  color: #fff;
  font-size: 10px;
  line-height: 1;
  font-weight: 860;
}

.workflow-item__body {
  min-width: 0;
}

.workflow-item__body h3 {
  margin: 0 0 2px;
  color: #171717;
  font-size: 12px;
  line-height: 1.18;
  font-weight: 850;
}

.workflow-item__body p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #6f6f6f;
  font-size: 10.5px;
  line-height: 1.3;
  font-weight: 540;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.workflow-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.92fr);
  gap: 7px;
}

.workflow-note-card {
  min-width: 0;
  min-height: 56px;
  padding: 8px 9px 9px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 0 0 1px rgba(91, 111, 255, 0.07);
}

.workflow-note-card--accent {
  background: linear-gradient(135deg, rgba(255, 247, 236, 0.94), rgba(255, 255, 255, 0.98));
  box-shadow: inset 0 0 0 1px rgba(255, 106, 18, 0.1);
}

.workflow-note-label {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: #171717;
  color: #fff;
  font-size: 9px;
  line-height: 1;
  font-weight: 820;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.workflow-note-card--accent .workflow-note-label {
  background: var(--accent);
}

.workflow-note-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 6px 0 0;
  color: #666;
  font-size: 10.5px;
  line-height: 1.28;
  font-weight: 560;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.workflow-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}

.workflow-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid rgba(255, 106, 18, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #7f5225;
  font-size: 10px;
  line-height: 1;
  font-weight: 760;
}

.step-tabs {
  position: relative;
  z-index: 6;
  min-height: 42px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
}

.step-tab {
  height: 32px;
  border: 0;
  border-radius: 999px;
  color: #090909;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  font-weight: 650;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.step-tab.is-active {
  color: #fff;
  background: #000;
}

html[lang="en"] .page-shell {
  width: min(100%, 1420px);
}

html[lang="en"] .card-grid {
  grid-template-columns: minmax(340px, 1.05fr) minmax(340px, 1.02fr) minmax(320px, 0.95fr);
}

html[lang="en"] .info-card {
  padding-right: 30px;
  padding-left: 30px;
}

html[lang="en"] .workflow-overview-card strong,
html[lang="en"] .workflow-note-card p,
html[lang="en"] .workflow-item__body p {
  font-size: 11px;
}

html[lang="en"] .workflow-item__body h3 {
  font-size: 12.5px;
}

@media (min-width: 1181px) {
  .stage {
    height: 100vh;
  }

  .page-shell {
    height: calc(100vh - clamp(18px, 2.2vh, 34px) - clamp(18px, 2.4vh, 36px));
    min-height: 0;
  }

  .card-grid {
    flex: 0 0 auto;
    min-height: 520px;
    height: calc(100vh - clamp(470px, 38vh, 498px));
  }
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: clamp(14px, 2vw, 28px);
  opacity: 0;
  pointer-events: none;
  overflow: auto;
  transition: opacity 220ms ease;
}

.project-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.project-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(3px);
  cursor: pointer;
  transform: scale(1.02);
  transition:
    opacity 220ms ease,
    transform 260ms ease;
}

.project-modal.is-open .project-modal__backdrop {
  transform: scale(1);
}

.project-modal__stage {
  position: relative;
  width: min(100%, 1380px);
  min-height: min(90vh, 780px);
  display: grid;
  grid-template-columns: minmax(210px, 280px) minmax(360px, 430px) minmax(210px, 280px);
  grid-template-rows: max-content minmax(300px, auto) max-content;
  justify-content: center;
  align-items: center;
  gap: clamp(10px, 1.2vw, 18px) clamp(16px, 2vw, 30px);
  isolation: isolate;
}

.project-modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 9;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.project-modal__close:hover,
.project-modal__close:focus-visible {
  transform: rotate(8deg) scale(1.06);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.26);
  outline: none;
}

.showcase-copy-card {
  position: relative;
  grid-column: 2;
  grid-row: 2;
  z-index: 6;
  width: 100%;
  min-height: 300px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78)),
    url("assets/card-texture.png") center / cover;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.68);
  transform: translateY(12px) scale(0.96);
  transition:
    opacity 260ms ease,
    transform 260ms ease;
}

.showcase-copy-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.54), transparent);
  opacity: 0;
  transform: translateX(-55%);
}

.project-modal.is-open .showcase-copy-card {
  transform: translateY(0) scale(1);
}

.project-modal.is-open .showcase-copy-card::before {
  animation: panel-glint 900ms 260ms ease;
}

.showcase-copy-card.is-swapping {
  opacity: 0;
  transform: translateY(8px) scale(0.985);
}

.showcase-kicker {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  margin: 0 0 18px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(255, 106, 18, 0.1);
  color: var(--accent);
  font-size: 13px;
  font-weight: 860;
}

.showcase-copy-card h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 920;
}

.showcase-copy-card > p:not(.showcase-kicker) {
  margin: 18px 0 0;
  color: #5d5d5d;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 560;
}

.showcase-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.showcase-meta span,
.showcase-tags span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 12px;
  font-weight: 760;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}

.showcase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.showcase-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: #000;
  font-size: 14px;
  font-weight: 800;
}

.floating-projects {
  display: contents;
  z-index: 5;
  pointer-events: none;
}

.float-project {
  --delay: 0s;
  --duration: 4.8s;
  position: relative;
  z-index: 5;
  width: min(100%, 270px);
  pointer-events: auto;
  cursor: pointer;
  justify-self: center;
  align-self: center;
  animation: project-float var(--duration) ease-in-out var(--delay) infinite alternate;
}

.float-project:focus {
  outline: none;
}

.float-project:focus-visible .float-project__image {
  outline: 3px solid rgba(255, 255, 255, 0.72);
  outline-offset: 7px;
}

.float-project.is-active .float-project__image {
  box-shadow: 0 24px 76px rgba(255, 255, 255, 0.24), 0 20px 54px rgba(0, 0, 0, 0.36);
  transform: scale(1.035);
}

.float-project__url {
  width: max-content;
  max-width: 100%;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  padding: 0 16px;
  border-radius: 999px;
  color: #222;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

.float-project__url:hover,
.float-project__url:focus-visible {
  color: var(--accent);
  outline: none;
}

.float-project__select {
  display: block;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  color: inherit;
  text-decoration: none;
}

.float-project__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.7;
  border: 0;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)),
    var(--visual-bg, #f8f8f8);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.float-project:hover .float-project__image {
  transform: scale(1.025);
}

.float-project__image img {
  width: calc(100% + 24px);
  height: calc(100% + 24px);
  margin: -12px;
  display: block;
  object-fit: contain;
  object-position: var(--object-position, center);
  opacity: var(--image-opacity, 1);
  transform: scale(1.02);
}

.float-project__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.38), transparent 32%),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.04));
  pointer-events: none;
}

.float-project--hero {
  grid-column: 2;
  grid-row: 1;
  --duration: 5s;
  width: min(100%, 310px);
}

.float-project--left {
  grid-column: 1;
  grid-row: 2;
  --delay: -1.2s;
}

.float-project--right {
  grid-column: 3;
  grid-row: 2;
  --delay: -2.2s;
}

.float-project--bottom-left {
  grid-column: 1;
  grid-row: 3;
  --delay: -0.5s;
}

.float-project--bottom-right {
  grid-column: 3;
  grid-row: 3;
  --delay: -1.7s;
}

@keyframes project-float {
  from {
    translate: 0 -8px;
  }

  to {
    translate: 0 10px;
  }
}

@keyframes panel-glint {
  0% {
    opacity: 0;
    transform: translateX(-55%);
  }

  35%,
  65% {
    opacity: 0.85;
  }

  100% {
    opacity: 0;
    transform: translateX(55%);
  }
}

body.has-project-modal {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 1100px) {
  .project-modal__stage {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-top: 54px;
  }

  .showcase-copy-card {
    order: 2;
    width: min(100%, 560px);
    min-height: 0;
    margin: 0;
  }

  .floating-projects {
    order: 1;
    width: min(100%, 760px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    pointer-events: auto;
  }

  .float-project,
  .float-project--hero,
  .float-project--left,
  .float-project--right,
  .float-project--bottom-left {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
  }

  .float-project--bottom-right {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
  }

  .float-project--hero {
    grid-column: 1 / -1;
    width: min(100%, 360px);
  }
}

@media (max-width: 720px) {
  .project-modal {
    padding: 16px;
    place-items: start center;
  }

  .project-modal__stage {
    min-height: auto;
    padding-top: 54px;
  }

  .showcase-copy-card {
    width: 100%;
  }

  .floating-projects {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .float-project,
  .float-project--hero,
  .float-project--left,
  .float-project--right,
  .float-project--bottom-left,
  .float-project--bottom-right {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
  }
}

.project-page {
  width: min(100%, 1120px);
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 72px) 18px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 14px;
  font-weight: 760;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}

.back-link::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.project-shell {
  position: relative;
  overflow: hidden;
  margin-top: clamp(52px, 8vw, 110px);
  padding: clamp(36px, 6vw, 72px);
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 32px;
  background:
    radial-gradient(circle at 80% 8%, rgba(255, 106, 18, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.55)),
    url("assets/card-texture.png") center / cover;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.08);
}

.project-kicker {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  margin: 0 0 28px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--accent);
  font-size: 14px;
  font-weight: 820;
}

.project-shell h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 1.02;
  letter-spacing: 0;
}

.project-shell > p:not(.project-kicker) {
  max-width: 690px;
  margin: 28px 0 0;
  color: #6e6e6e;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.32;
  font-weight: 560;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 42px;
}

.project-meta span {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #111;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 1180px) {
  .page-shell {
    width: min(100%, 980px);
    min-height: auto;
  }

  .card-grid {
    flex: initial;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    grid-auto-rows: minmax(228px, auto);
  }

  .info-card,
  .work-card {
    grid-column: auto;
  }

  .work-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .stage {
    padding: 28px 16px 44px;
  }

  .site-header {
    margin-bottom: 58px;
  }

  .brand-logo {
    width: 58px;
    height: 58px;
  }

  .brand-dot {
    margin: 24px 12px 0 8px;
  }

  .brand-name {
    font-size: 28px;
  }

  .language-toggle {
    width: 50px;
    height: 50px;
    font-size: 15px;
  }

  .hero-title {
    font-size: clamp(37px, 11vw, 50px);
  }

  .hero-row {
    gap: 10px;
  }

  .hero-role-line {
    gap: 16px;
  }

  .avatar {
    width: 76px;
    height: 76px;
    border-radius: 22px;
  }

  .intro-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-top: 34px;
  }

  .primary-button {
    width: 100%;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card {
    min-height: 280px;
    border-radius: 24px;
  }

  .work-card {
    grid-column: auto;
  }

  .metrics-grid {
    margin-top: 48px;
  }
}

@media (max-width: 520px) {
  .intro-row p {
    font-size: 18px;
  }

  .experience-card,
  .info-card,
  .metrics-card,
  .work-card {
    padding: 24px 22px;
  }

  .workflow-visual {
    grid-template-columns: 62px 1fr;
  }

  .project-card .card-tag {
    margin-left: 22px;
  }

  .timeline-item h2,
  .info-block h2 {
    font-size: 16px;
  }

  .timeline-item p,
  .info-block p:not(.info-label) {
    font-size: 14px;
  }

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

  .step-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 22px;
  }

  .step-tab {
    height: 38px;
  }

  .workflow-visual {
    grid-template-columns: 1fr;
  }

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

  .workflow-item--wide {
    grid-column: auto;
  }

  .workflow-overview,
  .workflow-footer {
    grid-template-columns: 1fr;
  }

  .workflow-rail span {
    min-height: 44px;
  }
}

/* Project showcase redesign */
.project-modal {
  padding: 0;
  overflow: hidden;
  place-items: stretch;
  background: transparent;
}

.project-modal::after {
  display: none;
}

.project-modal__backdrop {
  z-index: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.035), transparent 36%),
    rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(1.5px);
}

.project-modal__veil {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  z-index: 1;
  width: 100%;
  height: clamp(470px, 49vh, 610px);
  overflow: hidden;
  pointer-events: none;
  opacity: 0.9;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.18) 14%, rgba(0, 0, 0, 0.78) 40%, #000 62%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.18) 14%, rgba(0, 0, 0, 0.78) 40%, #000 62%, #000 100%);
  filter: saturate(0.92) brightness(0.82);
}

.project-modal__stage {
  z-index: 2;
  width: 100vw;
  height: 100vh;
  min-height: 0;
  max-width: none;
  display: block;
  overflow: hidden;
}

.project-modal__close {
  top: 24px;
  right: 28px;
  background: rgba(255, 255, 255, 0.96);
}

.floating-projects {
  position: absolute;
  top: clamp(52px, 7.4vh, 112px);
  left: 50%;
  z-index: 4;
  width: min(1880px, calc(100vw - 34px));
  height: clamp(320px, 36vh, 470px);
  display: block;
  pointer-events: none;
  transform: translateX(-50%);
}

.float-project {
  position: absolute;
  z-index: 1;
  width: clamp(234px, 16.4vw, 340px);
  cursor: pointer;
  opacity: 0;
  pointer-events: auto;
  scale: 1;
  translate: 0 0;
  transform: translateX(-50%);
  animation: none;
  transition:
    z-index 180ms ease,
    scale 220ms ease,
    transform 220ms ease,
    filter 220ms ease;
  will-change: opacity, scale, translate, transform;
}

.project-modal.is-open .float-project {
  animation:
    showcase-card-rise 680ms var(--enter-delay, 120ms) ease both,
    showcase-card-float var(--float-duration, 5.6s) ease-in-out
      calc(var(--enter-delay, 120ms) + 720ms + var(--float-phase, 0s)) infinite;
}

.float-project:hover,
.float-project:focus-visible,
.float-project.is-active {
  z-index: 6;
}

.float-project:hover {
  scale: 1.012;
  transform: translateX(-50%) translateY(-5px);
}

.float-project__url {
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: min(94%, 300px);
  min-height: 34px;
  margin: 0 auto 8px;
  padding: 0 28px;
  border-radius: 999px;
  background: #fff;
  color: #202020;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.float-project__url:hover,
.float-project__url:focus-visible {
  box-shadow: 0 18px 48px rgba(255, 106, 18, 0.2), 0 18px 44px rgba(0, 0, 0, 0.32);
  outline: none;
  transform: translateY(-2px);
}

.float-project.is-active .float-project__url {
  background: linear-gradient(180deg, #ff873e, #ff681e);
  color: #fff;
  transform: translateY(-2px);
}

.float-project__image {
  position: relative;
  aspect-ratio: 1.46;
  border: 5px solid #fff;
  border-radius: 42px;
  background: #fff;
  display: block;
  overflow: hidden;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.42);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.float-project.is-active .float-project__image {
  border-color: #ff6a12;
  box-shadow: 0 0 0 1px rgba(255, 106, 18, 0.55), 0 26px 68px rgba(255, 106, 18, 0.18), 0 24px 60px rgba(0, 0, 0, 0.5);
}

.float-project:hover .float-project__image {
  transform: scale(1.018);
}

.float-project__image img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: var(--object-position, center top);
  transform: none;
}

.float-project__image::after {
  content: "";
  position: absolute;
  inset: -58% -74%;
  pointer-events: none;
  background: linear-gradient(
    112deg,
    transparent 34%,
    rgba(255, 255, 255, 0.04) 42%,
    rgba(255, 255, 255, 0.74) 50%,
    rgba(255, 255, 255, 0.08) 58%,
    transparent 66%
  );
  opacity: 0;
  transform: translateX(-58%) rotate(7deg);
}

.float-project:hover .float-project__image::after,
.float-project:focus-visible .float-project__image::after {
  animation: showcase-card-shine 880ms ease;
}

.float-project--hero {
  left: 50%;
  top: 0;
  width: clamp(292px, 20.6vw, 392px);
  --enter-delay: 100ms;
  --float-phase: -0.7s;
  --float-duration: 5.8s;
}

.float-project--left {
  left: 30.2%;
  top: clamp(104px, 8.2vh, 126px);
  width: clamp(270px, 18.3vw, 374px);
  --enter-delay: 190ms;
  --float-phase: -1.4s;
  --float-duration: 6.1s;
}

.float-project--right {
  left: 69.8%;
  top: clamp(104px, 8.2vh, 126px);
  width: clamp(270px, 18.3vw, 374px);
  --enter-delay: 260ms;
  --float-phase: -2.6s;
  --float-duration: 6s;
}

.float-project--bottom-left {
  left: 11%;
  top: clamp(190px, 16.4vh, 252px);
  width: clamp(246px, 17.1vw, 342px);
  --enter-delay: 330ms;
  --float-phase: -0.2s;
  --float-duration: 5.4s;
}

.float-project--bottom-right {
  left: 88%;
  top: clamp(204px, 17.4vh, 268px);
  width: clamp(246px, 17.1vw, 342px);
  --enter-delay: 400ms;
  --float-phase: -2s;
  --float-duration: 5.7s;
}

@keyframes showcase-card-rise {
  from {
    opacity: 0;
    filter: blur(7px);
    translate: 0 22px;
  }

  to {
    opacity: 1;
    filter: blur(0);
    translate: 0 0;
  }
}

@keyframes showcase-card-float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -10px;
  }
}

@keyframes showcase-card-shine {
  0% {
    opacity: 0;
    transform: translateX(-58%) rotate(7deg);
  }

  28%,
  62% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(58%) rotate(7deg);
  }
}

.showcase-copy-card {
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 3.2vh, 52px);
  z-index: 5;
  width: min(1360px, calc(100vw - 360px));
  height: clamp(300px, 37vh, 500px);
  min-height: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: scroll;
  overscroll-behavior: contain;
  scrollbar-color: #c8c8c8 transparent;
  scrollbar-width: thin;
  border: 0;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
  transform: translateX(-50%) translateY(12px) scale(0.98);
}

@media (min-height: 1100px) and (min-width: 1181px) {
  .showcase-copy-card {
    bottom: clamp(44px, 5.2vh, 84px);
    height: clamp(610px, 45vh, 690px);
  }
}

@media (max-height: 900px) and (min-width: 981px) {
  .floating-projects {
    top: clamp(30px, 5.2vh, 48px);
  }

  .float-project--left,
  .float-project--right {
    top: clamp(78px, 10.2vh, 98px);
  }

  .float-project--bottom-left {
    top: clamp(134px, 18vh, 156px);
  }

  .float-project--bottom-right {
    top: clamp(146px, 19.2vh, 168px);
  }
}

.project-modal.is-open .showcase-copy-card {
  transform: translateX(-50%) translateY(0) scale(1);
}

.showcase-copy-card.is-swapping {
  opacity: 0.24;
  transform: translateX(-50%) translateY(14px) scale(0.99);
}

.showcase-copy-card::-webkit-scrollbar {
  width: 9px;
}

.showcase-copy-card::-webkit-scrollbar-track {
  background: transparent;
}

.showcase-copy-card::-webkit-scrollbar-thumb {
  border: 3px solid #fff;
  border-radius: 999px;
  background: #c8c8c8;
}

.showcase-copy-card::before {
  display: none;
}

.showcase-detail-grid {
  display: grid;
  grid-template-columns: minmax(360px, 46%) 1fr;
  gap: clamp(30px, 3.6vw, 52px);
  min-height: 100%;
  padding: clamp(24px, 3vh, 36px) clamp(44px, 4vw, 72px) clamp(36px, 5vh, 72px) clamp(26px, 2.5vw, 40px);
}

.showcase-detail-media {
  position: relative;
  margin: 0;
  display: grid;
  align-content: start;
  gap: 14px;
}

.showcase-shot {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(91, 111, 255, 0.1);
  border-radius: 22px;
  background: #f6f8ff;
  box-shadow: 0 18px 42px rgba(34, 42, 82, 0.1);
}

.showcase-shot--main {
  aspect-ratio: 1.55;
}

.showcase-shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.showcase-shot-grid--stacked {
  grid-template-columns: minmax(0, 1fr);
}

.showcase-shot-grid .showcase-shot {
  aspect-ratio: 1.22;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(34, 42, 82, 0.08);
}

.showcase-shot-grid--stacked .showcase-shot {
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(34, 42, 82, 0.08);
}

.showcase-shot--stack-tall {
  aspect-ratio: 1.3;
}

.showcase-shot--stack-wide {
  aspect-ratio: 1.82;
}

.showcase-shot--panel-dark {
  border-color: rgba(255, 255, 255, 0.08);
  background: #0a0d18;
}

.showcase-shot--panel-light {
  background: #f7f8ff;
}

.showcase-shot--growth {
  min-height: clamp(190px, 24vh, 310px);
  border-color: rgba(255, 106, 18, 0.22);
  border-radius: 20px;
  background: #f8fafc;
  box-shadow: 0 16px 34px rgba(255, 106, 18, 0.12), 0 18px 42px rgba(34, 42, 82, 0.08);
}

.showcase-shot--growth-gallery {
  min-height: 0;
  padding: 48px 12px 12px;
  border-color: rgba(255, 106, 18, 0.22);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(255, 255, 255, 0.96));
  box-shadow: 0 16px 34px rgba(255, 106, 18, 0.12), 0 18px 42px rgba(34, 42, 82, 0.08);
}

.showcase-shot--growth span,
.showcase-shot--growth-gallery span {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(255, 106, 18, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #ff6a12;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 10px 18px rgba(25, 28, 43, 0.08);
}

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

.showcase-growth-cell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.42;
  border: 1px solid rgba(91, 111, 255, 0.1);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(34, 42, 82, 0.08);
}

.showcase-growth-cell--wide {
  grid-column: 1 / -1;
  aspect-ratio: 1.78;
}

.showcase-detail-media img,
.showcase-shot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  transition: transform 260ms ease;
}

.showcase-shot--growth img {
  object-position: left top;
}

.showcase-growth-cell img {
  object-position: top center;
}

.showcase-shot__img--contain {
  object-fit: contain;
  object-position: center;
}

.showcase-shot:hover img {
  transform: scale(1.025);
}

.showcase-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.02));
}

.showcase-detail-copy {
  min-width: 0;
  padding-top: 8px;
}

.showcase-detail-copy--with-fill {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.showcase-kicker {
  display: none;
}

.showcase-copy-card h2 {
  margin: 0;
  color: #5b6fff;
  font-size: clamp(30px, 2.6vw, 42px);
  line-height: 1.02;
  font-weight: 920;
}

.showcase-copy-card > p:not(.showcase-kicker),
.showcase-detail-copy > p {
  margin: 12px 0 0;
  color: #333;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.65;
  font-weight: 560;
}

.showcase-feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.showcase-feature-list span {
  min-height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 18px;
  background: #edf5ff;
  color: #5a6dff;
  text-align: center;
  font-size: 16px;
  font-weight: 860;
}

.showcase-rich-text {
  display: grid;
  gap: 14px;
  margin-top: 26px;
  color: #393939;
}

.showcase-rich-text section + section {
  margin-top: 0;
}

.showcase-rich-text section {
  position: relative;
  overflow: hidden;
  padding: 16px 18px 17px;
  border: 1px solid rgba(86, 108, 255, 0.1);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(240, 246, 255, 0.86), rgba(255, 255, 255, 0.96)),
    #fff;
}

.showcase-rich-text section:nth-child(2) {
  background:
    linear-gradient(135deg, rgba(248, 251, 255, 0.95), rgba(255, 255, 255, 0.98)),
    #fff;
}

.showcase-rich-text section:nth-child(3) {
  border-color: rgba(255, 106, 18, 0.16);
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 106, 18, 0.13), transparent 38%),
    linear-gradient(135deg, rgba(255, 246, 239, 0.96), rgba(255, 255, 255, 0.98));
}

.showcase-rich-text h3 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 11px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 900;
}

.showcase-rich-text h3::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #5b6fff;
  box-shadow: 0 0 0 5px rgba(91, 111, 255, 0.11);
  flex: 0 0 auto;
}

.showcase-rich-text section:nth-child(3) h3::before {
  background: #ff6a12;
  box-shadow: 0 0 0 5px rgba(255, 106, 18, 0.12);
}

.showcase-rich-text ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.showcase-rich-text li {
  position: relative;
  padding-left: 18px;
  color: #555;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 540;
}

.showcase-rich-text li strong {
  display: block;
  margin-bottom: 3px;
  color: #23263a;
  font-size: 14.5px;
  line-height: 1.3;
  font-weight: 860;
}

.showcase-rich-text li span {
  display: block;
}

.showcase-rich-text section.showcase-section--accent {
  border-color: rgba(255, 106, 18, 0.16);
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 106, 18, 0.13), transparent 38%),
    linear-gradient(135deg, rgba(255, 246, 239, 0.96), rgba(255, 255, 255, 0.98));
}

.showcase-rich-text section.showcase-section--accent h3::before {
  background: #ff6a12;
  box-shadow: 0 0 0 5px rgba(255, 106, 18, 0.12);
}

.showcase-rich-text li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.42;
}

.showcase-fill-panel {
  display: none;
}

.showcase-fill-panel.is-visible {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
  flex: 1;
  min-height: clamp(250px, 26vh, 340px);
  margin-top: 16px;
}

.showcase-fill-block {
  position: relative;
  overflow: hidden;
  padding: 16px 18px;
  border: 1px solid rgba(86, 108, 255, 0.1);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(240, 246, 255, 0.86), rgba(255, 255, 255, 0.96)),
    #fff;
}

.showcase-fill-block--accent {
  border-color: rgba(255, 106, 18, 0.16);
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 106, 18, 0.13), transparent 38%),
    linear-gradient(135deg, rgba(255, 246, 239, 0.96), rgba(255, 255, 255, 0.98));
}

.showcase-fill-block h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: #20243a;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 900;
}

.showcase-fill-block h3::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #5b6fff;
  box-shadow: 0 0 0 5px rgba(91, 111, 255, 0.11);
  flex: 0 0 auto;
}

.showcase-fill-block--accent h3::before {
  background: #ff6a12;
  box-shadow: 0 0 0 5px rgba(255, 106, 18, 0.12);
}

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

.showcase-fill-item {
  min-width: 0;
  padding: 12px 12px 13px;
  border: 1px solid rgba(86, 108, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
}

.showcase-fill-item strong {
  display: block;
  margin-bottom: 4px;
  color: #24283b;
  font-size: 14px;
  line-height: 1.28;
  font-weight: 860;
}

.showcase-fill-item p {
  margin: 0;
  color: #5a5f72;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 540;
}

@media (max-width: 1380px) {
  .showcase-copy-card {
    width: min(1180px, calc(100vw - 80px));
  }

  .float-project--bottom-left {
    left: 13%;
  }

  .float-project--bottom-right {
    left: 89%;
  }
}

@media (max-width: 980px) {
  .project-modal {
    overflow: auto;
  }

  .project-modal__stage {
    height: auto;
    min-height: 100vh;
    padding: 80px 18px 34px;
    overflow: visible;
  }

  .floating-projects {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    transform: none;
  }

  .float-project,
  .float-project--hero,
  .float-project--left,
  .float-project--right,
  .float-project--bottom-left,
  .float-project--bottom-right {
    position: relative;
    left: auto;
    top: auto;
    width: min(100%, 520px);
    margin: 0 auto;
    transform: none;
  }

  .float-project:hover {
    transform: translateY(-4px);
  }

  .showcase-copy-card,
  .project-modal.is-open .showcase-copy-card,
  .showcase-copy-card.is-swapping {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(100%, 760px);
    height: min(68vh, 620px);
    margin: 24px auto 0;
    transform: none;
  }

  .showcase-detail-grid {
    grid-template-columns: 1fr;
    padding: 24px;
  }

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

  .showcase-fill-items {
    grid-template-columns: 1fr;
  }
}
