/* Shared design system for portfolio pages (Proposly Property style).
   Each page sets --a (accent) and --a-soft on <body>. */
:root {
  --bg: #f7f6f2;
  --card: #ffffff;
  --ink: #1c1b22;
  --ink-2: #3f3e48;
  --muted: #5d5b66;
  --line: #e4e2dc;
  --dot: #dcd9d1;
  --a: #4338ca;
  --a-soft: #eef0ff;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --r: 12px;
  --shadow: 0 1px 2px rgba(28, 27, 34, .04), 0 12px 32px -8px rgba(28, 27, 34, .08);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans);
  background-image: radial-gradient(var(--dot) 1px, transparent 1.2px); background-size: 24px 24px;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Announcement + nav */
.notice { background: var(--a-soft); color: var(--ink-2); text-align: center; font-size: 13px; padding: 8px 16px; }
.notice b { color: var(--a); font-weight: 600; }
.nav { position: sticky; top: 0; z-index: 20; background: rgba(247, 246, 242, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -.01em; }
.mark { width: 30px; height: 30px; border-radius: 8px; background: var(--ink); color: #fff; display: grid; place-items: center; font: 600 15px var(--serif); }
.brand small { font: 500 10px var(--mono); letter-spacing: .16em; color: var(--muted); text-transform: uppercase; margin-left: 4px; }
.links { display: flex; gap: 22px; margin-right: auto; }
.links a { text-decoration: none; font-size: 14px; color: var(--ink-2); }
.links a:hover, .links a[aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 8px; font: 600 14px var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
.btn-a { background: var(--a-btn, var(--a)); color: #fff; }
.btn-a:hover { filter: brightness(.92); }
.btn-o { background: var(--card); border-color: var(--line); color: var(--ink); }
.btn-o:hover { border-color: var(--ink-2); }
.navcta { display: flex; gap: 10px; }

/* Type */
.eyebrow { font: 500 11px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; margin: 0; color: var(--ink); }
h1 { font-size: clamp(44px, 7vw, 88px); line-height: 1.02; }
h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.06; }
h3 { font-size: 24px; line-height: 1.25; letter-spacing: -.015em; }
.acc { color: var(--a); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .14em; }
.lede { font-size: 19px; color: var(--muted); max-width: 620px; }
.small { font-size: 13px; color: var(--muted); }

/* Hero */
.hero { position: relative; text-align: center; padding: 96px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% 0; z-index: -1;
  background: repeating-conic-gradient(from 0deg at 50% 62%, rgba(28, 27, 34, .07) 0deg .35deg, transparent .35deg 7.5deg);
  -webkit-mask: radial-gradient(ellipse 60% 55% at 50% 62%, #000 15%, transparent 72%); mask: radial-gradient(ellipse 60% 55% at 50% 62%, #000 15%, transparent 72%);
}
.hero h1 { max-width: 960px; margin: 0 auto; }
.hero .lede { margin: 26px auto 0; }
.ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero .small { margin-top: 14px; }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; text-align: left; }
.split .ctas { justify-content: flex-start; }
.split .lede { margin-left: 0; }

.themes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 52px auto 0; text-align: left; }
.theme { display: grid; grid-template-columns: 1fr; gap: 2px; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px 8px 12px; transition: transform .2s ease, border-color .2s ease; }
.theme:hover { transform: translateY(-3px); border-color: var(--a); }
.theme .thumb { grid-column: 1 / -1; aspect-ratio: 16 / 11; border-radius: 7px; overflow: hidden; background: #e9e6de; margin-bottom: 6px; }
.theme .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tmeta { display: grid; padding-left: 4px; min-width: 0; }
.tmeta b { font: 400 17px/1.2 var(--serif); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tmeta span { font-size: 12px; color: var(--muted); }
.tmeta span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tprice { font: 600 12px var(--mono); color: var(--a); padding: 6px 0 0 4px; }
body.dark .theme { --card: #f4f2ec; --ink: #1c1b22; --muted: #5d5b66; --a: #4338ca; border-color: #2c2b33; }
/* Animated hero showcase: real screenshots floating in 3D */
.show { position: relative; margin: 56px auto 0; max-width: 1200px; aspect-ratio: 16 / 8.6; perspective: 1600px; }
.show::before { content: ""; position: absolute; inset: 8% 6% -6%; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(99, 102, 241, .45), rgba(34, 211, 238, .12) 45%, transparent 70%); filter: blur(30px); z-index: -1; animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .6; transform: scale(1.05); } }
/* Flat stacking (z-index) so tilted screens never slice through each other; each screen gets its own perspective. */
.show-scene { position: absolute; inset: 0; transform-style: flat; perspective: 1600px; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.dev { position: absolute; }
.dev-frame { width: 100%; height: 100%; overflow: hidden; background: #f7f6f2; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08); }
.dev-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.dev-desk .dev-frame { border-radius: 12px; border: 6px solid #1a1922; }
.dev-phone .dev-frame { border-radius: 26px; border: 6px solid #1a1922; }
.d1 { left: 21%; top: 2%; width: 58%; aspect-ratio: 16 / 10; z-index: 3; animation: float1 9s ease-in-out infinite; }
.d2 { left: 4%; top: 17%; width: 35%; aspect-ratio: 16 / 10; z-index: 2; transform: rotateY(22deg); animation: float2 10s ease-in-out infinite; }
.d3 { right: 4%; top: 17%; width: 35%; aspect-ratio: 16 / 10; z-index: 2; transform: rotateY(-22deg); animation: float3 11s ease-in-out infinite; }
.d4 { left: 15%; top: 42%; width: 13%; aspect-ratio: 9 / 18.5; z-index: 4; animation: float2 8s ease-in-out infinite reverse; }
.d5 { right: 15%; top: 40%; width: 13%; aspect-ratio: 9 / 18.5; z-index: 4; animation: float1 8.5s ease-in-out infinite reverse; }
@keyframes float1 { 50% { translate: 0 -12px; } }
@keyframes float2 { 50% { translate: 0 10px; } }
@keyframes float3 { 50% { translate: 0 -9px; } }
.d1::after, .d2::after, .d3::after { content: ""; position: absolute; left: 4%; right: 4%; bottom: -9%; height: 7%; border-radius: 50%; background: rgba(0, 0, 0, .55); filter: blur(14px); z-index: -1; }
.show-sweep { position: absolute; inset: 0; z-index: 6; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .16) 47%, transparent 58%); background-size: 250% 100%; animation: sweep 6s ease-in-out infinite; mix-blend-mode: screen; }
@keyframes sweep { 0% { background-position: 130% 0; } 60%, 100% { background-position: -40% 0; } }
@media (max-width: 760px) { .show { aspect-ratio: 16 / 11; } .d2, .d3 { top: 24%; width: 44%; } .d4, .d5 { width: 18%; top: 46%; } .d4 { left: 4%; } .d5 { right: 4%; } }
@media (prefers-reduced-motion: reduce) { .show::before, .dev, .show-sweep { animation: none; } }
.heroshot { margin: 56px auto 0; max-width: 1200px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px -30px rgba(28, 27, 34, .25); }
.heroshot img { width: 100%; height: auto; aspect-ratio: 2720 / 1536; object-fit: cover; }

/* Product mockup with floating cards */
.stage { position: relative; max-width: 1040px; margin: 56px auto 0; padding: 0 0 40px; }
.window { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; text-align: left; }
.bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #fbfaf8; }
.bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.bar span { margin: 0 auto; font: 500 12px var(--mono); color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 3px 12px; }
.app { display: grid; grid-template-columns: 190px 1fr; min-height: 420px; }
.side { border-right: 1px solid var(--line); padding: 18px 14px; font-size: 13px; color: var(--ink-2); display: flex; flex-direction: column; gap: 4px; }
.side b { font: 500 10px var(--mono); letter-spacing: .14em; color: var(--muted); text-transform: uppercase; margin: 6px 6px 6px; }
.side a { text-decoration: none; padding: 7px 8px; border-radius: 6px; display: flex; justify-content: space-between; }
.side a.on { background: var(--a-soft); color: var(--a); font-weight: 600; }
.pane { padding: 22px 24px; }
.pane h4 { font: 400 26px var(--serif); letter-spacing: -.02em; margin: 0 0 16px; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 18px; }
.kpi { padding: 12px 14px; border-right: 1px solid var(--line); }
.kpi:last-child { border-right: 0; }
.kpi small { font: 500 10px var(--mono); letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.kpi div { font: 400 30px var(--serif); letter-spacing: -.02em; }
.rows { border: 1px solid var(--line); border-radius: 10px; }
.rows header { display: flex; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--line); font: 400 19px var(--serif); }
.rows header span { font: 400 12px var(--sans); color: var(--muted); }
.row { display: grid; grid-template-columns: 96px 1fr auto; gap: 12px; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.row:last-child { border-bottom: 0; }
.row em { font-style: normal; display: block; font-size: 12px; color: var(--muted); }
.tag { font: 600 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 3px 7px; border-radius: 4px; background: #f1efe9; color: var(--ink-2); justify-self: start; }
.tag.hot { background: #fde8e6; color: #b42318; }
.tag.warn { background: #fdf1dc; color: #92400e; }
.tag.ok { background: #e3f3e8; color: #166534; }
.mini { font: 600 12px var(--sans); background: var(--a); color: #fff; border-radius: 6px; padding: 6px 10px; }
.float { position: absolute; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 14px 16px; font-size: 13px; text-align: left; width: 270px; }
.float.l { left: -70px; top: 70px; }
.float.r { right: -80px; top: 26px; width: 290px; }
.float.b { left: -30px; bottom: 0; width: 300px; background: #17161d; color: #e9e7f0; border-color: #2a2833; font: 500 12px/1.6 var(--mono); }
.float.b .dots { display: flex; gap: 6px; margin-bottom: 10px; }
.float.b .dots i { width: 9px; height: 9px; border-radius: 50%; background: #ef4444; }
.float.b .dots i:nth-child(2) { background: #f59e0b; }
.float.b .dots i:nth-child(3) { background: #22c55e; }
.float h5 { margin: 0 0 10px; font: 600 12px var(--sans); color: var(--muted); display: flex; justify-content: space-between; }
.live { color: #166534; font-weight: 600; }
.live::before { content: "● "; }
.msg { display: grid; grid-template-columns: 26px 1fr; gap: 8px; margin-bottom: 10px; }
.av { width: 26px; height: 26px; border-radius: 6px; background: #f1efe9; display: grid; place-items: center; font: 600 10px var(--sans); color: var(--ink-2); }
.av.a { background: var(--a); color: #fff; }
.msg b { font-size: 13px; }
.msg time { font-size: 11px; color: var(--muted); margin-left: 4px; }
.msg p { margin: 2px 0 0; }
.ph { border-radius: 8px; overflow: hidden; margin-bottom: 10px; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: #ece9e1; }
.ph img, .ph svg { width: 100%; height: 100%; object-fit: cover; }
.feed div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); }
.feed em { font-style: normal; color: var(--muted); font-size: 12px; }

/* Sections */
section.s { padding: 112px 0 0; }
.head { max-width: 760px; margin-bottom: 44px; }
.head .lede { margin-top: 18px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .lede { margin-left: auto; margin-right: auto; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: 0 1px 2px rgba(28, 27, 34, .03); }
.pain .k { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.pain blockquote { margin: 0; font: italic 400 21px/1.42 var(--serif); color: var(--ink); min-height: 120px; }
.pain hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0 14px; }
.pain .w { font: 600 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--a); margin: 0 0 6px; }
.pain p { margin: 0; color: var(--ink-2); font-size: 15px; }
.pain.cta { background: var(--a-soft); border-color: transparent; display: flex; flex-direction: column; justify-content: space-between; }
.pain.cta blockquote { font-style: normal; }
.note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.step .n { font: 500 12px var(--mono); color: var(--a); letter-spacing: .1em; }
.step h3 { margin: 10px 0 8px; }
.step p, .feat p { margin: 0; color: var(--muted); font-size: 15px; }
.feat h3 { margin: 16px 0 6px; font-size: 22px; }
.feat .meta { font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--a); margin-top: 16px; }
.media { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: #ece9e1; }
.media img, .media svg { width: 100%; height: 100%; object-fit: cover; }
.price .amt { font: 400 44px var(--serif); letter-spacing: -.02em; margin: 12px 0 2px; }
.price ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.price li::before { content: "✓"; color: var(--a); font-weight: 700; margin-right: 10px; }
.price.hl { border: 2px solid var(--a); padding: 23px; }
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font: 400 22px var(--serif); letter-spacing: -.01em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--a); font-family: var(--sans); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 12px 0 0; color: var(--muted); max-width: 680px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.form { display: grid; gap: 14px; }
.form label { font-size: 13px; font-weight: 600; display: grid; gap: 6px; }
.form input, .form textarea, .form select { font: 400 15px var(--sans); border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; background: #fff; color: var(--ink); }
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--a); outline-offset: 1px; }
.final { text-align: center; padding: 140px 0 120px; }
.final h2 { max-width: 820px; margin: 0 auto; font-size: clamp(40px, 5.4vw, 68px); }
footer.f { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 13px; color: var(--muted); }
footer.f .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer.f nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer.f a { text-decoration: none; }

/* Builder: link → style → details, with a live preview (dark, high-tech) */
.bld-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -16px auto 36px; max-width: 820px; }
.bld-chips span { font: 500 12px var(--mono); letter-spacing: .04em; color: #c7c8ff; border: 1px solid #2f2e5a; background: rgba(79, 70, 229, .08); border-radius: 999px; padding: 6px 12px; }
.bld { --bg2: #0d0d13; --ln: #23222e; --tx: #ecebf4; --tx2: #a7a5b6; position: relative; max-width: 1180px; margin: 0 auto; background: var(--bg2); color: var(--tx); border-radius: 20px; border: 1px solid transparent; background-image: linear-gradient(var(--bg2), var(--bg2)), linear-gradient(135deg, #6366f1, #22d3ee 45%, #a855f7); background-origin: border-box; background-clip: padding-box, border-box; box-shadow: 0 40px 120px -40px rgba(99, 102, 241, .55); overflow: hidden; }
.bld::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 32px 32px; -webkit-mask: radial-gradient(ellipse at 30% 0%, #000, transparent 70%); mask: radial-gradient(ellipse at 30% 0%, #000, transparent 70%); }
.bld-bar { position: relative; display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--ln); }
.bld-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2d2c38; }
.bld-bar > span { margin: 0 auto; font: 500 12px var(--mono); color: var(--tx2); border: 1px solid var(--ln); border-radius: 6px; padding: 3px 12px; background: #111018; }
.bld-status { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #86efac; display: flex; align-items: center; gap: 6px; }
.bld-status span { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 10px #22c55e; animation: blink 2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.bld-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.bld-grid > * { min-width: 0; }
.bld-form { padding: 28px; display: grid; gap: 30px; border-right: 1px solid var(--ln); }
.bld-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.bld-form legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 14px; font: 400 24px var(--serif); letter-spacing: -.01em; color: var(--tx); }
.bld-form legend .n { font: 600 11px var(--mono); color: #a5b4fc; border: 1px solid #3b3a6e; border-radius: 6px; padding: 3px 7px; background: rgba(99, 102, 241, .12); }
.bld-fields { display: grid; gap: 12px; }
.bld-fields.two { grid-template-columns: 1fr 1fr; }
.bld-fields .span2 { grid-column: 1 / -1; }
.bld-fields > label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 0; font-size: 13px; font-weight: 600; color: var(--tx); }
.bld-fields > label > input, .bld-fields > label > textarea { flex: 1 0 100%; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.seg label { display: flex; }
.seg label span { flex: 1; }
.bld-fields .opt { font: 400 11px var(--mono); color: var(--tx2); margin-left: 6px; }
.bld-fields input:not([type=radio]):not([type=checkbox]):not([type=color]), .bld-fields textarea { font: 400 15px var(--sans); color: var(--tx); background: #12111a; border: 1px solid var(--ln); border-radius: 10px; padding: 11px 12px; transition: border-color .2s, box-shadow .2s; }
.bld-fields textarea { resize: vertical; min-height: 84px; }
.bld-fields input::placeholder, .bld-fields textarea::placeholder { color: #6f6d80; }
.bld-fields input:focus, .bld-fields textarea:focus { outline: none; border-color: #818cf8; box-shadow: 0 0 0 3px rgba(129, 140, 248, .22); }
.bld-file input { padding: 9px !important; }
.bld-file input::file-selector-button { font: 600 12px var(--sans); color: #fff; background: #4f46e5; border: 0; border-radius: 6px; padding: 7px 12px; margin-right: 12px; cursor: pointer; }
.stys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sty { position: relative; cursor: pointer; display: grid; gap: 8px; }
.sty input, .seg input, .tgl input, .sw input { position: absolute; opacity: 0; pointer-events: none; }
.sty-art { display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; position: relative; border: 1px solid var(--ln); transition: transform .25s ease, box-shadow .25s ease; }
.sty:hover .sty-art { transform: translateY(-3px); }
.sty input:checked + .sty-art { box-shadow: 0 0 0 2px #818cf8, 0 12px 30px -10px rgba(129, 140, 248, .6); }
.sty input:focus-visible + .sty-art { outline: 2px solid #22d3ee; outline-offset: 3px; }
.sty-name { font-weight: 600; font-size: 15px; display: grid; }
.sty-name em { font-style: normal; font-weight: 400; font-size: 12px; color: var(--tx2); }
/* Original style thumbnails */
.art-minimal { background: #f6f3ec; }
.art-minimal .a1 { position: absolute; left: 9%; top: 30%; font: italic 400 26px/1 var(--serif); color: #1c1b22; }
.art-minimal .a1 b { display: block; font-weight: 400; color: #b08d3c; }
.art-minimal .a2 { position: absolute; right: 7%; top: 12%; width: 34%; height: 76%; background: linear-gradient(160deg, #d7d2c6, #8f8a80); border-radius: 2px; }
.art-minimal .a3 { position: absolute; left: 9%; top: 18%; width: 18%; height: 1px; background: #b8b3a7; }
.art-bold { background: linear-gradient(135deg, #3b82f6, #a855f7 60%, #ec4899); }
.art-bold .a1 { position: absolute; inset: 14% 8%; background: #0b0b12; border-radius: 8px; }
.art-bold .a2 { position: absolute; left: 15%; top: 32%; font: 800 20px/1.05 var(--sans); color: #fff; letter-spacing: -.03em; }
.art-bold .a3 { position: absolute; left: 15%; bottom: 26%; width: 22%; height: 9%; border-radius: 99px; background: linear-gradient(90deg, #6366f1, #a855f7); }
.art-bold .a4 { position: absolute; right: 13%; top: 28%; width: 34%; height: 44%; border-radius: 6px; border: 1px solid #3f3f5a; background: radial-gradient(circle at 70% 30%, rgba(236, 72, 153, .6), transparent 60%), #15152a; }
.art-commerce { background: #ffffff; }
.art-commerce .a1 { position: absolute; left: 7%; top: 10%; width: 46%; height: 80%; background: #f1f0ed; border-radius: 4px; }
.art-commerce .a1::after { content: ""; position: absolute; left: 28%; top: 24%; width: 44%; height: 52%; border-radius: 50%; border: 7px solid #2b2b2b; border-bottom-color: transparent; }
.art-commerce .a2 { position: absolute; left: 60%; top: 30%; width: 30%; height: 7%; background: #1c1b22; border-radius: 2px; }
.art-commerce .a3 { position: absolute; left: 60%; top: 44%; width: 18%; height: 5%; background: #c9c7c2; border-radius: 2px; }
.art-commerce .a4 { position: absolute; left: 60%; bottom: 20%; width: 30%; height: 11%; background: #1c1b22; border-radius: 3px; }
.art-futuristic { background: radial-gradient(circle at 70% 20%, rgba(168, 85, 247, .55), transparent 55%), radial-gradient(circle at 20% 90%, rgba(34, 211, 238, .35), transparent 50%), #0a0618; }
.art-futuristic .a1 { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 14px 14px; }
.art-futuristic .a2 { position: absolute; left: 0; right: 0; top: 30%; text-align: center; font: 700 18px/1.05 var(--sans); color: #fff; }
.art-futuristic .a2 b { background: linear-gradient(90deg, #a78bfa, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.art-futuristic .a3 { position: absolute; left: 38%; bottom: 20%; width: 24%; height: 10%; border-radius: 99px; background: #7c3aed; box-shadow: 0 0 18px #7c3aed; }
/* References uploader */
.refs { display: grid; gap: 10px; }
.refkind { flex-wrap: wrap; }
.refkind label { flex: 1 1 auto; }
.refkind span { font-size: 12px; padding: 7px 10px; white-space: nowrap; }
.drop { position: relative; display: block; cursor: pointer; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop-in { display: grid; place-items: center; gap: 4px; text-align: center; padding: 22px 14px; border: 1.5px dashed #3b3a5c; border-radius: 12px; background: rgba(99, 102, 241, .05); transition: border-color .2s, background .2s; }
.drop-in b { font-size: 14px; }
.drop-in em { font: 400 11px var(--mono); font-style: normal; color: #a5b4fc; }
.drop:hover .drop-in, .drop.over .drop-in { border-color: #818cf8; background: rgba(99, 102, 241, .14); }
.drop:focus-within .drop-in { outline: 2px solid #22d3ee; outline-offset: 2px; }
.ref-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ref-list:empty { display: none; }
.ref-list li { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; border: 1px solid var(--ln); border-radius: 10px; padding: 6px 8px; background: #12111a; animation: popin .3s ease both; }
.ref-th { width: 40px; height: 40px; border-radius: 6px; background: #1d1c28 center / cover no-repeat; display: grid; place-items: center; font: 600 9px var(--mono); color: var(--tx2); }
.ref-meta { min-width: 0; display: grid; }
.ref-meta b { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ref-meta em { font-style: normal; font-size: 11px; color: #a5b4fc; }
.ref-x { width: 28px; height: 28px; border-radius: 6px; border: 1px solid var(--ln); background: transparent; color: var(--tx2); font-size: 16px; cursor: pointer; }
.ref-x:hover { color: #fff; border-color: #6366f1; }
.refs-note { margin: 0; font-size: 11px; color: var(--tx2); }

/* Controls */
.ctl { display: grid; gap: 8px; }
.ctl-label { font-size: 13px; font-weight: 600; }
.sws { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sw { position: relative; cursor: pointer; }
.sw > span:first-of-type { display: block; width: 30px; height: 30px; border-radius: 50%; box-shadow: 0 0 0 2px var(--bg2), 0 0 0 3px #3a3946; transition: transform .15s; }
.sw:hover > span:first-of-type { transform: scale(1.1); }
.sw input:checked + span { box-shadow: 0 0 0 2px var(--bg2), 0 0 0 4px #fff; }
.sw input:focus-visible + span { box-shadow: 0 0 0 2px var(--bg2), 0 0 0 4px #22d3ee; }
.sw-custom { position: relative; width: 30px; height: 30px; cursor: pointer; }
.sw-custom input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.sw-custom span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: conic-gradient(#ef4444, #f59e0b, #22c55e, #22d3ee, #6366f1, #ec4899, #ef4444); color: #fff; font-weight: 700; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); box-shadow: 0 0 0 2px var(--bg2), 0 0 0 3px #3a3946; }
.sw-custom.on span { box-shadow: 0 0 0 2px var(--bg2), 0 0 0 4px #fff; }
.sw-custom:focus-within span { box-shadow: 0 0 0 2px var(--bg2), 0 0 0 4px #22d3ee; }
.seg { display: flex; border: 1px solid var(--ln); border-radius: 10px; padding: 3px; background: #12111a; }
.seg label { flex: 1; position: relative; cursor: pointer; }
.seg span { display: block; text-align: center; font-size: 13px; padding: 8px 6px; border-radius: 7px; color: var(--tx2); transition: background .2s, color .2s; }
.seg input:checked + span { background: #4f46e5; color: #fff; }
.seg input:focus-visible + span, .tgl input:focus-visible + span { outline: 2px solid #22d3ee; outline-offset: 1px; }
.tgl { display: flex; flex-wrap: wrap; gap: 8px; }
.tgl label { position: relative; cursor: pointer; }
.tgl span { display: block; font-size: 13px; border: 1px solid var(--ln); border-radius: 999px; padding: 7px 13px; color: var(--tx2); background: #12111a; transition: all .2s; }
.tgl span::before { content: "+ "; color: #6f6d80; }
.tgl input:checked + span { color: #fff; border-color: #6366f1; background: rgba(99, 102, 241, .2); }
.tgl input:checked + span::before { content: "✓ "; color: #a5b4fc; }
/* Preview */
.bld-preview { padding: 28px; display: flex; flex-direction: column; gap: 16px; background: linear-gradient(180deg, rgba(99, 102, 241, .06), transparent 40%); position: sticky; top: 72px; align-self: start; }
.pv { --pa: #6366f1; --pbg: #faf9f5; --ptx: #1c1b22; --ptx2: #5d5b66; --pln: #e4e1d9; --pfont: var(--serif); --pr: 10px; background: var(--pbg); color: var(--ptx); border: 1px solid var(--pln); border-radius: calc(var(--pr) + 4px); overflow: hidden; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .7); transition: background .35s, color .35s, border-radius .35s; }
.pv.pulse { animation: pvpulse .5s ease; }
@keyframes pvpulse { 0% { box-shadow: 0 0 0 0 rgba(129, 140, 248, .55), 0 24px 60px -24px rgba(0, 0, 0, .7); } 100% { box-shadow: 0 0 0 14px rgba(129, 140, 248, 0), 0 24px 60px -24px rgba(0, 0, 0, .7); } }
.pv[data-style=bold] { --pbg: #0b0b14; --ptx: #fff; --ptx2: #a3a3c2; --pln: #25253a; background-image: radial-gradient(circle at 85% 0%, color-mix(in srgb, var(--pa) 45%, transparent), transparent 55%); }
.pv[data-style=commerce] { --pbg: #ffffff; --pln: #ececec; }
.pv[data-style=futuristic] { --pbg: #090615; --ptx: #fff; --ptx2: #a59fc2; --pln: #241d3d; background-image: radial-gradient(circle at 75% 10%, color-mix(in srgb, var(--pa) 50%, transparent), transparent 55%), linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: auto, 18px 18px, 18px 18px; }
.pv[data-font=sans] { --pfont: var(--sans); }
.pv[data-font=mono] { --pfont: var(--mono); }
.pv[data-radius=sharp] { --pr: 0px; }
.pv[data-radius=round] { --pr: 22px; }
.pv-nav { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--pln); font-size: 13px; }
.pv-mark { width: 24px; height: 24px; border-radius: min(var(--pr), 7px); background: var(--ptx) center / cover no-repeat; color: var(--pbg); display: grid; place-items: center; font: 600 12px var(--serif); flex-shrink: 0; }
.pv-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 38%; }
.pv-links { display: flex; gap: 8px; margin-right: auto; margin-left: 8px; }
.pv-links i { width: 26px; height: 5px; border-radius: 3px; background: var(--pln); }
.pv-btn { background: var(--pa); color: #fff; font: 600 11px var(--sans); border-radius: min(var(--pr), 8px); padding: 6px 10px; white-space: nowrap; }
.pv-hero { text-align: center; padding: 34px 20px 24px; }
.pv[data-style=commerce] .pv-hero { text-align: left; }
.pv-eye { font: 500 9px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ptx2); margin: 0 0 10px; }
.pv-h { font: 400 30px/1.08 var(--pfont); letter-spacing: -.02em; margin: 0 0 10px; overflow-wrap: anywhere; }
.pv[data-style=bold] .pv-h, .pv[data-style=futuristic] .pv-h { font-weight: 700; }
.pv[data-style=minimal] .pv-h { font-style: italic; }
.pv-sub { font-size: 13px; color: var(--ptx2); margin: 0 auto 16px; max-width: 380px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pv[data-style=commerce] .pv-sub { margin-left: 0; }
.pv-big { display: inline-block; font-size: 12px; padding: 9px 16px; }
.pv[data-style=futuristic] .pv-big { box-shadow: 0 0 20px var(--pa); }
.pv-blocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 0 14px 14px; }
.pv-blocks span { border: 1px solid var(--pln); border-radius: min(var(--pr), 10px); padding: 10px; font: 500 10px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ptx2); animation: popin .35s ease both; }
.pv-blocks span i { display: block; height: 26px; border-radius: min(var(--pr), 6px); margin-bottom: 8px; background: color-mix(in srgb, var(--pa) 18%, transparent); }
@keyframes popin { from { opacity: 0; transform: translateY(6px) scale(.97); } }
.bld-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.bld-summary div { border: 1px solid var(--ln); border-radius: 10px; padding: 10px 12px; background: #111018; min-width: 0; }
.bld-summary dt { font: 500 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--tx2); }
.bld-summary dd { margin: 4px 0 0; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; border: 1px solid var(--ln); border-radius: 12px; padding: 14px; background: #111018; }
.me-av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 600 15px var(--serif); color: #fff; background: linear-gradient(135deg, #6366f1, #22d3ee); }
.me b { font-size: 14px; }
.me-role { font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--tx2); margin-left: 8px; }
.me-note { margin: 6px 0 0; font: italic 400 16px/1.45 var(--serif); color: var(--tx); }
.bld-go { width: 100%; min-height: 50px; font-size: 15px; background: linear-gradient(90deg, #4f46e5, #7c3aed) !important; box-shadow: 0 10px 30px -10px rgba(124, 58, 237, .8); }
.bld-note { margin: -6px 0 0; text-align: center; font-size: 12px; color: var(--tx2); }
@media (prefers-reduced-motion: reduce) { .pv.pulse, .pv-blocks span, .bld-status span { animation: none; } }

/* Shop (Shopify-style product page) */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; padding: 48px 0 0; align-items: start; }
.gallery { display: grid; grid-template-columns: 72px 1fr; gap: 12px; }
.thumbs { display: grid; gap: 10px; align-content: start; }
.thumbs div { aspect-ratio: 1; border-radius: 8px; border: 1px solid var(--line); background: var(--card); overflow: hidden; }
.thumbs div.on { border: 2px solid var(--a); }
.hero-img { aspect-ratio: 1; border-radius: 14px; border: 1px solid var(--line); background: var(--card); overflow: hidden; }
.hero-img svg, .thumbs svg { width: 100%; height: 100%; }
.buy h1 { font-size: clamp(38px, 4.6vw, 58px); }
.buy .pr { font: 400 30px var(--serif); margin: 16px 0 6px; }
.opt { margin-top: 22px; }
.opt > b { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 10px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { border: 1px solid var(--line); background: var(--card); border-radius: 8px; padding: 10px 16px; font-size: 14px; }
.pill.on { border: 2px solid var(--a); padding: 9px 15px; font-weight: 600; }
.plan { display: grid; gap: 10px; }
.plan div { border: 1px solid var(--line); background: var(--card); border-radius: 10px; padding: 14px 16px; display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.plan div.on { border: 2px solid var(--a); padding: 13px 15px; }
.plan em { font-style: normal; color: var(--muted); font-size: 13px; display: block; }
.buy .btn { width: 100%; margin-top: 18px; min-height: 52px; font-size: 16px; }
.assure { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; font-size: 12px; color: var(--muted); text-align: center; }
.assure div { border: 1px solid var(--line); border-radius: 8px; padding: 10px 6px; background: var(--card); }
.drawer { position: fixed; top: 0; right: 0; width: 380px; height: 100vh; background: var(--card); border-left: 1px solid var(--line); box-shadow: -20px 0 60px rgba(28, 27, 34, .12); z-index: 40; padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.drawer header { display: flex; justify-content: space-between; align-items: center; font: 400 26px var(--serif); }
.drawer .line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 14px; font-size: 14px; }
.drawer .line div:first-child { aspect-ratio: 1; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.drawer .prog { font-size: 13px; color: var(--ink-2); }
.drawer .prog i { display: block; height: 6px; border-radius: 3px; background: var(--line); margin-top: 8px; overflow: hidden; }
.drawer .prog i::after { content: ""; display: block; height: 100%; width: 70%; background: var(--a); }
.drawer .tot { margin-top: auto; display: flex; justify-content: space-between; font-weight: 600; }
.withdrawer { padding-right: 380px; }

/* Studio entry (homepage) */
.entry { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.entry-form { display: grid; gap: 14px; background: #f4f2ec; color: #1c1b22; border: 1px solid #2c2b33; border-radius: 16px; padding: 28px; }
.entry-form label { display: grid; gap: 7px; font-size: 13px; font-weight: 600; }
.entry-form input, .entry-form textarea { font: 400 16px var(--sans); color: #1c1b22; background: #fff; border: 1px solid #d6d2c7; border-radius: 10px; padding: 13px 14px; }
.entry-form textarea { resize: vertical; min-height: 110px; }
.entry-form input:focus, .entry-form textarea:focus { outline: none; border-color: #4338ca; box-shadow: 0 0 0 3px #e6e7fb; }
.entry-form .btn { min-height: 52px; font-size: 16px; }
.entry-form .small { color: #5d5b66; }
.entry-form a { color: #4338ca; }
.entry-me { margin-top: 26px; max-width: 520px; --ln: #2a2933; --tx2: #a7a5b6; --tx: #ecebf4; }
@media (max-width: 900px) { .entry { grid-template-columns: minmax(0, 1fr); } }

/* Quality tiers */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.tier { display: grid; grid-template-rows: auto 1fr; background: #f4f2ec; color: #1c1b22; border: 1px solid #2c2b33; border-radius: 16px; overflow: hidden; --ink: #1c1b22; --muted: #5d5b66; --line: #dedad0; --a: #4338ca; }
.tier.hl { box-shadow: 0 0 0 2px #6366f1, 0 30px 70px -30px rgba(99, 102, 241, .7); }
.tier-3 { background: #0c0b14; color: #ecebf4; border-color: transparent; background-image: linear-gradient(#0c0b14, #0c0b14), linear-gradient(135deg, #6366f1, #22d3ee 50%, #a855f7); background-origin: border-box; background-clip: padding-box, border-box; border: 1px solid transparent; --ink: #ecebf4; --muted: #a7a5b6; --line: #26252f; --a: #a5b4fc; }
.tier-body { padding: 22px 24px 24px; display: flex; flex-direction: column; }
.tier-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tier-pop { font: 600 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: #4338ca; border-radius: 999px; padding: 4px 9px; }
.tier h3 { margin: 10px 0 6px; color: var(--ink); font-size: 28px; }
.tier-desc { margin: 0; color: var(--muted); font-size: 15px; min-height: 48px; }
.tier .amt { font: 400 40px var(--serif); letter-spacing: -.02em; margin: 16px 0 0; color: var(--ink); }
.tier .small { color: var(--muted); margin: 2px 0 0; }
.meter { display: flex; gap: 4px; margin: 14px 0 0; }
.meter i { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.meter i.on { background: linear-gradient(90deg, #6366f1, #22d3ee); }
.tier ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 8px; font-size: 14px; color: var(--ink); }
.tier li::before { content: "✓"; color: var(--a); font-weight: 700; margin-right: 10px; }
.tier .btn { margin-top: auto; }
.tier .btn-o { background: #fff; color: #1c1b22; border-color: #d6d2c7; }
.tier-3 .btn-o { background: transparent; color: #fff; border-color: #3b3a5c; }
.tier-art { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); }
.tier-art > * { position: absolute; }
/* Tier 1: plain stock-theme layout */
.art-t1 { background: #ffffff; }
.art-t1 .tb { left: 0; right: 0; top: 0; height: 12%; background: #f2f2f2; border-bottom: 1px solid #e5e5e5; padding: 0; }
.art-t1 .tl { left: 5%; top: 3.5%; width: 14%; height: 5%; background: #bdbdbd; border-radius: 2px; }
.art-t1 .th { left: 5%; right: 5%; top: 17%; height: 38%; background: #d9d9d9; border-radius: 3px; }
.art-t1 .tt { left: 9%; top: 27%; width: 34%; height: 6%; background: #fff; border-radius: 2px; }
.art-t1 .tbn { left: 9%; top: 39%; width: 14%; height: 7%; background: #555; border-radius: 2px; }
.art-t1 .p { top: 60%; width: 27%; height: 34%; background: #eeeeee; border-radius: 3px; }
.art-t1 .p1 { left: 5%; } .art-t1 .p2 { left: 36.5%; } .art-t1 .p3 { left: 68%; }
/* Tier 2: custom editorial */
.art-t2 { background: #f3efe6; }
.art-t2 .ln { left: 7%; top: 18%; width: 12%; height: 1px; background: #b8b09c; }
.art-t2 .t { left: 7%; top: 26%; font: italic 400 26px/1 var(--serif); color: #1c1b22; }
.art-t2 .t b { display: block; font-style: normal; color: #9a6b2f; }
.art-t2 .img { right: 6%; top: 10%; width: 38%; height: 80%; border-radius: 120px 120px 6px 6px; background: linear-gradient(170deg, #cdbfa6, #7d6c55); }
.art-t2 .cta { left: 7%; bottom: 16%; width: 20%; height: 8%; border: 1px solid #1c1b22; border-radius: 99px; }
.art-t2 .dot { left: 31%; bottom: 18.5%; width: 4px; height: 4px; border-radius: 50%; background: #9a6b2f; }
/* Tier 3: immersive, animated */
.art-t3 { background: radial-gradient(circle at 70% 20%, rgba(168, 85, 247, .55), transparent 55%), radial-gradient(circle at 15% 90%, rgba(34, 211, 238, .35), transparent 50%), #07060f; }
.art-t3 .grid { inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 16px 16px; animation: gridmove 6s linear infinite; }
@keyframes gridmove { to { background-position: 0 16px, 16px 0; } }
.art-t3 .orb { left: 52%; top: 18%; width: 34%; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 0deg, #6366f1, #22d3ee, #a855f7, #6366f1); filter: blur(1px); animation: spin 8s linear infinite; box-shadow: 0 0 40px rgba(99, 102, 241, .7); }
.art-t3 .orb::after { content: ""; position: absolute; inset: 14%; border-radius: 50%; background: #07060f; }
@keyframes spin { to { transform: rotate(360deg); } }
.art-t3 .t { left: 7%; top: 30%; font: 700 20px/1.05 var(--sans); color: #fff; }
.art-t3 .t b { background: linear-gradient(90deg, #a78bfa, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.art-t3 .btn3 { left: 7%; bottom: 18%; width: 22%; height: 9%; border-radius: 99px; background: #7c3aed; box-shadow: 0 0 18px #7c3aed; animation: glow 2.4s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 32px #22d3ee; } }
.art-t3 .chip { right: 8%; bottom: 14%; font: 500 9px var(--mono); color: #c7d2fe; border: 1px solid #3b3a6e; background: rgba(15, 14, 30, .8); border-radius: 6px; padding: 4px 7px; }
@media (prefers-reduced-motion: reduce) { .art-t3 .grid, .art-t3 .orb, .art-t3 .btn3 { animation: none; } }
@media (max-width: 1000px) { .tiers { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; } }

/* Template slider */
.sl-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.sl-head .head { margin-bottom: 28px; }
.sl-nav { display: flex; gap: 8px; margin-bottom: 32px; flex-shrink: 0; }
.sl-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 18px; cursor: pointer; transition: border-color .2s; }
.sl-btn:hover { border-color: var(--a); }
.sl-btn:focus-visible, .sl-track:focus-visible { outline: 2px solid var(--a); outline-offset: 3px; }
.sl-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 31%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 2px; padding: 4px 2px 18px; scrollbar-width: thin; scrollbar-color: #3a3946 transparent; }
.sl-card { scroll-snap-align: start; text-decoration: none; display: grid; gap: 12px; }
.sl-art { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); transition: transform .25s ease; }
a.sl-card:hover .sl-art { transform: translateY(-4px); }
.sl-art > * { position: absolute; }
.sl-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sl-meta div { display: grid; }
.sl-meta b { font: 400 20px var(--serif); color: var(--ink); }
.sl-meta span { font-size: 13px; color: var(--muted); }
.sl-meta em { font: 500 10px var(--mono); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 9px; white-space: nowrap; }
.sl-meta em.live { color: #86efac; border-color: #1f4d33; }
@media (max-width: 620px) { .sl-track { grid-auto-columns: 82%; } .sl-nav { display: none; } }

/* Agency-only */
.work { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.work a { text-decoration: none; }
.work .shot { aspect-ratio: 16 / 11; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #ece9e1; }
.work .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.work h3 { font-size: 22px; margin: 14px 0 4px; }
.work p { margin: 0; color: var(--muted); font-size: 14px; }
.svc .meta { margin-top: 18px; }

/* Dark theme (body.dark): black ground, light ink, brighter accent for text. */
body.dark {
  --bg: #0a0a0c; --card: #141418; --ink: #f4f3ef; --ink-2: #cfcdd6; --muted: #a3a1ad;
  --line: #27262d; --dot: #1c1b22; --a: #a5a6ff; --a-btn: #4f46e5; --a-soft: #17163a;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 18px 40px -12px rgba(0, 0, 0, .6);
}
body.dark .nav { background: rgba(10, 10, 12, .82); }
body.dark .mark { background: #f4f3ef; color: #0a0a0c; }
body.dark .hero::before { background: repeating-conic-gradient(from 0deg at 50% 62%, rgba(255, 255, 255, .06) 0deg .35deg, transparent .35deg 7.5deg); }
body.dark .bar { background: #101014; }
body.dark .bar i { background: #34333b; }
body.dark .tag { background: #222129; color: var(--ink-2); }
body.dark .tag.hot { background: #3b1513; color: #fca5a5; }
body.dark .tag.warn { background: #3a2a0c; color: #fcd34d; }
body.dark .tag.ok { background: #0f2c1b; color: #86efac; }
body.dark .live { color: #86efac; }
body.dark .mini, body.dark .av.a { background: var(--a-btn); }
body.dark .av { background: #222129; color: var(--ink-2); }
body.dark .ph, body.dark .media, body.dark .work .shot { background: #18171c; }
body.dark .form input, body.dark .form textarea, body.dark .form select { background: #0f0f12; color: var(--ink); }
body.dark .form input::placeholder, body.dark .form textarea::placeholder { color: #75737e; }
body.dark .price.hl { border-color: var(--a-btn); }
body.dark .heroshot { border-color: #222129; box-shadow: 0 40px 120px -40px rgba(79, 70, 229, .45); }
body.dark .float.b { background: #050507; }
/* Light cards on the dark page: re-scope the tokens so everything inside reads dark-on-light. */
body.dark .card {
  --card: #f4f2ec; --ink: #1c1b22; --ink-2: #3f3e48; --muted: #5d5b66; --line: #dedad0;
  --a: #4338ca; --a-btn: #4338ca; --a-soft: #e6e7fb;
  background: var(--card); color: var(--ink); border-color: #2c2b33;
}
body.dark .card .tag { background: #e9e6de; color: var(--ink-2); }
body.dark .card .media { background: #e9e6de; }
body.dark .form input, body.dark .form textarea, body.dark .form select { background: #fff; color: var(--ink); }
body.dark .form input::placeholder, body.dark .form textarea::placeholder { color: #8a8794; }
body.dark .card.price.hl { border-color: #6366f1; }
body.dark .pain.cta { background: var(--a-soft); }
body.dark .card .btn-o { background: #fff; border-color: #d6d2c7; color: var(--ink); }

@media (max-width: 1100px) {
  .float.l, .float.r { position: static; width: auto; margin-top: 14px; }
  .float.b { display: none; }
  .stage { display: grid; gap: 0; }
}
@media (max-width: 900px) {
  .links { display: none; }
  .split, .pdp { grid-template-columns: 1fr; }
  .grid3, .grid4, .work { grid-template-columns: 1fr 1fr; }
  .themes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bld-grid { grid-template-columns: minmax(0, 1fr); }
  .bld-form { border-right: 0; border-bottom: 1px solid var(--ln); }
  .bld-preview { position: static; }
  .app { grid-template-columns: 1fr; }
  .side { display: none; }
  .drawer { position: static; width: auto; height: auto; box-shadow: none; border: 1px solid var(--line); border-radius: 14px; margin: 32px 24px 0; }
  .withdrawer { padding-right: 0; }
}
@media (max-width: 620px) {
  .grid3, .grid4, .grid2, .work, .assure { grid-template-columns: 1fr; }
  .themes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bld-form, .bld-preview { padding: 20px 16px; }
  .bld-fields.two { grid-template-columns: 1fr; }
  .stys { gap: 10px; }
  .bld-bar > span { display: none; }
  .bld-status { margin-left: auto; }
  .navcta .btn-o, .brand small { display: none; }
  .nav .wrap { gap: 12px; }
  .navcta .btn { padding: 0 14px; }
  .hero { padding-top: 64px; }
  section.s { padding-top: 80px; }
  .kpis { grid-template-columns: 1fr; }
  .kpi { border-right: 0; border-bottom: 1px solid var(--line); }
  .row { grid-template-columns: 1fr; gap: 6px; }
  .gallery { grid-template-columns: 1fr; }
  .thumbs { grid-auto-flow: column; grid-template-columns: repeat(4, 64px); order: 2; }
}

/* ===== Photo-led hero layouts (xhero) ===== */
.xh { position: relative; padding: 72px 0 64px; text-align: left; }
.xh .xh-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.xh h1 { font-size: clamp(42px, 6vw, 80px); line-height: 1.02; }
.xh .lede { margin: 22px 0 0; }
.xh .ctas { justify-content: flex-start; margin-top: 30px; }
.xh .small { margin-top: 14px; }
.xh-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 32px; padding: 22px 0 0; margin: 30px 0 0; border-top: 1px solid var(--line); }
.xh-facts b { display: block; font: 500 24px/1.2 var(--serif); color: var(--ink); }
.xh-facts span { font-size: 13px; color: var(--muted); }
.xh-media { position: relative; }
.xh-media figure { margin: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 40px 80px -40px rgba(20, 20, 20, .45); }
.xh-media img, .xh-bg img, .xh-collage img { width: 100%; height: 100%; object-fit: cover; }
.xh-card { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .3); min-width: 270px; }
.xh-media .xh-card { position: absolute; left: -44px; bottom: 36px; }
.xh-card-t { font: 600 14px var(--sans); margin: 0 0 8px; }
.xh-row { display: flex; justify-content: space-between; gap: 18px; font-size: 13px; padding: 9px 0; border-top: 1px solid var(--line); }
.xh-row span { color: var(--muted); }
.xh-card .btn { width: 100%; margin-top: 12px; }

.xh-split { background: linear-gradient(180deg, var(--a-soft), transparent 85%); }

.xh-bleed { min-height: 660px; display: flex; align-items: center; padding: 110px 0; color: #fff; overflow: hidden; }
.xh-bg { position: absolute; inset: 0; }
.xh-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 16, 9, .86) 0%, rgba(12, 16, 9, .55) 55%, rgba(12, 16, 9, .25)); }
.xh-bleed .wrap { position: relative; width: 100%; }
.xh-bleed h1, .xh-bleed .eyebrow, .xh-bleed .small, .xh-bleed .xh-facts b { color: #fff; }
.xh-bleed .lede, .xh-bleed .xh-facts span { color: rgba(255, 255, 255, .8); }
.xh-bleed .xh-facts { border-color: rgba(255, 255, 255, .25); }
.xh-bleed .acc { color: #d9f99d; }
.xh-bleed .btn-o { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.xh-bleed .xh-card { justify-self: end; width: 100%; max-width: 350px; }

.xh-editorial { text-align: center; padding-top: 56px; }
.xh-editorial .xh-text { max-width: 920px; margin: 0 auto; }
.xh-editorial h1 { font-size: clamp(50px, 8.4vw, 116px); font-style: italic; line-height: .98; }
.xh-editorial .lede { margin: 24px auto 0; }
.xh-editorial .ctas { justify-content: center; }
.xh-collage { display: grid; grid-template-columns: 1fr 1.45fr 1fr; gap: 18px; margin-top: 40px; align-items: end; }
.xh-collage figure { margin: 0; overflow: hidden; border-radius: 6px; }
.xh-collage .c1 { aspect-ratio: 3 / 4; }
.xh-collage .c2 { aspect-ratio: 5 / 4; }
.xh-collage .c3 { aspect-ratio: 3 / 4; transform: translateY(40px); }

.xh-arch .xh-media figure { border-radius: 999px 999px 28px 28px; aspect-ratio: 3 / 4; }
.xh-arch .xh-media .xh-card { left: auto; right: -30px; bottom: 56px; }

@media (max-width: 860px) {
  .xh { padding: 48px 0 40px; }
  .xh .xh-grid { grid-template-columns: 1fr; gap: 36px; }
  .xh-media .xh-card { position: relative; left: auto; right: auto; bottom: auto; margin: -64px 16px 0; }
  .xh-bleed { min-height: 0; padding: 72px 0; }
  .xh-bleed .xh-card { justify-self: stretch; max-width: none; }
  .xh-collage { grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .xh-collage .c2 { grid-column: span 2; order: -1; }
  .xh-collage .c3 { transform: none; }
}

/* ===== Per-demo identities ===== */
/* Clinic: soft, rounded, one clean sans for everything. */
body.lay-clinic { --serif: "Manrope", system-ui, sans-serif; --sans: "Manrope", system-ui, sans-serif; --r: 20px; --bg: #f6fafb; background-image: none; }
body.lay-clinic h1, body.lay-clinic h2 { font-weight: 700; letter-spacing: -.035em; }
body.lay-clinic h3 { font-weight: 700; }
body.lay-clinic .btn { border-radius: 999px; }
body.lay-clinic .acc { text-decoration: none; }
body.lay-clinic .nav { background: rgba(246, 250, 251, .86); }

/* Earth: bold condensed caps, square buttons, warm paper. */
body.lay-earth { --serif: "Archivo", system-ui, sans-serif; --r: 4px; --bg: #f3f1e9; background-image: none; }
body.lay-earth h1, body.lay-earth h2 { font-weight: 800; text-transform: uppercase; letter-spacing: -.025em; line-height: .94; font-stretch: 85%; }
body.lay-earth h3 { font-weight: 700; }
body.lay-earth .btn { border-radius: 2px; text-transform: uppercase; letter-spacing: .07em; font-size: 12.5px; }
body.lay-earth .acc { text-decoration: none; }
body.lay-earth .nav { background: rgba(243, 241, 233, .9); }

/* Supper: dark, candle-lit, italic display serif. */
body.lay-supper { --serif: "Playfair Display", Georgia, serif; --bg: #15120f; --card: #1e1a16; --ink: #f4ede3; --ink-2: #d8cfc2; --muted: #a59b8d; --line: #2f2923; --dot: transparent; background-image: none; --r: 6px; }
body.lay-supper .nav { background: rgba(21, 18, 15, .86); }
body.lay-supper .mark { background: var(--a); }
body.lay-supper .notice { background: #221d18; color: var(--muted); }
body.lay-supper .btn-o { background: transparent; color: var(--ink); border-color: #4a4239; }
body.lay-supper .media { background: #221d18; border-color: var(--line); }
body.lay-supper .acc { text-decoration: none; color: #f3b65a; }
body.lay-supper details, body.lay-supper .faq summary { color: var(--ink); }
body.lay-supper .final { background: #1e1a16; }

/* Calm: airy, light serif, pill buttons. */
body.lay-calm { --serif: "Cormorant Garamond", Georgia, serif; --bg: #f7f4ef; background-image: none; --r: 22px; }
body.lay-calm h1, body.lay-calm h2 { font-weight: 300; letter-spacing: -.015em; }
body.lay-calm h1 { font-size: clamp(50px, 7.4vw, 104px); }
body.lay-calm h3 { font-weight: 500; font-size: 28px; }
body.lay-calm .btn { border-radius: 999px; }
body.lay-calm .acc { text-decoration: none; font-style: italic; }
body.lay-calm .nav { background: rgba(247, 244, 239, .86); }
