/* Danzlian: light & premium. (The D&D page uses dungeon.css instead.) */
:root {
  --bg: #f3f0f9; --bg2: #e8e2f3; --night: #15101f; --night2: #1d1730; --card: #fff; --ink: #15121f; --ink2: #3b3548; --muted: #6a6477; --line: #e7e2ee;
  --violet: #6a35cc; --violet2: #8452e6; --vsoft: #f0eafc; --teal: #12b39b; --dark: #0f0d15; --torch: #f2a541;
  --radius: 18px; --wrap: 1180px;
  --body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Kaushan Script", "Brush Script MT", cursive;
  --shadow: 0 1px 2px rgba(20, 17, 30, .05), 0 14px 34px -16px rgba(50, 30, 100, .22);
  --shadow-lg: 0 2px 4px rgba(20, 17, 30, .05), 0 36px 70px -28px rgba(50, 30, 100, .38);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: var(--violet); }
h1, h2, h3 { font-family: var(--body); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; margin: 0 0 .45em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
p { margin: 0 0 1em; }
.script { font-family: var(--script); font-weight: 400; letter-spacing: 0; color: var(--violet); }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 .78rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--violet); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.lede { color: var(--muted); font-size: 1.15rem; max-width: 58ch; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font: 600 .98rem/1 var(--body); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .2s var(--ease), box-shadow .25s, background-color .2s, border-color .2s; }
.btn:active { transform: scale(.97); }
.btn-primary { background: linear-gradient(135deg, var(--violet2), var(--violet)); color: #fff; box-shadow: 0 10px 24px -10px rgba(106, 53, 204, .8), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(106, 53, 204, .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: 0 1px 2px rgba(20, 17, 30, .05); }
.btn-ghost:hover { border-color: var(--violet); color: var(--violet); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2338; transform: translateY(-2px); }
.btn-blue { background: linear-gradient(180deg, #3b8df5, #1f5fd1); color: #fff; box-shadow: 0 10px 24px -10px rgba(31, 95, 209, .9); }
.btn-blue:hover { transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); }
.btn-lg { padding: 18px 36px; font-size: 1.08rem; }
.btn-sm { padding: 10px 18px; font-size: .9rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 248, 245, .82); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 10px 30px -20px rgba(40, 25, 80, .3); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-logo { width: auto; height: 36px; object-fit: contain; transition: transform .4s var(--ease); }
.brand:hover .brand-logo { transform: rotate(-12deg) scale(1.08); }
.brand-name { font: 400 1.7rem/1 var(--script); padding-top: 3px; }
.brand-text { height: 30px; width: auto; display: block; }
.nav { display: flex; gap: 2px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 8px 14px; border-radius: 999px; transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--violet); background: var(--vsoft); }
.header-right { display: flex; align-items: center; gap: 8px; }
.social-btn { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--ink2); border: 1px solid var(--line); background: #fff; transition: color .2s, border-color .2s, transform .2s; }
.social-btn svg { width: 18px; height: 18px; }
.social-btn:hover { border-color: var(--violet); color: var(--violet); transform: translateY(-1px); }
.menu-btn { display: none; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: 50%; color: var(--ink); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; background: linear-gradient(90deg, var(--violet), var(--teal)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
@media (max-width: 980px) {
  .menu-btn { display: grid; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
}
@media (max-width: 640px) { .header-cta { display: none; } }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head .lede { margin: 0; }
.alt { background: var(--bg2); }

/* Hero */
.hero-light { position: relative; overflow: hidden; padding: clamp(44px, 7vw, 90px) 0 clamp(56px, 8vw, 110px); }
.hero-light::before { content: ""; position: absolute; inset: -10%; z-index: 0; filter: blur(70px); opacity: .85;
  background: radial-gradient(32% 40% at 80% 30%, rgba(132, 82, 230, .38), transparent 70%), radial-gradient(28% 34% at 95% 75%, rgba(18, 179, 155, .3), transparent 70%), radial-gradient(30% 40% at 8% 5%, rgba(80, 120, 230, .22), transparent 70%);
  animation: aurora 16s ease-in-out infinite alternate; }
@keyframes aurora { to { transform: translate(6%, -4%) rotate(9deg) scale(1.12); } }
.space-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .hero-light::before { animation: none; } }
.hero-light .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .1s; } .hero-copy > :nth-child(3) { animation-delay: .2s; } .hero-copy > :nth-child(4) { animation-delay: .3s; } .hero-copy > :nth-child(5) { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font: 500 .88rem/1 var(--body); color: var(--ink2); box-shadow: var(--shadow); margin-bottom: 22px; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(18, 179, 155, .6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(18, 179, 155, 0); } }
.hero-light h1 { font-size: clamp(2.7rem, 5.6vw, 4.9rem); letter-spacing: -.045em; line-height: 1.02; margin-bottom: 22px; }
.hero-light h1 .script { white-space: nowrap; font-size: 1.06em; background: linear-gradient(120deg, var(--violet), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.hero-sub { font-size: 1.2rem; color: var(--muted); max-width: 46ch; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.facts-row { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 30px; color: var(--ink2); font-size: .95rem; }
.facts-row span { display: inline-flex; align-items: center; gap: 8px; }
.facts-row span::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--vsoft); color: var(--violet); font-size: .72rem; font-weight: 700; }
@media (max-width: 900px) { .hero-light .wrap { grid-template-columns: 1fr; } }

/* Windows-style browser frame and phone mockups */
.win { border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.win-bar { display: flex; align-items: center; justify-content: space-between; height: 30px; padding-left: 12px; background: #f1eef6; color: #4a4458; font: 500 .72rem/1 var(--body); }
.win-bar span:first-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.win-ctrls { display: flex; height: 100%; flex: none; }
.win-ctrls i { width: 38px; height: 100%; display: grid; place-items: center; }
.win-ctrls i::before { content: ""; display: block; }
.win-ctrls i:nth-child(1)::before { width: 10px; height: 1px; background: #4a4458; }
.win-ctrls i:nth-child(2)::before { width: 9px; height: 9px; border: 1px solid #4a4458; border-radius: 1px; }
.win-ctrls i:nth-child(3)::before { width: 12px; height: 12px; background: linear-gradient(45deg, transparent calc(50% - .6px), #4a4458 calc(50% - .6px), #4a4458 calc(50% + .6px), transparent calc(50% + .6px)), linear-gradient(-45deg, transparent calc(50% - .6px), #4a4458 calc(50% - .6px), #4a4458 calc(50% + .6px), transparent calc(50% + .6px)); }
.devices { position: relative; padding-bottom: 14%; }
.dev-screen { position: relative; aspect-ratio: 16 / 10; background: #fff; overflow: hidden; }
.dev-screen img, .dev-phone-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.03); transition: opacity .7s, transform 1.1s var(--ease); }
.dev-screen img.on, .dev-phone-screen img.on { opacity: 1; transform: none; }
.dev-phone { position: absolute; right: -1%; bottom: 0; width: 26%; aspect-ratio: 9 / 19; border-radius: 28px; background: #15121f; padding: 6px; box-shadow: 0 30px 60px -20px rgba(30, 15, 70, .6), inset 0 0 0 1.5px #3b3548; animation: float 7s ease-in-out infinite; }
.dev-phone::before { content: ""; position: absolute; top: 9px; left: 50%; width: 30%; height: 10px; border-radius: 6px; background: #15121f; translate: -50% 0; z-index: 2; }
.dev-phone-screen { position: relative; width: 100%; height: 100%; border-radius: 22px; overflow: hidden; background: #fff; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.dev-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; flex-wrap: wrap; position: relative; z-index: 1; padding-right: 30%; }
.dev-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.dev-chips button { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink2); font: 500 .85rem/1 var(--body); cursor: pointer; transition: all .2s; }
.dev-chips button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.dev-open { font-weight: 600; font-size: .9rem; text-decoration: none; color: var(--violet); }
.dev-open:hover { text-decoration: underline; }
.hero-light .dev-meta { display: none; }
.hero-light .devices { padding-bottom: 12%; }

/* Pricing: tabs and panels */
.tier-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.tier-tab { position: relative; display: grid; gap: 3px; text-align: left; padding: 18px 22px; border-radius: 16px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; cursor: pointer; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.tier-tab:hover { transform: translateY(-2px); }
.tier-tab small { font: 600 .72rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--violet); }
.tier-tab b { font: 700 1.35rem/1.2 var(--body); letter-spacing: -.02em; }
.tier-tab span { color: var(--muted); font-size: .95rem; }
.tier-tab[aria-selected="true"] { border-color: var(--violet); box-shadow: 0 0 0 4px var(--vsoft), var(--shadow); }
.tier-tab .pop { position: absolute; top: -11px; right: 16px; padding: 5px 12px; border-radius: 999px; background: var(--teal); color: #fff; font: 600 .7rem/1 var(--body); }
.tier-panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 4vw, 60px); align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.js .tier-panel { display: none; }
.js .tier-panel.on { display: grid; animation: rise .55s var(--ease); }
.tier-panel + .tier-panel { margin-top: 18px; }
.js .tier-panel + .tier-panel { margin-top: 0; }
.tier-copy h3 { font-size: 2.2rem; margin: 8px 0 4px; }
.tier-what { color: var(--muted); margin: 0 0 18px; }
.price { font: 700 clamp(2.6rem, 5vw, 3.6rem)/1 var(--body); letter-spacing: -.05em; margin: 0 0 22px; }
.price small { display: block; font: 500 .8rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.price.quote { font-size: 2.3rem; }
.price-note { margin: -12px 0 22px; color: var(--muted); font-size: .92rem; max-width: 34ch; }
.checks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink2); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--vsoft); color: var(--violet); font-size: .72rem; font-weight: 700; line-height: 1; }
.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.extra { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: 26px 28px; border-radius: var(--radius); background: radial-gradient(120% 140% at 0% 0%, #3a2370 0%, #1b1530 55%, #15121f 100%); color: #fff; border: 1px solid rgba(180, 150, 255, .25); box-shadow: 0 22px 44px -22px rgba(60, 30, 130, .55); transition: transform .3s var(--ease), box-shadow .3s; }
.extra:hover { transform: translateY(-3px); box-shadow: 0 28px 50px -22px rgba(60, 30, 130, .7); }
.extra-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(160, 120, 255, .18); color: #d4c1ff; border: 1px solid rgba(180, 150, 255, .3); }
.extra-ico svg { width: 26px; height: 26px; }
.extra h3 { font: 700 1.3rem/1.25 var(--body); letter-spacing: -.02em; margin: 0 0 6px; color: #fff; }
.extra p { margin: 0; color: #c9bfdc; }
.extra .extra-price { text-align: right; font: 800 2rem/1 var(--body); letter-spacing: -.03em; color: #fff; white-space: nowrap; }
.extra .extra-price small { display: block; margin-top: 6px; font: 600 .8rem/1 var(--body); letter-spacing: 0; color: #b9a6e6; }
/* Icon on the left, title / text / price centered beside it */
.extra { grid-template-columns: auto 1fr; column-gap: 18px; row-gap: 10px; text-align: center; padding: 24px 26px; }
.extra-ico { grid-row: 1 / span 2; align-self: center; }
.extra-body, .extra .extra-price { grid-column: 2; }
.extra p { max-width: 340px; margin: 0 auto; }
.extra .extra-price { text-align: center; font-size: 2rem; }
.extra .extra-price small { display: inline; margin-left: 6px; }
@media (max-width: 520px) { .extra { padding: 22px 18px; column-gap: 14px; } .extra-ico { width: 44px; height: 44px; } .extra .extra-price { font-size: 1.8rem; } }
.tag { font: 600 .72rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--violet); }
@media (max-width: 900px) { .tier-panel { grid-template-columns: 1fr; } .extras { grid-template-columns: 1fr; } .tier-tab { padding: 14px 14px; } .tier-tab b { font-size: 1.1rem; } .tier-tab span { font-size: .85rem; } }
@media (max-width: 560px) { .tier-tabs { gap: 8px; } .tier-tab { padding: 12px 10px; } .tier-tab .pop { right: 8px; } }

/* Example cards */
.concept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.concept-grid.two { grid-template-columns: repeat(2, 1fr); }
.concept { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s; }
.concept:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.concept-shot { border-radius: 0; border: 0; border-bottom: 1px solid var(--line); box-shadow: none; }
.concept-shot img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.concept:hover .concept-shot img { transform: scale(1.04); }
.concept-info { padding: 20px 24px 24px; }
.concept-info h3 { margin: 10px 0 6px; font-size: 1.35rem; }
.concept-info p { color: var(--muted); margin: 0 0 12px; }
.open { font-weight: 600; color: var(--violet); font-size: .92rem; }
.tier-group { margin-bottom: 44px; }
.tier-group-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.tier-group-head h3 { margin: 0; font-size: 1.5rem; }
.tier-group-head span { color: var(--muted); }
@media (max-width: 900px) { .concept-grid, .concept-grid.two { grid-template-columns: 1fr; } }

/* Feature cards */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { position: relative; padding: 28px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s ease-out, box-shadow .3s; transform-style: preserve-3d; }
.feature::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(132, 82, 230, .12), transparent 60%); }
.feature:hover { box-shadow: var(--shadow-lg); }
.feature:hover::after { opacity: 1; }
.f-icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px; color: #fff; background: linear-gradient(150deg, var(--violet2), #4b21a8); box-shadow: 0 12px 24px -10px rgba(106, 53, 204, .8), inset 0 1px 0 rgba(255, 255, 255, .3); }
.f-icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.15rem; letter-spacing: -.02em; margin: 0 0 6px; }
.feature p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr 1fr; gap: 10px; } .feature { padding: 18px 14px; } .f-icon { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 12px; } .f-icon svg { width: 20px; height: 20px; } .feature h3 { font-size: .98rem; } .feature p { font-size: .84rem; line-height: 1.4; } }

/* How it works */
/* Process: clickable steps with a progress bar */
.process { max-width: 860px; margin: 0 auto; }
.p-track { position: relative; }
.p-bar { position: absolute; top: 31px; left: 12.5%; right: 12.5%; height: 6px; border-radius: 6px; background: rgba(132, 82, 230, .2); overflow: hidden; }
.p-fill { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--violet2), var(--teal)); transition: width .7s cubic-bezier(.4, 0, .2, 1); }
.p-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.p-steps button { display: grid; justify-items: center; gap: 12px; width: 100%; padding: 0 4px; border: 0; background: none; cursor: pointer; font: inherit; color: var(--ink); }
.step-num { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; font: 700 1.5rem/1 var(--body); color: var(--violet); background: #fff; border: 3px solid var(--violet2); box-shadow: 0 12px 24px -10px rgba(106, 53, 204, .55); transition: background-color .4s, color .4s, border-color .4s, transform .3s, box-shadow .4s; }
.p-name { font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; color: var(--ink); transition: color .3s; }
.p-steps button:hover .step-num { border-color: var(--violet2); transform: translateY(-2px); }
.p-steps button.done .step-num { color: #fff; border-color: transparent; background: linear-gradient(150deg, var(--violet2), var(--violet)); box-shadow: 0 14px 26px -10px rgba(106, 53, 204, .75); }
.p-steps button[aria-selected="true"] .step-num { color: #fff; border-color: transparent; background: linear-gradient(150deg, var(--violet2), var(--violet)); transform: scale(1.12); box-shadow: 0 0 0 8px rgba(132, 82, 230, .22), 0 18px 32px -10px rgba(106, 53, 204, .85); }
.p-steps button[aria-selected="true"] .p-name { color: var(--violet); }
.p-steps button:focus-visible { outline: 3px solid var(--vsoft); outline-offset: 4px; border-radius: 16px; }
.p-panels { display: grid; margin-top: 16px; }
.p-panel { grid-area: 1 / 1; width: min(260px, 100%); justify-self: start; position: relative; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 36px -18px rgba(60, 30, 140, .35); visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s, visibility 0s .3s; }
.p-panel.on { visibility: visible; opacity: 1; transform: none; transition: opacity .3s, transform .3s; }
.p-panel::before { content: ""; position: absolute; top: -7px; left: var(--ax, 50%); width: 12px; height: 12px; margin-left: -6px; background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); }
.p-panel p { margin: 0 0 8px; font-weight: 600; font-size: .95rem; color: var(--ink); text-align: center; }
.p-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.p-panel li { position: relative; padding-left: 20px; font-size: .86rem; line-height: 1.4; color: var(--ink2); }
.p-panel li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--violet); font-weight: 700; font-size: .8rem; }
@media (max-width: 520px) { .step-num { width: 48px; height: 48px; font-size: 1.1rem; } .p-bar { top: 21px; } .p-name { font-size: 1rem; } }
@media (prefers-reduced-motion: reduce) { .p-fill, .step-num { transition: none; } .p-panel, .p-panel.on { transition: none; } }

/* Dungeon band (the one dark section) */
.dungeon-band { position: relative; overflow: hidden; isolation: isolate; padding: clamp(84px, 12vw, 150px) 0; background: var(--dark); color: #ece6f3; }
.dungeon-band-bg { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; object-position: 50% 60%; filter: brightness(.52) saturate(1.1); transform: translateY(var(--band-shift, 0)); z-index: -2; }
.dungeon-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15, 13, 21, .9), rgba(15, 13, 21, .25) 72%); }
.dungeon-band .wrap { position: relative; z-index: 1; }
.dungeon-copy { max-width: 540px; }
.dungeon-copy .eyebrow { color: var(--torch); }
.dungeon-copy h2 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.dungeon-copy p { color: #d5cde2; font-size: 1.1rem; }
.dungeon-copy .hero-actions { margin-top: 26px; }
.embers { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.embers i { position: absolute; bottom: -10px; width: var(--s); height: var(--s); border-radius: 50%; background: radial-gradient(circle, #ffd58a 0%, #f2a541 45%, transparent 70%); box-shadow: 0 0 8px 2px rgba(242, 165, 65, .55); opacity: 0; animation: ember var(--d) linear var(--delay) infinite; }
.embers i.violet { background: radial-gradient(circle, #e2cfff 0%, #a77cf2 45%, transparent 70%); box-shadow: 0 0 8px 2px rgba(167, 124, 242, .6); }
@keyframes ember { 0% { opacity: 0; transform: translate(0, 0); } 10% { opacity: .9; } 60% { opacity: .7; } 100% { opacity: 0; transform: translate(var(--drift), -85vh); } }

/* About */
.about { display: grid; grid-template-columns: 320px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.portrait img { border-radius: 999px 999px 18px 18px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.about-body p { color: var(--muted); font-size: 1.05rem; }
.about-body p.big { color: var(--ink); font-size: 1.3rem; letter-spacing: -.01em; line-height: 1.45; }
.crafts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.craft { padding: clamp(26px, 4vw, 40px); border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.craft { display: flex; flex-direction: column; }
.craft h3 { font-size: 1.8rem; margin: 6px 0 12px; text-align: center; }
.craft p { color: var(--muted); text-align: center; }
.craft ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; flex: 1; align-content: start; }
.craft .btn { align-self: center; }
.craft li { padding-left: 24px; position: relative; color: var(--ink2); }
.craft li::before { content: "✓"; position: absolute; left: 0; color: var(--violet); font-weight: 700; }
.craft-dnd { background: linear-gradient(160deg, #1b1724, #0f0d15); border-color: #2a2438; color: #ece6f3; }
.craft-dnd .eyebrow { color: var(--torch); }
.craft-dnd h3 { color: #fff; }
.craft-dnd p, .craft-dnd li { color: #c5bed1; }
.craft-dnd li::before { color: var(--torch); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .portrait { max-width: 260px; } .crafts { grid-template-columns: 1fr; } }

/* Inner page header */
/* Split top sections (About, Store): words left, picture right */
.page-split { padding: clamp(28px, 4vw, 48px) 0 clamp(32px, 4.5vw, 56px); }
@media (min-width: 901px) { .hero-light.page-split { min-height: 0; padding: 40px 0 48px; } }
.page-split h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); margin-bottom: 14px; }
.page-split .hero-sub { margin-bottom: 24px; }
.store-split .split-visual { aspect-ratio: auto; height: clamp(250px, 26vw, 330px); width: min(100%, 470px); justify-self: center; }
.store-split .hero-copy { text-align: center; }
.store-split .hero-sub { margin-left: auto; margin-right: auto; }
.store-split .hero-actions { justify-content: center; }
/* Four products in loose corners so they barely overlap */
.store-split .split-visual { width: min(100%, 540px); }
.store-split .sv-item-1 { width: 34%; left: 0; top: -4%; rotate: -6deg; }
.store-split .sv-item-2 { width: 33%; right: 0; top: -2%; rotate: 6deg; }
.store-split .sv-item-3 { width: 22%; left: 30%; bottom: -8%; rotate: -4deg; }
.store-split .sv-item-4 { width: 20%; right: 33%; top: -8%; rotate: 8deg; }
@media (max-width: 900px) { .store-split .split-visual { height: 210px; width: min(100%, 340px); margin-top: 0; } }
/* About: photo of the dungeon behind the title */
.photo-hero { isolation: isolate; padding: clamp(56px, 7vw, 92px) 0 clamp(48px, 6vw, 80px); background: #120d1f; }
.photo-hero::before { display: none; }
.photo-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; z-index: -2; animation: heroZoom 18s ease-out both; }
.photo-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 50% 50%, rgba(18, 12, 34, .55), rgba(18, 12, 34, .88)), linear-gradient(180deg, rgba(28, 19, 52, .35), rgba(19, 14, 34, .75)); }
.photo-hero h1 { text-shadow: 0 4px 30px rgba(0, 0, 0, .5); }
.photo-hero .lede { color: #e2dbf1; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .photo-hero-bg { animation: none; } }
.page-split .wrap { grid-template-columns: 1fr 1fr; }
.page-split h1 .script { white-space: nowrap; }
.split-visual { position: relative; aspect-ratio: 1.12; isolation: isolate; }
.split-visual::before { content: ""; position: absolute; inset: 0 -4%; z-index: -1; background: radial-gradient(closest-side, rgba(132, 82, 230, .5), transparent 72%); filter: blur(24px); }
.sv-photo { position: absolute; inset: 7% 5% 9% 12%; margin: 0; border-radius: 28px; overflow: hidden; rotate: 2.5deg; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); animation: rise 1s var(--ease) both .15s; }
.sv-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sv-chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 9px; border-radius: 999px; font: 600 1rem/1 var(--body); color: #fff; background: rgba(28, 19, 52, .55); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6); animation: float 6s ease-in-out infinite; }
.sv-chip i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--violet2), var(--violet)); }
.sv-chip-b i { background: linear-gradient(135deg, #2dd4bf, #0f9f8a); }
.sv-chip svg { width: 18px; height: 18px; }
.sv-chip-a { left: 0; top: 16%; }
.sv-chip-b { right: 0; bottom: 14%; animation-delay: -3s; }
.sv-item { position: absolute; padding: 0; border: 0; background: none; cursor: pointer; animation: float 7s ease-in-out infinite; }
.sv-item img { width: 100%; display: block; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .55)); transition: transform .5s var(--ease); }
.sv-item:hover img, .sv-item:focus-visible img { transform: scale(1.06); }
.sv-item-1 { width: 54%; left: 2%; top: -2%; rotate: -7deg; z-index: 2; }
.sv-item-2 { width: 50%; right: 0; top: 6%; rotate: 6deg; animation-delay: -2.5s; }
.sv-item-3 { width: 36%; left: 12%; bottom: -4%; rotate: -4deg; z-index: 3; animation-delay: -4s; }
.sv-item-4 { width: 30%; right: 12%; bottom: 0; rotate: 9deg; z-index: 3; animation-delay: -1.2s; }
.store-visual .sv-item { opacity: 0; animation: svIn .8s var(--ease) forwards, float 7s ease-in-out infinite .8s; }
.store-visual .sv-item-2 { animation-delay: .1s, -2.5s; } .store-visual .sv-item-3 { animation-delay: .2s, -4s; } .store-visual .sv-item-4 { animation-delay: .3s, -1.2s; }
@keyframes svIn { from { opacity: 0; transform: translateY(24px) scale(.94); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sv-chip, .sv-item { animation: none !important; opacity: 1 !important; } }
@media (max-width: 900px) { .page-split .wrap { grid-template-columns: 1fr; } .split-visual { width: min(100%, 460px); margin: 6px auto 0; } }
@media (max-width: 520px) { .sv-chip { font-size: .9rem; padding: 7px 14px 7px 7px; } .sv-chip i { width: 28px; height: 28px; } }
.page-hero { position: relative; overflow: hidden; padding: clamp(60px, 9vw, 110px) 0 clamp(36px, 5vw, 60px); text-align: center; }
.page-hero::before { content: ""; position: absolute; inset: -30% -10% auto; height: 120%; z-index: 0; filter: blur(70px); opacity: .7; background: radial-gradient(35% 40% at 25% 30%, rgba(132, 82, 230, .3), transparent 70%), radial-gradient(30% 36% at 78% 25%, rgba(18, 179, 155, .24), transparent 70%); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -.045em; margin-bottom: 16px; }
.page-hero .lede { margin: 0 auto; }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero .wrap > * { animation: rise .9s var(--ease) both; } .page-hero .wrap > :nth-child(2) { animation-delay: .1s; } .page-hero .wrap > :nth-child(3) { animation-delay: .2s; }
.page-hero .hero-actions { justify-content: center; margin-top: 28px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 10px 28px -18px rgba(60, 30, 140, .35); transition: border-color .25s, box-shadow .25s, transform .25s; }
.faq details:hover { border-color: var(--violet2); transform: translateY(-2px); box-shadow: 0 18px 36px -18px rgba(106, 53, 204, .5); }
.faq details[open] { border-color: var(--violet); box-shadow: 0 22px 40px -18px rgba(106, 53, 204, .55); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 18px 54px 18px 18px; position: relative; font: 600 1.05rem/1.35 var(--body); letter-spacing: -.01em; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.q-ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(150deg, var(--violet2), var(--violet)); color: #fff; box-shadow: 0 10px 18px -10px rgba(106, 53, 204, .8); }
.q-ico svg { width: 21px; height: 21px; }
.faq details:nth-child(even) .q-ico { background: linear-gradient(150deg, #2cc9b0, var(--teal)); box-shadow: 0 10px 18px -10px rgba(18, 179, 155, .8); }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--vsoft); font-size: 1.3rem; font-weight: 500; line-height: 1; color: var(--violet); transition: rotate .3s var(--ease), background-color .25s, color .25s; }
.faq details[open] summary::after { rotate: 45deg; background: var(--violet); color: #fff; }
.faq details p { color: var(--ink2); margin: 0; padding: 0 20px 20px 74px; animation: rise .4s ease both; }
.faq details p a { color: var(--violet); font-weight: 600; }
@media (max-width: 760px) { .faq-grid { grid-template-columns: 1fr; } .faq details p { padding-left: 20px; } }

/* Call to action card */
.cta-card { position: relative; overflow: hidden; text-align: center; padding: clamp(44px, 7vw, 84px) 24px; border-radius: 32px; color: #fff; background: radial-gradient(60% 90% at 15% 0%, #8452e6, transparent 60%), radial-gradient(50% 80% at 100% 100%, #12b39b88, transparent 60%), #2a1366; box-shadow: var(--shadow-lg); }
.cta-card h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); color: #fff; }
.cta-card p { color: #e6defa; max-width: 46ch; margin: 0 auto 28px; font-size: 1.1rem; }
.cta-card .btn { box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .5); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.facts-dark { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 10px; }
.facts-dark li { padding-left: 28px; position: relative; color: var(--ink2); }
.facts-dark li::before { content: "✓"; position: absolute; left: 0; top: 1px; color: var(--violet); font-weight: 700; }
.contact-form { display: grid; gap: 16px; padding: clamp(22px, 4vw, 36px); border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 7px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 13px 15px; border-radius: 12px; font: 400 1rem/1.4 var(--body); color: var(--ink); background: var(--bg); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; background: #fff; border-color: var(--violet); box-shadow: 0 0 0 4px var(--vsoft); }
.contact-form [aria-invalid="true"] { border-color: #e5484d; }
.contact-form .btn { justify-self: start; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; min-height: 1.4em; color: var(--teal); font-size: .95rem; }
.form-status.error { color: #e5484d; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .field-row { grid-template-columns: 1fr; } }

/* Store */
.store-bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.store-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.store-filters button { border: 1px solid var(--line); background: #fff; color: var(--muted); padding: 9px 18px; border-radius: 999px; font: 500 .92rem/1 var(--body); cursor: pointer; transition: all .2s; }
.store-filters button:hover { color: var(--ink); }
.store-filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.cart-btn svg { width: 18px; height: 18px; }
.cart-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--bg2); font-size: .8rem; }
.cart-count.has { background: var(--violet); color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product { display: grid; gap: 4px; text-align: left; text-decoration: none; color: var(--ink); cursor: pointer; font: inherit; padding: 14px 14px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; animation: rise .6s var(--ease) both; }
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-art { display: block; aspect-ratio: 1; border-radius: 12px; margin-bottom: 10px; overflow: hidden; background: radial-gradient(75% 75% at 50% 40%, #f6f2fa, #e1d9ec); }
.product-art svg { width: 100%; height: 100%; transition: transform .6s var(--ease); }
.product:hover .product-art svg { transform: scale(1.06) rotate(-2deg); }
.product-cat { font: 600 .7rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--violet); }
.product b { font: 600 1.05rem/1.3 var(--body); }
.product-price { color: var(--muted); }
.store-perks { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.store-perks div { flex: 1 1 200px; padding: 16px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; display: grid; gap: 2px; }
.store-perks span { color: var(--muted); font-size: .9rem; }
.cart-fab { position: fixed; right: 20px; bottom: 20px; z-index: 70; width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer; color: #fff; background: linear-gradient(150deg, var(--violet2), var(--violet)); box-shadow: 0 14px 30px -10px rgba(106, 53, 204, .9); display: grid; place-items: center; }
.cart-fab svg { width: 26px; height: 26px; }
.cart-fab .cart-count { position: absolute; top: -4px; right: -4px; background: var(--teal); color: #fff; }
.cart-shade { position: fixed; inset: 0; z-index: 80; background: rgba(20, 15, 40, .45); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.cart-shade.open { opacity: 1; pointer-events: auto; }
.cart-drawer, .product-modal { color: var(--ink); }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(400px, 100vw); display: flex; flex-direction: column; background: #fff; box-shadow: -30px 0 60px -20px rgba(20, 15, 40, .4); transform: translateX(100%); transition: transform .45s var(--ease); }
.cart-drawer.open { transform: none; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.cart-head h2 { margin: 0; font-size: 1.6rem; }
.cart-close, .pm-close { border: 1px solid var(--line); background: #fff; color: var(--ink); width: 38px; height: 38px; border-radius: 50%; cursor: pointer; }
.cart-lines { flex: 1; overflow: auto; padding: 12px 22px; }
.cart-empty { color: var(--muted); text-align: center; margin-top: 40px; }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); animation: rise .4s ease both; }
.cart-art { width: 64px; height: 64px; border-radius: 10px; background: radial-gradient(75% 75% at 50% 40%, #f6f2fa, #e1d9ec); overflow: hidden; }
.cart-art svg { width: 100%; height: 100%; }
.cart-line b { display: block; font-weight: 600; }
.cart-line small { color: var(--muted); }
.qty { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; }
.qty button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.cart-foot { padding: 18px 22px 24px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.cart-row { display: flex; justify-content: space-between; }
.cart-note { margin: 0; color: var(--teal); font-size: .88rem; min-height: 1.2em; }
.cart-checkout { justify-content: center; }
.cart-msg { margin: 0; color: var(--muted); font-size: .9rem; min-height: 1.2em; }
.product-modal { position: fixed; left: 50%; top: 50%; z-index: 95; width: min(820px, calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; padding: 28px; border-radius: 24px; background: #fff; box-shadow: 0 40px 90px -20px rgba(20, 15, 40, .5); opacity: 0; pointer-events: none; translate: -50% -46%; transition: opacity .3s, translate .4s var(--ease); }
.product-modal.open { opacity: 1; pointer-events: auto; translate: -50% -50%; }
.pm-close { position: absolute; top: 14px; right: 14px; }
.pm-art { aspect-ratio: 1; border-radius: 16px; background: radial-gradient(75% 75% at 50% 40%, #f6f2fa, #e1d9ec); }
.pm-art svg { width: 100%; height: 100%; }
.pm-name { font-size: 2rem; margin: 8px 0 4px; }
.pm-price { font: 700 1.6rem var(--body); margin: 0 0 10px; }
.pm-blurb { color: var(--muted); }
.pm-opt { margin: 16px 0; display: grid; gap: 8px; }
.pm-opt > span { font-size: .85rem; font-weight: 600; color: var(--muted); }
.swatches, .sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line); cursor: pointer; }
.swatch[aria-pressed="true"] { outline: 2px solid var(--violet); outline-offset: 2px; }
.sizes button { min-width: 46px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; font: 600 .9rem var(--body); }
.sizes button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
/* Live Fourthwall product photos */
.product-art img, .pm-art img, .cart-art img { width: 100%; height: 100%; object-fit: contain; display: block; }
.product-art img { transition: transform .6s var(--ease); }
.product-art img { transform-origin: var(--zoom-at, 50% 50%); }
.product:hover .product-art img { transform: scale(var(--zoom, 1.05)); }
.product-art { position: relative; }
.product-art img.alt { position: absolute; inset: 0; object-fit: cover; object-position: center 8%; opacity: 0; transform: none; transition: opacity .45s var(--ease); }
.product:hover .product-art img.alt, .product:focus-visible .product-art img.alt { opacity: 1; transform: none; }
.product-art img.alt.fit { object-fit: contain; }
.product-art.has-alt img:not(.alt) { transition: opacity .45s var(--ease), transform .6s var(--ease); }
.product:hover .product-art.has-alt img:not(.alt), .product:focus-visible .product-art.has-alt img:not(.alt) { opacity: 0; }
.product.is-loading { cursor: default; pointer-events: none; }
.product.is-loading .product-art { animation: pulse 1.4s ease-in-out infinite; }
.product.is-loading b, .product.is-loading .product-price { border-radius: 6px; background: var(--bg2); width: 70%; }
.product.is-loading .product-price { width: 35%; }
@keyframes pulse { 50% { opacity: .55; } }
.store-error { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 30px 0; }
.pm-media { display: grid; gap: 10px; align-content: start; }
.pm-art { overflow: hidden; }
.pm-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.pm-thumbs:empty { display: none; }
.pm-thumbs button { width: 58px; height: 58px; padding: 0; border-radius: 10px; border: 1px solid var(--line); background: radial-gradient(75% 75% at 50% 40%, #f6f2fa, #e1d9ec); cursor: pointer; overflow: hidden; }
.pm-thumbs button[aria-pressed="true"] { outline: 2px solid var(--violet); outline-offset: 1px; }
.pm-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.closeup { display: block; width: 100%; height: 100%; background-repeat: no-repeat; background-color: #1b1622; }
@media (max-width: 680px) { .pm-thumbs { max-width: 240px; gap: 6px; } .pm-thumbs button { width: 40px; height: 40px; border-radius: 8px; } }
.pm-blurb p { margin: 0 0 10px; }
.pm-opt > span b { color: var(--ink); font-weight: 600; }
.sizes button:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.pm-add:disabled, .cart-checkout:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
.pm-add { margin-top: 10px; }
.pm-more { margin-top: 18px; display: grid; gap: 8px; }
.pm-more:empty { display: none; }
.pm-fold { border: 1px solid var(--line); border-radius: 14px; padding: 0 16px; background: #fff; }
.pm-fold summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 13px 0; font-weight: 600; text-transform: capitalize; }
.pm-fold summary::-webkit-details-marker { display: none; }
.pm-fold summary::after { content: "+"; font-size: 1.2rem; color: var(--violet); transition: rotate .2s; }
.pm-fold[open] summary::after { rotate: 45deg; }
.pm-fold > ul, .pm-fold > p { margin: 0 0 14px; color: var(--muted); font-size: .92rem; }
.pm-fold > ul { padding-left: 18px; }
.size-chart { padding-bottom: 14px; }
.sc-wrap { display: grid; grid-template-columns: 1fr 110px; gap: 14px; align-items: center; }
.size-chart table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.size-chart th { text-align: left; font-weight: 600; color: var(--muted); font-size: .78rem; padding: 0 6px 6px; }
.size-chart td { padding: 6px; border-top: 1px solid var(--line); }
.size-chart td:first-child { font-weight: 600; }
.sc-img { display: block; border-radius: 12px; background: #2a2236; min-height: 60px; }
.sc-img:empty { background: none; }
.sc-img img { width: 100%; display: block; }
.sc-note { margin: 10px 0 0; font-size: .85rem; color: var(--muted); }
.sc-note b { color: var(--ink); }
@media (max-width: 520px) { .sc-wrap { grid-template-columns: 1fr 80px; } }
.work-tag { font: 600 .72rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--violet); }
@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .product-modal { grid-template-columns: 1fr; padding: 22px; } .pm-art { max-width: 240px; } }
.store-teaser .product-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 680px) { .store-teaser .product-grid { grid-template-columns: repeat(2, 1fr); } }

/* Legal text */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose p, .prose li { color: var(--muted); }
.legal-title { font-size: clamp(2.4rem, 5vw, 3.4rem); letter-spacing: -.04em; margin: 0 0 8px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: .92rem; background: #fff; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--violet); }

/* Scroll reveals */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal="left"] { transform: translateX(-44px); }
.js [data-reveal="right"] { transform: translateX(44px); }
.js [data-reveal="zoom"] { transform: scale(.92); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal].done { transition: transform .35s var(--ease), box-shadow .35s, border-color .3s, opacity .3s; transition-delay: 0s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .tier-panel { animation: none; }
}

/* Darker look: dark header, hero, inner-page headers, "night" sections and footer */
.site-header { background: rgba(21, 16, 31, .95); border-bottom-color: rgba(255, 255, 255, .06); }
.site-header.scrolled { border-color: rgba(255, 255, 255, .1); box-shadow: 0 14px 34px -20px rgba(0, 0, 0, .7); }
.brand { color: #fff; }
.nav a { color: #b9aed0; }
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; background: rgba(132, 82, 230, .38); }
.social-btn { color: #d9d0ec; border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); }
.social-btn:hover { color: #fff; border-color: var(--violet2); background: rgba(132, 82, 230, .25); }
.menu-btn { color: #fff; border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); }
@media (max-width: 980px) { .nav { background: var(--night); border-bottom-color: rgba(255, 255, 255, .1); } }

.hero-light { color: #fff; background: radial-gradient(70% 90% at 88% 15%, #43228a 0%, transparent 62%), radial-gradient(60% 80% at 0% 100%, #0f3b3a 0%, transparent 58%), linear-gradient(180deg, #1c1334, #130e22); }
.hero-light::before { opacity: .5; }
.hero-light h1 { color: #fff; }
.hero-light h1 .script { background: linear-gradient(120deg, #c4a8ff, #5eead4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-light .pill { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #e6defa; box-shadow: none; }
.hero-light .hero-sub { color: #c9bfe0; }
.hero-light .btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .24); }
.hero-light .btn-ghost:hover { background: rgba(255, 255, 255, .16); border-color: #fff; color: #fff; }
.hero-light .facts-row { color: #d9d0ec; }
.hero-light .facts-row span::before { background: rgba(132, 82, 230, .4); color: #d4c1ff; }
.hero-light .devices { isolation: isolate; }
.hero-light .devices::before { content: ""; position: absolute; inset: -8% -6%; z-index: -1; background: radial-gradient(closest-side, rgba(132, 82, 230, .5), transparent 72%); filter: blur(20px); }
.hero-light .win { border-color: rgba(255, 255, 255, .14); box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .8); }

.page-hero { color: #fff; background: radial-gradient(60% 110% at 82% 0%, #43228a, transparent 62%), linear-gradient(180deg, #1c1334, #150f25); }
.page-hero::before { opacity: .35; }
.page-hero h1 { color: #fff; }
.page-hero .lede { color: #c9bfe0; }
.page-hero .eyebrow, .night .eyebrow { color: #b79bf5; }
.page-hero .script, .night .script { color: #c4a8ff; }
.page-hero .btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .24); }
.page-hero .btn-ghost:hover { background: rgba(255, 255, 255, .16); border-color: #fff; color: #fff; }

.night { color: #e9e3f7; background: radial-gradient(60% 90% at 100% 0%, rgba(106, 53, 204, .38), transparent 62%), radial-gradient(50% 70% at 0% 100%, rgba(18, 179, 155, .12), transparent 60%), var(--night); }
.night h2 { color: #fff; }
.night .lede { color: #b9aed0; }
.night .feature { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.night .feature:hover { border-color: rgba(167, 124, 242, .5); box-shadow: 0 24px 50px -24px rgba(106, 53, 204, .8); }
.night .feature h3 { color: #fff; }
.night .feature p { color: #b9aed0; }

.site-footer { background: var(--night); border-top-color: rgba(255, 255, 255, .08); color: #b9aed0; }
.site-footer a { color: #b9aed0; }
.site-footer a:hover { color: #fff; }

.dm-link { display: inline-block; margin-top: 18px; color: #e6defa; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.dm-link:hover { color: #fff; }
.dungeon-copy .hero-actions { align-items: center; }

/* Dungeon band: centered copy, "See my table" in the photo's bottom-right corner */
.dungeon-band .wrap { position: static; }
.dungeon-band::after { background: radial-gradient(ellipse 70% 85% at 50% 50%, rgba(15, 13, 21, .82), rgba(15, 13, 21, .35) 100%); }
.dungeon-copy { position: relative; z-index: 1; margin: 0 auto; max-width: 640px; text-align: center; }
.dungeon-copy .hero-actions { justify-content: center; }
.band-see { position: absolute; z-index: 2; right: clamp(16px, 3vw, 36px); bottom: clamp(16px, 3vw, 36px); }
@media (max-width: 700px) { .dungeon-band .wrap { display: flex; flex-direction: column; align-items: center; } .band-see { position: static; margin-top: 28px; } }

/* Contact panel */
.contact-panel { padding: clamp(26px, 5vw, 56px); border-radius: 32px; color: #fff; position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 90% at 90% 10%, #43228a 0%, transparent 62%), radial-gradient(60% 80% at 0% 100%, #0f3b3a 0%, transparent 58%), linear-gradient(180deg, #1c1334, #130e22); box-shadow: 0 40px 80px -40px rgba(40, 20, 90, .6); }
.contact-panel > :not(.space-canvas) { position: relative; z-index: 1; }
.contact-panel h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.contact-panel .lede { color: #cfc6e6; }
.contact-facts { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 8px; max-width: 280px; }
.contact-facts li { display: grid; gap: 1px; padding: 9px 14px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.contact-facts b { font-size: .95rem; color: #fff; }
.contact-facts span { font-size: .82rem; color: #bdb2d8; }

/* Moving background for the process section: slow, see-through ribbons (drawn in ui.js) */
.flow { position: relative; overflow: hidden; isolation: isolate; }
.ribbon-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.section-head.center { justify-content: center; text-align: center; }

/* Headlines: capitalize every word */
h1, h2, h3, h4 { text-transform: capitalize; }

/* Moving glow behind the features section */
.night { position: relative; overflow: hidden; isolation: isolate; }
.night::before, .night::after { content: ""; position: absolute; z-index: -1; pointer-events: none; filter: blur(60px); }
.night::before { inset: -30% -10% auto -10%; height: 110%;
  background: radial-gradient(28% 42% at 22% 40%, rgba(132, 82, 230, .42), transparent 70%), radial-gradient(24% 38% at 78% 30%, rgba(94, 200, 230, .22), transparent 70%);
  animation: nightA 13s ease-in-out infinite alternate; }
.night::after { inset: auto -10% -35% -10%; height: 110%;
  background: radial-gradient(26% 40% at 75% 55%, rgba(18, 179, 155, .3), transparent 70%), radial-gradient(24% 36% at 20% 65%, rgba(167, 124, 242, .32), transparent 70%);
  animation: nightB 17s ease-in-out infinite alternate; }
@keyframes nightA { from { transform: translate(-10%, -4%) scale(1); } to { transform: translate(12%, 12%) scale(1.2); } }
@keyframes nightB { from { transform: translate(10%, 6%) scale(1.15); } to { transform: translate(-12%, -10%) scale(1); } }
@media (prefers-reduced-motion: reduce) { .night::before, .night::after { animation: none; } }

/* Buttons: capitalize every word */
.btn, button, input[type="submit"] { text-transform: capitalize; }

/* Tier picker in the contact form: Tier 1, 2, 3 in one line, one check mark each */
.contact-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.tier-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tier-pick[hidden] { display: none; }
.tier-pick legend { grid-column: 1 / -1; padding: 0; margin-bottom: 2px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.contact-form label.tier-opt { display: flex; align-items: center; justify-content: center; gap: 10px; position: relative; padding: 12px 10px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); font-weight: 600; color: var(--ink2); cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.tier-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; cursor: pointer; }
.tick { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: #fff; border: 2px solid var(--violet2); color: transparent; font-size: .85rem; font-weight: 700; line-height: 1; transition: background-color .2s, color .2s; }
.tick::before { content: "\2713"; }
.tier-opt:hover { border-color: var(--violet); }
.tier-opt:has(input:checked) { border-color: var(--violet); background: var(--vsoft); color: var(--violet); }
.tier-opt input:checked ~ .tick { background: var(--violet); color: #fff; }
.tier-opt:has(input:focus-visible) { outline: 3px solid var(--vsoft); outline-offset: 2px; }

/* Clickable example mockups */
.dev-desktop, .dev-phone { cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s; }
.dev-desktop:hover, .dev-desktop:focus-visible { transform: translateY(-4px); }
.dev-phone:hover, .dev-phone:focus-visible { transform: translateY(-6px); }
.dev-desktop:focus-visible, .dev-phone:focus-visible { outline: 3px solid var(--violet2); outline-offset: 4px; }
.dev-hint { position: absolute; left: 50%; bottom: 14px; translate: -50% 0; z-index: 2; padding: 9px 16px; border-radius: 999px; background: rgba(21, 18, 31, .82); color: #fff; font: 600 .85rem/1 var(--body); white-space: nowrap; backdrop-filter: blur(6px); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6); transition: background .25s, transform .25s var(--ease); pointer-events: none; }
.dev-desktop:hover .dev-hint { background: var(--violet); transform: translateY(-3px); }
.dev-meta .dev-view { white-space: nowrap; }

/* Full-screen example viewer */
.viewer { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; background: #0f0d15; opacity: 0; pointer-events: none; transform: scale(.98); transition: opacity .3s, transform .35s var(--ease); }
.viewer.open { opacity: 1; pointer-events: auto; transform: none; }
.viewer-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 14px 10px 20px; background: #15121f; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.viewer-name { display: flex; align-items: center; gap: 10px; min-width: 0; }
.viewer-name b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viewer-name small { color: #a99fbf; font-size: .82rem; white-space: nowrap; }
.viewer-actions { display: flex; align-items: center; gap: 12px; }
.viewer-new { color: #d4c1ff; font-size: .9rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.viewer-new:hover { color: #fff; text-decoration: underline; }
.viewer-x { width: 56px; height: 56px; border-radius: 50%; border: 0; background: #fff; color: #15121f; cursor: pointer; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .6); transition: transform .2s var(--ease), background .2s, color .2s; flex: none; }
.viewer-x svg { width: 26px; height: 26px; }
.viewer-x:hover { background: var(--violet); color: #fff; transform: rotate(90deg); }
.viewer-x:focus-visible { outline: 3px solid var(--violet2); outline-offset: 3px; }
.viewer-frame { flex: 1; width: 100%; border: 0; background: #fff; }
html.viewer-lock, html.viewer-lock body { overflow: hidden; }
@media (max-width: 640px) { .viewer-name small, .viewer-new { display: none; } .viewer-x { width: 48px; height: 48px; } }

/* Hero: explore button sits just below the mockup, not on top of it */
.hero-light .dev-meta { display: flex; margin-top: 18px; padding-right: 30%; }
.hero-light .dev-view { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 12px; background: #fff; color: var(--ink); border: 0; font-weight: 700; font-size: 1rem; cursor: pointer; box-shadow: 0 5px 0 #b9a6e6, 0 14px 28px -10px rgba(0, 0, 0, .55); transition: transform .2s var(--ease), box-shadow .2s, background .2s; }
.hero-light .dev-view:hover { background: #f1eaff; transform: translateY(-2px); box-shadow: 0 7px 0 #b9a6e6, 0 18px 32px -10px rgba(0, 0, 0, .6); }
.hero-light .dev-view:active { transform: translateY(4px); box-shadow: 0 1px 0 #b9a6e6, 0 6px 14px -8px rgba(0, 0, 0, .5); }
.hero-light .dev-view:focus-visible { outline: 3px solid var(--violet2); outline-offset: 4px; }
.dev-arrow { display: inline-block; transition: transform .2s var(--ease); }
.dev-view:hover .dev-arrow { transform: translate(3px, -3px); }
@media (max-width: 900px) { .hero-light .dev-meta { padding-right: 34%; } }

/* Taller hero: fills most of the screen on desktop, a bit roomier on phones */
@media (min-width: 901px) { .hero-light { display: grid; align-content: center; min-height: min(calc(92svh - 70px), 840px); padding: clamp(64px, 8vw, 110px) 0 clamp(76px, 9vw, 124px); } }
@media (max-width: 900px) { .hero-light { padding: 64px 0 84px; } }

/* Big mockups are monitor screens (dark bezel like the phone, no stand, no window bar) */
.dev-desktop { position: relative; overflow: visible; border-radius: 20px; background: #15121f; border: 0; padding: clamp(9px, 1.1vw, 13px) clamp(9px, 1.1vw, 13px) clamp(20px, 2.4vw, 28px); box-shadow: 0 34px 60px -26px rgba(30, 15, 70, .55), inset 0 0 0 1.5px #3b3548; }
.hero-light .dev-desktop { box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .8), inset 0 0 0 1.5px #3b3548; }
.dev-desktop .win-bar { display: none; }
.dev-desktop::before { content: ""; position: absolute; top: clamp(3px, .4vw, 5px); left: 50%; width: 5px; height: 5px; border-radius: 50%; background: #3b3548; translate: -50% 0; }
.dev-desktop::after { content: ""; position: absolute; bottom: clamp(8px, 1vw, 11px); left: 50%; width: 30px; height: 4px; border-radius: 4px; background: #2c2738; translate: -50% 0; }
.dev-desktop .dev-screen { border-radius: 8px; }

/* More breathing room between the hero parts (buttons unchanged) */
.hero-light h1 { margin-bottom: 30px; }
.hero-light .hero-sub { margin-bottom: 42px; }
.hero-light .facts-row { margin-top: 46px; row-gap: 14px; }
.hero-light .dev-meta { margin-top: 28px; }
@media (max-width: 900px) { .hero-light h1 { margin-bottom: 24px; } .hero-light .hero-sub { margin-bottom: 34px; } .hero-light .facts-row { margin-top: 36px; } .hero-light .wrap { row-gap: 56px; } }

/* Centered section titles: the short line sits under the title */
.section-head.center { flex-direction: column; align-items: center; gap: 6px; }
.section-head.center .lede { margin: 0 auto; }

/* Advanced features (Tier 3) — dark starry band */
.advanced { position: relative; overflow: hidden; isolation: isolate; color: #e9e3f7; background: radial-gradient(60% 80% at 50% 0%, rgba(106, 53, 204, .35), transparent 65%), linear-gradient(180deg, #1a1230, #120d20); }
.advanced > .wrap { position: relative; z-index: 1; }
.advanced h2 { color: #fff; }
.advanced .script { color: #c4a8ff; }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.adv { display: flex; align-items: flex-start; gap: 14px; padding: 22px 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(4px); transition: transform .3s var(--ease), border-color .3s, background .3s; }
.adv:hover { transform: translateY(-4px); border-color: rgba(167, 124, 242, .55); background: rgba(132, 82, 230, .12); }
.adv-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--violet), #5b3bb8); box-shadow: 0 8px 20px -8px rgba(132, 82, 230, .8); }
.adv:nth-child(even) .adv-ico { background: linear-gradient(135deg, #12b39b, #0d7f8f); box-shadow: 0 8px 20px -8px rgba(18, 179, 155, .7); }
.adv-ico svg { width: 22px; height: 22px; }
.adv h3 { font-size: 1.05rem; letter-spacing: -.02em; margin: 2px 0 4px; color: #fff; }
.adv p { margin: 0; font-size: .92rem; line-height: 1.45; color: #b9aed0; }
.adv-foot { margin-top: 34px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.adv-foot p { margin: 0; max-width: 560px; color: #cfc6e2; font-size: 1.05rem; }
.adv-foot b { color: #fff; }
@media (max-width: 1000px) { .adv-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .adv-grid { gap: 10px; } .adv { flex-direction: column; gap: 10px; padding: 16px 14px; } .adv-ico { width: 38px; height: 38px; border-radius: 10px; } .adv-ico svg { width: 19px; height: 19px; } .adv h3 { font-size: .98rem; } .adv p { font-size: .84rem; } }

/* Site picker pop-up (hero) */
.picker { position: fixed; inset: 0; z-index: 190; display: grid; place-items: center; padding: 20px; opacity: 0; transition: opacity .25s; }
.picker[hidden] { display: none; }
.picker.open { opacity: 1; }
.pk-backdrop { position: absolute; inset: 0; background: rgba(12, 9, 22, .72); backdrop-filter: blur(6px); }
.pk-card { position: relative; width: min(920px, 100%); max-height: calc(100svh - 40px); overflow-y: auto; padding: clamp(24px, 4vw, 40px); border-radius: 22px; color: #ece6f3; background: radial-gradient(70% 60% at 100% 0%, rgba(106, 53, 204, .45), transparent 65%), radial-gradient(60% 60% at 0% 100%, rgba(18, 179, 155, .14), transparent 60%), #17122a; border: 1px solid rgba(180, 150, 255, .22); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .85); transform: translateY(14px) scale(.98); transition: transform .35s var(--ease); }
.picker.open .pk-card { transform: none; }
.pk-x { position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: #15121f; display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .6); transition: transform .2s var(--ease), background .2s, color .2s; }
.pk-x svg { width: 22px; height: 22px; }
.pk-x:hover { background: var(--violet); color: #fff; transform: rotate(90deg); }
.pk-x:focus-visible { outline: 3px solid var(--violet2); outline-offset: 3px; }
.pk-card h2 { margin: 0 56px 20px 0; color: #fff; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.pk-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); width: fit-content; max-width: 100%; }
.pk-tabs button { padding: 11px 18px; border-radius: 10px; border: 0; background: transparent; color: #cfc6e2; font: 600 .95rem/1 var(--body); text-transform: capitalize; cursor: pointer; transition: background .2s, color .2s; }
.pk-tabs button:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.pk-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .6); }
.pk-tabs button:focus-visible { outline: 3px solid var(--violet2); outline-offset: 2px; }
.pk-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 22px 0 18px; }
.pk-price b { font: 800 clamp(1.9rem, 4vw, 2.5rem)/1 var(--body); letter-spacing: -.03em; color: #fff; }
.pk-price small { font-weight: 600; color: #c4a8ff; }
.pk-price span { flex-basis: 100%; color: #b9aed0; }
.pk-sites { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pk-site { display: flex; flex-direction: column; text-align: left; padding: 0; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .05); color: inherit; font: inherit; cursor: pointer; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.pk-site:hover, .pk-site:focus-visible { transform: translateY(-4px); border-color: rgba(167, 124, 242, .6); box-shadow: 0 24px 44px -22px rgba(106, 53, 204, .9); outline: none; }
.pk-shot { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.pk-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.pk-site:hover .pk-shot img { transform: scale(1.03); }
.pk-info { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 6px; }
.pk-info b { color: #fff; font-size: 1.05rem; }
.pk-info small { color: #b9aed0; font-size: .9rem; text-transform: none; }
.pk-price span { text-transform: none; }
.pk-go { align-self: flex-start; margin: 8px 18px 18px; padding: 9px 16px; border-radius: 10px; background: #fff; color: var(--ink); font-weight: 700; font-size: .9rem; box-shadow: 0 4px 0 #b9a6e6; transition: background .2s; }
.pk-site:hover .pk-go { background: #f1eaff; }
html.picker-lock, html.picker-lock body { overflow: hidden; }
@media (max-width: 640px) {
  .picker { padding: 10px; align-items: end; }
  .pk-card { max-height: calc(100svh - 20px); border-radius: 20px; padding: 22px 16px 18px; }
  .pk-x { top: 12px; right: 12px; width: 42px; height: 42px; }
  .pk-tabs { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .pk-tabs button { padding: 10px 4px; font-size: .8rem; line-height: 1.2; }
  .pk-sites { gap: 10px; }
  .pk-info { padding: 10px 10px 2px; } .pk-info b { font-size: .88rem; } .pk-info small { display: none; }
  .pk-go { margin: 6px 10px 12px; padding: 7px 10px; font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) { .picker, .pk-card { transition: none; } }

/* Site picker v2: centered top, smaller box, price + checklist side by side */
.pk-card { width: min(800px, 100%); padding: clamp(22px, 3.4vw, 34px); }
.pk-card h2 { margin: 4px 50px 16px; text-align: center; }
.pk-tabs { margin: 0 auto; }
.pk-summary { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px 28px; margin: 20px 0 16px; padding: 18px 22px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.pk-price { display: flex; flex-direction: column; gap: 4px; margin: 0; padding-right: 28px; border-right: 1px solid rgba(255, 255, 255, .12); }
.pk-price small { font-size: .8rem; color: #c4a8ff; }
.pk-price b { font-size: clamp(1.8rem, 3.6vw, 2.3rem); }
.pk-price span { flex-basis: auto; max-width: 200px; font-size: .9rem; line-height: 1.4; }
.pk-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.pk-checks li { position: relative; padding-left: 26px; color: #e3dcf1; font-size: .93rem; line-height: 1.35; }
.pk-checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 17px; height: 17px; border-radius: 50%; background: rgba(18, 179, 155, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d6bc' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.pk-sites { gap: 14px; }
.pk-shot { aspect-ratio: 16 / 9; }
.pk-info { padding: 13px 16px 4px; }
.pk-go { margin: 6px 16px 15px; padding: 8px 14px; }
@media (max-width: 640px) {
  .pk-card h2 { margin: 2px 46px 14px; }
  .pk-summary { grid-template-columns: 1fr; gap: 12px; padding: 14px 16px; margin: 14px 0 12px; }
  .pk-price { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 0 0 12px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .pk-price span { max-width: none; flex-basis: 100%; }
  .pk-checks { gap: 8px 12px; } .pk-checks li { font-size: .82rem; padding-left: 22px; } .pk-checks li::before { width: 15px; height: 15px; background-size: 10px; }
}

/* Site picker v3: smaller, two bullets, always centered */
.pk-card { width: min(700px, 100%); padding: clamp(20px, 3vw, 30px); }
.pk-card h2 { font-size: clamp(1.5rem, 2.6vw, 1.85rem); margin-bottom: 14px; }
.pk-summary { margin: 16px 0 14px; padding: 16px 20px; gap: 14px 24px; }
.pk-price { padding-right: 24px; }
.pk-checks { grid-template-columns: 1fr; gap: 10px; }
.pk-sites { gap: 12px; }
.pk-info b { font-size: 1rem; }
.pk-info small { font-size: .86rem; }
@media (max-width: 640px) {
  .picker { align-items: center; padding: 12px; }
  .pk-card { max-height: calc(100svh - 24px); }
  .pk-checks { grid-template-columns: 1fr 1fr; }
}

/* Site picker: name + centered View site button */
.pk-site { text-align: center; }
.pk-info { align-items: center; padding: 14px 14px 2px; }
.pk-go { align-self: center; margin: 8px auto 16px; }
@media (max-width: 640px) { .pk-info { padding: 10px 8px 0; } .pk-go { margin: 8px auto 12px; } }

/* Site picker: price on the left; description over the bullets on the right */
.pk-detail { display: flex; flex-direction: column; gap: 10px; }
.pk-note { margin: 0; color: #fff; font-weight: 600; font-size: 1rem; line-height: 1.4; }
.pk-price { justify-content: center; }
@media (max-width: 640px) {
  .pk-detail { gap: 8px; }
  .pk-note { font-size: .92rem; }
}

/* Hero "Explore the sites": same pill shape as the other buttons */
.hero-light .dev-view { border-radius: 999px; padding: 14px 26px; font-size: .98rem; font-weight: 600; background: #fff; color: var(--ink); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .55); }
.hero-light .dev-view:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6), 0 0 0 4px rgba(167, 124, 242, .35); }
.hero-light .dev-view:active { transform: translateY(0); box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .5); }

/* About intro: shorter lines on desktop, a little space before the button */
@media (min-width: 901px) { .about-body p.big { max-width: 30ch; } }
.about-body p.big + .btn { margin-top: 10px; }

/* Hero: explore button centered under the screen; checkmarks centered along the bottom */
.hero-light .dev-meta { justify-content: center; padding-right: 0; }
@media (max-width: 900px) { .hero-light .dev-meta { padding-right: 0; } }
@media (max-width: 520px) { .hero-light .dev-meta { padding-right: 27%; } }
.hero-light .hero-facts { grid-column: 1 / -1; justify-content: center; margin-top: clamp(8px, 2vw, 24px); }
@media (max-width: 900px) { .hero-light .hero-facts { margin-top: 0; } }

/* About page intro: comfortable line length for the extra paragraphs */
@media (min-width: 901px) { #about .about-body p { max-width: 46ch; } #about .about-body p.big { max-width: 30ch; } }
#about .about-body p + p { margin-top: 14px; }

/* About page intro: one even text style, then a grid of quick facts */
#about .intro-text p { max-width: 52ch; margin: 0; color: var(--ink2); font-size: 1.08rem; line-height: 1.65; }
#about .intro-text p + p { margin-top: 14px; }
.intro-facts { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 560px; }
.intro-facts li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink2); font-size: .98rem; line-height: 1.35; }
.intro-facts b { color: var(--ink); font-weight: 650; }
.if-ico { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: linear-gradient(150deg, var(--violet2), #4b21a8); box-shadow: 0 8px 18px -8px rgba(106, 53, 204, .8); }
.intro-facts li:nth-child(even) .if-ico { background: linear-gradient(150deg, #12b39b, #0d7f8f); box-shadow: 0 8px 18px -8px rgba(18, 179, 155, .7); }
.if-ico svg { width: 20px; height: 20px; }
@media (max-width: 560px) { .intro-facts { grid-template-columns: 1fr; } }

/* About hero: starry space band like the home hero */
.about-hero { padding: clamp(80px, 11vw, 140px) 0 clamp(64px, 8vw, 100px); background: radial-gradient(70% 90% at 85% 10%, #43228a 0%, transparent 62%), radial-gradient(60% 80% at 5% 100%, #0f3b3a 0%, transparent 58%), linear-gradient(180deg, #1c1334, #130e22); }
.about-hero::before { display: none; }
.about-hero .wrap { z-index: 1; }
.about-hero h1 { font-size: clamp(3rem, 7vw, 5.2rem); }
.about-hero h1 .script { font-size: 1.08em; background: linear-gradient(120deg, #a77cf2, #34d6bc); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.about-hero .lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #d9d0ec; }

/* About: two fact cards + interest chips */
.intro-facts { max-width: 600px; }
.interests { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; color: var(--muted); font-size: .98rem; }
.interests .chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--vsoft); border: 1px solid #e3d8fa; color: var(--ink); font-weight: 600; font-size: .95rem; }
.interests .chip svg { width: 18px; height: 18px; color: var(--violet); }

/* Good To Know as a dark section */
.night.faq-section h2 { color: #fff; }
.night .faq details { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.night .faq details:hover { border-color: rgba(167, 124, 242, .55); box-shadow: 0 22px 44px -22px rgba(106, 53, 204, .8); }
.night .faq details[open] { border-color: rgba(167, 124, 242, .7); background: rgba(132, 82, 230, .1); box-shadow: 0 22px 44px -22px rgba(106, 53, 204, .8); }
.night .faq summary { color: #fff; }
.night .faq summary::after { background: rgba(255, 255, 255, .1); color: #d4c1ff; }
.night .faq details[open] summary::after { background: var(--violet); color: #fff; }
.night .faq details p { color: #c9bfdc; }
.night .faq details p a { color: #c4a8ff; }

/* About: slim starry quote band between the crafts cards and Good To Know */
.quote-band { position: relative; overflow: hidden; isolation: isolate; padding: clamp(64px, 8vw, 104px) 0; text-align: center; color: #fff; background: radial-gradient(60% 120% at 15% 0%, rgba(106, 53, 204, .45), transparent 62%), radial-gradient(50% 110% at 90% 100%, rgba(18, 179, 155, .18), transparent 60%), linear-gradient(180deg, #1a1230, #120d20); }
.quote-band > .wrap { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.qb-line { margin: 0; max-width: 20ch; font: 700 clamp(1.9rem, 4.2vw, 3.1rem)/1.15 var(--body); letter-spacing: -.035em; color: #fff; }
.qb-line .script { color: #c4a8ff; font-size: 1.06em; }
.quote-band + .faq-section { padding-top: clamp(64px, 8vw, 100px); }

/* Footer (same on every page): brand + links, dark starry */
.site-footer { position: relative; overflow: hidden; padding: clamp(48px, 6vw, 72px) 0 26px; color: #b9aed0; font-size: .95rem; border-top: 1px solid rgba(255, 255, 255, .08); background: radial-gradient(50% 120% at 0% 0%, rgba(106, 53, 204, .32), transparent 60%), radial-gradient(40% 100% at 100% 100%, rgba(18, 179, 155, .14), transparent 60%), #120d20; }
.site-footer::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: radial-gradient(1px 1px at 12% 30%, #fff, transparent), radial-gradient(1px 1px at 28% 70%, #fff, transparent), radial-gradient(1.5px 1.5px at 46% 20%, #d4c1ff, transparent), radial-gradient(1px 1px at 63% 62%, #fff, transparent), radial-gradient(1.5px 1.5px at 78% 28%, #5eead4, transparent), radial-gradient(1px 1px at 90% 74%, #fff, transparent), radial-gradient(1px 1px at 6% 82%, #fff, transparent), radial-gradient(1px 1px at 55% 88%, #d4c1ff, transparent); }
.site-footer .wrap { position: relative; display: block; }
.ft-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.ft-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.ft-logo img { height: 40px; width: auto; }
.ft-logo span { font: 400 1.9rem/1 var(--script); padding-top: 4px; }
.ft-brand p { margin: 14px 0 20px; max-width: 30ch; color: #c9bfdc; line-height: 1.55; }
.ft-social { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ft-ico { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); transition: background .2s, border-color .2s, transform .2s; }
.ft-ico svg { width: 19px; height: 19px; }
.ft-ico:hover { background: rgba(132, 82, 230, .35); border-color: rgba(196, 168, 255, .6); transform: translateY(-2px); }
.ft-mail { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 600; background: linear-gradient(135deg, #8452e6, #6a35cc); box-shadow: 0 10px 24px -12px rgba(106, 53, 204, .9); transition: transform .2s; }
.ft-mail[hidden] { display: none; }
.ft-mail svg { width: 18px; height: 18px; }
.ft-mail:hover { transform: translateY(-2px); }
.ft-col { display: flex; flex-direction: column; gap: 10px; }
.ft-col b { color: #fff; font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.site-footer .ft-col a, .site-footer .ft-bottom a { color: #b9aed0; text-decoration: none; transition: color .2s; }
.site-footer .ft-col a:hover, .site-footer .ft-bottom a:hover { color: #fff; }
.ft-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; color: #9a8fb3; }
@media (max-width: 860px) { .ft-top { grid-template-columns: 1fr 1fr 1fr; } .ft-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .ft-top { grid-template-columns: 1fr 1fr; gap: 26px 20px; } .ft-col:last-child { grid-column: auto; } .ft-bottom { flex-direction: column; align-items: flex-start; } }

/* "Have a project in mind?" card: starry, copy on the left, floating planet on the right */
.cta-v2 { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 24px; text-align: left; padding: clamp(40px, 6vw, 72px) clamp(28px, 6vw, 72px); isolation: isolate; background: radial-gradient(60% 90% at 0% 0%, rgba(132, 82, 230, .55), transparent 62%), radial-gradient(50% 80% at 100% 100%, rgba(18, 179, 155, .3), transparent 60%), linear-gradient(160deg, #241446, #140d26); border: 1px solid rgba(196, 168, 255, .22); }
.cta-v2 > :not(.space-canvas) { position: relative; z-index: 1; }
.cta-v2 h2 { margin-bottom: 14px; }
.cta-v2 h2 .script { color: #c4a8ff; font-size: 1.06em; white-space: nowrap; }
.cta-v2 p { margin: 0 0 28px; max-width: 40ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-v2 .btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .28); box-shadow: none; }
.cta-v2 .btn-ghost:hover { background: rgba(255, 255, 255, .16); border-color: #fff; color: #fff; }
.cta-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; color: #e6defa; font-size: .95rem; }
.cta-points li { display: inline-flex; align-items: center; gap: 8px; }
.cta-points li::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(132, 82, 230, .45); color: #e6defa; font-size: .72rem; font-weight: 700; }
.cta-art { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 340px; width: 100%; justify-self: center; }
.cta-art::before { content: ""; position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(circle, rgba(132, 82, 230, .55), transparent 70%); filter: blur(18px); }
.cta-art img { position: relative; width: 78%; height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .55)); animation: ctaFloat 6s ease-in-out infinite; }
.cta-orbit { position: absolute; inset: 4%; border-radius: 50%; border: 1px dashed rgba(196, 168, 255, .35); animation: ctaSpin 40s linear infinite; }
.cta-orbit.o2 { inset: 16%; border-style: solid; border-color: rgba(94, 234, 212, .22); animation-duration: 28s; animation-direction: reverse; }
.cta-orbit::after { content: ""; position: absolute; top: 50%; left: -5px; width: 10px; height: 10px; border-radius: 50%; background: #5eead4; box-shadow: 0 0 12px #5eead4; }
.cta-orbit.o2::after { left: auto; right: -4px; top: 30%; width: 8px; height: 8px; background: #c4a8ff; box-shadow: 0 0 12px #c4a8ff; }
@keyframes ctaFloat { 50% { transform: translateY(-10px) rotate(-3deg); } }
@keyframes ctaSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cta-art img, .cta-orbit { animation: none; } }
@media (max-width: 760px) { .cta-v2 { grid-template-columns: 1fr; text-align: center; } .cta-v2 p { margin-left: auto; margin-right: auto; } .cta-actions, .cta-points { justify-content: center; } .cta-art { order: -1; max-width: 200px; } }

/* 404: "You've wandered off the map" */
.lost { position: relative; overflow: hidden; isolation: isolate; min-height: calc(100svh - 70px); display: grid; align-content: center; padding: 60px 0; color: #fff; background: radial-gradient(70% 90% at 85% 15%, #43228a 0%, transparent 62%), radial-gradient(60% 80% at 5% 100%, #0f3b3a 0%, transparent 58%), linear-gradient(180deg, #1c1334, #130e22); }
.lost .wrap { position: relative; z-index: 1; }
.lost-inner { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 32px; }
.lost-code { margin: 0 0 6px; font: 800 clamp(4rem, 12vw, 8rem)/1 var(--body); letter-spacing: -.05em; background: linear-gradient(120deg, #c4a8ff, #5eead4); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.lost h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); color: #fff; }
.lost h1 .script { color: #c4a8ff; font-size: 1.06em; }
.lost .lede { color: #d9d0ec; margin: 0 0 28px; max-width: 38ch; }
.lost .btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .28); }
.lost .btn-ghost:hover { background: rgba(255, 255, 255, .16); border-color: #fff; color: #fff; }
.lost-art { max-width: 380px; }
.lost-art img { animation-duration: 8s; }
@media (max-width: 760px) { .lost-inner { grid-template-columns: 1fr; text-align: center; } .lost .lede { margin-left: auto; margin-right: auto; } .lost .hero-actions { justify-content: center; } .lost-art { order: -1; max-width: 190px; } }

/* Footer v2: brand, main page links, social icons in one row */
.ft-top { grid-template-columns: auto 1fr auto; align-items: center; gap: 28px 40px; }
.ft-brand p { margin: 10px 0 0; }
.ft-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.site-footer .ft-links a { color: #d4cbe6; text-decoration: none; font-weight: 500; transition: color .2s; }
.site-footer .ft-links a:hover { color: #fff; }
.ft-bottom { justify-content: center; margin-top: 32px; }
@media (max-width: 860px) { .ft-top { grid-template-columns: 1fr; justify-items: center; text-align: center; } .ft-brand { grid-column: auto; } .ft-brand p { margin-left: auto; margin-right: auto; } }
@media (max-width: 520px) { .ft-top { grid-template-columns: 1fr; } .ft-links { gap: 12px 22px; } .ft-bottom { align-items: center; } }

/* Footer v3: brand + icons on the left; links in two columns with Legal & privacy centered below */
.ft-top { grid-template-columns: 1fr auto; align-items: center; gap: 32px 48px; }
.ft-brand p { margin: 10px 0 18px; }
.ft-links { display: grid; grid-template-columns: auto auto; justify-content: end; justify-items: center; gap: 14px 64px; }
.ft-links .ft-legal { grid-column: 1 / -1; margin-top: 4px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); width: 100%; text-align: center; color: #b9aed0; font-size: .9rem; }
@media (max-width: 760px) { .ft-top { grid-template-columns: 1fr; justify-items: center; text-align: center; } .ft-social { justify-content: center; } .ft-links { justify-content: center; } }

/* Footer v4: links back in one row */
.site-footer .ft-links { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 10px 28px; }
@media (max-width: 760px) { .site-footer .ft-links { justify-content: center; gap: 12px 22px; } }

/* Tier 3 tab: "Custom" with the starting price underneath */
.tier-tab .tt-sub { display: block; font-style: normal; font-size: .82em; opacity: .75; margin-top: 2px; }

/* Hosting card stays dark; Changes After Launch card is light */
.extras .extra:nth-child(2) { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow); }
.extras .extra:nth-child(2):hover { box-shadow: var(--shadow-lg); }
.extras .extra:nth-child(2) h3, .extras .extra:nth-child(2) .extra-price { color: var(--ink); }
.extras .extra:nth-child(2) p { color: var(--ink2); }
.extras .extra:nth-child(2) .extra-price small { color: var(--violet); }
.extras .extra:nth-child(2) .extra-ico { background: linear-gradient(150deg, #2cc9b0, #0d7f8f); color: #fff; border-color: transparent; }

/* Site picker: same-size price panel on every tab */
.pk-summary { grid-template-columns: 190px 1fr; min-height: 118px; }
.pk-price { min-width: 0; }
.pk-price b { white-space: nowrap; }
#pk-panel-3 .pk-price b { font-size: clamp(1.45rem, 2.6vw, 1.75rem); }
.pk-note { font-size: .98rem; }
@media (max-width: 640px) { .pk-summary { grid-template-columns: 1fr; min-height: 0; } #pk-panel-3 .pk-price b { font-size: 1.6rem; } }
@media (min-width: 901px) {
  .hero-light .hero-facts { margin-top: clamp(40px, 4.5vw, 72px); column-gap: clamp(48px, 6vw, 96px); font-size: 1.05rem; }
  .hero-light .hero-facts span { gap: 10px; }
  .hero-light .hero-facts span::before { width: 24px; height: 24px; font-size: .8rem; }
}

/* Package tabs: bigger names and prices, centered, badge centered on the top edge */
.tier-tab { text-align: center; justify-items: center; align-content: start; gap: 6px; padding: clamp(22px, 2.6vw, 34px) 18px clamp(20px, 2.4vw, 30px); }
.tier-tab small { font-size: clamp(.7rem, .9vw, .8rem); }
.tier-tab b { font-size: clamp(1.35rem, 2.6vw, 2.25rem); line-height: 1.1; }
.tier-tab > span:not(.pop) { font: 600 clamp(.95rem, 1.4vw, 1.25rem)/1.2 var(--body); color: var(--ink2); }
.tier-tab .tt-sub { font-weight: 500; }
.tier-tab .pop { left: 50%; right: auto; translate: -50% 0; top: -13px; padding: 6px 14px; font-size: .74rem; white-space: nowrap; }
@media (max-width: 900px) { .tier-tab { padding: 20px 10px 16px; } .tier-tab b { font-size: 1.25rem; } .tier-tab > span:not(.pop) { font-size: .9rem; } }
@media (max-width: 560px) { .tier-tab { padding: 18px 6px 12px; } .tier-tab b { font-size: 1.05rem; } .tier-tab .pop { right: auto; font-size: .66rem; padding: 5px 9px; } }

/* FAQ: the whole box opens and closes */
.faq details { cursor: pointer; }
.faq details p { cursor: pointer; }
/* Package tab prices a bit bigger; "Custom" and "$3,000+" match the other prices */
.tier-tab > span:not(.pop) { font-size: clamp(1.05rem, 1.8vw, 1.6rem); font-weight: 600; color: var(--ink2); }
.tier-tab .tt-sub { font-size: 1em; font-weight: 600; opacity: 1; margin-top: 4px; }
@media (max-width: 900px) { .tier-tab > span:not(.pop) { font-size: 1rem; } }
@media (max-width: 560px) { .tier-tab > span:not(.pop) { font-size: .92rem; } }

/* Package examples: pick an example (cards above the mockup), then open it */
.dev-pick { margin-bottom: 18px; position: relative; z-index: 3; }
.dev-pick-label { margin: 0 0 10px; font: 600 .95rem/1.2 var(--body); color: var(--ink); }
.dev-pick .dev-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dev-pick .dev-chips button { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 16px; border: 2px solid var(--line); background: #fff; color: var(--ink); text-align: left; font: inherit; cursor: pointer; position: relative; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.dev-pick .dev-chips button:hover { border-color: var(--violet2); transform: translateY(-2px); }
.dev-pick .dev-chips button[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: var(--violet); box-shadow: 0 0 0 4px var(--vsoft); }
.dp-thumb { flex: none; width: 64px; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: var(--vsoft); box-shadow: inset 0 0 0 1px var(--line); }
.dp-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.dp-txt { display: grid; gap: 2px; min-width: 0; flex: 1; }
.dp-txt b { font: 600 .95rem/1.2 var(--body); letter-spacing: -.01em; }
.dp-txt small { font-size: .8rem; color: var(--muted); }
.dp-dot { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; transition: all .2s; }
.dev-chips button[aria-pressed="true"] .dp-dot { border-color: var(--violet); background: var(--violet); box-shadow: inset 0 0 0 3px #fff; }
.has-pick .dev-meta { justify-content: flex-start; }
.has-pick .dev-view { font-size: .95rem; padding: 12px 20px; }
.has-pick .dev-hint { font: 600 .82rem/1 var(--body); }
@media (max-width: 560px) {
  .dev-pick .dev-chips { gap: 8px; }
  .dev-pick .dev-chips button { flex-direction: column; align-items: flex-start; gap: 8px; padding: 10px; }
  .dp-thumb { width: 100%; }
  .dp-dot { position: absolute; top: 8px; right: 8px; background: #fff; }
  .dp-txt b { font-size: .88rem; }
}

/* "Built to look good" section: slow drifting aurora light (moves on its own) */
.aurora { position: relative; overflow: hidden; isolation: isolate; }
.aurora-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.aurora-bg i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.aurora-bg i:nth-child(1) { width: 46vw; height: 46vw; left: -10vw; top: -14vw; background: radial-gradient(circle, rgba(132, 82, 230, .75), transparent 65%); animation: aur1 26s ease-in-out infinite alternate; }
.aurora-bg i:nth-child(2) { width: 40vw; height: 40vw; right: -8vw; bottom: -16vw; background: radial-gradient(circle, rgba(18, 179, 155, .5), transparent 65%); animation: aur2 32s ease-in-out infinite alternate; }
.aurora-bg i:nth-child(3) { width: 30vw; height: 30vw; left: 38%; top: 30%; background: radial-gradient(circle, rgba(94, 140, 240, .45), transparent 65%); animation: aur3 38s ease-in-out infinite alternate; }
@keyframes aur1 { to { transform: translate(28vw, 12vw) scale(1.15); } }
@keyframes aur2 { to { transform: translate(-30vw, -10vw) scale(1.2); } }
@keyframes aur3 { 0% { transform: translate(-12vw, -6vw) scale(.9); } 100% { transform: translate(14vw, 8vw) scale(1.2); } }
.aurora .wrap { position: relative; }

/* "One person, two crafts": soft light circles floating slowly up behind the white band */
.about-band { position: relative; overflow: hidden; isolation: isolate; }
.bokeh { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.bokeh i { position: absolute; bottom: -180px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(167, 124, 242, .32), rgba(167, 124, 242, 0) 70%); animation: rise-bokeh linear infinite; will-change: transform; }
.bokeh i:nth-child(even) { background: radial-gradient(circle at 35% 35%, rgba(18, 179, 155, .24), rgba(18, 179, 155, 0) 70%); }
.bokeh i:nth-child(1) { left: 4%; width: 220px; height: 220px; animation-duration: 34s; animation-delay: -6s; }
.bokeh i:nth-child(2) { left: 22%; width: 120px; height: 120px; animation-duration: 28s; animation-delay: -18s; }
.bokeh i:nth-child(3) { left: 41%; width: 260px; height: 260px; animation-duration: 40s; animation-delay: -2s; }
.bokeh i:nth-child(4) { left: 58%; width: 150px; height: 150px; animation-duration: 30s; animation-delay: -24s; }
.bokeh i:nth-child(5) { left: 72%; width: 200px; height: 200px; animation-duration: 36s; animation-delay: -12s; }
.bokeh i:nth-child(6) { left: 86%; width: 110px; height: 110px; animation-duration: 26s; animation-delay: -9s; }
.bokeh i:nth-child(7) { left: 92%; width: 240px; height: 240px; animation-duration: 42s; animation-delay: -30s; }
@keyframes rise-bokeh { 0% { transform: translate(0, 0); } 50% { transform: translate(30px, -60vh); } 100% { transform: translate(-20px, calc(-100% - 120vh)); } }

/* "More about me": a solid, clearly clickable button */
.btn-more { gap: 10px; box-shadow: 0 12px 26px -12px rgba(106, 53, 204, .75); }
.btn-more span { transition: transform .25s var(--ease); }
.btn-more:hover span { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) { .aurora-bg i, .bokeh i { animation: none; } }
.aurora-bg i { opacity: .8; }
.bokeh { container-type: size; }
.bokeh i { bottom: auto; top: 100%; }
@keyframes rise-bokeh { 0% { transform: translate(0, 0); } 50% { transform: translate(30px, calc(-50cqh - 50%)); } 100% { transform: translate(-20px, calc(-100cqh - 100%)); } }
.bokeh i { background: radial-gradient(circle at 35% 35%, rgba(167, 124, 242, .42), rgba(167, 124, 242, 0) 70%); }
.bokeh i:nth-child(even) { background: radial-gradient(circle at 35% 35%, rgba(18, 179, 155, .32), rgba(18, 179, 155, 0) 70%); }
/* Example picker sits under the mockup, beside the phone */
.has-pick .dev-pick { margin: 22px 0 0; padding-right: 30%; }
.has-pick .dev-meta { margin-top: 14px; }
@media (max-width: 900px) { .has-pick .dev-pick { padding-right: 32%; } }
/* Phone stays beside the laptop; the example picker uses the full width below */
.dev-stage { position: relative; }
.has-pick .dev-phone { bottom: -6%; }
.has-pick .dev-pick { padding-right: 0; margin-top: 34px; }
.has-pick .dev-meta { padding-right: 0; }
@media (max-width: 900px) { .has-pick .dev-pick { padding-right: 0; } }
.devices.has-pick { padding-bottom: 0; }
/* Open button right under the laptop, example picker below it */
.has-pick .dev-meta { margin-top: 30px; }
.has-pick .dev-pick { margin-top: 22px; }

/* "One person, two crafts": slow orbit rings behind the photo + a few floating D20s */
.bokeh { display: none; }
.about-band .portrait { position: relative; z-index: 0; }
.about-band .portrait img { position: relative; z-index: 1; }
.orbits { position: absolute; left: 50%; top: 50%; width: 190%; height: auto; translate: -50% -50%; z-index: 0; overflow: visible; pointer-events: none; }
.orbits .ring { fill: none; stroke-width: 1.4; }
.orbits .r1 { stroke: rgba(132, 82, 230, .38); stroke-dasharray: 5 8; animation: ringdash 30s linear infinite; }
.orbits .r2 { stroke: rgba(18, 179, 155, .32); stroke-dasharray: 2 7; animation: ringdash 44s linear infinite reverse; }
.orbits .r3 { stroke: rgba(132, 82, 230, .16); }
.orbits .m1 { fill: #12b39b; } .orbits .m2 { fill: #8452e6; } .orbits .m3 { fill: #a77cf2; }
@keyframes ringdash { to { stroke-dashoffset: -260; } }
.about-deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.d20 { position: absolute; display: block; animation: d20float ease-in-out infinite alternate; }
.d20 svg { width: 100%; height: auto; display: block; fill: none; stroke-width: 1.3; stroke-linejoin: round; animation: d20spin linear infinite; }
.d20.d1 { width: 46px; left: 47%; top: 12%; animation-duration: 9s; } .d20.d1 svg { stroke: rgba(132, 82, 230, .45); animation-duration: 40s; }
.d20.d2 { width: 30px; right: 8%; top: 22%; animation-duration: 11s; animation-delay: -4s; } .d20.d2 svg { stroke: rgba(18, 179, 155, .5); animation-duration: 55s; animation-direction: reverse; }
.d20.d3 { width: 38px; right: 16%; bottom: 14%; animation-duration: 10s; animation-delay: -7s; } .d20.d3 svg { stroke: rgba(132, 82, 230, .35); animation-duration: 48s; }
.d20.d4 { width: 26px; left: 38%; bottom: 10%; animation-duration: 12s; animation-delay: -2s; } .d20.d4 svg { stroke: rgba(18, 179, 155, .4); animation-duration: 60s; animation-direction: reverse; }
@keyframes d20float { from { transform: translate(0, 0); } to { transform: translate(10px, -22px); } }
@keyframes d20spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .orbits { width: 150%; } .d20.d1 { left: auto; right: 10%; top: 4%; } .d20.d4 { left: 8%; bottom: 4%; } }
@media (prefers-reduced-motion: reduce) { .d20, .d20 svg, .orbits .ring { animation: none; } }
.about-band .about-body { position: relative; z-index: 2; }

/* "Built to look good" section: northern-lights curtains drawn on a canvas behind the cards */
.aurora-cv { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; filter: blur(14px) saturate(1.1); opacity: .75; }
.aurora::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(20, 13, 38, .55)); }
/* Orbit rings: smaller, on the right side of the band (not behind the photo) */
.about-deco .orbits { left: auto; right: 3%; top: 50%; width: clamp(240px, 26vw, 360px); translate: 0 -50%; }
.about-deco .d20.d2 { right: 30%; }
@media (max-width: 900px) { .about-deco .orbits { width: 210px; right: -40px; top: 14%; translate: 0 0; } }
.about-deco .orbits .ring { stroke-width: 2; }
@media (max-width: 900px) {
  .about-deco .orbits { top: auto; bottom: 2%; right: -24px; width: 180px; }
  .about-deco .d20.d3 { right: auto; left: 62%; bottom: 36%; }
}
@media (max-width: 900px) {
  .about-deco .d20.d2 { right: 5%; left: auto; top: 34%; }
  .about-deco .d20.d3 { display: none; }
}
/* Package panel: roomier left column, phone mockup sits beside the Open button */
@media (min-width: 901px) {
  .tier-copy .tag { margin-bottom: 6px; }
  .tier-copy h3 { margin: 10px 0 8px; }
  .tier-copy .price { margin-bottom: 18px; }
  .tier-copy .price-note { margin-bottom: 30px; }
  .tier-copy .checks { gap: 15px; margin-bottom: 34px; }
  .tier-copy .checks li { font-size: 1.04rem; }
  .has-pick .dev-phone { bottom: -78px; }
}

/* QA fixes: readable badges, labels and tap targets */
.tier-tab .pop, .cart-fab .cart-count { background: #0b7a69; }
.tag, .tier-tab small, .product-cat, .work-tag { font-size: .78rem; }
.store-teaser .lede { color: var(--ink2); }
@media (max-width: 760px) { .site-footer .ft-links a { display: inline-block; padding: 8px 4px; } .ft-links { row-gap: 4px; } }
:root { --muted: #5c566a; }
.nowrap { white-space: nowrap; }
.cart-note { color: #0b7a69; }
.qty button { width: 34px; height: 34px; }
.tier-tab .pop { font-size: .75rem; }
@media (max-width: 560px) { .tier-tab .pop { font-size: .75rem; padding: 5px 8px; } }

/* About: Dungeon Mastering card in dark stone (like the D&D page), text kept bright */
.craft.craft-dnd {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(132, 82, 230, .22), transparent 60%),
    linear-gradient(rgba(16, 12, 24, .80), rgba(12, 9, 18, .88)),
    url("../img/brand/stone.jpg") center / 520px auto;
  border-color: rgba(167, 124, 242, .28);
  box-shadow: 0 24px 50px -24px rgba(16, 10, 30, .8), inset 0 1px 0 rgba(255, 255, 255, .06);
  color: #f1ecf8;
}
.craft.craft-dnd h3 { color: #fff; }
.craft.craft-dnd p { color: #d6cde6; }
.craft.craft-dnd li { color: #ece6f3; }
.craft.craft-dnd li::before { color: var(--torch); }

/* Store on phones: just the floating cart button, and filters in one swipeable row */
@media (max-width: 760px) {
  .store-bar .cart-btn { display: none; }
  .store-bar { flex-wrap: nowrap; }
  .store-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 0 -16px; padding: 2px 16px 6px; width: calc(100% + 32px); scroll-snap-type: x proximity; }
  .store-filters::-webkit-scrollbar { display: none; }
  .store-filters button { flex: none; scroll-snap-align: start; }
}

/* Small floating planet above the hero's three facts (same as the bottom call-to-action, smaller) */
.hero-light .hero-planet { order: 0; grid-column: 1 / -1; justify-self: center; width: 140px; max-width: 140px; margin: -30px 0 -36px; }
.hero-light .hero-planet + .hero-facts { margin-top: 0 !important; }
.hero-planet img { width: 62%; animation-name: heroPlanetFloat; }
@keyframes heroPlanetFloat { 50% { transform: translateY(-4px) rotate(-3deg); } }
.hero-planet .cta-orbit::after { width: 7px; height: 7px; left: -3.5px; }
.hero-planet .cta-orbit.o2::after { width: 6px; height: 6px; right: -3px; left: auto; }
/* Home hero: no forced full-screen height, just padding around the content */
@media (min-width: 901px) { .hero-light.home-hero { min-height: 0; padding: clamp(122px, 12vw, 130px) 0 clamp(44px, 4.5vw, 60px); } }
@media (max-width: 900px) { .hero-light .hero-planet { width: 112px; margin: -8px 0 -28px; } }
/* Desktop: middle fact sits exactly in the center, right under the planet */
@media (min-width: 901px) {
  .hero-light .hero-planet + .hero-facts { display: grid; grid-template-columns: 1fr auto 1fr; }
  .hero-light .hero-planet + .hero-facts span:first-child { justify-self: end; }
  .hero-light .hero-planet + .hero-facts span:last-child { justify-self: start; }
}
@media (max-width: 900px) { .hero-light.home-hero { padding-top: 80px; padding-bottom: 50px; } }

/* Store top section: title in the middle, floating merch on both sides */
.store-hero { padding: clamp(36px, 5vw, 64px) 0 clamp(36px, 5vw, 64px); }
@media (min-width: 901px) { .hero-light.store-hero { min-height: 0; padding: clamp(40px, 5vw, 64px) 0; } }
.store-hero .wrap { display: grid; grid-template-columns: 1fr minmax(0, 1.25fr) 1fr; align-items: center; gap: clamp(8px, 2vw, 28px); }
.store-hero .hero-copy { text-align: center; }
.store-hero h1 { font-size: clamp(3rem, 6.4vw, 5.4rem); margin-bottom: 14px; }
.store-hero h1 .script { white-space: nowrap; }
.store-hero .hero-sub { margin: 0 auto; max-width: 30ch; font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.sh-side { position: relative; height: clamp(250px, 28vw, 360px); }
.sh-item { position: absolute; padding: 0; border: 0; background: none; cursor: pointer; opacity: 0; animation: svIn .8s var(--ease) forwards, float 7s ease-in-out infinite .8s; }
.sh-item img { width: 100%; display: block; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .55)); transition: transform .5s var(--ease); }
.sh-item:hover img, .sh-item:focus-visible img { transform: scale(1.06); }
.sh-left .sh-a { width: 82%; left: -4%; top: -6%; rotate: -7deg; }
.sh-left .sh-b { width: 50%; right: -2%; bottom: -4%; rotate: -5deg; z-index: 2; animation-delay: .15s, -3s; }
.sh-right .sh-a { width: 82%; right: -4%; top: -4%; rotate: 6deg; animation-delay: .1s, -2s; }
.sh-right .sh-b { width: 44%; left: 0; bottom: 0; rotate: 9deg; z-index: 2; animation-delay: .2s, -4.5s; }
@media (prefers-reduced-motion: reduce) { .sh-item { animation: none; opacity: 1; } }
/* Phones: title on top, merch side by side underneath, nice and big */
@media (max-width: 760px) {
  .store-hero .wrap { grid-template-columns: 1fr 1fr; row-gap: 6px; }
  .store-hero .hero-copy { grid-column: 1 / -1; order: -1; }
  .sh-side { height: clamp(190px, 52vw, 280px); }
}
.dungeon-band h2 .script { color: #c4a8ff; }
.contact-intro h2 .script { color: #c4a8ff; }

/* Desktop header: larger menu text and buttons */
@media (min-width: 981px) {
  html { scroll-padding-top: 96px; }
  .site-header .wrap { height: 80px; gap: 20px; }
  .brand-logo { height: 42px; }
  .brand-text { height: 35px; }
  .nav { gap: 6px; }
  .nav a { font-size: 1.08rem; padding: 10px 18px; }
  .header-right { gap: 10px; }
  .social-btn { width: 44px; height: 44px; }
  .social-btn svg { width: 20px; height: 20px; }
  .header-cta.btn-sm { padding: 13px 24px; font-size: 1rem; }
}

/* Pages added in WordPress (page.php) */
.wp-page { padding-top: 140px; }
.wp-page .wrap { max-width: 820px; }
.wp-content { line-height: 1.75; }
.wp-content img { max-width: 100%; height: auto; }
