:root {
  --ink: #1e1d1f;
  --muted: #6e6a70;
  --line: rgba(77, 70, 76, 0.12);
  --paper: #fffdf9;
  --blue: #dbeaf7;
  --pink: #f7dce7;
  --yellow: #fbf0bf;
  --mint: #e8efe1;
  --peach: #f8d8c8;
  --shadow: 0 22px 70px rgba(76, 65, 73, 0.12);
  --soft-shadow: 0 18px 55px rgba(76, 65, 73, 0.08);
  --custom-color: #dbeaf7;
  --custom-color-soft: rgba(219, 234, 247, 0.72);
  --custom-color-glass: rgba(219, 234, 247, 0.32);
  --custom-color-border: rgba(153, 178, 198, 0.48);
  --custom-color-shadow: rgba(153, 178, 198, 0.2);
  --custom-color-rgb: 219, 234, 247;
  --custom-color-light: #f4f9fd;
  --custom-color-deep: #a8c6df;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 12%, rgba(219, 234, 247, 0.8), transparent 28%),
    radial-gradient(circle at 90% 18%, rgba(247, 220, 231, 0.72), transparent 30%),
    linear-gradient(180deg, #fffefb 0%, #fff7fb 45%, #f8fbff 100%);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.68);
  background: rgba(255, 253, 249, 0.72);
  backdrop-filter: blur(24px) saturate(165%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.tabs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.tab {
  min-height: 34px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.tab.is-active {
  color: var(--ink);
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(86, 74, 82, 0.1);
}

main {
  overflow: hidden;
}

.page {
  display: none;
  min-height: calc(100vh - 72px);
  padding: clamp(26px, 5vw, 72px) clamp(18px, 5vw, 72px) 72px;
}

.page.is-visible {
  display: block;
  animation: pageReveal 360ms ease both;
}

@keyframes pageReveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(300px, 0.74fr);
  align-items: center;
  gap: clamp(42px, 7vw, 98px);
  max-width: 1180px;
  margin: 0 auto;
}

.hero-copy {
  padding-top: clamp(10px, 3vw, 26px);
}

.kicker {
  margin: 0 0 12px;
  color: #91878e;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.02;
  font-weight: 760;
  letter-spacing: -0.015em;
}

.lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(84, 78, 84, 0.86);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.primary-action,
.secondary-action {
  display: inline-grid;
  place-items: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.primary-action {
  color: #ffffff;
  background: #1e1d1f;
  box-shadow: 0 12px 30px rgba(30, 29, 31, 0.16);
}

.secondary-action {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
  backdrop-filter: blur(14px);
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(30, 29, 31, 0.13);
}

.logo-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(430px, 45vw, 540px);
  border-radius: 44px;
  background:
    linear-gradient(135deg, rgba(219, 234, 247, 0.82), rgba(247, 220, 231, 0.72) 52%, rgba(251, 240, 191, 0.68)),
    rgba(255, 255, 255, 0.44);
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.logo-stage::before {
  content: "";
  position: absolute;
  inset: auto 8% 8% 8%;
  height: 36%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
  filter: blur(20px);
  transform: translateY(22%);
}

.logo-stage::after {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 30px;
  pointer-events: none;
}

.logo-stage img {
  position: relative;
  z-index: 1;
  width: min(72vw, 430px);
  max-height: 490px;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(71, 61, 67, 0.12));
  transform: translateY(0);
  animation: logoFloat 5.6s ease-in-out infinite;
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.section-block,
.shop-hero {
  max-width: 1180px;
  margin: clamp(48px, 8vw, 92px) auto 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-heading h2,
.custom-panel h1,
.shop-hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.06;
  font-weight: 760;
}

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

.work-card,
.product-card,
.custom-panel,
.preview-panel {
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 18px 50px rgba(81, 70, 77, 0.09);
}

.work-card {
  padding: 18px;
}

.work-card.blue {
  background: linear-gradient(180deg, rgba(219, 234, 247, 0.72), rgba(255, 255, 255, 0.72));
}

.work-card.pink {
  background: linear-gradient(180deg, rgba(247, 220, 231, 0.72), rgba(255, 255, 255, 0.72));
}

.work-card.yellow {
  background: linear-gradient(180deg, rgba(251, 240, 191, 0.72), rgba(255, 255, 255, 0.72));
}

.work-card h3,
.product-info h2 {
  margin: 18px 0 8px;
  font-size: 21px;
}

.work-card p,
.product-info p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.portfolio-shell {
  position: relative;
  isolation: isolate;
}

.portfolio-shell::before,
.portfolio-shell::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 24px;
  z-index: 1;
  width: 54px;
  pointer-events: none;
}

.portfolio-shell::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255, 250, 250, 0.9), rgba(255, 250, 250, 0));
}

.portfolio-shell::after {
  right: 0;
  background: linear-gradient(270deg, rgba(255, 250, 250, 0.9), rgba(255, 250, 250, 0));
}

.portfolio-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 4px 28px;
  scroll-behavior: smooth;
  scroll-padding: 4px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.portfolio-track::-webkit-scrollbar {
  display: none;
}

.portfolio-slide {
  position: relative;
  flex: 0 0 clamp(284px, 31vw, 430px);
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 48px rgba(81, 70, 77, 0.09);
  scroll-snap-align: start;
  opacity: 0.82;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 360ms ease, opacity 300ms ease;
}

.portfolio-slide.is-current {
  opacity: 1;
  box-shadow: 0 24px 58px rgba(81, 70, 77, 0.12);
}

.portfolio-slide:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 58px rgba(81, 70, 77, 0.12);
}

.portfolio-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.72);
  filter: blur(0);
  transform: scale(1);
  transition: filter 440ms ease, opacity 440ms ease, transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: filter, transform;
}

.portfolio-slide img[data-src] {
  filter: blur(12px);
  opacity: 0.9;
  transform: scale(1.045);
}

.portfolio-slide img.is-loaded {
  filter: blur(0);
  opacity: 1;
  transform: scale(1);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.86);
  box-shadow: 0 14px 30px rgba(71, 61, 67, 0.12);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  transform: translateY(-50%);
  backdrop-filter: blur(18px);
}

.gallery-arrow-prev {
  left: -10px;
}

.gallery-arrow-next {
  right: -10px;
}

.portfolio-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 4px;
}

.portfolio-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.gallery-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
  max-width: min(620px, 64vw);
}

.gallery-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(110, 106, 112, 0.22);
  transition: width 180ms ease, background 180ms ease;
}

.gallery-dots button.is-active {
  width: 24px;
  background: #9d8f97;
}

.contact-strip {
  display: grid;
  grid-template-columns: minmax(160px, 0.34fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 4vw, 44px);
  max-width: 1180px;
  margin: clamp(46px, 7vw, 82px) auto 0;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(18px);
}

.contact-strip h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.08;
}

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

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.72);
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.contact-item:hover {
  transform: translateY(-1px);
  border-color: rgba(77, 70, 76, 0.18);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 26px rgba(81, 70, 77, 0.07);
}

.contact-item:active {
  transform: translateY(0);
}

.contact-item span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact-icon {
  position: relative;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.icon-wechat {
  background: #dff1df;
}

.icon-wechat::before,
.icon-wechat::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: #65b96f;
}

.icon-wechat::before {
  width: 19px;
  height: 15px;
  top: 9px;
  left: 6px;
  box-shadow: 3px 2px 0 #dff1df inset;
}

.icon-wechat::after {
  width: 16px;
  height: 13px;
  right: 6px;
  bottom: 8px;
  background: #7bc984;
  box-shadow: -3px 2px 0 #dff1df inset;
}

.icon-redbook {
  background: #f7dce7;
}

.icon-redbook::before,
.icon-redbook::after {
  content: "";
  position: absolute;
}

.icon-redbook::before {
  inset: 8px 9px 7px;
  border-radius: 4px;
  background: #d85a64;
  box-shadow: inset 4px 0 0 rgba(255, 255, 255, 0.22);
}

.icon-redbook::after {
  width: 10px;
  height: 2px;
  top: 16px;
  left: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 5px 0 rgba(255, 255, 255, 0.82);
}

.icon-shop {
  background: #dbeaf7;
}

.icon-shop::before,
.icon-shop::after {
  content: "";
  position: absolute;
}

.icon-shop::before {
  width: 18px;
  height: 17px;
  right: 8px;
  bottom: 7px;
  border-radius: 5px 5px 7px 7px;
  background: #7fa9c8;
}

.icon-shop::after {
  width: 10px;
  height: 7px;
  top: 8px;
  left: 12px;
  border: 2px solid #7fa9c8;
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.squishy-art,
.product-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1.18 / 1;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
}

.squishy-art::before,
.squishy-art::after,
.product-visual::before,
.product-visual::after {
  content: "";
  position: absolute;
}

.penguin::before {
  width: 42%;
  aspect-ratio: 0.8;
  border-radius: 48% 48% 44% 44%;
  background: #a9a0a3;
  box-shadow: inset 0 -46px 0 #ffffff;
}

.penguin::after {
  width: 13%;
  aspect-ratio: 1.4;
  border-radius: 999px;
  background: #ffc783;
  transform: translateY(18px);
}

.unicorn::before {
  width: 48%;
  aspect-ratio: 1;
  border-radius: 44% 50% 46% 50%;
  background: #fff8f8;
  box-shadow: 0 -34px 0 -18px var(--pink), inset 0 -12px 0 rgba(247, 220, 231, 0.55);
}

.unicorn::after {
  width: 11%;
  height: 36%;
  border-radius: 999px 999px 12px 12px;
  background: linear-gradient(180deg, #fff6c8, #f7dce7);
  transform: translate(-34px, -58px) rotate(-22deg);
}

.pudding::before {
  width: 50%;
  aspect-ratio: 1.35;
  border-radius: 42% 42% 34% 34%;
  background: #fff0ae;
  box-shadow: inset 0 18px 0 #f4cf87, inset 0 -10px 0 rgba(255, 255, 255, 0.58);
}

.pudding::after {
  width: 44%;
  height: 12%;
  border-radius: 999px;
  background: rgba(173, 151, 152, 0.24);
  transform: translateY(66px);
}

.custom-layout {
  display: block;
  max-width: 1120px;
  margin: 0 auto;
}

.custom-intro {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
}

.custom-intro h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 74px);
  line-height: 1.04;
  font-weight: 760;
}

.custom-intro .lead {
  margin-right: auto;
  margin-left: auto;
}

.custom-object-stage {
  position: relative;
  display: grid;
  min-height: 474px;
  margin: 4px auto 18px;
  overflow: hidden;
  place-items: center;
  isolation: isolate;
}

.custom-object-stage::before {
  position: absolute;
  z-index: -3;
  width: min(680px, 88vw);
  height: 272px;
  border: 1px solid rgba(var(--custom-color-rgb), 0.42);
  border-radius: 50%;
  background: rgba(var(--custom-color-rgb), 0.1);
  content: "";
  transform: translateY(28px) rotate(-6deg);
}

.custom-soft-object {
  position: relative;
  width: min(310px, 57vw);
  aspect-ratio: 0.95;
  transform: translate(var(--custom-object-x, 0), var(--custom-object-y, 0)) rotate(var(--custom-object-tilt, -3deg));
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.custom-object-glow {
  position: absolute;
  z-index: -1;
  inset: 7% -14% -5%;
  border-radius: 49% 51% 56% 44% / 44% 49% 51% 56%;
  background: rgba(var(--custom-color-rgb), 0.32);
  filter: blur(25px);
}

.custom-object-body {
  position: absolute;
  inset: 2% 4% 7%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 48% 52% 47% 53% / 55% 46% 54% 45%;
  background:
    radial-gradient(circle at 28% 17%, rgba(255, 255, 255, 0.98), transparent 17%),
    radial-gradient(circle at 63% 84%, rgba(255, 255, 255, 0.44), transparent 33%),
    linear-gradient(145deg, var(--custom-color-light), var(--custom-color) 46%, var(--custom-color-deep));
  box-shadow:
    inset 15px 18px 28px rgba(255, 255, 255, 0.4),
    inset -22px -28px 35px rgba(68, 82, 93, 0.12),
    0 28px 40px rgba(var(--custom-color-rgb), 0.26);
  transform: rotate(2deg);
  transform-origin: 50% 78%;
}

.custom-object-stage.is-reacting .custom-object-body {
  animation: customSoftPress 540ms cubic-bezier(0.2, 0.9, 0.28, 1);
}

.custom-object-stage.is-reacting .custom-object-glow {
  animation: customGlowPulse 540ms ease;
}

@keyframes customSoftPress {
  0% { transform: rotate(2deg) scale(1); }
  34% { transform: rotate(1deg) scaleX(1.055) scaleY(0.945); }
  68% { transform: rotate(3deg) scaleX(0.985) scaleY(1.018); }
  100% { transform: rotate(2deg) scale(1); }
}

@keyframes customGlowPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  45% { opacity: 0.76; transform: scale(1.08); }
}

.custom-object-body::before,
.custom-object-body::after {
  position: absolute;
  content: "";
}

.custom-object-body::before {
  inset: -20% 43% 40% -17%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  filter: blur(4px);
  transform: rotate(29deg);
}

.custom-object-body::after {
  inset: 56% -13% -24% 38%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: rotate(-20deg);
}

.custom-object-shine {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.66);
}

.custom-shine-one {
  width: 12%;
  height: 19%;
  top: 21%;
  left: 19%;
  transform: rotate(-31deg);
}

.custom-shine-two {
  width: 6%;
  height: 8%;
  top: 43%;
  left: 18%;
}

.custom-object-swirl {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 48% 52% 44% 56%;
  opacity: 0.72;
}

.custom-swirl-one {
  width: 62%;
  height: 28%;
  right: -5%;
  bottom: 24%;
  transform: rotate(19deg);
}

.custom-swirl-two {
  width: 36%;
  height: 15%;
  right: 13%;
  bottom: 35%;
  transform: rotate(19deg);
}

.custom-object-face {
  position: absolute;
  top: 54%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 42px;
  transform: translateX(-50%) rotate(-2deg);
}

.custom-eye {
  width: 11px;
  height: 17px;
  border-radius: 50%;
  background: rgba(50, 45, 49, 0.62);
}

.custom-mouth {
  position: absolute;
  bottom: -12px;
  left: 50%;
  width: 19px;
  height: 9px;
  border-bottom: 2px solid rgba(50, 45, 49, 0.54);
  border-radius: 0 0 50% 50%;
  transform: translateX(-50%);
}

.custom-object-shadow {
  position: absolute;
  z-index: -1;
  bottom: 0;
  left: 12%;
  width: 79%;
  height: 11%;
  border-radius: 50%;
  background: rgba(48, 44, 47, 0.16);
  filter: blur(15px);
  transform: rotate(-3deg);
}

.custom-stage-copy {
  position: absolute;
  top: 22%;
  left: clamp(8px, 9vw, 90px);
  display: grid;
  gap: 8px;
  text-align: left;
}

.custom-stage-copy span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.custom-stage-copy strong {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 650;
}

.custom-stage-label {
  position: absolute;
  right: clamp(8px, 9vw, 90px);
  bottom: 20%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.custom-label-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--custom-color);
  box-shadow: 0 0 0 4px rgba(var(--custom-color-rgb), 0.23);
}

.custom-panel {
  max-width: 840px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 42px);
  backdrop-filter: blur(18px);
}

.control-group {
  margin-top: 28px;
}

.control-group h2 {
  margin: 0 0 12px;
  font-size: 16px;
}

.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.color-picker {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 360px;
  padding: 10px;
  border: 1px solid var(--custom-color-border);
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--custom-color-glass), rgba(255, 255, 255, 0.74)),
    rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86), 0 10px 26px var(--custom-color-shadow);
}

.color-picker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.custom-swatches {
  display: flex;
  align-items: center;
  gap: 10px;
}

.custom-swatch {
  position: relative;
  width: 37px;
  height: 37px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: var(--swatch-color);
  box-shadow: 0 0 0 1px rgba(29, 29, 31, 0.12);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.custom-swatch:nth-child(1) { --swatch-color: #dbeaf7; }
.custom-swatch:nth-child(2) { --swatch-color: #f4dce2; }
.custom-swatch:nth-child(3) { --swatch-color: #f6e9bd; }
.custom-swatch:nth-child(4) { --swatch-color: #dbe8c8; }

.custom-swatch:hover,
.custom-swatch.is-selected {
  transform: scale(1.13);
  box-shadow: 0 0 0 2px rgba(var(--custom-color-rgb), 0.38), 0 8px 18px rgba(var(--custom-color-rgb), 0.32);
}

.color-picker input {
  width: 70px;
  height: 70px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: transparent;
}

.color-picker input::-webkit-color-swatch-wrapper {
  padding: 0;
}

.color-picker input::-webkit-color-swatch {
  border: 3px solid #ffffff;
  border-radius: 999px;
  box-shadow: 0 0 0 1px var(--line);
}

.color-picker label {
  display: grid;
  gap: 4px;
}

.color-picker span {
  color: var(--muted);
  font-weight: 700;
}

.color-picker strong {
  font-size: 22px;
}

.segment {
  position: relative;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--muted);
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.segment:hover {
  transform: translateY(-1px);
  border-color: var(--custom-color-border);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.76), var(--custom-color-glass));
}

.segment.is-selected {
  border-color: var(--custom-color-border);
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.88), transparent 34%),
    linear-gradient(135deg, var(--custom-color-soft), rgba(255, 255, 255, 0.66)),
    var(--custom-color);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -12px 20px rgba(255, 255, 255, 0.28),
    0 10px 26px var(--custom-color-shadow);
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  color: var(--muted);
  font-weight: 650;
}

.check-row input {
  width: 18px;
  height: 18px;
  accent-color: #1e1d1f;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.tier-option {
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-size: 17px;
  font-weight: 760;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.tier-option:hover {
  transform: translateY(-1px);
  border-color: var(--custom-color-border);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), var(--custom-color-glass));
}

.tier-option.is-selected {
  border-color: var(--custom-color-border);
  color: var(--ink);
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.88), transparent 34%),
    linear-gradient(135deg, var(--custom-color-soft), rgba(255, 255, 255, 0.62)),
    var(--custom-color);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -16px 26px rgba(255, 255, 255, 0.3),
    0 12px 30px var(--custom-color-shadow);
}

.workday-note {
  margin: 14px 0 0;
  color: #8f8088;
  font-size: 14px;
  font-weight: 700;
}

.custom-inspiration {
  display: grid;
  gap: 7px;
  margin: 30px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(var(--custom-color-rgb), 0.38);
}

.custom-inspiration span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.custom-inspiration strong {
  font-size: 17px;
  font-weight: 700;
}

.custom-inspiration em {
  max-width: 520px;
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  line-height: 1.65;
}

.payment-instruction {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(219, 234, 247, 0.95);
  border-radius: 8px;
  background: rgba(219, 234, 247, 0.46);
  color: #5f5960;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
}

.tab:focus-visible,
.primary-action:focus-visible,
.secondary-action:focus-visible,
.gallery-arrow:focus-visible,
.gallery-dots button:focus-visible,
.segment:focus-visible,
.tier-option:focus-visible,
.delivery-form input:focus-visible,
.delivery-form textarea:focus-visible {
  outline: 3px solid rgba(219, 234, 247, 0.9);
  outline-offset: 3px;
}

.payment-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(300px, 0.8fr);
  gap: 22px;
  max-width: 1040px;
  margin: 0 auto;
}

.payment-summary,
.contact-confirm {
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
}

.payment-summary {
  padding: clamp(24px, 4vw, 42px);
}

.payment-summary h1 {
  font-size: clamp(38px, 5vw, 62px);
}

.order-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
}

.order-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.order-list dt {
  color: var(--muted);
  font-weight: 700;
}

.order-list dd {
  margin: 0;
  font-weight: 800;
}

.color-preview {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.color-chip {
  display: inline-block;
  width: 34px;
  height: 34px;
  border: 3px solid #ffffff;
  border-radius: 999px;
  background: #dbeaf7;
  box-shadow: 0 0 0 1px var(--line), 0 8px 18px rgba(74, 65, 72, 0.1);
}

.color-preview span:last-child {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.contact-confirm {
  display: grid;
  align-content: center;
  gap: 22px;
  padding: clamp(22px, 4vw, 34px);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.7), rgba(219, 234, 247, 0.45), rgba(247, 220, 231, 0.38));
}

.contact-confirm h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.contact-confirm p:not(.kicker),
.confirm-note {
  color: var(--muted);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.65;
}

.confirm-note {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.delivery-form {
  display: grid;
  gap: 14px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.delivery-form h2 {
  margin: 0 0 2px;
  font-size: 24px;
}

.delivery-form label {
  display: grid;
  gap: 8px;
}

.delivery-form label span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.delivery-form input,
.delivery-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  font-size: 16px;
  outline: none;
}

.delivery-form input {
  min-height: 46px;
  padding: 0 14px;
}

.delivery-form textarea {
  min-height: 92px;
  resize: vertical;
  padding: 12px 14px;
}

.delivery-form input:focus,
.delivery-form textarea:focus {
  border-color: rgba(30, 29, 31, 0.42);
  box-shadow: 0 0 0 4px rgba(219, 234, 247, 0.72);
}

.field-note {
  margin: -4px 0 2px;
  color: #8f8088;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.submit-order {
  width: fit-content;
  margin-top: 4px;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: #5d7660;
  font-weight: 750;
}

.order-complete {
  display: none;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(219, 234, 247, 0.92);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(219, 234, 247, 0.5), rgba(247, 220, 231, 0.34)),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(81, 70, 77, 0.08);
}

.order-complete.is-visible {
  display: block;
}

.order-complete h2 {
  margin: 0;
  font-size: 26px;
}

.order-complete p:not(.kicker) {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.order-complete-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.admin-body {
  min-height: 100vh;
}

.thanks-main {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(26px, 5vw, 72px) clamp(18px, 5vw, 72px);
}

.thanks-panel {
  width: min(100%, 760px);
  padding: clamp(26px, 5vw, 52px);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  text-align: center;
}

.thanks-panel .lead,
.thanks-panel .hero-actions {
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

.admin-link {
  display: inline-grid;
  place-items: center;
  min-height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--ink);
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(86, 74, 82, 0.1);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.admin-main {
  padding: clamp(26px, 5vw, 72px) clamp(18px, 5vw, 72px) 72px;
}

.admin-panel {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
}

.admin-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.admin-heading h1 {
  font-size: clamp(38px, 5vw, 62px);
}

.admin-note,
.empty-orders {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.orders-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.order-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.order-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.order-card-head span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.order-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 14px 0 0;
}

.order-card div {
  min-width: 0;
}

.order-card dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.order-card dd {
  margin: 4px 0 0;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.shop-hero {
  text-align: center;
}

.shop-hero .lead {
  margin-left: auto;
  margin-right: auto;
}

.closed-shop {
  display: grid;
  justify-items: center;
  max-width: 760px;
  padding: clamp(32px, 6vw, 70px);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
}

.closed-face {
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  margin: 28px 0 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(247, 220, 231, 0.84), rgba(251, 240, 191, 0.76), rgba(219, 234, 247, 0.76));
  box-shadow: inset 0 -12px 0 rgba(255, 255, 255, 0.32), 0 16px 34px rgba(73, 63, 69, 0.11);
  color: #6d6269;
  font-size: 38px;
  font-weight: 800;
}

.copy-shop {
  margin-top: 26px;
}

.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 80;
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: rgba(30, 29, 31, 0.86);
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(30, 29, 31, 0.18);
  font-size: 14px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(14px);
}

.site-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 28px 20px 34px;
  color: #797979;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: #3f6f82;
  text-decoration: underline;
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.product-grid {
  max-width: 1180px;
  margin: 34px auto 0;
}

.product-card {
  display: grid;
  gap: 18px;
  padding: 16px;
}

.product-info strong {
  display: inline-block;
  margin-top: 14px;
  font-size: 24px;
}

.cloud {
  background: linear-gradient(160deg, rgba(219, 234, 247, 0.92), rgba(255, 255, 255, 0.72));
}

.cloud::before {
  width: 52%;
  aspect-ratio: 1.45;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: -42px 18px 0 -8px #ffffff, 42px 18px 0 -10px #ffffff, 0 24px 0 -8px #ffffff;
}

.cloud::after {
  width: 46%;
  height: 9%;
  border-radius: 999px;
  background: rgba(136, 126, 132, 0.18);
  transform: translateY(70px);
}

.strawberry {
  background: linear-gradient(160deg, rgba(247, 220, 231, 0.88), rgba(255, 255, 255, 0.74));
}

.strawberry::before {
  width: 42%;
  aspect-ratio: 0.92;
  border-radius: 48% 48% 58% 58%;
  background: #f3a9ba;
  transform: rotate(-8deg);
  box-shadow: inset 10px -16px 0 rgba(255, 255, 255, 0.18);
}

.strawberry::after {
  width: 20%;
  aspect-ratio: 1.2;
  background: #c8dcbf;
  clip-path: polygon(50% 0, 65% 42%, 100% 24%, 76% 66%, 94% 100%, 50% 76%, 6% 100%, 24% 66%, 0 24%, 35% 42%);
  transform: translateY(-76px);
}

.pudding-mini {
  background: linear-gradient(160deg, rgba(251, 240, 191, 0.88), rgba(255, 255, 255, 0.76));
}

.pudding-mini::before {
  width: 50%;
  aspect-ratio: 1.25;
  border-radius: 42% 42% 30% 30%;
  background: #ffedaa;
  box-shadow: inset 0 22px 0 #e8bd7d, 58px 40px 0 -30px #fff6c7;
}

.pudding-mini::after {
  width: 48%;
  height: 9%;
  border-radius: 999px;
  background: rgba(136, 126, 132, 0.2);
  transform: translateY(72px);
}

.buy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stepper {
  display: grid;
  grid-template-columns: 34px 36px 34px;
  align-items: center;
  min-height: 38px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
}

.stepper button {
  height: 38px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
}

.stepper output {
  text-align: center;
  font-weight: 750;
}

.cart-strip {
  position: sticky;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 760px;
  margin: 28px auto 0;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.cart-strip span {
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 900px) {
  .site-header {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .tabs {
    width: 100%;
    justify-content: space-between;
  }

  .tab {
    flex: 1;
    padding: 0 10px;
    white-space: nowrap;
  }

  .page {
    min-height: calc(100vh - 126px);
  }

  .hero,
  .work-grid,
  .product-grid,
  .payment-layout {
    grid-template-columns: 1fr;
  }

  .logo-stage {
    min-height: 410px;
    order: -1;
  }

  .contact-strip {
    grid-template-columns: 1fr;
  }

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

  .portfolio-slide {
    flex-basis: min(360px, 78vw);
  }

  .gallery-arrow-prev {
    left: 4px;
  }

  .gallery-arrow-next {
    right: 4px;
  }

}

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

  .brand {
    justify-content: center;
  }

  .brand span {
    font-size: 14px;
  }

  .tabs {
    gap: 3px;
    padding: 4px;
  }

  .tab {
    min-height: 32px;
    font-size: 12px;
  }

  .page {
    padding: 26px 14px 58px;
  }

  h1 {
    font-size: 38px;
    letter-spacing: -0.01em;
  }

  .lead {
    font-size: 17px;
  }

  .hero {
    gap: 30px;
  }

  .hero-copy {
    padding-top: 0;
    text-align: center;
  }

  .hero-copy .lead,
  .hero-actions {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .logo-stage {
    min-height: 350px;
    border-radius: 18px;
  }

  .logo-stage::after {
    inset: 12px;
    border-radius: 14px;
  }

  .logo-stage img {
    width: min(82vw, 330px);
    max-height: 340px;
  }

  .custom-intro h1 {
    font-size: 42px;
  }

  .custom-object-stage {
    min-height: 398px;
    margin-top: 10px;
  }

  .custom-stage-copy {
    top: 9%;
    left: 4%;
  }

  .custom-stage-label {
    right: 6%;
    bottom: 7%;
  }

  .color-picker-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .color-picker {
    width: 100%;
    max-width: none;
  }

  .section-heading {
    display: block;
  }

  .section-block,
  .shop-hero {
    margin-top: 56px;
  }

  .portfolio-track {
    gap: 12px;
    margin: 0 -14px;
    padding-right: 14px;
    padding-left: 14px;
    scroll-padding: 14px;
    touch-action: pan-x;
  }

  .portfolio-slide {
    flex-basis: 84vw;
    border-radius: 12px;
  }

  .portfolio-slide.is-current {
    transform: translateY(-2px) scale(1.006);
  }

  .gallery-arrow {
    display: none;
  }

  .portfolio-shell::before,
  .portfolio-shell::after {
    display: none;
  }

  .portfolio-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-strip {
    padding: 20px;
  }

  .gallery-dots {
    justify-content: flex-start;
    max-width: 100%;
  }

  .buy-row,
  .cart-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .buy-row .primary-action,
  .stepper {
    width: 100%;
  }

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

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

  .has-reveal-motion #custom .mobile-reveal {
    opacity: 0;
    transform: translateY(22px) scale(0.985);
    transition:
      opacity 560ms ease var(--reveal-delay, 0ms),
      transform 720ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
  }

  .has-reveal-motion #custom .mobile-reveal.is-in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  .submit-order {
    width: 100%;
  }

  .admin-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .order-card dl {
    grid-template-columns: 1fr;
  }
}

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

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