@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;600;700;800;900&family=Noto+Serif+TC:wght@500;600;700;900&display=swap');

:root{
  color-scheme:dark;
  --pv-max:1240px;
  --pv-gap:clamp(18px,3vw,42px);
  --pv-pad:clamp(18px,5vw,72px);
  --pv-radius:28px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.preview-page{margin:0;min-width:320px;font-family:"Noto Sans TC",system-ui,-apple-system,sans-serif;overflow-x:hidden}
body.preview-page img{display:block;max-width:100%}
body.preview-page a{color:inherit;text-decoration:none}
body.preview-page button,body.preview-page input,body.preview-page textarea,body.preview-page select{font:inherit}
.preview-noise{position:fixed;inset:0;pointer-events:none;z-index:50;opacity:.055;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.84' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E")}
.preview-switcher{position:fixed;z-index:80;top:max(16px,env(safe-area-inset-top));right:18px;display:flex;align-items:center;gap:7px;padding:7px;border-radius:999px;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 14px 50px #0005}
.preview-switcher>span{font:700 10px/1 system-ui;letter-spacing:.14em;margin:0 8px;white-space:nowrap}
.preview-switcher a{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;font:800 11px/1 system-ui;transition:.25s ease}
.preview-switcher__home{font-size:16px!important}
.preview-switcher a:hover{transform:translateY(-2px)}
.preview-switcher a.is-active{transform:scale(1.08)}
.preview-section{position:relative}
.preview-main{position:relative}
.preview-reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease}
.preview-reveal.is-visible{opacity:1;transform:none}
.preview-hero{min-height:100svh;overflow:hidden;display:flex;flex-direction:column;padding:var(--pv-pad)}
.preview-hero__media,.preview-hero__shade{position:absolute;inset:0}
.preview-hero__media{background-image:var(--preview-bg);background-size:cover;background-position:center}
.preview-hero__top,.preview-hero__content,.preview-hero__index{position:relative;z-index:2}
.preview-hero__top{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}
.preview-brand{display:block;width:clamp(82px,10vw,126px)}
.preview-brand img{width:100%;aspect-ratio:1;object-fit:contain}
.preview-socials{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-start}
.preview-socials a{display:grid;place-items:center;min-width:42px;height:42px;padding:0 11px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.08em;transition:.25s ease}
.preview-socials a:hover{transform:translateY(-3px)}
.preview-hero__content .preview-socials{margin-top:22px}
.preview-hero__content{margin-top:auto;max-width:860px;padding-top:120px}
.preview-overline,.preview-kicker{margin:0 0 18px;font-size:11px;font-weight:800;letter-spacing:.2em;text-transform:uppercase}
.preview-hero h1{margin:0;max-width:1000px;font-size:clamp(54px,9vw,150px);line-height:.92;letter-spacing:-.055em}
.preview-hero__copy{margin:30px 0 0;max-width:690px;font-size:clamp(15px,1.5vw,20px);line-height:1.9}
.preview-hero__actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:34px}
.preview-button{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:52px;padding:0 22px;border-radius:999px;font-size:13px;font-weight:800;letter-spacing:.05em;transition:.25s ease}
.preview-button:hover{transform:translateY(-3px)}
.preview-hero__index{position:absolute;right:var(--pv-pad);bottom:var(--pv-pad);display:flex;align-items:flex-end;gap:12px;writing-mode:vertical-rl;font-size:9px;letter-spacing:.2em}
.preview-hero__index b{font-size:60px;line-height:.7}
.preview-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:clamp(28px,5vw,64px)}
.preview-section-head>div{max-width:850px}
.preview-section-head h2{margin:0;font-size:clamp(38px,6.6vw,92px);line-height:1;letter-spacing:-.045em}
.preview-section-head>p{margin:0;max-width:380px;font-size:14px;line-height:1.8}
.preview-project-grid,.preview-team-grid{display:grid;gap:var(--pv-gap)}
.preview-project-card{min-width:0}
.preview-project-card__media{position:relative;display:block;overflow:hidden}
.preview-project-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.preview-project-card:hover .preview-project-card__media img{transform:scale(1.035)}
.preview-lock{position:absolute;left:50%;top:50%;width:58px;height:58px;display:grid;place-items:center;transform:translate(-50%,-50%);border-radius:50%;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.preview-lock svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.preview-project-card__number{position:absolute;font:800 11px/1 system-ui;letter-spacing:.14em}
.preview-project-card__body{padding-top:18px}
.preview-project-card__meta{display:block;margin-bottom:9px;font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.preview-project-card h3{margin:0;font-size:clamp(22px,3vw,40px);line-height:1.18;letter-spacing:-.035em}
.preview-project-card p{margin:12px 0 0;font-size:14px;line-height:1.8}
.preview-text-link{display:inline-flex;gap:10px;align-items:center;margin-top:18px;font-size:12px;font-weight:800;letter-spacing:.06em}
.preview-team-card{min-width:0}
.preview-team-card__photo{position:relative;overflow:hidden}
.preview-team-card__photo img{width:100%;height:100%;object-fit:cover;filter:saturate(.92)}
.preview-team-card__copy{padding-top:16px}
.preview-team-card__copy small{font-size:10px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.preview-team-card h3{margin:6px 0 0;font-size:clamp(24px,3vw,42px);line-height:1}
.preview-team-card p{margin:12px 0 0;font-size:13px;line-height:1.8}
.preview-platform-marquee{display:flex;overflow-x:auto;scrollbar-width:none;gap:12px;padding-bottom:2px}
.preview-platform-marquee::-webkit-scrollbar{display:none}
.preview-platform-marquee a{flex:0 0 auto;min-width:320px;padding:20px;display:grid;grid-template-columns:92px minmax(0,1fr) auto;align-items:center;gap:18px}.preview-platform-logo{position:relative;display:grid;place-items:center;width:92px;height:58px;overflow:hidden}.preview-platform-logo__fallback{font-size:13px!important;font-weight:900!important;letter-spacing:-.02em}.preview-platform-logo img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.preview-platform-copy{display:grid;gap:4px;min-width:0}.preview-platform-copy strong{font-size:18px;font-weight:800}.preview-platform-copy small{font-size:10px;line-height:1.5;opacity:.68}.preview-platform-arrow{font-size:18px!important;font-weight:700!important}
.preview-registration{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:clamp(36px,8vw,110px);align-items:start}
.preview-registration__intro{position:sticky;top:110px}
.preview-registration__intro h2{margin:0;font-size:clamp(44px,7vw,98px);line-height:.95;letter-spacing:-.05em}
.preview-registration__intro>p{margin:24px 0 0;max-width:520px;font-size:15px;line-height:1.9}
.preview-registration__stamp{display:inline-grid;place-items:center;width:116px;height:116px;margin-top:42px;border-radius:50%;font:900 13px/1.3 system-ui;letter-spacing:.14em;text-align:center;transform:rotate(-9deg)}
.preview-form{display:grid;gap:18px}
.preview-field,.preview-form>label{display:grid;gap:9px;font-size:11px;font-weight:800;letter-spacing:.06em}
.preview-field input:not([type="radio"]):not([type="checkbox"]),.preview-field textarea,.preview-field select,.preview-form>label input:not([type="radio"]):not([type="checkbox"]),.preview-form>label textarea{width:100%;border-radius:0;outline:none;transition:.2s ease}
.preview-field input:not([type="radio"]):not([type="checkbox"]),.preview-field select,.preview-form>label input:not([type="radio"]):not([type="checkbox"]){height:54px;padding:0 15px}
.preview-field textarea,.preview-form>label textarea{min-height:128px;padding:14px 15px;resize:vertical}
.preview-choice-list{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px}.preview-choice-list label,.preview-consent{display:inline-flex;align-items:center;gap:9px;min-height:28px;font-size:12px;font-weight:600;letter-spacing:0;line-height:1.45}.preview-choice-list input[type="radio"],.preview-choice-list input[type="checkbox"],.preview-consent input[type="checkbox"]{width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;flex:0 0 18px!important;margin:0!important;padding:0!important;accent-color:#ef6b5d}.preview-choice-list input[type="radio"]{border-radius:50%}.preview-consent{width:100%;justify-content:flex-start}

.preview-honeypot{position:absolute!important;left:-9999px!important}
.preview-submit{min-height:62px;padding:0 22px;display:flex;align-items:center;justify-content:space-between;border:0;cursor:pointer;font-weight:900;letter-spacing:.05em;transition:.25s ease}
.preview-submit:hover{transform:translateY(-3px)}
.preview-alert{padding:14px 16px;margin-bottom:14px;font-size:13px}
.preview-faq-list{border-top:1px solid currentColor}
.preview-faq-item{border-bottom:1px solid currentColor}
.preview-faq-item summary{cursor:pointer;list-style:none;display:grid;grid-template-columns:54px 1fr auto;gap:18px;align-items:center;padding:24px 0;font-size:clamp(17px,2vw,25px);font-weight:700}
.preview-faq-item summary::-webkit-details-marker{display:none}
.preview-faq-item summary>span{font:800 10px/1 system-ui}
.preview-faq-item summary>b{font-size:20px;font-weight:400;transition:.25s ease}
.preview-faq-item[open] summary>b{transform:rotate(45deg)}
.preview-faq-item>div{padding:0 52px 28px 72px;font-size:14px;line-height:1.9;max-width:860px}
.preview-contact{display:grid;grid-template-columns:1fr 1fr;gap:clamp(36px,8vw,120px)}
.preview-contact__title h2{margin:0;font-size:clamp(46px,7vw,100px);line-height:.96;letter-spacing:-.05em}
.preview-contact__title p{max-width:500px;font-size:14px;line-height:1.8}
.preview-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:36px var(--pv-pad);font-size:11px}
.preview-footer img{width:60px;height:60px;object-fit:contain}

/* A — Premium Nightclub */
.preview-theme--a{background:#060609;color:#f8f8fb;--a-pink:#ff176e;--a-cyan:#18d5ff;--a-violet:#7d52ff}
.preview-theme--a .preview-switcher{background:#0d0d13c7;border:1px solid #ffffff25;color:#fff}
.preview-theme--a .preview-switcher a{background:#ffffff0c;border:1px solid #ffffff18}
.preview-theme--a .preview-switcher a.is-active{background:linear-gradient(135deg,var(--a-pink),var(--a-violet));box-shadow:0 0 28px #ff176e66}
.preview-theme--a .preview-hero{min-height:100svh;border-bottom:1px solid #ffffff18}
.preview-theme--a .preview-hero__media{filter:saturate(1.2) contrast(1.06);transform:scale(1.04)}
.preview-theme--a .preview-hero__shade{background:radial-gradient(circle at 70% 15%,#7d52ff4f,transparent 36%),linear-gradient(90deg,#050508f2 0%,#09090cbd 45%,#05050868 100%),linear-gradient(0deg,#060609 0%,transparent 45%)}
.preview-theme--a .preview-brand{padding:10px;border:1px solid #ffffff25;background:#0a0a0dbd;border-radius:24px;backdrop-filter:blur(14px)}
.preview-theme--a .preview-socials a{border:1px solid #ffffff33;background:#08080cb8}
.preview-theme--a .preview-overline,.preview-theme--a .preview-kicker{color:#91edff}
.preview-theme--a .preview-hero h1{text-shadow:0 0 55px #ff176e30}
.preview-theme--a .preview-hero__copy{color:#d7d7df}
.preview-theme--a .preview-button--primary{background:#fff;color:#050507}
.preview-theme--a .preview-button--primary:hover{box-shadow:0 12px 44px #18d5ff36}
.preview-theme--a .preview-button--ghost{border:1px solid #ffffff3d;background:#08080c88}
.preview-theme--a .preview-main{background:linear-gradient(180deg,#060609,#0b0710 35%,#060609 100%)}
.preview-theme--a .preview-main>.preview-section{max-width:var(--pv-max);margin:auto;padding:clamp(90px,12vw,180px) var(--pv-pad)}
.preview-theme--a .preview-project-grid{grid-template-columns:repeat(12,1fr)}
.preview-theme--a .preview-project-card{grid-column:span 5}
.preview-theme--a .preview-project-card:nth-child(3n+2){grid-column:7/span 6;margin-top:110px}
.preview-theme--a .preview-project-card:nth-child(3n+3){grid-column:2/span 6;margin-top:40px}
.preview-theme--a .preview-project-card--lead{grid-column:1/span 8}
.preview-theme--a .preview-project-card__media{aspect-ratio:16/10;border-radius:24px;border:1px solid #ffffff20;background:#15151b;box-shadow:0 32px 80px #0009}
.preview-theme--a .preview-project-card--lead .preview-project-card__media{aspect-ratio:16/9}
.preview-theme--a .preview-lock{background:#08080bb8;border:1px solid #ffffff35;color:#fff;box-shadow:0 0 36px #18d5ff3d}
.preview-theme--a .preview-project-card__number{top:16px;right:16px;padding:7px 9px;border-radius:999px;background:#08080ca8;border:1px solid #ffffff25}
.preview-theme--a .preview-project-card__meta{color:#8ae9ff}
.preview-theme--a .preview-project-card p,.preview-theme--a .preview-team-card p{color:#a8a8b6}
.preview-theme--a .preview-text-link{color:#fff}
.preview-theme--a .preview-team-grid{grid-template-columns:repeat(4,1fr)}
.preview-theme--a .preview-team-card__photo{aspect-ratio:3/4;border-radius:20px;border:1px solid #ffffff1f}
.preview-theme--a .preview-team-card__photo:after{content:"";position:absolute;inset:auto 0 0;height:45%;background:linear-gradient(transparent,#08080ce6)}
.preview-theme--a .preview-platforms{padding-top:0!important;padding-bottom:0!important}
.preview-theme--a .preview-platform-marquee a{border:1px solid #ffffff18;border-radius:16px;background:#ffffff08}
.preview-theme--a .preview-registration{max-width:none!important;background:radial-gradient(circle at 18% 25%,#ff176e22,transparent 28%),#0d0a10;border-top:1px solid #ffffff18;border-bottom:1px solid #ffffff18}
.preview-theme--a .preview-registration__stamp{border:1px solid #18d5ff;color:#18d5ff;box-shadow:0 0 34px #18d5ff25}
.preview-theme--a .preview-field input:not([type="radio"]):not([type="checkbox"]),.preview-theme--a .preview-field textarea,.preview-theme--a .preview-field select,.preview-theme--a .preview-form>label input:not([type="radio"]):not([type="checkbox"]),.preview-theme--a .preview-form>label textarea{border:1px solid #ffffff1f;background:#ffffff08;color:#fff}
.preview-theme--a .preview-field input:not([type="radio"]):not([type="checkbox"]):focus,.preview-theme--a .preview-field textarea:focus,.preview-theme--a .preview-field select:focus,.preview-theme--a .preview-form>label input:not([type="radio"]):not([type="checkbox"]):focus,.preview-theme--a .preview-form>label textarea:focus{border-color:#18d5ff;box-shadow:0 0 0 3px #18d5ff12}
.preview-theme--a .preview-submit{border-radius:16px;background:linear-gradient(110deg,var(--a-pink),var(--a-violet));color:#fff;box-shadow:0 18px 50px #ff176e28}
.preview-theme--a .preview-faq-list,.preview-theme--a .preview-faq-item{border-color:#ffffff1e}
.preview-theme--a .preview-contact{max-width:none!important;background:#030305}
.preview-theme--a .preview-footer{border-top:1px solid #ffffff18;background:#030305;color:#aaa}

/* B — Editorial Magazine */
.preview-theme--b{background:#f0eadf;color:#171512;color-scheme:light;--b-paper:#f0eadf;--b-ink:#171512;--b-red:#c62828;--b-rule:#2c292426}
.preview-theme--b .preview-noise{opacity:.04;mix-blend-mode:multiply}
.preview-theme--b .preview-switcher{background:#f6f0e7e8;border:1px solid #1715122b;color:#171512}
.preview-theme--b .preview-switcher a{border:1px solid #1715122b}
.preview-theme--b .preview-switcher a.is-active{background:#171512;color:#f3ede3}
.preview-theme--b .preview-hero{min-height:760px;background:var(--b-paper);display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr);grid-template-rows:auto 1fr;padding:24px var(--pv-pad) var(--pv-pad);border-bottom:1px solid var(--b-ink)}
.preview-theme--b .preview-hero__media{position:absolute;left:auto;right:0;top:0;width:44%;height:100%;filter:grayscale(.12) contrast(.94) saturate(.8);background-position:center}
.preview-theme--b .preview-hero__shade{left:auto;right:0;width:44%;background:linear-gradient(90deg,var(--b-paper),transparent 35%)}
.preview-theme--b .preview-hero__top{grid-column:1/-1;padding-bottom:18px;border-bottom:1px solid var(--b-ink)}
.preview-theme--b .preview-brand{width:118px}
.preview-theme--b .preview-socials a{border:1px solid var(--b-ink);background:transparent}
.preview-theme--b .preview-socials a:hover{background:var(--b-ink);color:var(--b-paper)}
.preview-theme--b .preview-hero__content{grid-column:1/2;align-self:start;margin:0;max-width:780px;padding:34px 8vw 0 0}
.preview-theme--b .preview-overline,.preview-theme--b .preview-kicker{color:var(--b-red)}
.preview-theme--b .preview-hero h1,.preview-theme--b .preview-section-head h2,.preview-theme--b .preview-registration__intro h2,.preview-theme--b .preview-contact__title h2{font-family:"Noto Serif TC",serif;font-weight:900;letter-spacing:-.06em}
.preview-theme--b .preview-hero h1{font-size:clamp(68px,9vw,142px);line-height:.96;margin-bottom:0}
.preview-theme--b .preview-hero__content .preview-socials{margin-top:24px;margin-bottom:26px}
.preview-theme--b .preview-hero__copy{font-family:"Noto Serif TC",serif;color:#4a453f;max-width:620px;font-size:17px;margin-top:0}
.preview-theme--b .preview-button{border-radius:0;border:1px solid var(--b-ink)}
.preview-theme--b .preview-button--primary{background:var(--b-ink);color:var(--b-paper)}
.preview-theme--b .preview-button--ghost{background:transparent}
.preview-theme--b .preview-hero__index{color:var(--b-red)}
.preview-theme--b .preview-main>.preview-section{max-width:var(--pv-max);margin:auto;padding:clamp(80px,10vw,150px) var(--pv-pad)}
.preview-theme--b .preview-section-head{padding-bottom:22px;border-bottom:1px solid var(--b-ink);align-items:start}
.preview-theme--b .preview-section-head>p{font-family:"Noto Serif TC",serif}
.preview-theme--b .preview-project-card__media{aspect-ratio:4/3;background:#d9d0c2}
.preview-theme--b .preview-lock{background:#f0eadfdb;border:1px solid #171512;color:#171512}
.preview-theme--b .preview-project-card__number{top:0;left:0;background:var(--b-red);color:#fff;padding:10px 12px}
.preview-theme--b .preview-project-card__meta{color:var(--b-red)}
.preview-theme--b .preview-project-card h3,.preview-theme--b .preview-team-card h3{font-family:"Noto Serif TC",serif;font-weight:900}
.preview-theme--b .preview-project-card p,.preview-theme--b .preview-team-card p{color:#5d5750;font-family:"Noto Serif TC",serif}
.preview-theme--b .preview-text-link{border-bottom:1px solid var(--b-ink);padding-bottom:3px}
.preview-theme--b .preview-team{border-top:8px solid var(--b-ink);border-bottom:1px solid var(--b-ink)}
.preview-theme--b .preview-team-card__photo{aspect-ratio:4/5;background:#d9d0c2}
.preview-theme--b .preview-platforms{padding-top:24px!important;padding-bottom:24px!important;border-bottom:1px solid var(--b-ink)}
.preview-theme--b .preview-platform-marquee a{min-width:350px;border-right:1px solid var(--b-ink)}.preview-theme--b .preview-platform-logo{background:#fffdf7;border:1px solid #17151220;padding:8px}.preview-theme--b .preview-platform-logo img{padding:7px;background:#fffdf7}.preview-theme--b .preview-platform-arrow{color:var(--b-red)}.preview-theme--b .preview-choice-list input[type="radio"],.preview-theme--b .preview-choice-list input[type="checkbox"],.preview-theme--b .preview-consent input[type="checkbox"]{accent-color:#ef6b5d}
.preview-theme--b .preview-registration{max-width:none!important;background:#171512;color:#f0eadf}
.preview-theme--b .preview-registration .preview-kicker{color:#ef6b5d}
.preview-theme--b .preview-registration__stamp{border:2px solid #ef6b5d;color:#ef6b5d;border-radius:0;font-family:"Noto Serif TC",serif}
.preview-theme--b .preview-field input:not([type="radio"]):not([type="checkbox"]),.preview-theme--b .preview-field textarea,.preview-theme--b .preview-field select,.preview-theme--b .preview-form>label input:not([type="radio"]):not([type="checkbox"]),.preview-theme--b .preview-form>label textarea{border:0;border-bottom:1px solid #f0eadf66;background:transparent;color:#f0eadf;padding-left:0;padding-right:0}
.preview-theme--b .preview-field input:not([type="radio"]):not([type="checkbox"]):focus,.preview-theme--b .preview-field textarea:focus,.preview-theme--b .preview-field select:focus,.preview-theme--b .preview-form>label input:not([type="radio"]):not([type="checkbox"]):focus,.preview-theme--b .preview-form>label textarea:focus{border-color:#ef6b5d}
.preview-theme--b .preview-submit{background:#f0eadf;color:#171512;border-radius:0;border:1px solid #f0eadf}
.preview-theme--b .preview-faq-list,.preview-theme--b .preview-faq-item{border-color:#171512}
.preview-theme--b .preview-faq-item summary{font-family:"Noto Serif TC",serif}
.preview-theme--b .preview-contact{border-top:1px solid var(--b-ink)}
.preview-theme--b .preview-contact .preview-form input,.preview-theme--b .preview-contact .preview-form textarea{border-color:#17151277;color:#171512}
.preview-theme--b .preview-contact .preview-submit{background:var(--b-red);color:#fff;border-color:var(--b-red)}
.preview-theme--b .preview-footer{border-top:1px solid var(--b-ink)}

/* C — Cyber Club */
.preview-theme--c{background:#050a0d;color:#dcfff9;--c-cyan:#42ffe6;--c-lime:#c9ff4a;--c-blue:#4c7dff;--c-panel:#081218}
.preview-theme--c:before{content:"";position:fixed;inset:0;pointer-events:none;background-image:linear-gradient(#42ffe60a 1px,transparent 1px),linear-gradient(90deg,#42ffe60a 1px,transparent 1px);background-size:38px 38px;mask-image:linear-gradient(to bottom,#000 20%,transparent 95%)}
.preview-theme--c .preview-switcher{background:#061015e6;border:1px solid #42ffe64d;color:var(--c-cyan);border-radius:10px}
.preview-theme--c .preview-switcher a{border:1px solid #42ffe62c;border-radius:6px}
.preview-theme--c .preview-switcher a.is-active{background:var(--c-cyan);color:#041013;box-shadow:0 0 28px #42ffe64a}
.preview-theme--c .preview-hero{min-height:100svh;border-bottom:1px solid #42ffe62c;padding-top:34px}
.preview-theme--c .preview-hero:before,.preview-theme--c .preview-hero:after{content:"";position:absolute;z-index:2;border:1px solid #42ffe647;pointer-events:none}
.preview-theme--c .preview-hero:before{inset:22px}
.preview-theme--c .preview-hero:after{left:50%;top:22px;bottom:22px;border-width:0 0 0 1px}
.preview-theme--c .preview-hero__media{opacity:.52;filter:grayscale(.25) hue-rotate(12deg) contrast(1.25);clip-path:polygon(52% 6%,96% 6%,96% 92%,42% 92%,42% 38%)}
.preview-theme--c .preview-hero__shade{background:radial-gradient(circle at 72% 38%,#4c7dff2e,transparent 34%),linear-gradient(90deg,#050a0dfc 0%,#050a0de0 48%,#050a0d80 100%)}
.preview-theme--c .preview-brand{padding:8px;border:1px solid #42ffe657;background:#071116;border-radius:8px;box-shadow:8px 8px 0 #42ffe613}
.preview-theme--c .preview-socials a{border:1px solid #42ffe657;background:#061015;border-radius:6px;color:var(--c-cyan)}
.preview-theme--c .preview-overline,.preview-theme--c .preview-kicker{color:var(--c-lime);font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.preview-theme--c .preview-overline:before{content:"[ ";color:var(--c-cyan)}
.preview-theme--c .preview-overline:after{content:" ]";color:var(--c-cyan)}
.preview-theme--c .preview-hero h1{font-family:ui-sans-serif,system-ui;font-weight:900;text-transform:uppercase;max-width:760px;text-shadow:5px 5px 0 #4c7dff33}
.preview-theme--c .preview-hero__copy{max-width:610px;color:#a8cec8;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:14px}
.preview-theme--c .preview-button{border-radius:7px;text-transform:uppercase;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.preview-theme--c .preview-button--primary{background:var(--c-cyan);color:#041013;box-shadow:7px 7px 0 #4c7dff66}
.preview-theme--c .preview-button--ghost{border:1px solid #42ffe65e;background:#061015a8;color:var(--c-cyan)}
.preview-theme--c .preview-hero__index{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--c-lime)}
.preview-theme--c .preview-main>.preview-section{max-width:var(--pv-max);margin:auto;padding:clamp(86px,10vw,150px) var(--pv-pad)}
.preview-theme--c .preview-section-head{align-items:start;border-top:1px solid #42ffe646;padding-top:18px}
.preview-theme--c .preview-section-head h2,.preview-theme--c .preview-registration__intro h2,.preview-theme--c .preview-contact__title h2{font-weight:900;text-transform:uppercase;letter-spacing:-.06em}
.preview-theme--c .preview-section-head>p{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:#81aaa3}
.preview-theme--c .preview-project-grid{grid-template-columns:repeat(12,1fr);gap:18px}
.preview-theme--c .preview-project-card{grid-column:span 6;border:1px solid #42ffe631;background:#071116;padding:10px;box-shadow:8px 8px 0 #42ffe60c}
.preview-theme--c .preview-project-card--lead{grid-column:span 8}
.preview-theme--c .preview-project-card:nth-child(3n){grid-column:span 4}
.preview-theme--c .preview-project-card__media{aspect-ratio:16/10;background:#0b171d;clip-path:polygon(0 0,94% 0,100% 12%,100% 100%,0 100%)}
.preview-theme--c .preview-lock{background:#061015d9;border:1px solid var(--c-cyan);color:var(--c-cyan);border-radius:7px;box-shadow:5px 5px 0 #4c7dff4d}
.preview-theme--c .preview-project-card__number{top:10px;right:10px;color:#061015;background:var(--c-lime);padding:7px 8px}
.preview-theme--c .preview-project-card__body{padding:18px 8px 8px}
.preview-theme--c .preview-project-card__meta,.preview-theme--c .preview-team-card__copy small{color:var(--c-lime);font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.preview-theme--c .preview-project-card p,.preview-theme--c .preview-team-card p{color:#86aaa4;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}
.preview-theme--c .preview-text-link{color:var(--c-cyan);font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.preview-theme--c .preview-team-grid{grid-template-columns:repeat(12,1fr);gap:18px}
.preview-theme--c .preview-team-card{grid-column:span 3;border:1px solid #42ffe631;padding:10px;background:#071116}
.preview-theme--c .preview-team-card__photo{aspect-ratio:1;border:1px solid #42ffe61f;filter:grayscale(.35)}
.preview-theme--c .preview-platforms{padding-top:0!important;padding-bottom:0!important}
.preview-theme--c .preview-platform-marquee a{border:1px solid #42ffe631;background:#071116;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.preview-theme--c .preview-registration{max-width:none!important;background:linear-gradient(135deg,#071116,#050a0d);border-top:1px solid #42ffe645;border-bottom:1px solid #42ffe645}
.preview-theme--c .preview-registration__stamp{border:1px dashed var(--c-lime);color:var(--c-lime);border-radius:8px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.preview-theme--c .preview-field,.preview-theme--c .preview-form>label{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:#a7cdc7}
.preview-theme--c .preview-field input:not([type="radio"]):not([type="checkbox"]),.preview-theme--c .preview-field textarea,.preview-theme--c .preview-field select,.preview-theme--c .preview-form>label input:not([type="radio"]):not([type="checkbox"]),.preview-theme--c .preview-form>label textarea{border:1px solid #42ffe634;background:#061015;color:#dffffa;border-radius:5px}
.preview-theme--c .preview-field input:not([type="radio"]):not([type="checkbox"]):focus,.preview-theme--c .preview-field textarea:focus,.preview-theme--c .preview-field select:focus,.preview-theme--c .preview-form>label input:not([type="radio"]):not([type="checkbox"]):focus,.preview-theme--c .preview-form>label textarea:focus{border-color:var(--c-cyan);box-shadow:0 0 0 2px #42ffe615}
.preview-theme--c .preview-submit{border-radius:6px;background:var(--c-lime);color:#071014;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;box-shadow:7px 7px 0 #4c7dff55}
.preview-theme--c .preview-faq-list,.preview-theme--c .preview-faq-item{border-color:#42ffe640}
.preview-theme--c .preview-faq-item summary{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.preview-theme--c .preview-faq-item summary>span,.preview-theme--c .preview-faq-item summary>b{color:var(--c-lime)}
.preview-theme--c .preview-contact{border:1px solid #42ffe631;background:#071116;max-width:calc(var(--pv-max) - var(--pv-pad)*2)!important;margin-bottom:120px!important;padding:clamp(38px,6vw,76px)!important}
.preview-theme--c .preview-footer{border-top:1px solid #42ffe638;background:#03080a;color:#7da8a0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}

@media (max-width:900px){
  .preview-switcher>span{display:none}
  .preview-switcher{right:12px;top:max(12px,env(safe-area-inset-top))}
  .preview-hero{padding:22px 22px 54px}
  .preview-socials{max-width:210px}
  .preview-socials a{min-width:38px;height:38px}
  .preview-hero__content{padding-top:120px}
  .preview-hero__index{right:22px;bottom:24px}
  .preview-section-head{display:block}
  .preview-section-head>p{margin-top:18px}
  .preview-registration,.preview-contact{grid-template-columns:1fr}
  .preview-registration__intro{position:static}
  .preview-theme--a .preview-main>.preview-section,.preview-theme--b .preview-main>.preview-section,.preview-theme--c .preview-main>.preview-section{padding-left:22px;padding-right:22px}
  .preview-theme--a .preview-project-card,.preview-theme--a .preview-project-card--lead,.preview-theme--a .preview-project-card:nth-child(3n+2),.preview-theme--a .preview-project-card:nth-child(3n+3){grid-column:span 6;margin-top:0}
  .preview-theme--a .preview-team-grid{grid-template-columns:repeat(2,1fr)}
  .preview-theme--b .preview-hero{display:flex;min-height:100svh;padding:22px}
  .preview-theme--b .preview-hero__media{width:58%;opacity:.42}
  .preview-theme--b .preview-hero__shade{width:100%;background:linear-gradient(90deg,var(--b-paper) 0%,#f0eadfe8 52%,#f0eadf55 100%)}
  .preview-theme--b .preview-hero__top{width:100%}
  .preview-theme--b .preview-brand{width:104px}
  .preview-theme--b .preview-hero__content{margin-top:0;padding:56px 0 0;max-width:720px}
  .preview-theme--c .preview-hero:after{display:none}
  .preview-theme--c .preview-hero__media{clip-path:polygon(30% 10%,96% 10%,96% 90%,20% 90%,20% 45%)}
  .preview-theme--c .preview-project-card,.preview-theme--c .preview-project-card--lead,.preview-theme--c .preview-project-card:nth-child(3n){grid-column:span 6}
  .preview-theme--c .preview-team-card{grid-column:span 6}
}

@media (max-width:600px){
  .preview-switcher{bottom:max(14px,env(safe-area-inset-bottom));top:auto;left:50%;right:auto;transform:translateX(-50%)}
  .preview-switcher__home{display:none!important}
  .preview-brand{width:76px}
  .preview-socials{gap:5px}
  .preview-socials a{min-width:34px;height:34px;padding:0 8px;font-size:9px}
  .preview-hero__content{padding-top:90px}
  .preview-hero h1{font-size:clamp(48px,17vw,78px)}
  .preview-hero__copy{font-size:14px;line-height:1.8}
  .preview-hero__index{display:none}
  .preview-section-head h2{font-size:clamp(36px,12vw,56px)}
  .preview-theme--a .preview-project-grid,.preview-theme--c .preview-project-grid{display:block}
  .preview-theme--a .preview-project-card,.preview-theme--c .preview-project-card{margin-bottom:34px}
  .preview-theme--a .preview-team-grid,.preview-theme--b .preview-team-grid{grid-template-columns:1fr 1fr;gap:14px}
  .preview-theme--a .preview-team-card h3,.preview-theme--b .preview-team-card h3{font-size:22px}
    .preview-theme--b .preview-brand{width:96px}
  .preview-theme--b .preview-hero__content .preview-socials{margin-top:18px;margin-bottom:20px}
  .preview-theme--b .preview-hero__media{width:100%;height:48%;top:auto;bottom:0;opacity:.25}
  .preview-theme--b .preview-hero__shade{background:linear-gradient(180deg,var(--b-paper) 35%,#f0eadfc7 65%,#f0eadf55)}
  .preview-theme--c .preview-hero:before{inset:10px}
  .preview-theme--c .preview-hero__media{opacity:.3;clip-path:none}
  .preview-theme--c .preview-team-grid{display:grid;grid-template-columns:1fr 1fr}
  .preview-theme--c .preview-team-card{grid-column:auto}
  .preview-registration__intro h2,.preview-contact__title h2{font-size:clamp(42px,14vw,66px)}
  .preview-registration__stamp{width:92px;height:92px}
  .preview-faq-item summary{grid-template-columns:32px 1fr auto;gap:10px;padding:20px 0;font-size:16px}
  .preview-faq-item>div{padding:0 0 24px 42px}
  .preview-footer{padding-bottom:86px}
}


@media (max-width:600px){
  .preview-platform-marquee a{min-width:min(310px,84vw);grid-template-columns:74px minmax(0,1fr) auto;padding:16px;gap:13px}
  .preview-platform-logo{width:74px;height:48px}
  .preview-platform-copy strong{font-size:16px}
  .preview-choice-list{gap:12px 18px}
  .preview-choice-list label,.preview-consent{font-size:12px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .preview-reveal{opacity:1;transform:none;transition:none}
  .preview-project-card__media img,.preview-button,.preview-submit,.preview-socials a{transition:none}
}

/* Keep short B-theme UI copy intact. Long-form copy still wraps normally. */
.preview-theme--b .preview-hero h1{
  max-width:none;
  font-size:clamp(68px,8vw,128px);
  white-space:nowrap;
  word-break:keep-all;
  overflow-wrap:normal;
  line-break:strict;
}
.preview-theme--b .preview-button,
.preview-theme--b .preview-socials a,
.preview-theme--b .preview-overline,
.preview-theme--b .preview-kicker,
.preview-theme--b .preview-project-card__meta,
.preview-theme--b .preview-text-link,
.preview-theme--b .preview-team-card h3,
.preview-theme--b .preview-platform-marquee span,
.preview-theme--b .preview-submit{
  white-space:nowrap;
  word-break:keep-all;
  overflow-wrap:normal;
}
.preview-theme--b .preview-section-head h2,
.preview-theme--b .preview-registration__intro h2,
.preview-theme--b .preview-contact__title h2,
.preview-theme--b .preview-project-card h3,
.preview-theme--b .preview-faq-item summary{
  text-wrap:balance;
  line-break:strict;
  overflow-wrap:normal;
}
.preview-theme--b .preview-hero__copy,
.preview-theme--b .preview-project-card p,
.preview-theme--b .preview-team-card p,
.preview-theme--b .preview-registration__intro>p,
.preview-theme--b .preview-contact__title p,
.preview-theme--b .preview-faq-item>div{
  text-wrap:pretty;
  line-break:strict;
  overflow-wrap:break-word;
}
@media (max-width:600px){
  .preview-theme--b .preview-hero h1{
    font-size:clamp(40px,15vw,68px);
    letter-spacing:-.07em;
  }
}

/* Responsive 3D depth motion — desktop pointer + mobile touch */
.preview-project-card.depth-3d,
.preview-team-card.depth-3d,
.preview-platform-card.depth-3d,
.preview-button.depth-3d,
.preview-socials a.depth-3d,
.preview-submit.depth-3d{
  --depth-rx:0deg;
  --depth-ry:0deg;
  --depth-y:0px;
  --depth-scroll-y:0px;
  --depth-scroll-rx:0deg;
  --depth-scale:1;
  position:relative;
  transform:perspective(820px) translate3d(0,calc(var(--depth-y) + var(--depth-scroll-y)),0) rotateX(calc(var(--depth-rx) + var(--depth-scroll-rx))) rotateY(var(--depth-ry)) scale(var(--depth-scale));
  transform-style:preserve-3d;
  transform-origin:center center;
  will-change:transform;
  transition:transform .34s cubic-bezier(.2,.78,.2,1),box-shadow .34s cubic-bezier(.2,.78,.2,1),filter .34s ease;
}

.depth-3d.is-depth-active{
  --depth-y:-18px;
  --depth-scale:1.035;
}
.depth-3d--compact.is-depth-active{
  --depth-y:-9px;
  --depth-scale:1.05;
}

.preview-theme--b .preview-project-card.depth-3d .preview-project-card__media,
.preview-theme--b .preview-team-card.depth-3d .preview-team-card__photo{
  box-shadow:0 18px 34px rgba(23,21,18,.15),0 4px 0 rgba(255,255,255,.56);
  transition:box-shadow .34s cubic-bezier(.2,.78,.2,1),transform .34s cubic-bezier(.2,.78,.2,1);
}
.preview-theme--b .preview-project-card.depth-3d.is-depth-active .preview-project-card__media,
.preview-theme--b .preview-team-card.depth-3d.is-depth-active .preview-team-card__photo{
  box-shadow:0 50px 96px rgba(23,21,18,.34),0 22px 42px rgba(23,21,18,.18),0 3px 0 rgba(255,255,255,.72);
}

.preview-theme--b .preview-platform-card.depth-3d{
  isolation:isolate;
  background:rgba(240,234,223,.94);
  border:1px solid rgba(23,21,18,.22);
  box-shadow:0 9px 18px rgba(23,21,18,.08),0 2px 0 rgba(255,255,255,.62);
}
.preview-theme--b .preview-platform-card.depth-3d::after{
  content:"";
  position:absolute;
  inset:7px -7px -7px 7px;
  z-index:-1;
  border:1px solid rgba(23,21,18,.16);
  background:#e5dccf;
  transform:translateZ(-18px);
  pointer-events:none;
}
.preview-theme--b .preview-platform-card.depth-3d.is-depth-active{
  box-shadow:0 32px 62px rgba(23,21,18,.24),0 12px 26px rgba(23,21,18,.12),0 2px 0 rgba(255,255,255,.78);
}

.depth-3d .preview-lock{
  transform:translate3d(-50%,-50%,44px);
  transition:transform .34s cubic-bezier(.2,.78,.2,1),box-shadow .34s ease;
}
.depth-3d.is-depth-active .preview-lock{
  transform:translate3d(-50%,-50%,58px) scale(1.06);
}
.depth-3d .preview-project-card__number{
  transform:translateZ(30px);
}
.depth-3d .preview-platform-logo,
.depth-3d .preview-platform-copy,
.depth-3d .preview-platform-arrow{
  transform:translateZ(20px);
  transition:transform .34s cubic-bezier(.2,.78,.2,1);
}
.depth-3d .preview-platform-logo{transform:translateZ(30px)}
.depth-3d.is-depth-active .preview-platform-logo{transform:translateZ(44px) scale(1.055)}
.depth-3d.is-depth-active .preview-platform-arrow{transform:translate3d(4px,-3px,32px)}

.preview-team-card.depth-3d .preview-team-card__photo img,
.preview-platform-card.depth-3d .preview-platform-logo img{
  transition:transform .55s cubic-bezier(.2,.78,.2,1),filter .4s ease;
}
.preview-team-card.depth-3d.is-depth-active .preview-team-card__photo img{transform:scale(1.035)}
.preview-project-card.depth-3d.is-depth-active .preview-project-card__media img{transform:scale(1.045)}
.preview-platform-card.depth-3d.is-depth-active .preview-platform-logo img{transform:scale(1.035)}

.preview-theme--b .preview-button.depth-3d,
.preview-theme--b .preview-socials a.depth-3d,
.preview-theme--b .preview-submit.depth-3d{
  box-shadow:0 5px 0 rgba(23,21,18,.16),0 10px 22px rgba(23,21,18,.10);
}
.preview-theme--b .preview-button.depth-3d.is-depth-active,
.preview-theme--b .preview-socials a.depth-3d.is-depth-active,
.preview-theme--b .preview-submit.depth-3d.is-depth-active{
  box-shadow:0 12px 0 rgba(23,21,18,.16),0 28px 46px rgba(23,21,18,.22);
}

@media (hover:hover) and (pointer:fine){
  .depth-3d:hover{
    --depth-y:-18px;
    --depth-scale:1.035;
  }
  .depth-3d--compact:hover{
    --depth-y:-9px;
    --depth-scale:1.05;
  }
  .preview-theme--b .preview-project-card.depth-3d:hover .preview-project-card__media,
  .preview-theme--b .preview-team-card.depth-3d:hover .preview-team-card__photo{
    box-shadow:0 50px 96px rgba(23,21,18,.34),0 22px 42px rgba(23,21,18,.18),0 3px 0 rgba(255,255,255,.72);
  }
  .preview-theme--b .preview-platform-card.depth-3d:hover{
    box-shadow:0 32px 62px rgba(23,21,18,.24),0 12px 26px rgba(23,21,18,.12),0 2px 0 rgba(255,255,255,.78);
  }
  .preview-team-card.depth-3d:hover .preview-team-card__photo img{transform:scale(1.035)}
  .preview-platform-card.depth-3d:hover .preview-platform-logo{transform:translateZ(44px) scale(1.055)}
  .preview-platform-card.depth-3d:hover .preview-platform-arrow{transform:translate3d(4px,-3px,32px)}
}

@media (hover:none), (pointer:coarse){
  .preview-project-card.depth-3d,
  .preview-team-card.depth-3d,
  .preview-platform-card.depth-3d,
  .preview-button.depth-3d,
  .preview-socials a.depth-3d,
  .preview-submit.depth-3d{
    transition-duration:.22s;
  }
  .depth-3d.is-depth-active{
    --depth-y:-5px;
    --depth-scale:1.008;
  }
  .depth-3d--compact.is-depth-active{
    --depth-y:2px;
    --depth-scale:.98;
  }
  .preview-theme--b .preview-button.depth-3d.is-depth-active,
  .preview-theme--b .preview-socials a.depth-3d.is-depth-active,
  .preview-theme--b .preview-submit.depth-3d.is-depth-active{
    box-shadow:0 2px 0 rgba(23,21,18,.17),0 5px 12px rgba(23,21,18,.09);
  }
}

@media (prefers-reduced-motion:reduce){
  .depth-3d{transform:none!important;transition:none!important;will-change:auto!important}
  .depth-3d .preview-lock{transform:translate(-50%,-50%)!important;transition:none!important}
  .depth-3d .preview-project-card__number,
  .depth-3d .preview-platform-logo,
  .depth-3d .preview-platform-copy,
  .depth-3d .preview-platform-arrow{transform:none!important;transition:none!important}
  .depth-3d .preview-project-card__media img,
  .depth-3d .preview-team-card__photo img,
  .depth-3d .preview-platform-logo img{transform:none!important;transition:none!important}
}

/* Physical stacked scroll — full-width paper panels with independent content widths. */
.preview-theme--b .preview-main{
  isolation:isolate;
  overflow:visible;
}
.preview-reveal.stack-scroll{
  --stack-overlap:clamp(96px,7vw,136px);
  --stack-section-top:clamp(54px,6vw,92px);
  --stack-section-bottom:clamp(68px,7vw,108px);
  --stack-paper:var(--b-paper);
  position:relative;
  z-index:var(--stack-order,2);
  isolation:isolate;
}
.preview-theme--b .preview-main>.preview-section.stack-scroll{
  max-width:none;
  width:100%;
  margin-left:0;
  margin-right:0;
  margin-top:calc(-1 * var(--stack-overlap));
  padding-left:max(var(--pv-pad),calc((100vw - var(--pv-max))/2 + var(--pv-pad)));
  padding-right:max(var(--pv-pad),calc((100vw - var(--pv-max))/2 + var(--pv-pad)));
  padding-top:calc(var(--stack-section-top) + var(--stack-overlap));
  padding-bottom:var(--stack-section-bottom);
  background:var(--stack-paper);
  border-top:1px solid rgba(23,21,18,.34);
  box-shadow:0 -52px 110px rgba(23,21,18,.20),0 -14px 34px rgba(23,21,18,.10),0 -2px 0 rgba(255,255,255,.58);
}
.preview-theme--b .preview-main>.preview-projects.stack-scroll{--stack-paper:#f0eadf}
.preview-theme--b .preview-main>.preview-team.stack-scroll{--stack-paper:#ede5da}
.preview-theme--b .preview-main>.preview-platforms.stack-scroll{
  --stack-paper:#f3ede4;
  padding-top:calc(22px + var(--stack-overlap))!important;
  padding-bottom:22px!important;
}
.preview-theme--b .preview-main>.preview-registration.stack-scroll{
  --stack-paper:var(--b-ink);
  background:var(--stack-paper)!important;
  border-top-color:rgba(240,234,223,.28);
  box-shadow:0 -58px 120px rgba(23,21,18,.34),0 -14px 36px rgba(23,21,18,.18),0 -1px 0 rgba(240,234,223,.16);
}
.preview-theme--b .preview-main>.preview-faq.stack-scroll{--stack-paper:#efe7dc}
.preview-theme--b .preview-main>.preview-contact.stack-scroll{--stack-paper:#f3ede4}

/* B theme unified desktop layout. Wide visual sections and readable form sections use different gutters. */
.preview-theme--b{
  --b-content-max:2200px;
  --b-readable-max:1560px;
}
.preview-theme--b .preview-main>.preview-projects.stack-scroll,
.preview-theme--b .preview-main>.preview-team.stack-scroll{
  padding-left:0;
  padding-right:0;
}
.preview-theme--b .preview-main>.preview-platforms.stack-scroll{
  padding-left:4vw;
  padding-right:4vw;
}
.preview-theme--b .preview-main>.preview-registration.stack-scroll,
.preview-theme--b .preview-main>.preview-faq.stack-scroll,
.preview-theme--b .preview-main>.preview-contact.stack-scroll{
  padding-left:max(4vw,calc((100vw - var(--b-readable-max))/2));
  padding-right:max(4vw,calc((100vw - var(--b-readable-max))/2));
}
.preview-theme--b .preview-projects>.preview-section-head,
.preview-theme--b .preview-projects>.preview-project-grid,
.preview-theme--b .preview-team>.preview-section-head,
.preview-theme--b .preview-team>.preview-team-grid{
  width:min(92vw,var(--b-content-max));
  margin-left:auto;
  margin-right:auto;
}
.preview-theme--b .preview-projects>.preview-section-head,
.preview-theme--b .preview-team>.preview-section-head{
  margin-bottom:clamp(34px,3vw,52px);
}

/* Stable editorial project composition: one lead, a compact side rail, then a clean three-column continuation. */
.preview-theme--b .preview-project-grid{display:block}
.preview-theme--b .preview-project-feature{
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(320px,.85fr);
  gap:clamp(24px,2.4vw,48px);
  align-items:start;
}
.preview-theme--b .preview-project-feature:not(.has-side){grid-template-columns:1fr}
.preview-theme--b .preview-project-side{
  display:grid;
  grid-template-columns:1fr;
  gap:clamp(30px,3vw,54px);
  align-content:start;
}
.preview-theme--b .preview-project-rest-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:clamp(34px,3vw,62px) clamp(22px,2vw,40px);
  margin-top:clamp(58px,6vw,96px);
}
.preview-theme--b .preview-project-card,
.preview-theme--b .preview-project-card--lead{
  grid-column:auto;
  grid-row:auto;
  margin:0;
}
.preview-theme--b .preview-project-card--lead .preview-project-card__media{aspect-ratio:4/3}
.preview-theme--b .preview-project-side .preview-project-card__media{aspect-ratio:16/9}
.preview-theme--b .preview-project-rest-grid .preview-project-card__media{aspect-ratio:4/3}
.preview-theme--b .preview-project-side .preview-project-card__body{padding-top:13px}
.preview-theme--b .preview-project-side .preview-project-card h3{font-size:clamp(24px,2vw,34px)}
.preview-theme--b .preview-project-side .preview-project-card p{font-size:13px;line-height:1.7}
.preview-theme--b .preview-project-rest-grid .preview-project-card h3{font-size:clamp(26px,2.2vw,36px)}

/* Team fills the available row instead of clipping the fourth/fifth card. */
.preview-theme--b .preview-team-grid{
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:clamp(24px,2vw,42px);
  align-items:start;
}
.preview-theme--b .preview-team-card:nth-child(even){margin-top:0}
.preview-theme--b .preview-team-card h3{font-size:clamp(26px,2vw,36px)}

/* Readable wide registration / FAQ / contact instead of a tiny 1240px island on large screens. */
.preview-theme--b .preview-registration{
  grid-template-columns:minmax(360px,.82fr) minmax(560px,1.18fr);
  gap:clamp(64px,6vw,118px);
}
.preview-theme--b .preview-registration__intro h2{font-size:clamp(62px,5.8vw,94px)}
.preview-theme--b .preview-registration__intro>p{max-width:620px;font-size:17px}
.preview-theme--b .preview-form{gap:22px}
.preview-theme--b .preview-field,.preview-theme--b .preview-form>label{gap:10px;font-size:13px}
.preview-theme--b .preview-field input:not([type="radio"]):not([type="checkbox"]),
.preview-theme--b .preview-field select,
.preview-theme--b .preview-form>label input:not([type="radio"]):not([type="checkbox"]){height:62px;font-size:16px}
.preview-theme--b .preview-field textarea,.preview-theme--b .preview-form>label textarea{min-height:150px;font-size:16px}
.preview-theme--b .preview-choice-list label,.preview-theme--b .preview-consent{font-size:14px}
.preview-theme--b .preview-submit{min-height:68px;font-size:15px}
.preview-theme--b .preview-faq .preview-section-head,
.preview-theme--b .preview-contact{width:100%}
.preview-theme--b .preview-faq-item summary{padding:28px 0;font-size:clamp(20px,1.5vw,27px)}
.preview-theme--b .preview-faq-item>div{max-width:1040px;font-size:16px;line-height:1.85}
.preview-theme--b .preview-contact{
  grid-template-columns:minmax(360px,.9fr) minmax(520px,1.1fr);
  gap:clamp(64px,6vw,118px);
}
.preview-theme--b .preview-contact__title h2{font-size:clamp(62px,5.8vw,94px)}
.preview-theme--b .preview-contact__title p{max-width:620px;font-size:16px}

@media (max-width:1100px){
  .preview-theme--b .preview-projects>.preview-section-head,
  .preview-theme--b .preview-projects>.preview-project-grid,
  .preview-theme--b .preview-team>.preview-section-head,
  .preview-theme--b .preview-team>.preview-team-grid{width:calc(100% - 44px)}
  .preview-theme--b .preview-project-feature{grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:22px}
  .preview-theme--b .preview-project-rest-grid{grid-template-columns:repeat(2,1fr);gap:42px 22px;margin-top:52px}
  .preview-theme--b .preview-team-grid{grid-template-columns:repeat(2,1fr);gap:22px}
}

@media (max-width:900px){
  .preview-reveal.stack-scroll{--stack-overlap:84px;--stack-section-top:72px;--stack-section-bottom:78px}
  .preview-theme--b .preview-main>.preview-section.stack-scroll{
    padding-left:22px;
    padding-right:22px;
    box-shadow:0 -36px 76px rgba(23,21,18,.18),0 -10px 24px rgba(23,21,18,.09),0 -1px 0 rgba(255,255,255,.52);
  }
  .preview-theme--b .preview-main>.preview-projects.stack-scroll,
  .preview-theme--b .preview-main>.preview-team.stack-scroll{padding-left:0;padding-right:0}
  .preview-theme--b .preview-main>.preview-platforms.stack-scroll{padding-left:22px;padding-right:22px;padding-top:calc(22px + var(--stack-overlap))!important}
  .preview-theme--b .preview-main>.preview-registration.stack-scroll,
  .preview-theme--b .preview-main>.preview-faq.stack-scroll,
  .preview-theme--b .preview-main>.preview-contact.stack-scroll{padding-left:22px;padding-right:22px}
  .preview-theme--b .preview-registration,.preview-theme--b .preview-contact{grid-template-columns:1fr;gap:48px}
  .preview-theme--b .preview-registration__intro{position:static}
}

@media (max-width:700px){
  .preview-theme--b .preview-project-feature{grid-template-columns:1fr}
  .preview-theme--b .preview-project-side{grid-template-columns:repeat(2,1fr);gap:22px}
  .preview-theme--b .preview-project-rest-grid{grid-template-columns:repeat(2,1fr);gap:34px 18px}
  .preview-theme--b .preview-team-grid{grid-template-columns:repeat(2,1fr);gap:16px}
}

@media (max-width:600px){
  .preview-reveal.stack-scroll{--stack-overlap:62px;--stack-section-top:62px;--stack-section-bottom:66px}
  .preview-theme--b .preview-main>.preview-section.stack-scroll{box-shadow:0 -28px 58px rgba(23,21,18,.17),0 -8px 20px rgba(23,21,18,.08),0 -1px 0 rgba(255,255,255,.50)}
  .preview-theme--b .preview-main>.preview-platforms.stack-scroll{padding-top:calc(18px + var(--stack-overlap))!important}
  .preview-theme--b .preview-projects>.preview-section-head,
  .preview-theme--b .preview-projects>.preview-project-grid,
  .preview-theme--b .preview-team>.preview-section-head,
  .preview-theme--b .preview-team>.preview-team-grid{width:calc(100% - 36px)}
  .preview-theme--b .preview-project-side,.preview-theme--b .preview-project-rest-grid{grid-template-columns:1fr}
  .preview-theme--b .preview-project-rest-grid{margin-top:40px}
  .preview-theme--b .preview-team-grid{grid-template-columns:repeat(2,1fr);gap:14px}
  .preview-theme--b .preview-registration__intro h2,.preview-theme--b .preview-contact__title h2{font-size:clamp(42px,14vw,66px)}
  .preview-theme--b .preview-field,.preview-theme--b .preview-form>label{font-size:12px}
  .preview-theme--b .preview-field input:not([type="radio"]):not([type="checkbox"]),
  .preview-theme--b .preview-field select,
  .preview-theme--b .preview-form>label input:not([type="radio"]):not([type="checkbox"]){height:56px;font-size:15px}
  .preview-theme--b .preview-field textarea,.preview-theme--b .preview-form>label textarea{min-height:132px;font-size:15px}
}

@media (max-width:430px){
  .preview-theme--b .preview-team-grid{grid-template-columns:1fr}
}


/* v15 — project dates, platform visibility, image-only depth, rich team copy */
.preview-theme--b .preview-project-card__date{
  position:absolute;top:0;left:0;z-index:7;
  display:inline-flex;align-items:center;justify-content:center;
  min-width:66px;min-height:40px;padding:8px 11px;
  background:var(--b-red);color:#fff;
  font:800 13px/1 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing:.08em;
}
.preview-theme--b .preview-project-card__latest{display:inline-flex;margin-bottom:9px;color:var(--b-red)}
.preview-theme--b .preview-platforms__head{width:min(92vw,var(--b-content-max));margin:0 auto 30px}
.preview-theme--b .preview-main>.preview-platforms.stack-scroll{
  padding-bottom:calc(36px + var(--stack-overlap))!important;
}
.preview-theme--b .preview-platform-marquee{position:relative;z-index:3}

/* Only the visual media moves in 3D. Copy, buttons and card geometry stay fixed. */
.preview-project-card__media.depth-3d,
.preview-team-card__photo.depth-3d,
.preview-platform-logo.depth-3d{
  --depth-rx:0deg;--depth-ry:0deg;--depth-y:0px;--depth-scroll-y:0px;--depth-scroll-rx:0deg;--depth-scale:1;
  position:relative;
  transform:perspective(860px) translate3d(0,calc(var(--depth-y) + var(--depth-scroll-y)),0) rotateX(calc(var(--depth-rx) + var(--depth-scroll-rx))) rotateY(var(--depth-ry)) scale(var(--depth-scale));
  transform-style:preserve-3d;transform-origin:center center;will-change:transform;
  transition:transform .34s cubic-bezier(.2,.78,.2,1),box-shadow .34s cubic-bezier(.2,.78,.2,1);
}
.preview-project-card__media.depth-3d.is-depth-active,
.preview-team-card__photo.depth-3d.is-depth-active{--depth-y:-14px;--depth-scale:1.025}
.preview-platform-logo.depth-3d.is-depth-active{--depth-y:-8px;--depth-scale:1.045}
.preview-theme--b .preview-project-card__media.depth-3d,
.preview-theme--b .preview-team-card__photo.depth-3d,
.preview-theme--b .preview-platform-logo.depth-3d{box-shadow:0 18px 36px rgba(23,21,18,.14)}
.preview-theme--b .preview-project-card__media.depth-3d.is-depth-active,
.preview-theme--b .preview-team-card__photo.depth-3d.is-depth-active,
.preview-theme--b .preview-platform-logo.depth-3d.is-depth-active{box-shadow:0 42px 78px rgba(23,21,18,.28),0 16px 28px rgba(23,21,18,.12)}
.preview-project-card__body,.preview-team-card__copy,.preview-platform-copy,.preview-platform-arrow,.preview-text-link{transform:none!important}

.preview-team-card__rich{margin-top:12px;color:#5d5750;font-family:"Noto Serif TC",serif;font-size:14px;line-height:1.75}
.preview-team-card__rich>*:first-child{margin-top:0}
.preview-team-card__rich>*:last-child{margin-bottom:0}
.preview-team-card__rich p{margin:.65em 0}
.preview-team-card__rich h2{margin:1em 0 .4em;font-size:1.45em;line-height:1.2}
.preview-team-card__rich h3{margin:1em 0 .4em;font-size:1.2em;line-height:1.25}
.preview-team-card__rich ul,.preview-team-card__rich ol{padding-left:1.25em;margin:.8em 0}
.preview-team-card__rich blockquote{margin:.9em 0;padding-left:12px;border-left:2px solid var(--b-red)}
.preview-team-card__rich a{text-decoration:underline;text-underline-offset:3px}
.preview-team-card__rich figure{margin:1em 0}.preview-team-card__rich figure img{width:100%;height:auto;display:block}.preview-team-card__rich figcaption{margin-top:6px;font-size:11px;color:#81796f}

@media (max-width:600px){
  .preview-theme--b .preview-project-card__date{min-width:58px;min-height:35px;padding:7px 9px;font-size:11px}
  .preview-theme--b .preview-platforms__head{width:100%;margin-bottom:20px}
  .preview-project-card__media.depth-3d.is-depth-active,.preview-team-card__photo.depth-3d.is-depth-active{--depth-y:-8px;--depth-scale:1.015}
}
@media (prefers-reduced-motion:reduce){
  .preview-project-card__media.depth-3d,.preview-team-card__photo.depth-3d,.preview-platform-logo.depth-3d{transform:none!important;transition:none!important}
}

/* v16 — compact editorial flow, gentler paper overlap, explicit feedback fields */
.preview-reveal.stack-scroll{
  --stack-overlap:clamp(48px,4vw,72px);
  --stack-section-top:clamp(46px,4.5vw,72px);
  --stack-section-bottom:clamp(52px,5vw,82px);
}
.preview-theme--b .preview-main>.preview-section.stack-scroll{
  box-shadow:0 -30px 70px rgba(23,21,18,.16),0 -10px 24px rgba(23,21,18,.08),0 -1px 0 rgba(255,255,255,.54);
}
.preview-theme--b .preview-main>.preview-registration.stack-scroll{
  box-shadow:0 -34px 78px rgba(23,21,18,.27),0 -10px 26px rgba(23,21,18,.14),0 -1px 0 rgba(240,234,223,.14);
}

.preview-theme--b .preview-project-feature{
  grid-template-columns:minmax(0,1.28fr) minmax(340px,.92fr);
  gap:clamp(24px,2.2vw,42px);
}
.preview-theme--b .preview-project-card--lead .preview-project-card__media{aspect-ratio:16/10;max-height:min(62vh,720px)}
.preview-theme--b .preview-project-side{gap:clamp(24px,2.2vw,38px)}
.preview-theme--b .preview-project-side .preview-project-card__media{aspect-ratio:16/9;max-height:340px}
.preview-theme--b .preview-project-rest-grid{margin-top:clamp(38px,4vw,64px);gap:clamp(30px,2.5vw,48px) clamp(20px,1.8vw,34px)}
.preview-theme--b .preview-project-rest-grid .preview-project-card__media{aspect-ratio:16/10;max-height:430px}

.preview-theme--b .preview-main>.preview-contact.stack-scroll{
  --contact-section-y:clamp(54px,5vw,78px);
  padding-top:calc(var(--contact-section-y) + var(--stack-overlap));
  padding-bottom:var(--contact-section-y);
}
.preview-theme--b .preview-contact{align-items:center;gap:clamp(52px,5vw,92px)}
.preview-theme--b .preview-contact__form{gap:18px}
.preview-theme--b .preview-contact__form label{gap:8px}
.preview-theme--b .preview-contact__form input:not([type="radio"]):not([type="checkbox"]){
  height:58px!important;
  padding:0 16px!important;
  border:1px solid #17151255!important;
  border-radius:8px!important;
  background:#fffaf2!important;
  color:#171512!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75);
}
.preview-theme--b .preview-contact__form textarea{
  min-height:150px;
  padding:15px 16px!important;
  border:1px solid #17151255!important;
  border-radius:8px!important;
  background:#fffaf2!important;
  color:#171512!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75);
}
.preview-theme--b .preview-contact__form input:focus,
.preview-theme--b .preview-contact__form textarea:focus{border-color:var(--b-red)!important;box-shadow:0 0 0 3px rgba(198,40,40,.08)}

@media(max-width:1100px){
  .preview-theme--b .preview-project-feature{grid-template-columns:minmax(0,1.12fr) minmax(290px,.88fr)}
  .preview-theme--b .preview-project-card--lead .preview-project-card__media{max-height:620px}
}
@media(max-width:900px){
  .preview-reveal.stack-scroll{--stack-overlap:46px;--stack-section-top:58px;--stack-section-bottom:64px}
  .preview-theme--b .preview-main>.preview-contact.stack-scroll{--contact-section-y:52px}
}
@media(max-width:700px){
  .preview-theme--b .preview-project-card--lead .preview-project-card__media{aspect-ratio:4/3;max-height:none}
  .preview-theme--b .preview-project-side .preview-project-card__media,
  .preview-theme--b .preview-project-rest-grid .preview-project-card__media{max-height:none}
}
@media(max-width:600px){
  .preview-reveal.stack-scroll{--stack-overlap:36px;--stack-section-top:48px;--stack-section-bottom:54px}
  .preview-theme--b .preview-main>.preview-contact.stack-scroll{--contact-section-y:46px}
  .preview-theme--b .preview-contact__form input:not([type="radio"]):not([type="checkbox"]){height:54px!important}
  .preview-theme--b .preview-contact__form textarea{min-height:132px}
}


/* v17 — deterministic continuation flow: leftover cards never drop into a random-looking corner. */
@media (min-width:701px){
  .preview-theme--b .preview-project-rest-grid--count-1{grid-template-columns:1fr}
  .preview-theme--b .preview-project-rest-grid--count-1 .preview-project-card__media{aspect-ratio:21/9;max-height:460px}
  .preview-theme--b .preview-project-rest-grid--count-1 .preview-project-card__body{max-width:1080px}
  .preview-theme--b .preview-project-rest-grid--count-2{grid-template-columns:repeat(2,1fr)}
}
@media (min-width:1101px){
  .preview-theme--b .preview-project-rest-grid--count-many{grid-template-columns:repeat(3,1fr)}
}


/* v18 — projects rebuilt as one editorial feature plus a uniform archive grid. */
.preview-theme--b .preview-project-grid{display:block}
.preview-theme--b .preview-project-featured-story{
  margin-bottom:clamp(48px,5vw,82px);
}
.preview-theme--b .preview-project-featured-story .preview-project-card--lead{
  display:grid;
  grid-template-columns:minmax(0,3fr) minmax(0,2fr);
  gap:clamp(34px,4vw,76px);
  align-items:center;
}
.preview-theme--b .preview-project-featured-story .preview-project-card__media{
  aspect-ratio:16/10;
  min-height:0;
  max-height:none;
}
.preview-theme--b .preview-project-featured-story .preview-project-card__body{
  padding-top:0;
  max-width:620px;
  align-self:center;
}
.preview-theme--b .preview-project-featured-story .preview-project-card h3{
  font-size:clamp(38px,4.2vw,72px);
  line-height:1.08;
}
.preview-theme--b .preview-project-featured-story .preview-project-card p{
  margin-top:18px;
  font-size:clamp(15px,1.1vw,18px);
  line-height:1.85;
}
.preview-theme--b .preview-project-featured-story .preview-text-link{
  margin-top:24px;
}
.preview-theme--b .preview-project-archive-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(44px,4.5vw,76px) clamp(24px,2.4vw,44px);
  align-items:start;
}
.preview-theme--b .preview-project-archive-grid .preview-project-card{
  display:block;
  min-width:0;
  margin:0;
}
.preview-theme--b .preview-project-archive-grid .preview-project-card__media{
  aspect-ratio:16/10;
  max-height:none;
}
.preview-theme--b .preview-project-archive-grid .preview-project-card__body{
  padding-top:16px;
}
.preview-theme--b .preview-project-archive-grid .preview-project-card h3{
  font-size:clamp(25px,2vw,36px);
  line-height:1.16;
}
.preview-theme--b .preview-project-archive-grid .preview-project-card p{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
  min-height:4.9em;
  font-size:14px;
  line-height:1.65;
}
.preview-theme--b .preview-project-archive-grid .preview-text-link{
  margin-top:14px;
}

@media (max-width:1100px){
  .preview-theme--b .preview-project-featured-story .preview-project-card--lead{
    grid-template-columns:minmax(0,3fr) minmax(0,2fr);
    gap:32px;
  }
  .preview-theme--b .preview-project-featured-story .preview-project-card h3{font-size:clamp(34px,4.4vw,54px)}
  .preview-theme--b .preview-project-archive-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:44px 24px;
  }
}

@media (max-width:820px){
  .preview-theme--b .preview-project-featured-story{margin-bottom:44px}
  .preview-theme--b .preview-project-featured-story .preview-project-card--lead{
    grid-template-columns:1fr;
    gap:20px;
  }
  .preview-theme--b .preview-project-featured-story .preview-project-card__body{
    padding-top:0;
    max-width:100%;
  }
  .preview-theme--b .preview-project-featured-story .preview-project-card h3{font-size:clamp(32px,7vw,48px)}
}

@media (max-width:640px){
  .preview-theme--b .preview-project-featured-story{margin-bottom:38px}
  .preview-theme--b .preview-project-featured-story .preview-project-card__media,
  .preview-theme--b .preview-project-archive-grid .preview-project-card__media{aspect-ratio:16/10}
  .preview-theme--b .preview-project-archive-grid{
    grid-template-columns:1fr;
    gap:38px;
  }
  .preview-theme--b .preview-project-archive-grid .preview-project-card p{min-height:0}
}


/* v19 — keep archive actions aligned on the same baseline. */
.preview-theme--b .preview-project-archive-grid{
  align-items:stretch;
}
.preview-theme--b .preview-project-archive-grid .preview-project-card{
  display:flex;
  flex-direction:column;
  height:100%;
}
.preview-theme--b .preview-project-archive-grid .preview-project-card__body{
  display:flex;
  flex-direction:column;
  flex:1;
}
.preview-theme--b .preview-project-archive-grid .preview-text-link{
  margin-top:auto;
  padding-top:18px;
  align-self:flex-start;
}


/* Project typography controls v22 */
.preview-project-card [data-text-font="serif"]{font-family:"Noto Serif TC","Songti TC","PMingLiU",serif!important}
.preview-project-card [data-text-font="sans"]{font-family:"Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif!important}
.preview-project-card [data-text-font="rounded"]{font-family:ui-rounded,"SF Pro Rounded","PingFang TC","Noto Sans TC",sans-serif!important}
.preview-project-card [data-text-font="system"]{font-family:system-ui,-apple-system,"Segoe UI","Noto Sans TC",sans-serif!important}
.preview-project-card h3[data-text-size="xs"]{font-size:clamp(18px,1.7vw,26px)}
.preview-project-card h3[data-text-size="s"]{font-size:clamp(21px,1.9vw,30px)}
.preview-project-card h3[data-text-size="m"]{font-size:clamp(24px,2.2vw,36px)}
.preview-project-card h3[data-text-size="l"]{font-size:clamp(28px,2.5vw,42px)}
.preview-project-card h3[data-text-size="xl"]{font-size:clamp(32px,2.9vw,48px)}
.preview-project-card h3[data-text-size="xxl"]{font-size:clamp(36px,3.3vw,56px)}
.preview-project-card p[data-text-size="xs"]{font-size:11px}
.preview-project-card p[data-text-size="s"]{font-size:12px}
.preview-project-card p[data-text-size="m"]{font-size:14px}
.preview-project-card p[data-text-size="l"]{font-size:16px}
.preview-project-card p[data-text-size="xl"]{font-size:18px}
.preview-project-card p[data-text-size="xxl"]{font-size:20px}
.preview-theme--b .preview-project-featured-story .preview-project-card h3[data-text-size="m"]{font-size:clamp(38px,4.5vw,62px)}
.preview-theme--b .preview-project-featured-story .preview-project-card h3[data-text-size="l"]{font-size:clamp(44px,5vw,70px)}
.preview-theme--b .preview-project-featured-story .preview-project-card h3[data-text-size="xl"]{font-size:clamp(50px,5.5vw,78px)}
.preview-theme--b .preview-project-featured-story .preview-project-card h3[data-text-size="xxl"]{font-size:clamp(56px,6vw,86px)}

/* v24 — four-up infinite team carousel */
.preview-theme--b .preview-team>.preview-team-carousel{
  --team-visible:4;
  --team-gap:clamp(24px,2vw,42px);
  width:min(92vw,var(--b-content-max));
  margin-left:auto;
  margin-right:auto;
  position:relative;
}
.preview-team-carousel__controls{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin:0 0 18px;
}
.preview-team-carousel__button{
  width:48px;
  height:48px;
  border:1px solid rgba(23,21,18,.42);
  border-radius:999px;
  background:transparent;
  color:var(--b-ink);
  font:700 22px/1 system-ui,sans-serif;
  cursor:pointer;
  transition:transform .2s ease,background .2s ease,color .2s ease;
}
.preview-team-carousel__button:hover,
.preview-team-carousel__button:focus-visible{
  background:var(--b-ink);
  color:var(--b-paper);
  transform:translateY(-2px);
}
.preview-team-carousel__button:disabled{opacity:.32;cursor:default;transform:none}
.preview-team-carousel__viewport{overflow:hidden}
.preview-theme--b .preview-team-carousel__track{
  display:flex!important;
  grid-template-columns:none!important;
  gap:var(--team-gap)!important;
  align-items:flex-start;
  width:100%;
  margin:0;
  transition:transform .58s cubic-bezier(.22,.72,.18,1);
  will-change:transform;
}
.preview-theme--b .preview-team-carousel__track>.preview-team-card{
  flex:0 0 calc((100% - (var(--team-visible) - 1) * var(--team-gap)) / var(--team-visible));
  min-width:0;
  margin:0!important;
}
.preview-team-carousel.is-moving .preview-team-carousel__button{pointer-events:none}

@media (max-width:900px){
  .preview-theme--b .preview-team>.preview-team-carousel{
    --team-visible:2;
    --team-gap:22px;
    width:calc(100% - 44px);
  }
}
@media (max-width:600px){
  .preview-theme--b .preview-team>.preview-team-carousel{
    --team-visible:1;
    --team-gap:16px;
    width:calc(100% - 36px);
  }
  .preview-team-carousel__controls{margin-bottom:14px}
  .preview-team-carousel__button{width:44px;height:44px;font-size:20px}
}
@media (prefers-reduced-motion:reduce){
  .preview-theme--b .preview-team-carousel__track{transition:none!important}
}

/* v25 — mobile platform actions stay fully visible instead of hiding off-canvas. */
@media (max-width:600px){
  .preview-theme--b .preview-platform-marquee{
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
    overflow:visible;
    padding-bottom:0;
  }
  .preview-theme--b .preview-platform-marquee a{
    min-width:0;
    width:100%;
    max-width:none;
    box-sizing:border-box;
    grid-template-columns:64px minmax(0,1fr) auto;
    gap:12px;
    padding:14px 16px;
    border-right:0;
    border-bottom:1px solid rgba(23,21,18,.24);
  }
  .preview-theme--b .preview-platform-logo{
    width:64px;
    height:48px;
  }
  .preview-theme--b .preview-main>.preview-platforms.stack-scroll{
    padding-bottom:calc(28px + var(--stack-overlap))!important;
  }
}
