/* Lei'ao customization atelier. Loaded after the existing site styles. */
.custom-studio {
  position: relative;
  padding: clamp(76px, 8vw, 120px) 0;
  overflow: hidden;
  background: #eeece2;
  border-block: 1px solid rgba(30, 76, 58, .12);
}
.custom-studio::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 90% 20%, rgba(215, 225, 202, .55), transparent 55%);
}
.custom-studio > .shell { position: relative; }
.studio-intro { max-width: 780px; margin-bottom: 42px; }
.studio-intro .section-kicker { margin-bottom: 20px; color: var(--green); }
.studio-intro h2 {
  max-width: 760px;
  margin-bottom: 23px;
  color: var(--green-deep);
  font-size: clamp(38px, 5.4vw, 70px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.studio-intro > p:not(.section-kicker) {
  max-width: 650px;
  margin-bottom: 0;
  color: #5c685f;
  font-size: 15px;
  line-height: 1.8;
}
.studio-layout {
  display: grid;
  grid-template-columns: minmax(300px, .84fr) minmax(0, 1.16fr);
  border: 1px solid rgba(30, 76, 58, .17);
  border-radius: 22px;
  overflow: hidden;
  background: #fffdf7;
  box-shadow: 0 24px 64px rgba(32, 53, 36, .045);
}
.studio-controls {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 26px;
  padding: clamp(26px, 3.3vw, 46px);
  min-width: 0;
}
.studio-controls > h3 { margin-bottom: 0; font-size: 23px; letter-spacing: -.035em; }
.studio-controls > p { margin: -12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.studio-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.studio-field > label,
.studio-field > legend {
  display: block;
  float: none;
  width: 100%;
  padding: 0;
  margin-bottom: 12px;
  color: #344b3d;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .01em;
}
.studio-field > label > span,
.studio-field > legend > span { color: inherit; font-weight: inherit; }
.studio-options { display: flex; flex-wrap: wrap; gap: 7px; }
.studio-options button {
  position: relative;
  min-height: 43px;
  padding: 11px 13px;
  border: 1px solid #d4dacd;
  border-radius: 8px;
  color: #526052;
  background: transparent;
  font-size: 12px;
  line-height: 1.4;
  cursor: pointer;
  transition: color .2s, background .2s, border-color .2s, box-shadow .2s;
}
.studio-options button[aria-pressed="true"] {
  border-color: var(--green);
  color: #fffdf7;
  background: var(--green);
  box-shadow: 0 3px 8px rgba(30, 76, 58, .12);
}
.studio-swatches { display: flex; flex-wrap: wrap; gap: 13px; padding: 3px; }
.studio-swatches button {
  --swatch: #214d3b;
  position: relative;
  width: 35px;
  height: 35px;
  padding: 0;
  border: 3px solid #fffdf7;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: 0 0 0 1px rgba(30, 76, 58, .16);
  cursor: pointer;
  transition: box-shadow .2s, transform .2s;
}
.studio-swatches button[data-tone="sand"] { --swatch: #dac9a7; }
.studio-swatches button[data-tone="ink"] { --swatch: #303c3d; }
.studio-swatches button[data-tone="clay"] { --swatch: #b46c51; }
.studio-swatches button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--green); transform: scale(1.1); }
.studio-swatches button[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(255, 253, 247, .85);
  border-radius: 50%;
}
.studio-swatches button > span { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.studio-field input#custom-brand {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 15px;
  border: 1px solid #d4dacd;
  border-radius: 8px;
  background: #f8f8f1;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
  transition: background .2s, border-color .2s;
}
.studio-field input#custom-brand::placeholder { color: #7a8176; }
.studio-field input#custom-brand:focus { border-color: var(--green); background: #fffdf7; }
.studio-field > small { display: block; margin-top: 9px; color: #788072; font-size: 11px; line-height: 1.6; }
.studio-checks { display: flex; flex-wrap: wrap; gap: 10px 19px; }
.studio-checks label { display: flex; align-items: flex-start; gap: 8px; color: #566254; font-size: 12px; line-height: 1.65; cursor: pointer; }
.studio-checks input { flex: 0 0 auto; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--green); }
.studio-controls :is(button, input):focus-visible { outline: 2px solid #b5752e; outline-offset: 4px; }
.studio-scene {
  --pack-base: #234b3a;
  --pack-light: #375d48;
  --pack-deep: #163d2c;
  --pack-ink: #f5efdb;
  --pack-muted: #c6cfb7;
  --pack-accent: #e8b978;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 29px 34px 32px;
  border-left: 1px solid rgba(30, 76, 58, .1);
  background: radial-gradient(ellipse at 50% 35%, #faf8ee 0, #e8e8da 65%, #e2e6d8 100%);
}
.studio-scene[data-tone="sand"] {
  --pack-base: #d6c4a1;
  --pack-light: #e8dabd;
  --pack-deep: #b3a07b;
  --pack-ink: #304333;
  --pack-muted: #5b6652;
  --pack-accent: #53684d;
}
.studio-scene[data-tone="ink"] {
  --pack-base: #344142;
  --pack-light: #4b5756;
  --pack-deep: #253132;
  --pack-ink: #f4efdf;
  --pack-muted: #c1c9c0;
  --pack-accent: #dbb77e;
}
.studio-scene[data-tone="clay"] {
  --pack-base: #b06d53;
  --pack-light: #c8876a;
  --pack-deep: #93543e;
  --pack-ink: #fff3db;
  --pack-muted: #f4dfc3;
  --pack-accent: #f1cc8c;
}
.scene-topline { display: flex; align-items: center; justify-content: space-between; gap: 15px; color: #677260; font-size: 10px; line-height: 1.5; letter-spacing: .1em; }
.scene-topline > span:last-child { display: inline-flex; align-items: center; gap: 6px; text-align: right; }
.scene-topline > span:last-child::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #66835f; }
.pack-stage {
  position: relative;
  display: grid;
  min-height: 414px;
  place-items: center;
  padding: 36px 16px 26px;
  perspective: 1000px;
  isolation: isolate;
}
.pack-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: 25px;
  left: 50%;
  width: 64%;
  max-width: 310px;
  height: 35px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(40, 53, 30, .27), rgba(40, 53, 30, .04) 60%, transparent 73%);
  filter: blur(6px);
}
.pack-orbit {
  position: absolute;
  z-index: -2;
  width: min(88%, 380px);
  aspect-ratio: 1;
  border: 1px solid rgba(91, 112, 71, .14);
  border-radius: 50%;
  transform: rotate(-24deg) scaleY(.88);
}
.pack-orbit::before { content: ""; position: absolute; inset: 23px; border: 1px dashed rgba(91, 112, 71, .13); border-radius: inherit; }
.pack-orbit::after { content: ""; position: absolute; top: 13%; left: 13%; width: 9px; height: 9px; border: 2px solid #e9eddf; border-radius: 50%; background: #b4935b; box-shadow: 0 0 0 6px rgba(180, 147, 91, .08); }
.sample-pack {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 228px;
  height: 318px;
  padding: 44px 24px 21px;
  overflow: hidden;
  color: var(--pack-ink);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 9px 9px 31px 31px / 9px 9px 17px 17px;
  background: linear-gradient(102deg, var(--pack-deep) 0, var(--pack-base) 8%, var(--pack-light) 30%, var(--pack-base) 64%, var(--pack-deep) 100%);
  box-shadow: inset 6px 0 10px rgba(255, 255, 255, .06), inset -8px 0 10px rgba(0, 0, 0, .09), 15px 18px 23px rgba(45, 55, 31, .13), -2px 2px 3px rgba(255, 255, 255, .7);
  transform: rotate(-5deg) rotateX(var(--stage-rx, 0deg)) rotateY(var(--stage-ry, 0deg));
  transition: width .45s cubic-bezier(.22,.7,.2,1), height .45s cubic-bezier(.22,.7,.2,1), border-radius .45s, padding .45s, color .35s, transform .28s ease-out;
}
.sample-pack::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(108deg, transparent 0 28%, rgba(255, 255, 255, .09) 31%, transparent 37% 70%, rgba(0, 0, 0, .06) 72%, transparent 76%);
}
.sample-pack::after { content: ""; position: absolute; inset: auto 8px 9px; height: 7px; border-top: 1px solid rgba(255, 255, 255, .12); border-bottom: 1px solid rgba(0, 0, 0, .09); border-radius: 0 0 50% 50%; }
.pack-seam { position: absolute; inset: 8px 7px auto; height: 15px; border-bottom: 1px solid rgba(255, 255, 255, .24); background: repeating-linear-gradient(0deg, rgba(0,0,0,.08) 0 1px, transparent 1px 3px); }
.pack-brand { position: relative; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; flex: 0 0 auto; width: 100%; height: 2.2em; overflow: hidden; margin-bottom: 6px; color: var(--pack-ink); text-align: center; font-family: Manrope, "Segoe UI", sans-serif; font-size: 23px; font-weight: 600; line-height: 1.1; letter-spacing: -.04em; overflow-wrap: anywhere; }
.pack-window { position: relative; flex: 0 0 auto; width: 107px; height: 107px; margin: 7px 0 14px; padding: 5px; border: 1px solid var(--pack-accent); border-radius: 50%; background: rgba(255, 253, 247, .94); box-shadow: 0 3px 12px rgba(0, 0, 0, .1); }
.pack-window img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.pack-product { position: relative; margin: 0 0 6px; max-width: 100%; color: var(--pack-ink); text-align: center; font-size: 14px; font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
.pack-detail { position: relative; margin: 0; max-width: 100%; color: var(--pack-muted); text-align: center; font-size: 8px; line-height: 1.6; letter-spacing: .09em; }
.pack-weight { position: relative; margin: auto 0 0; padding-top: 12px; color: var(--pack-accent); font-size: 8px; font-weight: 600; line-height: 1.3; letter-spacing: .12em; }
.studio-scene[data-pack="sachet"] .sample-pack { width: 154px; height: 338px; padding: 48px 15px 25px; border-radius: 3px 3px 6px 6px; transform: rotate(6deg) rotateX(var(--stage-rx, 0deg)) rotateY(var(--stage-ry, 0deg)); }
.studio-scene[data-pack="sachet"] .pack-brand { font-size: 21px; }
.studio-scene[data-pack="sachet"] .pack-seam { inset-inline: 4px; }
.studio-scene[data-pack="sachet"] .pack-window { width: 97px; height: 97px; margin-top: 16px; margin-bottom: 22px; }
.studio-scene[data-pack="sachet"] .sample-pack::after { inset: auto 4px 7px; height: 12px; border-radius: 0; background: repeating-linear-gradient(0deg, rgba(0,0,0,.07) 0 1px, transparent 1px 3px); }
.studio-scene[data-pack="jar"] .sample-pack { width: 222px; height: 273px; margin-top: 33px; padding: 46px 25px 22px; border-radius: 21px 21px 33px 33px / 10px 10px 20px 20px; transform: rotate(-3deg) rotateX(var(--stage-rx, 0deg)) rotateY(var(--stage-ry, 0deg)); }
.studio-scene[data-pack="jar"] .pack-seam { inset: 0 -1px auto; height: 33px; border: 1px solid rgba(25, 39, 26, .24); border-radius: 12px 12px 8px 8px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 4px), linear-gradient(90deg, #beb299, #e7ddc6 30%, #c7b99b); box-shadow: 0 3px 4px rgba(0,0,0,.12); }
.studio-scene[data-pack="jar"] .pack-window { width: 83px; height: 83px; margin: 6px 0 10px; }
.studio-scene[data-pack="jar"] .pack-brand { font-size: 20px; }
.studio-scene[data-pack="jar"] .pack-weight { padding-top: 7px; }
.scene-label { margin: 0 auto 23px; max-width: 360px; text-align: center; color: #6a7463; font-size: 10px; line-height: 1.65; }
.studio-summary { margin: auto 0 20px; padding: 19px 0 0; border-top: 1px solid rgba(30,76,58,.16); }
.studio-summary dl { margin: 0; }
.studio-summary > div,
.studio-summary dl > div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 15px; padding: 5px 0; }
.studio-summary dt { margin: 0; color: #6d7668; font-size: 11px; line-height: 1.6; }
.studio-summary dd { margin: 0; color: #344d38; text-align: right; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
#customize-apply { display: flex; min-height: 53px; justify-content: space-between; gap: 18px; width: 100%; padding: 16px 20px; border-radius: 9px; color: #fffdf7; background: var(--green); line-height: 1.5; }
#customize-apply:hover { background: #143b2b; }
.studio-apply-status { display: block; max-width: 100%; margin: 9px 0 0; min-height: 18px; color: #5b6b51; font-size: 11px; line-height: 1.6; }
.studio-project-note { margin: 7px 0 0; color: #6b7565; font-size: 11px; line-height: 1.75; }
.custom-inquiry-summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px 25px; margin: 26px 0; padding: 21px 22px; border: 1px solid #ccd6c2; border-radius: 10px; background: #eef2e5; }
.custom-inquiry-summary[hidden] { display: none; }
.custom-inquiry-summary strong { grid-column: 1; color: var(--green); font-size: 13px; line-height: 1.6; }
.custom-inquiry-summary p { grid-column: 1; margin: 0; color: #57634e; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.custom-inquiry-summary button { grid-column: 2; grid-row: 1 / span 2; align-self: start; padding: 6px 0; border: 0; background: transparent; color: #4d6342; font-size: 11px; line-height: 1.6; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.custom-inquiry-summary button:focus-visible { outline: 2px solid #b5752e; outline-offset: 4px; }
.private-section > .shell > .private-copy { max-width: 650px; }
.private-section > .shell > .button { margin-top: 32px; }
.studio-deliverables { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; margin-top: 28px; }
.studio-deliverables > article { display: grid; grid-template-columns: 27px minmax(0, 1fr); column-gap: 12px; align-content: start; padding: 20px 2px; border-top: 1px solid rgba(30,76,58,.18); }
.studio-deliverables > article > :is(span, small) { grid-column: 1; grid-row: 1 / span 2; margin-top: 1px; color: #819175; font-size: 10px; line-height: 1.8; letter-spacing: .1em; }
.studio-deliverables h3 { grid-column: 2; margin: 0 0 9px; color: var(--green); font-size: 15px; font-weight: 600; letter-spacing: -.025em; line-height: 1.5; }
.studio-deliverables p { grid-column: 2; margin: 0; color: #64705f; font-size: 12px; line-height: 1.8; }
.custom-promise-bar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding-block: 22px; }
.custom-promise-item { display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 0; padding: 7px 19px; border-inline-start: 1px solid rgba(30,76,58,.16); font-size: 12px; line-height: 1.55; }
.custom-promise-item:first-child { border-inline-start: 0; }
.custom-promise-item > span:first-child { flex: 0 0 auto; color: #a67a3f; font-size: 18px; }
.custom-promise-item strong { display: block; color: var(--green); font-size: 12px; font-weight: 600; }
.custom-promise-item p { margin: 0; color: #71806d; font-size: 11px; line-height: 1.6; }
.customization-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid rgba(30,76,58,.2); border-radius: 24px; color: var(--green); background: #edf1e5; font-size: 10px; font-weight: 600; line-height: 1.4; letter-spacing: .02em; }
.customization-badge::before { content: ""; flex: 0 0 auto; width: 4px; height: 4px; border-radius: 50%; background: #a17c42; }
.range-card .customization-badge { margin: 0 0 7px; }
.product-hero .customization-badge { color: #ede5ce; background: rgba(243,239,217,.07); border-color: rgba(243,239,217,.23); }
.product-hero .customization-badge::before { background: #e5a34d; }
.product-hero .hero-actions .button-orange { position: relative; gap: 24px; border: 1px solid rgba(255, 230, 182, .35); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.product-hero .hero-actions .button-orange > span:last-child { transition: transform .25s; }
.atelier-path { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 42px 0 0; }
.atelier-path-card { position: relative; min-width: 0; padding: 26px 0 0; border-top: 1px solid rgba(30,76,58,.22); }
.atelier-path-card::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border: 1px solid rgba(30,76,58,.5); border-radius: 50%; background: var(--paper); }
.atelier-path-card > span:first-child,
.atelier-path-card .step-index { display: block; margin-bottom: 19px; color: #9f7a44; font-size: 11px; letter-spacing: .12em; }
.atelier-path-card h3 { margin: 0 0 12px; color: var(--green); font-size: 18px; line-height: 1.35; letter-spacing: -.03em; }
.atelier-path-card p { margin: 0; color: #65705f; font-size: 12px; line-height: 1.8; }
.private-section .atelier-path-card { border-color: rgba(255,255,255,.24); }
.private-section .atelier-path-card::before { border-color: #b8c3a8; background: var(--green); }
.private-section .atelier-path-card h3 { color: #f5f1e5; }
.private-section .atelier-path-card p { color: #c3cebd; }
.private-section .atelier-path-card > span:first-child,
.private-section .atelier-path-card .step-index { color: var(--orange); }
/* The reveal class is added by JS only after its observer is ready. */
.atelier-reveal { opacity: 1; transform: none; }
.atelier-reveal.is-pending { opacity: 0; transform: translateY(20px); }
.atelier-reveal.is-entered { transition: opacity .7s ease, transform .7s cubic-bezier(.2,.65,.25,1); }
.studio-scene.is-updating .pack-window { animation: atelier-sample-in .44s ease-out; }
.studio-scene.is-updating .pack-brand,
.studio-scene.is-updating .pack-product { animation: atelier-type-in .36s ease-out; }
@keyframes atelier-sample-in { from { opacity: .55; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
@keyframes atelier-type-in { from { opacity: .45; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }
@keyframes atelier-orbit { 0%, 100% { transform: rotate(-24deg) scaleY(.88); } 50% { transform: rotate(-12deg) scaleY(.9); } }
@media (min-width: 901px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .pack-orbit { animation: atelier-orbit 14s ease-in-out infinite; }
  .studio-scene.is-offscreen .pack-orbit,
  .atelier-paused .pack-orbit { animation-play-state: paused; }
  .studio-options button:not([aria-pressed="true"]):hover { color: var(--green); border-color: #8b9b80; background: #f0f3e9; }
  .studio-swatches button:hover { transform: scale(1.1); }
  .product-hero .hero-actions .button-orange:hover > span:last-child { transform: translateX(3px); }
}
@media (max-width: 1050px) {
  .studio-layout { grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr); }
  .studio-controls { padding: 30px 25px; gap: 23px; }
  .studio-scene { padding: 27px 24px 29px; }
  .pack-stage { min-height: 402px; padding-inline: 0; }
  .atelier-path { gap: 20px; }
  .custom-promise-item { gap: 9px; padding-inline: 10px; }
}
@media (max-width: 800px) {
  .studio-layout { grid-template-columns: 1fr 1fr; }
  .studio-controls { padding: 27px 22px; }
  .studio-options button { padding: 10px; font-size: 11px; }
  .studio-scene { padding-inline: 18px; }
  .sample-pack { width: 198px; height: 301px; padding-inline: 19px; }
  .studio-summary > div, .studio-summary dl > div { grid-template-columns: 75px minmax(0, 1fr); gap: 7px; }
  .studio-summary dd { font-size: 11px; }
  .studio-deliverables { gap: 20px; }
  .studio-deliverables > article { grid-template-columns: 19px minmax(0, 1fr); column-gap: 7px; }
  .atelier-path { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 33px 27px; }
  .custom-promise-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 15px; gap: 13px 0; }
  .custom-promise-item { justify-content: flex-start; padding-left: 20px; }
  .custom-promise-item:nth-child(odd) { border-inline-start: 0; }
}
@media (max-width: 620px) {
  .custom-studio { padding: 66px 0 49px; }
  .studio-intro { margin-bottom: 29px; }
  .studio-intro h2 { font-size: clamp(37px, 10vw, 52px); margin-bottom: 19px; }
  .studio-intro > p:not(.section-kicker) { font-size: 14px; line-height: 1.8; }
  .studio-layout { grid-template-columns: 1fr; border-radius: 16px; }
  .studio-controls { padding: 27px 22px 29px; gap: 23px; }
  .studio-options { gap: 8px; }
  .studio-options button { min-height: 44px; padding: 11px 13px; font-size: 12px; }
  .studio-swatches { gap: 16px; }
  .studio-swatches button { width: 38px; height: 38px; }
  .studio-scene { border-left: 0; border-top: 1px solid rgba(30,76,58,.14); padding: 24px 22px 25px; }
  .scene-topline { font-size: 9px; }
  .pack-stage { min-height: 376px; padding-block: 29px 24px; }
  .sample-pack { width: 213px; height: 308px; }
  .studio-scene[data-pack="sachet"] .sample-pack { height: 321px; }
  .studio-scene[data-pack="jar"] .sample-pack { width: 215px; height: 265px; }
  .studio-summary > div, .studio-summary dl > div { grid-template-columns: 90px minmax(0, 1fr); gap: 15px; }
  .studio-summary dd { font-size: 12px; }
  .scene-label { margin-bottom: 21px; }
  .studio-deliverables { grid-template-columns: 1fr; gap: 0; margin-top: 22px; }
  .studio-deliverables > article { grid-template-columns: 26px minmax(0, 1fr); column-gap: 11px; padding: 21px 0; }
  .studio-deliverables p { font-size: 13px; }
  .studio-deliverables h3 { font-size: 16px; }
  .atelier-path { margin-top: 33px; gap: 29px 21px; }
  .atelier-path-card h3 { font-size: 16px; }
  .atelier-path-card p { font-size: 12px; }
  .custom-promise-item { padding-left: 12px; gap: 9px; }
  .custom-promise-item > span:first-child { font-size: 16px; }
  .custom-promise-item strong { font-size: 11px; }
  .custom-promise-item p { font-size: 10px; }
  .custom-inquiry-summary { grid-template-columns: minmax(0, 1fr); gap: 9px; padding: 18px; }
  .custom-inquiry-summary button { grid-column: 1; grid-row: auto; justify-self: start; }
}
@media (prefers-reduced-motion: reduce), (hover: none), (pointer: coarse) {
  .atelier-reveal, .atelier-reveal.is-pending { opacity: 1; transform: none; transition: none; }
  .pack-orbit, .studio-scene.is-updating :is(.pack-window, .pack-brand, .pack-product) { animation: none; }
  .sample-pack, .studio-options button, .studio-swatches button { transition: none; }
}

/* Three steps, one live collection: expanded studio, October 2026. */
#customize [hidden] { display: none !important; }
.studio-layout { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.studio-controls { gap: 21px; padding: 32px; }
.studio-step-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; padding-bottom: 20px; border-bottom: 1px solid #e1e5d8; }
.studio-step-nav button { display: flex; align-items: center; gap: 9px; min-width: 0; min-height: 50px; padding: 9px 8px; border: 0; border-radius: 8px; background: transparent; color: #79846e; font-size: 11px; line-height: 1.5; text-align: left; cursor: pointer; transition: background .2s, color .2s; }
.studio-step-nav button b { display: grid; flex: 0 0 auto; width: 25px; height: 25px; place-items: center; border: 1px solid #d4dbc9; border-radius: 50%; font-size: 9px; font-weight: 600; }
.studio-step-nav button[aria-selected="true"] { background: #edf1e5; color: var(--green); }
.studio-step-nav button[aria-selected="true"] b { border-color: var(--green); background: var(--green); color: #fffdf7; }
.studio-step-label { margin: -4px 0 1px; color: #7b866e; font-size: 10px; line-height: 1.6; letter-spacing: .025em; }
.studio-step-panel { display: flex; flex-direction: column; gap: 24px; min-width: 0; outline-offset: 5px; }
.studio-step-panel:not([hidden]) + .studio-step-panel:not([hidden]) { padding-top: 30px; margin-top: 10px; border-top: 1px solid #e1e5d8; }
.studio-panel-heading h3 { margin: 0 0 9px; font-size: 25px; font-weight: 500; line-height: 1.18; letter-spacing: -.04em; text-wrap: balance; }
.studio-panel-heading p { margin: 0; max-width: 380px; color: #75806c; font-size: 12px; line-height: 1.8; }
.studio-product-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.studio-product-options button { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; min-width: 0; min-height: 80px; padding: 15px; text-align: left; }
.studio-product-options button > span { font-size: 13px; font-weight: 600; line-height: 1.4; }
.studio-product-options button > small { color: #7c8671; font-size: 10px; line-height: 1.5; }
.studio-product-options button[aria-pressed="true"] > small { color: #c5d1ba; }
.studio-field input#custom-tagline,
.studio-field select#custom-size { display: block; width: 100%; min-width: 0; min-height: 48px; padding: 12px 15px; border: 1px solid #d4dacd; border-radius: 8px; color: var(--ink); background: #f8f8f1; font: 14px/1.5 "Segoe UI", "Microsoft YaHei", sans-serif; }
.studio-field input#custom-tagline::placeholder { color: #7a8176; }
.studio-field input#custom-tagline:focus,
.studio-field select#custom-size:focus { border-color: var(--green); background: #fffdf7; }
.studio-field > label .studio-optional { float: right; padding-left: 12px; color: #8b947f; font-size: 10px; font-weight: 400; }
.studio-controls :is(button, input, select, a):focus-visible,
.studio-scene :is(button, a):focus-visible,
.compare-section button:focus-visible { outline: 2px solid #b5752e; outline-offset: 4px; }
.studio-options button { min-height: 44px; }
.studio-swatches { gap: 15px; }
.studio-swatches button { width: 38px; height: 38px; }
.studio-swatches button[data-tone="ivory"] { --swatch: #efeadb; }
.studio-swatches button[data-tone="sage"] { --swatch: #a8b69a; }
.studio-step-actions { display: flex; align-items: stretch; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 7px; padding-top: 22px; border-top: 1px solid #e1e5d8; }
.studio-step-actions > :is(button, a) { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 11px 12px; border: 0; border-radius: 7px; color: #64735a; background: transparent; font-size: 12px; line-height: 1.5; cursor: pointer; }
.studio-step-actions > .studio-next { margin-left: auto; padding-inline: 16px; color: var(--green); background: #edf1e5; font-weight: 600; }
.studio-step-actions > .studio-review-link { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.studio-project-checks { display: grid; grid-template-columns: 1fr; gap: 14px; }
.studio-project-checks label { min-height: 26px; align-items: center; }
.studio-project-checks input { width: 18px; height: 18px; margin-top: 0; }
.studio-panel-tip { display: flex; gap: 14px; padding: 17px; border-radius: 9px; background: #f1f3e9; }
.studio-panel-tip > span { flex: 0 0 auto; color: #a58147; font-size: 22px; }
.studio-panel-tip p { margin: 0; color: #6d7a62; font-size: 12px; line-height: 1.8; }
.studio-scene { padding: 26px 29px 28px; }
.studio-scene[data-tone="ivory"] { --pack-base: #e9e3d3; --pack-light: #faf5e8; --pack-deep: #c6c3b0; --pack-ink: #354a37; --pack-muted: #5d6d53; --pack-accent: #7b8b68; }
.studio-scene[data-tone="sage"] { --pack-base: #a8b69a; --pack-light: #c3cfb7; --pack-deep: #84967b; --pack-ink: #263e2d; --pack-muted: #435b3c; --pack-accent: #4d6744; }
.studio-scene .pack-stage { min-height: 378px; padding: 20px 0; }
.studio-view-controls { display: inline-flex; align-self: center; gap: 3px; margin-top: 17px; padding: 3px; border: 1px solid rgba(30,76,58,.14); border-radius: 25px; background: rgba(255,253,247,.35); }
.studio-view-controls button { min-width: 65px; min-height: 35px; padding: 7px 15px; border: 0; border-radius: 22px; color: #77816b; background: transparent; font-size: 11px; line-height: 1.5; cursor: pointer; }
.studio-view-controls button[aria-pressed="true"] { color: #334c35; background: #fffdf7; box-shadow: 0 2px 6px rgba(42,58,33,.07); }
.studio-scene[data-pack] .sample-pack { padding: 0; }
.pack-seam { z-index: 3; pointer-events: none; }
.pack-front, .pack-back { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding: 40px 24px 23px; backface-visibility: hidden; transition: opacity .28s, transform .38s, visibility .28s; }
.pack-front { opacity: 1; visibility: visible; transform: rotateY(0); }
.pack-back { opacity: 0; visibility: hidden; transform: rotateY(10deg); }
.studio-scene[data-view="back"] .pack-front { opacity: 0; visibility: hidden; transform: rotateY(-10deg); }
.studio-scene[data-view="back"] .pack-back { opacity: 1; visibility: visible; transform: rotateY(0); }
.pack-detail { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; flex: 0 0 auto; width: 100%; min-height: 1.6em; max-height: 3.2em; overflow: hidden; overflow-wrap: anywhere; }
.pack-product { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; flex: 0 0 auto; width: 100%; max-height: 2.5em; overflow: hidden; overflow-wrap: anywhere; }
.pack-window { width: 99px; height: 99px; margin-block: 8px 12px; }
.pack-weight { flex: 0 0 auto; max-width: 100%; padding-top: 8px; text-align: center; overflow-wrap: anywhere; }
.pack-back-kicker { margin-bottom: 12px; color: var(--pack-accent); font-size: 7px; line-height: 1.6; letter-spacing: .14em; text-align: center; }
.pack-back > strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; width: 100%; max-height: 2.5em; overflow: hidden; color: var(--pack-ink); font-size: 18px; font-weight: 600; line-height: 1.25; letter-spacing: -.025em; text-align: center; overflow-wrap: anywhere; }
.pack-back > p { margin: 7px 0 0; color: var(--pack-muted); font-size: 9px; line-height: 1.5; text-align: center; }
.pack-back-line { width: 100%; height: 1px; flex: 0 0 auto; margin: 12px 0 10px; background: var(--pack-accent); opacity: .45; }
.pack-back dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; margin: 0; }
.pack-back dl > div { min-width: 0; margin-bottom: 4px; }
.pack-back dt { color: var(--pack-accent); font-size: 7px; line-height: 1.6; text-transform: uppercase; letter-spacing: .1em; }
.pack-back dd { margin: 3px 0 0; color: var(--pack-ink); font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.pack-back > .pack-back-note { margin-top: auto; padding-top: 8px; color: var(--pack-muted); font-size: 7px; line-height: 1.8; }
.pack-back-rule { width: 28px; height: 2px; flex: 0 0 auto; margin-top: 12px; background: var(--pack-accent); }
.studio-scene[data-pack="sachet"] .pack-front { padding: 42px 13px 22px; }
.studio-scene[data-pack="sachet"] .pack-back { padding: 43px 16px 22px; }
.studio-scene[data-pack="sachet"] .pack-window { width: 89px; height: 89px; margin-block: 12px 15px; }
.studio-scene[data-pack="sachet"] .pack-product { font-size: 12px; }
.studio-scene[data-pack="jar"] .pack-front { padding: 43px 24px 20px; }
.studio-scene[data-pack="jar"] .pack-back { padding: 43px 24px 17px; }
.studio-scene[data-pack="jar"] .pack-back-kicker { display: none; }
.studio-scene[data-pack="jar"] .pack-back > strong { font-size: 16px; }
.studio-scene[data-pack="jar"] .pack-back-note { font-size: 6px; }
.studio-scene[data-pack="jar"] .pack-back-rule { margin-top: 6px; }
.studio-scene[data-pack="jar"] .pack-window { width: 72px; height: 72px; margin: 5px 0 8px; }
.studio-scene[data-pack="jar"] .pack-brand { font-size: 19px; }
.studio-scene[data-pack="jar"] .pack-detail { font-size: 7px; }
.studio-scene[data-pack="jar"] .pack-product { font-size: 12px; }
.studio-scene[data-pack="jar"] .pack-back-line { margin-block: 11px 9px; }
.studio-scene[data-pack="jar"] .pack-back dl > div { margin-bottom: 6px; }
.studio-scene[data-pack="bottle"] .sample-pack { width: 166px; height: 326px; margin-top: 0; border-radius: 39px 39px 23px 23px / 54px 54px 16px 16px; transform: rotate(-4deg) rotateX(var(--stage-rx, 0deg)) rotateY(var(--stage-ry, 0deg)); }
.studio-scene[data-pack="bottle"] .pack-seam { inset: 0 38px auto; height: 34px; border: 1px solid rgba(25,39,26,.26); border-radius: 6px 6px 4px 4px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 4px), linear-gradient(90deg, #a99b7e, #e8ddc2 32%, #baaa8b); box-shadow: 0 3px 4px rgba(0,0,0,.12); }
.studio-scene[data-pack="bottle"] .pack-front { padding: 57px 15px 20px; }
.studio-scene[data-pack="bottle"] .pack-back { padding: 56px 18px 21px; }
.studio-scene[data-pack="bottle"] .pack-brand { font-size: 20px; }
.studio-scene[data-pack="bottle"] .pack-window { width: 83px; height: 83px; margin-block: 10px 12px; }
.studio-scene[data-pack="bottle"] .pack-product { font-size: 12px; }
.studio-scene[data-pack="bottle"] .pack-back > strong { font-size: 16px; }
.studio-scene[data-pack="box"] .sample-pack { width: 215px; height: 305px; border-radius: 3px; transform: rotate(-4deg) rotateX(var(--stage-rx, 0deg)) rotateY(var(--stage-ry, 0deg)); background: linear-gradient(90deg, var(--pack-light), var(--pack-base) 12% 91%, var(--pack-deep) 91%); box-shadow: inset -1px 0 rgba(0,0,0,.12), 14px 16px 23px rgba(45,55,31,.14); }
.studio-scene[data-pack="box"] .pack-seam { inset: 0 0 auto; height: 13px; border-bottom: 1px solid rgba(255,255,255,.2); background: linear-gradient(170deg, var(--pack-light), var(--pack-deep)); }
.studio-scene[data-pack="box"] .pack-front { padding: 34px 25px 21px; }
.studio-scene[data-pack="box"] .pack-back { padding: 32px 27px 21px; }
.studio-scene[data-pack="box"] .sample-pack::after { inset: auto 0 0; height: 8px; border: 0; border-top: 1px solid rgba(0,0,0,.1); border-radius: 0; background: var(--pack-deep); }
.studio-scene[data-finish="gloss"] .sample-pack::before { z-index: 2; background: linear-gradient(109deg, transparent 13%, rgba(255,255,255,.04) 22%, rgba(255,255,255,.38) 31%, rgba(255,255,255,.1) 34%, transparent 40% 73%, rgba(255,255,255,.18) 77%, transparent 83%); }
.studio-scene[data-finish="gloss"] .sample-pack { box-shadow: inset 3px 0 10px rgba(255,255,255,.14), inset -8px 0 10px rgba(0,0,0,.09), 16px 19px 24px rgba(45,55,31,.17); }
.studio-summary { margin-top: 0; margin-bottom: 16px; padding-top: 15px; }
.studio-summary > div { padding-block: 4px; }
.studio-preview-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.studio-preview-actions button { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 9px 11px; border: 1px solid rgba(30,76,58,.18); border-radius: 7px; color: #425a3b; background: rgba(255,253,247,.55); font-size: 11px; line-height: 1.5; cursor: pointer; }
.studio-preview-actions #studio-reset { padding-inline: 0; border-color: transparent; background: transparent; color: #79836b; text-decoration: underline; text-underline-offset: 4px; }
.studio-preview-actions #studio-save:disabled { opacity: .5; cursor: default; }
.customization-budget { display: block; margin-top: 8px; color: #65735f; font-size: 12px; line-height: 1.6; }
.customization-budget[hidden] { display: none; }
.scene-label { margin-bottom: 19px; }
.compare-section { margin-top: 39px; padding-top: 33px; border-top: 1px solid rgba(30,76,58,.17); }
.compare-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 23px; }
.compare-heading .section-kicker { margin-bottom: 12px; color: #7c886e; font-size: 9px; }
.compare-heading h3 { margin: 0; color: var(--green); font-size: 27px; font-weight: 500; line-height: 1.2; letter-spacing: -.04em; }
.compare-heading > p { max-width: 340px; margin: 0; color: #7b856e; font-size: 11px; line-height: 1.8; }
.studio-saved { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.studio-saved-empty { grid-column: 1 / -1; margin: 0; padding: 23px; border: 1px dashed #cbd3c0; border-radius: 12px; color: #6c7a60; font-size: 13px; line-height: 1.7; }
.saved-swatch { display: block; width: 20px; height: 20px; border: 1px solid rgba(30,76,58,.15); border-radius: 50%; background: #234b3a; }
.saved-swatch[data-tone="sand"] { background: #d6c4a1; }
.saved-swatch[data-tone="ink"] { background: #344142; }
.saved-swatch[data-tone="clay"] { background: #b06d53; }
.saved-swatch[data-tone="ivory"] { background: #e9e3d3; }
.saved-swatch[data-tone="sage"] { background: #a8b69a; }
.summary-card { min-width: 0; padding: 23px; border: 1px solid #d6ddcb; border-radius: 12px; background: rgba(255,253,247,.7); }
.summary-card > span:first-child { color: #89977b; font-size: 10px; line-height: 1.6; }
.summary-card :is(h4, strong) { display: block; margin: 11px 0 12px; color: var(--green); font-size: 18px; font-weight: 600; line-height: 1.35; letter-spacing: -.025em; overflow-wrap: anywhere; }
.summary-card p { margin: 0 0 14px; color: #6c7a60; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.summary-card button { min-height: 41px; padding: 9px 11px; margin: 5px 8px 0 0; border: 1px solid #d5deca; border-radius: 6px; background: #f5f7ef; color: #526547; font-size: 11px; line-height: 1.5; cursor: pointer; }
.summary-card button:last-child { margin-right: 0; border-color: transparent; background: transparent; color: #7e8971; }
.studio-save-status { min-height: 18px; margin: 11px 0 0; color: #748365; font-size: 11px; line-height: 1.7; }
.studio-saved:empty { display: none; }
@media (min-width: 901px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .studio-step-nav button:hover { background: #f1f3eb; color: var(--green); }
  .studio-step-actions > .studio-next:hover,
  .studio-preview-actions #studio-save:hover,
  .summary-card button:hover { border-color: #94a583; background: #e7eedc; color: var(--green); }
}
@media (max-width: 1050px) {
  .studio-layout { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .studio-controls { padding: 27px 25px; }
  .studio-scene { padding-inline: 23px; }
  .studio-step-nav button { flex-direction: column; align-items: flex-start; gap: 7px; }
  .studio-product-options button { padding: 12px; }
  .studio-step-actions { gap: 8px; }
  .studio-step-actions > :is(button, a) { padding-inline: 9px; font-size: 11px; }
  .studio-step-actions > .studio-next { padding-inline: 12px; }
  .summary-card { padding: 19px; }
}
@media (max-width: 760px) {
  .studio-layout { grid-template-columns: minmax(0, 1fr); }
  .studio-controls { padding: 27px 25px 30px; }
  .studio-step-nav button { flex-direction: row; align-items: center; font-size: 12px; }
  .studio-step-panel { gap: 23px; }
  .studio-scene { padding: 25px; border-left: 0; border-top: 1px solid rgba(30,76,58,.14); }
  .studio-scene .pack-stage { min-height: 358px; }
  .studio-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 25px; }
  .studio-summary > div { grid-template-columns: 1fr; gap: 1px; padding-block: 6px; }
  .studio-summary dd { text-align: left; }
  .studio-summary > div:last-child { grid-column: 1 / -1; }
  .compare-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
  .compare-heading > p { max-width: 440px; }
  .studio-saved { gap: 12px; }
  .summary-card { padding: 17px; }
  .summary-card :is(h4, strong) { font-size: 16px; }
  .summary-card p { font-size: 11px; }
}
@media (max-width: 620px) {
  .studio-controls { padding-inline: 21px; }
  .studio-step-nav { gap: 3px; }
  .studio-step-nav button { gap: 6px; padding-inline: 5px; font-size: 11px; }
  .studio-step-nav button b { width: 22px; height: 22px; font-size: 8px; }
  .studio-panel-heading h3 { font-size: 24px; }
  .studio-product-options { gap: 9px; }
  .studio-product-options button { min-height: 79px; padding: 12px; }
  .studio-product-options button > span { font-size: 12px; }
  .studio-scene { padding-inline: 22px; }
  .studio-scene .sample-pack { width: 213px; height: 308px; }
  .studio-scene[data-pack="sachet"] .sample-pack { width: 154px; height: 321px; }
  .studio-scene[data-pack="jar"] .sample-pack { width: 215px; height: 273px; }
  .studio-scene[data-pack="bottle"] .sample-pack { width: 166px; height: 326px; }
  .studio-scene[data-pack="box"] .sample-pack { width: 207px; height: 305px; }
  .studio-scene[data-pack="pouch"] .pack-front { padding: 36px 22px 19px; }
  .studio-scene[data-pack="pouch"] .pack-brand { font-size: 22px; }
  .studio-scene[data-pack="pouch"] .pack-window { width: 92px; height: 92px; margin-block: 7px 9px; }
  .studio-scene[data-pack="sachet"] .pack-front { padding-top: 37px; }
  .studio-scene[data-pack="sachet"] .pack-window { margin-block: 9px 11px; }
  .studio-scene .pack-product { font-size: 12px; }
  .studio-summary > div, .studio-summary dl > div { grid-template-columns: 1fr; gap: 1px; }
  .studio-saved { grid-template-columns: minmax(0, 1fr); }
  .summary-card { padding: 21px; }
  .summary-card :is(h4, strong) { font-size: 18px; }
  .summary-card p { font-size: 12px; }
  .compare-section { margin-top: 32px; padding-top: 29px; }
  .compare-heading h3 { font-size: 25px; }
  .studio-step-actions > .studio-next { font-size: 12px; }
  .studio-field input#custom-brand, .studio-field input#custom-tagline, .studio-field select#custom-size { font-size: 16px; }
}
@media (max-width: 360px) {
  .studio-step-nav button { flex-direction: column; align-items: center; text-align: center; }
  .studio-controls, .studio-scene { padding-inline: 17px; }
  .studio-step-actions { flex-wrap: wrap; }
  .scene-topline { gap: 12px; font-size: 8px; letter-spacing: .05em; }
}
@media (prefers-reduced-motion: reduce), (hover: none), (pointer: coarse) {
  .pack-front, .pack-back, .studio-step-nav button { transition: none; }
  .studio-step-panel.is-step-entering { animation: none; }
}
@keyframes atelier-step-in { from { opacity: .5; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
.studio-step-panel.is-step-entering { animation: atelier-step-in .28s ease-out; }
.studio-field textarea#custom-product-request { display: block; width: 100%; min-height: 100px; resize: vertical; padding: 12px 15px; border: 1px solid #d4dacd; border-radius: 8px; background: #f8f8f1; color: var(--ink); font: 14px/1.7 "Segoe UI", "Microsoft YaHei", sans-serif; }
.studio-field textarea#custom-product-request:focus { border-color: var(--green); background: #fffdf7; }
.studio-field textarea#custom-product-request:focus-visible { outline: 2px solid #b5752e; outline-offset: 4px; }
.studio-field textarea#custom-product-request::placeholder { color: #7a8176; }
.summary-card .saved-product-request { padding-top: 11px; border-top: 1px solid #dce3d2; }
#customization-sync-status { margin: 12px 0; color: #536b48; }
#customization-sync-status[hidden] { display: none; }
@media (max-width: 620px) { .studio-field textarea#custom-product-request { font-size: 16px; } }
