﻿/* Taiyi's public site. Standalone product screens have their own stylesheet. */
.taiyi-site {
    --ty-bg:#090d1a; --ty-bg-2:#0c1020; --ty-panel:#141a2d; --ty-text:#f1f3fc;
    --ty-text-2:#dce1f0; --ty-muted:#b1bbd1; --ty-dim:#a2acc4; --ty-accent:#d1fb86;
    --ty-accent-hi:#e5ffb7; --ty-on-accent:#141c0b; --ty-line:#37405b; --ty-line-soft:#262e46;
    --wrap:min(88%,1480px); background:var(--ty-bg); color:var(--ty-text);
}
.taiyi-site .ty-header { background:#090d1bef; border-color:#30364b; }
.taiyi-site .ty-header-inner { max-width:1680px; padding-inline:clamp(20px,5vw,90px); }
html .taiyi-site .ty-cta { color:#111b0d!important; background:var(--ty-accent); border-color:var(--ty-accent); }
.taiyi-site .ty-sub,.taiyi-site .ty-mega,.taiyi-site .ty-footer { background:#101525; border-color:#363e58; }
.taiyi-site .ty-footer { background:linear-gradient(125deg,#12182a,#090d19); border-top:1px solid #46506d; }
.taiyi-site :focus-visible { outline:2px solid var(--ty-accent); outline-offset:4px; }
.taiyi-site .main { background:var(--ty-bg); }
.design-hero,.taiyi-site .main .page-header,.taiyi-site .ty-ad-hero {
    position:relative; isolation:isolate; overflow:hidden; margin:0;
    background:radial-gradient(ellipse at 82% 65%,#303768 0%,#171e3c 32%,#0b1020 68%)!important;
    border:0!important; border-bottom:1px solid #39405a!important;
}
.design-hero::before,.taiyi-site .main .page-header::before {
    content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
    background-image:radial-gradient(#8891be66 .7px,transparent .9px); background-size:21px 21px;
    mask-image:linear-gradient(90deg,transparent,#000); opacity:.7;
}
.design-spread { width:var(--wrap); margin:auto; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(26px,6vw,105px); align-items:center; padding:clamp(56px,6.5vw,112px) 0; }
.design-copy,.design-spread figure { min-width:0; }
.taiyi-site .design-kicker { display:inline-block; color:#d1fb86!important; font:600 .79rem/1.55 Consolas,monospace; letter-spacing:.13em; margin-bottom:22px; }
.design-kicker::before { content:""; display:inline-block; width:24px; height:8px; margin-right:11px; background:repeating-linear-gradient(115deg,transparent 0 3px,#c9f588 3px 5px); }
.taiyi-site .design-copy h1,.taiyi-site .main .page-header h1 { color:#f1f3fc!important; font-size:clamp(3rem,5.8vw,6.7rem)!important; line-height:1.12!important; font-weight:800!important; letter-spacing:-.055em; text-transform:none; margin:0 0 22px; overflow-wrap:anywhere; }
.taiyi-site .design-copy h1 em,.design-period { color:var(--ty-accent); font-style:normal; }
.taiyi-site .design-copy p { color:#c1c9de; font-size:clamp(1.04rem,1.35vw,1.32rem); line-height:1.8; max-width:31em; }
html .taiyi-site .design-button { display:inline-flex; padding:12px 22px; margin-top:5px; font-weight:700; color:#121b0c!important; background:var(--ty-accent); border-radius:3px; }
.taiyi-site .design-button:hover { background:#e5ffbb; }
.taiyi-site .main .page-header { padding:clamp(55px,7vw,110px) 0; }
.taiyi-site .main .page-header h1 { font-size:clamp(2.5rem,4.5vw,5rem)!important; }
.taiyi-site .main .page-header::after { content:""; width:50vw; height:50vw; position:absolute; top:-80%; right:-15%; border-radius:50%; z-index:-1; background:repeating-radial-gradient(ellipse at center,transparent 0 12px,#a5a7ff21 13px,transparent 14px); }
.taiyi-site .main .page-header .text-center { text-align:left!important; }
.taiyi-site .label-console { margin:0; position:relative; padding:18px clamp(16px,2vw,32px); border:1px solid #656c91; background:linear-gradient(140deg,#272e4a,#13192f 68%); box-shadow:0 22px 65px #03061365; }
.label-console figcaption,.print-steps { display:flex; justify-content:space-between; gap:10px; color:#e2e6f4; font:600 .84rem/1.5 Consolas,monospace; letter-spacing:.06em; }
.label-console figcaption span { color:#b9c1da; }
.label-bed { min-height:clamp(200px,18vw,330px); margin:16px 0; display:grid; place-items:center; overflow:hidden; perspective:680px; position:relative; background:repeating-linear-gradient(0deg,transparent 0 22px,#838ec021 23px),repeating-linear-gradient(90deg,transparent 0 22px,#838ec021 23px),#10182c; }
.woven-label { width:min(67%,290px); padding:18px 22px; background:repeating-linear-gradient(0deg,#ece9d9 0 2px,#e0dece 3px); color:#172034; box-shadow:12px 18px 0 #060a1d70; transform:rotateX(12deg) rotateZ(-7deg); transition:transform .7s; }
.woven-label b { display:block; font:900 clamp(1.35rem,2.5vw,2.8rem)/1 Arial,sans-serif; letter-spacing:-.075em; }.woven-label sup { font-size:.35em; }
.woven-label i { display:block; border-top:2px solid; margin:10px 0; }.woven-label span { display:block; font:600 .85rem/1.65 Consolas,monospace; }
.print-code { height:15px; margin-top:9px; background:repeating-linear-gradient(90deg,#1a2030 0 2px,transparent 2px 4px,#1a2030 4px 5px,transparent 5px 8px); }
.label-bed::after { content:""; position:absolute; inset:10% 0 auto; height:2px; background:#d1fb86; box-shadow:0 0 16px #a6ff85; animation:studio-scan 4.4s ease-in-out infinite; }
@keyframes studio-scan { 0%,100% {top:14%;opacity:0} 18%,76% {opacity:.85} 88% {top:87%;opacity:0} }
.print-steps { list-style:none; padding:0 0 12px; border-bottom:1px solid #47516c; margin:0 0 10px; color:#c5d0e4; font-family:inherit; }
.label-console a { color:var(--ty-accent)!important; }
.featured-work,.case-preview { position:relative; display:block; margin:0; background:#111728; }
.featured-work { border:1px solid #66718d; overflow:hidden; box-shadow:10px 10px 0 #454b70; }
.featured-work img { width:100%; aspect-ratio:1.48; object-fit:cover; transition:transform .7s ease; }
.featured-work:hover img { transform:scale(1.035); }
.featured-work>span { position:absolute; inset:auto 0 0; padding:50px 20px 20px; background:linear-gradient(transparent,#080c19f2); }
.featured-work small,.featured-work b { display:block; color:white; }.featured-work small { letter-spacing:.12em; color:#d9f8ac; }.featured-work b { font-size:clamp(1.45rem,2.6vw,3rem); line-height:1.35; }
.taiyi-site .case-hero .design-copy h1 { font-size:clamp(2.6rem,4.4vw,5.2rem)!important; }
.case-preview { padding:clamp(12px,1.7vw,26px); border:1px solid #515d7e; background:linear-gradient(145deg,#3b436a,#192039); box-shadow:9px 10px 0 #0b1024; }
.case-preview img { width:100%; height:clamp(205px,22vw,390px); display:block; object-fit:contain; background:#101628; }
.taiyi-site #workFilters { scroll-margin-top:105px; gap:8px; }
.taiyi-site .ty-filter { color:#c9d1e6; border:1px solid #49536e; border-radius:30px; padding:9px 15px; font-size:.9rem; }
.taiyi-site .ty-filter.active { color:#111b0e!important; background:var(--ty-accent); border-color:var(--ty-accent); }
.taiyi-site .ty-work-card { background:linear-gradient(165deg,#1c243b,#111728); border:1px solid #353f58; border-radius:4px; overflow:hidden; transition:transform .3s,border-color .3s; }
.taiyi-site .ty-work-card:hover { transform:translateY(-4px); border-color:#99aa89; }
.taiyi-site .ty-work-meta { color:#cbdbab; }.taiyi-site .ty-work-title { font-size:clamp(1.18rem,1.6vw,1.55rem); }.taiyi-site .ty-work-desc { font-size:1rem; }
.taiyi-site[data-section=portofolio] .card { background:linear-gradient(145deg,#232c45,#12182a)!important; box-shadow:inset 0 2px #a9b9ff; }
.taiyi-site[data-section=portofolio] .main h2,.taiyi-site .ty-article h2 { letter-spacing:-.035em; }
.taiyi-site[data-section=insights] .ty-article,.taiyi-site[data-screen=singularity] .col-lg-10,.taiyi-site[data-section=lotteryguide] .ty-article { max-width:78ch; margin-inline:auto; }
.reader-index { padding:14px 18px; margin:0 0 32px; border:1px solid #43506d; border-left:3px solid #c5ed87; background:#151c31; }
.reader-index summary { cursor:pointer; color:#d6e4be; font-weight:650; }.reader-index ol { padding-left:1.5em; margin:12px 0 0; }.reader-index a { color:#d6dff4!important; }.reader-index~h2,.ty-article h2 { scroll-margin-top:100px; }
.taiyi-site[data-screen=lottery] .ty-shot { box-shadow:0 10px 32px #0005; border:1px solid #525d78; }
.taiyi-site .ty-ad-sec--wine { background:linear-gradient(145deg,#242441,#15182d); }.taiyi-site .ty-ad-h1 em { color:var(--ty-accent); }
.taiyi-site .ty-footer-col-title,.taiyi-site .ty-mega-head { color:#d6e9b4; }
.studio-result { width:min(88%,900px); margin:auto; padding:clamp(80px,12vw,200px) 0; }.studio-result p { max-width:39em; }
@media(max-width:800px) {
    .taiyi-site { --wrap:90%; }
    .design-spread { grid-template-columns:1fr; gap:28px; padding:45px 0; }
    .taiyi-site .design-copy h1 { font-size:clamp(2.8rem,10vw,4.4rem)!important; }
    .taiyi-site .design-kicker { margin-bottom:12px; }
    .featured-work img { aspect-ratio:1.8; }
    .case-preview img { height:clamp(170px,45vw,270px); }
    .taiyi-site .ty-nav { background:#101526; }
}
@media(prefers-reduced-motion:reduce) {
    .label-bed::after { animation:none; opacity:0; }.featured-work img,.taiyi-site .ty-work-card,.woven-label { transition:none; }
}.label-adjust { display:flex; justify-content:space-between; align-items:center; gap:14px; padding-bottom:14px; color:#c7d1e5; font-size:.92rem; }
.label-adjust[hidden] { display:none; }
.label-adjust select { color:#eff2fa; background:#10182c; border:1px solid #7983a0; border-radius:3px; padding:5px 12px; }
.woven-label output { color:inherit; }
.brand-family,.image-study,.inventory-feature { border:1px solid #46506b; background:linear-gradient(125deg,#1e2841,#11172b); }
.brand-family { width:var(--wrap); margin:clamp(24px,4vw,64px) auto 0; padding:clamp(18px,3vw,40px); }
.brand-family .design-kicker { margin-bottom:8px; }.brand-family strong,.inventory-feature strong { display:block; font-size:clamp(1.45rem,2.7vw,2.75rem); line-height:1.35; letter-spacing:-.04em; color:#f4f5fc; }
.family-links { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-top:22px; }
.family-links a { display:grid; gap:8px; padding:16px; border:1px solid #53617c; }.family-links a[aria-current=page] { background:#243530; border-color:#cee994; }.family-links span,.inventory-feature span { color:#bdc9de; }
.image-study { padding:clamp(18px,3vw,40px); margin-bottom:30px; }.image-study h2 { margin-bottom:16px; }.image-study fieldset { display:flex; flex-wrap:wrap; border:0; padding:0; gap:8px; min-width:0; }.image-study legend { font-size:.95rem; color:#b9c5d9; }
.study-item { display:contents; }.study-choice { position:absolute; opacity:0; width:1px; height:1px; }.study-choice+label { cursor:pointer; padding:8px 12px; border:1px solid #56617b; margin:0; }.study-choice:checked+label { background:#d1fb86; color:#152010; }.study-choice:focus-visible+label { outline:2px solid #d1fb86; outline-offset:2px; }
.study-item figure { display:none; margin:8px 0 0; width:100%; order:1; }.study-choice:checked~figure { display:block; }
.study-viewport { text-align:center; overflow:hidden; background:#0c1121; }.study-viewport img { width:auto; max-width:100%; max-height:480px; vertical-align:middle; transition:transform .25s; }
.study-item figure:has(.study-tools input:checked) img { transform:scale(2.2); }
.study-item figcaption { color:#e3e8f2; margin-top:14px; }.study-tools { display:flex; align-items:center; flex-wrap:wrap; gap:16px; margin-top:12px; }.study-tools label { margin:0; cursor:pointer; }.study-tools input { accent-color:#c6ea98; }
.inventory-feature { display:grid; gap:8px; padding:clamp(20px,3vw,38px); margin-bottom:30px; }
@media(max-width:660px) { .family-links { grid-template-columns:1fr; }.family-links a { gap:2px; }.study-choice+label { font-size:.9rem; } }
@media(prefers-reduced-motion:reduce) { .study-viewport img { transition:none; } }
#workGrid .ty-work[data-play=yes] {display:flex; flex-direction:column;}
#workGrid .ty-work[hidden] {display:none!important;}
#workGrid .ty-work[data-play=yes] .ty-work-card { flex:1; height:auto!important; border-bottom-left-radius:0; border-bottom-right-radius:0; }
#workGrid .work-play { display:flex; align-items:center; gap:8px; background:#172337; color:#d1fb86!important; border:1px solid #41536b; border-top:0; padding:10px 18px; font-size:.93rem; }
.work-play:before {content:"";border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:8px solid currentColor;}
