/* generated by _src/build.mjs from _src/parts/custom.css */
/* ===== custom pages: a live "change the look" studio ===== */
.cu-studio { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 36px; align-items: center; margin-top: 12px; padding: 34px; border-radius: 28px; }
.cu-ctl { display: grid; gap: 12px; align-content: center; }
.cu-ctl .mono { color: #EB4A1E; }
.cu-ctl h3 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; line-height: 1.04; letter-spacing: -.045em; }
.cu-ctl p { font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.cu-group { display: grid; gap: 8px; margin-top: 8px; }
.cu-group small { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.cu-sw { display: flex; flex-wrap: wrap; gap: 10px; }
.cu-sw button { position: relative; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: var(--c); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); transition: transform .45s var(--spring); }
.cu-sw button::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; box-shadow: 0 0 0 2px var(--ink); opacity: 0; transform: scale(.85); transition: opacity .3s ease, transform .45s var(--spring); }
.cu-sw button:hover { transform: scale(1.08); }
.cu-sw button.on::after { opacity: 1; transform: none; }
.cu-sw button:focus-visible, .cu-seg button:focus-visible { outline: 2px solid #EB4A1E; outline-offset: 4px; }
.cu-seg { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; justify-self: start; padding: 4px; border-radius: 999px; background: var(--tile); }
.cu-seg button { height: 38px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: color .3s ease; }
.cu-seg button.on { background: var(--card); color: var(--ink); box-shadow: var(--float); }

/* the page being shaped */
.cu-prev { --acc: #EB4A1E; position: relative; padding: 10px; border-radius: 24px; background: #0E0D0D; box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .55); }
.cu-bar { display: flex; align-items: center; gap: 6px; padding: 4px 8px 12px; }
.cu-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(246, 245, 242, .18); }
.cu-bar span { margin-left: 10px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; color: rgba(246, 245, 242, .5); }
.cu-lays { display: grid; border-radius: 16px; overflow: hidden; background: #F7F6F3; color: #0B0B0B; }
.cu-lay { grid-area: 1 / 1; display: grid; gap: 10px; align-content: start; opacity: 0; visibility: hidden; transform: scale(.985); transition: opacity .45s ease, transform .7s var(--spring), visibility 0s .5s; }
.cu-lay.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .55s ease .05s, transform .8s var(--spring) .05s, visibility 0s; }
.cu-give, .cu-meter i, .cu-lv .on, .cu-logo, .cu-x2 { transition: background-color .5s ease, color .5s ease; }
.cu-give { display: flex; justify-content: center; align-items: center; height: 44px; border-radius: 999px; background: var(--acc); color: #fff; font-size: 14px; font-weight: 600; }
.cu-meter { position: relative; display: block; height: 7px; border-radius: 6px; background: rgba(11, 11, 11, .08); overflow: hidden; }
.cu-meter i { position: absolute; inset: 0; border-radius: inherit; background: var(--acc); transform-origin: left; transform: scaleX(var(--p)); }
.cu-x2 { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--acc); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; }
.cu-t { font-size: 21px; font-weight: 600; line-height: 1.1; letter-spacing: -.035em; }
.cu-n { font-size: 26px; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
/* standard */
.cu-std { padding: 0 0 18px; }
.cu-std > :not(.cu-ban) { margin: 0 18px; }
.cu-ban { position: relative; height: 112px; background: linear-gradient(135deg, #2A2A2E, #4A4036 55%, #7A5233); }
.cu-ban::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 90% at 80% 20%, rgba(255, 220, 170, .22), transparent 60%); }
.cu-logo { position: absolute; left: 18px; bottom: -22px; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--acc); color: #fff; font-size: 15px; font-weight: 700; box-shadow: 0 0 0 4px #F7F6F3; }
.cu-std .cu-t { margin-top: 30px; }
.cu-row { display: flex; justify-content: space-between; align-items: end; gap: 10px; }
.cu-row > span:first-child { display: grid; gap: 2px; }
.cu-row small, .cu-card small, .cu-hero small { font-size: 12px; color: rgba(11, 11, 11, .55); }
.cu-lv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.cu-lv span { display: grid; place-items: center; height: 38px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px rgba(11, 11, 11, .08); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.cu-lv .on { background: var(--acc); color: #fff; box-shadow: none; }
/* full width */
.cu-full { position: relative; min-height: 100%; grid-template-rows: auto auto 1fr; }
.cu-hero { position: relative; display: grid; gap: 6px; align-content: end; min-height: 212px; padding: 18px; color: #fff; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .65)), linear-gradient(135deg, #2A2A2E, #4A4036 55%, #7A5233); }
.cu-hero .cu-x2 { position: absolute; top: 16px; left: 18px; }
.cu-hero .cu-t { font-size: 25px; }
.cu-hero small { color: rgba(255, 255, 255, .72); }
.cu-mid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 250px); gap: 16px; align-items: start; padding: 0 18px; }
.cu-story { display: grid; gap: 8px; padding-top: 18px; }
.cu-story i { display: block; height: 9px; border-radius: 5px; background: rgba(11, 11, 11, .1); }
.cu-story i.s { width: 60%; }
.cu-card { position: relative; z-index: 1; display: grid; gap: 8px; margin-top: -34px; padding: 16px; border-radius: 16px; background: #fff; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .35); }
.cu-tick { display: flex; gap: 6px; padding: 0 18px 18px; overflow: hidden; -webkit-mask: linear-gradient(90deg, #000 80%, transparent); mask: linear-gradient(90deg, #000 80%, transparent); }
.cu-tick span { flex: none; display: inline-flex; gap: 6px; padding: 8px 11px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(11, 11, 11, .08); font-size: 12.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }

@media (max-width: 960px) {
  .cu-studio { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 22px; }
}
@media (max-width: 520px) {
  .cu-mid { grid-template-columns: minmax(0, 1fr); padding: 0 12px; }
  .cu-story { display: none; }
  .cu-std > :not(.cu-ban) { margin: 0 14px; }
  .cu-t { font-size: 19px; }
  .cu-hero .cu-t { font-size: 21px; }
  .cu-lv span { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .cu-lay, .cu-lay.is-on, .cu-give, .cu-meter i, .cu-lv .on, .cu-logo, .cu-x2 { transition: none !important; }
}
.cu-studio { scroll-margin-top: 96px; }
