:root {
  --bg: #06070b;
  --bg-soft: #0b1220;
  --panel: rgba(14, 18, 28, 0.74);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f2f5fb;
  --muted: #93a0b7;
  --accent: #f4bf53;
  --accent-cool: #7ad9d0;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius: 28px;
  --display: "ZCOOL QingKe HuangYou", cursive;
  --serif: "Noto Serif SC", serif;
  --mono: "Roboto Mono", monospace;
  --safe-top: max(20px, env(safe-area-inset-top));
  --safe-bottom: max(20px, env(safe-area-inset-bottom));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior-x: none;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--serif);
  background:
    radial-gradient(circle at 20% 20%, rgba(39, 64, 112, 0.46), transparent 32%),
    radial-gradient(circle at 80% 12%, rgba(246, 191, 83, 0.12), transparent 22%),
    radial-gradient(circle at 50% 72%, rgba(122, 217, 208, 0.1), transparent 26%),
    linear-gradient(180deg, #05060a 0%, #090c13 42%, #090c12 100%);
  min-height: 100svh;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior-x: none;
  touch-action: pan-y pinch-zoom;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black, transparent 76%);
  z-index: 0;
}

main,
header,
footer {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
  overflow-x: clip;
}

section,
img,
.site-header,
.brand,
.site-nav,
.showcase-pin,
.showcase-copy,
.showcase-visual,
.showcase-hud,
.hero-actions,
.project-grid,
.buy-grid,
.notes-grid,
.contact-grid,
.project-card,
.buy-card,
.note-card,
.contact-card {
  min-width: 0;
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--safe-top) 32px 16px;
  z-index: 20;
  pointer-events: none;
}

.brand,
.site-nav {
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(244, 191, 83, 0.35);
  background: rgba(9, 13, 21, 0.72);
  color: var(--accent);
  font-family: var(--display);
  font-size: 24px;
}

.brand-name {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 20px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.showcase {
  --copy-reveal: 0;
  min-height: 280vh;
  width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

.showcase-pin {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(340px, 460px) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(28px, 3vw, 44px);
  padding: calc(var(--safe-top) + 72px) 7vw calc(var(--safe-bottom) + 44px);
  width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

.showcase-copy {
  max-width: 460px;
  align-self: center;
  padding-top: clamp(18px, 4vh, 52px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-cool);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.showcase-copy h1,
.section-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0.03em;
  text-wrap: balance;
}

.showcase-copy h1 {
  font-size: clamp(40px, 3.8vw, 60px);
  line-height: 0.94;
}

.showcase-copy h1 .title-line {
  display: block;
}

.showcase-copy h1 .title-line-wide {
  white-space: nowrap;
}

.showcase-copy h1 .title-line-accent {
  color: #dcb35a;
  text-shadow:
    0 0 18px rgba(220, 179, 90, 0.16),
    0 1px 0 rgba(255, 245, 212, 0.18);
}

.section-heading p,
.project-body p,
.note-card p,
.contact-card p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(38px, 5vh, 64px);
}

.btn,
.copy-button {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(11, 15, 24, 0.72);
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 0 24px;
  border-radius: 22px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.2;
  overflow: hidden;
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-actions .btn {
  width: 100%;
}

.copy-button {
  width: 100%;
  padding: 12px 14px;
  text-align: left;
}

.btn:hover,
.copy-button:hover {
  transform: translateY(-1px);
  border-color: rgba(244, 191, 83, 0.45);
}

.btn.primary {
  background:
    linear-gradient(180deg, rgba(255, 243, 214, 0.22), rgba(255, 243, 214, 0) 24%),
    linear-gradient(135deg, #d9b163 0%, #b78638 100%);
  border-color: rgba(255, 235, 198, 0.22);
  color: #130d05;
  box-shadow:
    0 22px 42px rgba(111, 79, 25, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.btn.ghost {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    rgba(13, 18, 28, 0.94);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(240, 243, 249, 0.94);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.14), transparent 80%);
  opacity: 0;
  transform: translateX(-38%);
  transition: opacity 0.28s ease, transform 0.42s ease;
}

.btn:hover::after {
  opacity: 1;
  transform: translateX(32%);
}

.showcase-visual {
  position: relative;
  min-height: min(72vh, 760px);
  min-height: min(72svh, 760px);
  display: grid;
  place-items: center;
  perspective: 1800px;
  -webkit-perspective: 1800px;
  overflow: visible;
  isolation: isolate;
}

.showcase-visual::before {
  content: "";
  position: absolute;
  inset: -14% -10% -20%;
  background:
    radial-gradient(circle at 54% 40%, rgba(122, 217, 208, 0.12), transparent 34%),
    radial-gradient(circle at 58% 58%, rgba(244, 191, 83, 0.08), transparent 22%),
    radial-gradient(circle at 50% 52%, rgba(255, 255, 255, 0.04), transparent 46%);
  filter: blur(54px);
  opacity: 0.9;
  z-index: 0;
  pointer-events: none;
  mask-image: radial-gradient(circle at 52% 46%, black 0%, rgba(0, 0, 0, 0.94) 34%, rgba(0, 0, 0, 0.46) 62%, transparent 86%);
}

.visual-field {
  position: absolute;
  inset: -10% -8% -16%;
  border-radius: 46%;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.04), transparent 28%),
    radial-gradient(circle at 52% 50%, rgba(122, 217, 208, 0.14), transparent 34%),
    radial-gradient(circle at 56% 60%, rgba(244, 191, 83, 0.08), transparent 20%);
  filter: blur(68px);
  opacity: 0.78;
  z-index: 0;
  pointer-events: none;
  mask-image: radial-gradient(circle at 52% 46%, black 0%, rgba(0, 0, 0, 0.92) 36%, rgba(0, 0, 0, 0.38) 64%, transparent 88%);
}

.stage-object {
  position: relative;
  width: auto;
  height: min(68vh, 680px);
  max-width: min(420px, 100%);
  max-height: 100%;
  aspect-ratio: 543 / 860;
  transform-style: preserve-3d;
  transform: translateY(-2px) rotateX(4deg) rotateZ(-1deg) scale(1);
  transform-origin: center center;
  will-change: transform;
}

.object-glow {
  position: absolute;
  inset: 10% 12% 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 48%, rgba(244, 191, 83, 0.16), transparent 26%),
    radial-gradient(circle at 48% 54%, rgba(122, 217, 208, 0.08), transparent 40%);
  filter: blur(42px);
  opacity: 0.72;
  mask-image: radial-gradient(circle at center, black 0%, rgba(0, 0, 0, 0.78) 48%, transparent 82%);
}

.object-layer,
.card-face img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.blueprint-layer {
  opacity: var(--blueprint-alpha);
  filter: drop-shadow(0 18px 40px rgba(122, 217, 208, 0.34));
}

.card-rig {
  position: absolute;
  inset: 0;
  opacity: var(--card-alpha);
  transform-style: preserve-3d;
  pointer-events: none;
}

.card-shell {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateY(var(--turn));
  will-change: transform;
}

.card-face {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  pointer-events: none;
}

.front-face {
  transform: rotateY(0deg) translateZ(0.1px);
  opacity: var(--front-face-opacity, 1);
}

.back-face {
  transform: rotateY(180deg) translateZ(0.1px);
  opacity: var(--back-face-opacity, 0);
}

.card-face img {
  filter: drop-shadow(0 28px 55px rgba(0, 0, 0, 0.42));
}

.object-shadow {
  position: absolute;
  left: 25%;
  right: 25%;
  bottom: 5%;
  height: 10%;
  border-radius: 999px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.48), transparent 72%);
  filter: blur(14px);
  transform: translateZ(-120px);
}

.showcase-hud {
  position: absolute;
  left: 7vw;
  right: 7vw;
  bottom: calc(var(--safe-bottom) + 14px);
}

.hud-track {
  position: relative;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.hud-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(90deg, var(--accent-cool), var(--accent));
  border-radius: inherit;
}

.project-section,
.buy-section,
.notes-section,
.contact-section {
  padding: 120px 7vw 0;
  width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

.project-section {
  padding-top: 84px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-heading h2 {
  font-size: clamp(34px, 5vw, 68px);
}

.project-grid,
.buy-grid,
.notes-grid,
.contact-grid {
  display: grid;
  gap: 22px;
}

.project-grid {
  grid-template-columns: minmax(320px, 1.25fr) minmax(240px, 0.75fr);
  gap: 16px;
}

.buy-grid {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
}

.notes-grid {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
}

.contact-grid {
  grid-template-columns: repeat(2, minmax(280px, 1fr));
}

.project-card,
.buy-card,
.note-card,
.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.project-card {
  overflow: hidden;
}

.project-cover {
  min-height: 250px;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at center, rgba(122, 217, 208, 0.16), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

.project-cover img {
  width: min(260px, 100%);
  height: 100%;
  object-fit: contain;
}

.project-body,
.buy-card,
.note-card,
.contact-card {
  padding: 26px;
}

.project-section .section-heading {
  max-width: 560px;
  margin-bottom: 22px;
}

.project-section .section-heading h2 {
  font-size: clamp(28px, 3.2vw, 46px);
}

.project-section .section-heading p {
  margin-top: 10px;
  font-size: 15px;
}

.project-card .project-body {
  padding: 20px;
}

.project-body h3,
.note-card h3,
.contact-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.project-card .project-body h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.project-card .project-body p {
  font-size: 14px;
  line-height: 1.7;
}

.project-card.future {
  display: grid;
  place-items: center;
}

.project-card.future .project-body {
  max-width: 300px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag-row span {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.price-title,
.card-title {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.price-value {
  margin: 18px 0 10px;
  font-family: var(--display);
  font-size: clamp(52px, 6vw, 84px);
  line-height: 0.9;
}

.price-note {
  margin: 0;
  color: var(--muted);
}

.action-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.site-footer {
  padding: 64px 7vw 36px;
  text-align: center;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 13, 20, 0.92);
  box-shadow: var(--shadow);
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  z-index: 30;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .site-header {
    padding: var(--safe-top) 20px 12px;
  }

  .showcase-pin {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    align-content: start;
    padding: calc(var(--safe-top) + 64px) 20px calc(var(--safe-bottom) + 28px);
  }

  .showcase-copy {
    max-width: none;
  }

  .showcase-visual {
    min-height: min(58svh, 640px);
  }

  .stage-object {
    height: min(58svh, 540px);
    max-width: min(340px, 100%);
  }

  .showcase-hud {
    left: 20px;
    right: 20px;
  }

  .project-grid,
  .buy-grid,
  .notes-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .project-section,
  .buy-section,
  .notes-section,
  .contact-section {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 720px) {
  .site-header {
    top: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding: calc(var(--safe-top) + 8px) 14px 10px;
    gap: 10px;
    align-items: stretch;
    border: 0;
    border-radius: 0 0 18px 18px;
    background: linear-gradient(180deg, rgba(6, 8, 14, 0.92), rgba(6, 8, 14, 0.68));
    backdrop-filter: blur(16px);
  }

  .brand {
    gap: 10px;
    width: 100%;
    min-width: 0;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 22px;
  }

  .brand-name {
    font-size: 11px;
    letter-spacing: 0.12em;
    white-space: nowrap;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    max-width: none;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 10px;
    letter-spacing: 0.08em;
    white-space: nowrap;
    min-width: 0;
  }

  .showcase {
    min-height: 220svh;
  }

  .showcase-pin {
    display: block;
    min-height: 100svh;
    padding: 0 14px;
  }

  .showcase-copy {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: calc(var(--safe-bottom) + 34px);
    z-index: 3;
    max-width: none;
    padding: 18px 16px 16px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(14, 18, 28, 0.92), rgba(14, 18, 28, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
    opacity: var(--copy-reveal);
    transform: translateY(calc((1 - var(--copy-reveal)) * 96px));
    transition: opacity 0.32s ease, transform 0.32s ease;
  }

  .showcase-copy h1 {
    max-width: none;
    font-family: var(--serif);
    font-size: clamp(34px, 10vw, 48px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: 0.01em;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 18px;
  }

  .hero-actions .btn {
    min-height: 56px;
    border-radius: 18px;
    font-size: 15px;
    letter-spacing: 0.02em;
  }

  .showcase-visual {
    position: absolute;
    inset:
      calc(var(--safe-top) + 68px)
      0
      calc(var(--safe-bottom) + 22px)
      0;
    min-height: auto;
    width: 100%;
    padding: 0;
    border-radius: 0;
    background:
      radial-gradient(circle at 50% 34%, rgba(122, 217, 208, 0.16), transparent 48%),
      radial-gradient(circle at 58% 26%, rgba(244, 191, 83, 0.12), transparent 26%);
    overflow: hidden;
  }

  .stage-object {
    width: min(92vw, 520px);
    height: auto;
    max-width: none;
    max-height: none;
    transform: translateY(-12px) rotateX(0deg) rotateZ(0deg) scale(var(--mobile-card-scale, 1.14));
  }

  .showcase-hud {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 12px;
    margin-top: 0;
    z-index: 4;
  }

  .visual-field {
    inset: 14% 8%;
    filter: blur(22px);
  }

  .object-glow {
    inset: 16% 12%;
    filter: blur(18px);
  }

  .object-shadow {
    left: 20%;
    right: 20%;
    bottom: 10%;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .section-heading h2 {
    font-size: clamp(30px, 9vw, 42px);
    line-height: 1;
  }

  .project-body,
  .buy-card,
  .note-card,
  .contact-card {
    padding: 20px;
  }

  .project-cover {
    min-height: 220px;
    padding: 20px;
  }

  .project-body h3,
  .note-card h3,
  .contact-card h3 {
    font-size: 20px;
  }

  .price-value {
    font-size: clamp(42px, 14vw, 60px);
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 8px;
  }

  .brand-name {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .site-nav {
    max-width: 100%;
  }

  .showcase-pin {
    padding-left: 14px;
    padding-right: 14px;
  }

  .showcase-copy h1 {
    max-width: none;
    font-size: clamp(31px, 10.2vw, 42px);
  }

  .eyebrow {
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .showcase-copy {
    padding: 16px 14px 14px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .showcase-visual {
    inset:
      calc(var(--safe-top) + 64px)
      0
      calc(var(--safe-bottom) + 18px)
      0;
  }

  .stage-object {
    width: min(94vw, 500px);
    height: auto;
    transform: translateY(-8px) rotateX(0deg) rotateZ(0deg) scale(var(--mobile-card-scale, 1.14));
  }

  .site-nav a {
    font-size: 10px;
  }

  .hero-actions .btn {
    font-size: 15px;
  }

  .hero-actions .btn {
    min-height: 54px;
    padding: 0 14px;
  }

  .project-section,
  .buy-section,
  .notes-section,
  .contact-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .project-body,
  .buy-card,
  .note-card,
  .contact-card {
    padding: 20px;
  }

  .project-cover {
    min-height: 240px;
    padding: 20px;
  }
}

@media (max-height: 760px) and (min-width: 721px) {
  .showcase-pin {
    padding-top: calc(var(--safe-top) + 54px);
    grid-template-columns: minmax(320px, 420px) minmax(340px, 1fr);
  }

  .showcase-copy h1 {
    font-size: clamp(38px, 4.4vw, 54px);
  }

  .showcase-copy {
    padding-top: 18px;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .showcase-visual {
    min-height: min(68svh, 560px);
  }

  .stage-object {
    width: auto;
    height: min(60svh, 520px);
    max-width: min(320px, 100%);
  }
}

@media (max-height: 540px) {
  .showcase {
    min-height: 240vh;
  }

  .showcase-pin {
    gap: 12px;
    padding-top: calc(var(--safe-top) + 48px);
    padding-bottom: calc(var(--safe-bottom) + 20px);
  }

  .showcase-copy h1 {
    font-size: clamp(34px, 7vw, 56px);
  }

  .showcase-visual {
    min-height: min(56svh, 300px);
  }

  .stage-object {
    width: auto;
    height: min(50svh, 380px);
    max-width: min(260px, 100%);
  }
}

@media (max-width: 720px) and (orientation: landscape) {
  .showcase {
    min-height: 220vh;
  }

  .showcase-pin {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(320px, 1.1fr);
    grid-template-rows: auto auto;
    align-items: center;
    gap: 14px 18px;
    padding-top: calc(var(--safe-top) + 74px);
    padding-bottom: calc(var(--safe-bottom) + 20px);
  }

  .showcase-copy {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    order: 1;
    opacity: 1;
    transform: none;
    padding: 14px 14px 0;
    background: linear-gradient(180deg, rgba(14, 18, 28, 0.92), rgba(14, 18, 28, 0.76));
  }

  .showcase-visual {
    position: relative;
    inset: auto;
    order: 2;
    min-height: min(62svh, 340px);
    padding: 0;
    background: none;
  }

  .showcase-hud {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    grid-column: 1 / -1;
    margin-top: 6px;
  }

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

  .stage-object {
    width: min(340px, 42vw);
    height: auto;
    max-width: 100%;
    transform: translateY(-2px) rotateX(1deg) rotateZ(0deg) scale(1.02);
  }
}

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

  .stage-object,
  .card-shell,
  .btn,
  .copy-button,
  .toast {
    transition: none !important;
  }
}
