/* Website theme and hero comparison: all samples share one fictional demo. */
.tg-studio-controls .tg-studio-hint{font:13px/1.5 Arial,sans-serif;color:#536a70;margin:14px 0 0}
.tg-studio{margin:42px 0 54px;color:#173444}.tg-studio-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:24px}.tg-studio-head h2,.tg-existing-title{font:400 clamp(30px,3.5vw,45px)/1.12 Georgia,serif;color:#173444;margin:8px 0 12px}.tg-studio-head p{max-width:750px;color:#4a626d;font:16px/1.6 Arial,sans-serif;margin:0}.tg-studio-note{max-width:240px!important;font-size:13px!important;color:#59716f!important}.tg-studio-controls{background:#fff;border:1px solid #ced9d7;border-radius:12px;padding:24px;margin-bottom:18px}.tg-control-label{margin:0 0 10px;color:#173444;font:700 13px/1.4 Arial,sans-serif}.tg-choice-row{display:flex;flex-wrap:wrap;gap:8px}.tg-choice-row+.tg-control-label{margin-top:22px}.tg-choice{appearance:none;min-height:44px;border:1px solid #bccdcc;border-radius:6px;background:#fff;color:#244553;padding:10px 13px;font:600 13px/1.25 Arial,sans-serif;cursor:pointer}.tg-choice:hover{border-color:#315c60}.tg-choice[aria-pressed=true]{background:#163d4b;border-color:#163d4b;color:#fff}.tg-choice:focus-visible,.tg-studio a:focus-visible{outline:3px solid #238da1;outline-offset:3px}.tg-preview-caption{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 12px;color:#405a64;font:13px/1.5 Arial,sans-serif}.tg-preview-caption strong{color:#173444}.tg-example{--paper:#f5f0e6;--ink:#263a32;--accent:#445f4c;--accent-ink:#fff;--soft:#e6e0d3;--heading:Georgia,serif;--shape:0px;--nav-transform:uppercase;--image-radius:0px;background:var(--paper);color:var(--ink);border:1px solid #a7b6b2;overflow:hidden;box-shadow:0 14px 38px #183a4218}.tg-example[data-theme=modern]{--paper:#f6f8fb;--ink:#162b3e;--accent:#1a5d92;--accent-ink:#fff;--soft:#e2eaf0;--heading:Arial,sans-serif;--shape:5px;--image-radius:6px}.tg-example[data-theme=premium]{--paper:#1d2624;--ink:#f9f2e3;--accent:#c3a66e;--accent-ink:#1d2624;--soft:#34403b;--heading:Georgia,serif;--shape:0px}.tg-example[data-theme=architectural]{--paper:#eeeae1;--ink:#313a38;--accent:#445a53;--accent-ink:#fff;--soft:#dfdacf;--heading:Arial,sans-serif;--shape:0px}.tg-example[data-theme=classic]{--paper:#f4e8d6;--ink:#4d3024;--accent:#80533a;--accent-ink:#fff;--soft:#e9d5ba;--heading:Georgia,serif;--shape:3px}.tg-example[data-theme=tech]{--paper:#eaf0f4;--ink:#112b40;--accent:#126c93;--accent-ink:#fff;--soft:#d8e7ec;--heading:Arial,sans-serif;--shape:12px;--image-radius:12px}.tg-example[data-theme=cinematic]{--paper:#1b2626;--ink:#f9f6ec;--accent:#d6c09a;--accent-ink:#1b2626;--soft:#364643;--heading:Georgia,serif;--shape:0px}.tg-example[data-theme=bold]{--paper:#f8eec5;--ink:#17273b;--accent:#ad3c2e;--accent-ink:#fff;--soft:#f1d482;--heading:Arial,sans-serif;--shape:0px}.tg-example[data-theme=organic]{--paper:#eef0e2;--ink:#2d4638;--accent:#58745a;--accent-ink:#fff;--soft:#d9e1cc;--heading:Georgia,serif;--shape:25px;--image-radius:70px 10px 70px 10px}.tg-example[data-theme=luxury]{--paper:#f5f0e8;--ink:#302824;--accent:#725344;--accent-ink:#fff;--soft:#e6dacb;--heading:Georgia,serif;--shape:0px}.tg-example-nav{min-height:67px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 5%;border-bottom:1px solid color-mix(in srgb,var(--ink) 18%,transparent)}.tg-example-brand{color:var(--ink);font:700 18px/1.1 Georgia,serif;letter-spacing:.1em;white-space:nowrap}.tg-example-navlinks{display:flex;gap:18px;align-items:center;color:var(--ink);font:600 10px/1.2 Arial,sans-serif;letter-spacing:.06em;text-transform:var(--nav-transform)}.tg-example-navlinks a{color:var(--ink);text-decoration:none}.tg-example-navlinks a:last-child{border:1px solid currentColor;padding:9px 10px}.tg-example-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:380px}.tg-example-copy{padding:clamp(28px,5vw,64px);display:flex;flex-direction:column;justify-content:center;align-items:flex-start;z-index:1}.tg-example-copy .tg-example-kicker{margin:0 0 16px;color:var(--accent);font:700 10px/1.4 Arial,sans-serif;letter-spacing:.16em}.tg-example-copy h3{color:var(--ink);font:400 clamp(30px,4.4vw,55px)/1.05 var(--heading);letter-spacing:-.025em;margin:0 0 16px}.tg-example-copy h3 em{font-weight:400}.tg-example-copy p.tg-example-text{color:var(--ink);font:15px/1.6 Arial,sans-serif;max-width:35ch;margin:0 0 20px;opacity:.86}.tg-example-action{display:inline-block;background:var(--accent);color:var(--accent-ink)!important;border-radius:var(--shape);padding:13px 16px;text-decoration:none;font:700 12px/1.4 Arial,sans-serif}.tg-example-image{min-width:0;position:relative;overflow:hidden}.tg-example-image img{width:100%;height:100%;min-height:380px;display:block;object-fit:cover;object-position:center;border-radius:var(--image-radius)}.tg-example-mini{display:none}.tg-example[data-theme=modern] .tg-example-copy h3,.tg-example[data-theme=tech] .tg-example-copy h3,.tg-example[data-theme=bold] .tg-example-copy h3{font-weight:700;letter-spacing:-.04em}.tg-example[data-theme=bold] .tg-example-nav{border-bottom:3px solid var(--ink)}.tg-example[data-theme=bold] .tg-example-copy{border-top:9px solid var(--accent)}.tg-example[data-theme=architectural] .tg-example-hero{border-top:7px solid var(--soft)}.tg-example[data-theme=luxury] .tg-example-brand{font-weight:400;letter-spacing:.2em}.tg-example[data-layout=immersive] .tg-example-hero{display:block;min-height:430px}.tg-example[data-layout=immersive] .tg-example-image{position:absolute;inset:0}.tg-example[data-layout=immersive] .tg-example-image:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(14,27,25,.9) 0%,rgba(14,27,25,.62) 45%,rgba(14,27,25,.12) 100%)}.tg-example[data-layout=immersive] .tg-example-image img{min-height:100%;height:100%;border-radius:0}.tg-example[data-layout=immersive] .tg-example-copy{position:relative;min-height:430px;max-width:65%;color:#fff}.tg-example[data-layout=immersive] .tg-example-copy h3,.tg-example[data-layout=immersive] .tg-example-copy p.tg-example-text{color:#fff}.tg-example[data-layout=immersive] .tg-example-copy .tg-example-kicker{color:#fff}.tg-example[data-layout=immersive] .tg-example-action{background:#fff;color:#18352e!important}.tg-example[data-layout=bento] .tg-example-hero{grid-template-columns:1.05fr 1.25fr .6fr;gap:10px;padding:12px;background:var(--soft)}.tg-example[data-layout=bento] .tg-example-copy{background:var(--paper);border-radius:var(--shape);padding:clamp(20px,3vw,38px)}.tg-example[data-layout=bento] .tg-example-copy h3{font-size:clamp(27px,3.3vw,43px)}.tg-example[data-layout=bento] .tg-example-image img{min-height:360px}.tg-example[data-layout=bento] .tg-example-mini{display:flex;flex-direction:column;gap:10px}.tg-example-mini span{display:flex;flex:1;align-items:end;background:var(--paper);color:var(--ink);border-radius:var(--shape);padding:18px;font:700 12px/1.4 Arial,sans-serif}.tg-example[data-layout=editorial] .tg-example-hero{grid-template-columns:1fr 1.2fr;gap:0}.tg-example[data-layout=editorial] .tg-example-copy{padding:clamp(28px,5vw,64px);border-right:1px solid color-mix(in srgb,var(--ink) 18%,transparent)}.tg-example[data-layout=editorial] .tg-example-image{margin:28px 28px 28px 0}.tg-example[data-layout=editorial] .tg-example-image img{min-height:320px}.tg-studio-description{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-top:18px}.tg-studio-description p{max-width:70ch;margin:0;color:#4a626d;font:14px/1.6 Arial,sans-serif}.tg-studio-description a{display:inline-block;background:#163b4b;color:white;padding:13px 16px;border-radius:5px;font:700 13px/1.4 Arial,sans-serif;text-decoration:none}.tg-layout-info{margin:26px 0 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.tg-layout-info article{padding:17px;background:#e8efeb;border-top:3px solid #78988a}.tg-layout-info h3{margin:0 0 8px;font:700 15px/1.3 Arial,sans-serif;color:#173d43}.tg-layout-info p{margin:0;color:#49645c;font:13px/1.55 Arial,sans-serif}.tg-existing-intro{max-width:75ch;color:#4a626d;line-height:1.6}.tg-noscript{padding:15px;background:#fff7df;color:#513a15}.tg-example a{position:relative}.tg-example[data-theme=classic] .tg-example-copy h3{letter-spacing:0}.tg-example[data-theme=organic] .tg-example-copy h3{font-style:italic}
@media(max-width:700px){.tg-studio{margin:32px 0 40px}.tg-studio-head{display:block}.tg-studio-head .tg-studio-note{max-width:none!important;margin-top:12px}.tg-studio-controls{padding:18px}.tg-choice{font-size:12px;padding:10px}.tg-example-nav{padding:14px 18px}.tg-example-navlinks a:not(:last-child){display:none}.tg-example-hero,.tg-example[data-layout=editorial] .tg-example-hero{grid-template-columns:1fr}.tg-example-copy{padding:28px}.tg-example-copy h3{font-size:34px}.tg-example-image img{min-height:230px;max-height:310px}.tg-example[data-layout=immersive] .tg-example-copy{max-width:none;min-height:370px}.tg-example[data-layout=immersive] .tg-example-hero{min-height:370px}.tg-example[data-layout=immersive] .tg-example-image:after{background:linear-gradient(90deg,rgba(14,27,25,.88),rgba(14,27,25,.48))}.tg-example[data-layout=bento] .tg-example-hero{grid-template-columns:1fr 1fr}.tg-example[data-layout=bento] .tg-example-copy{grid-column:1/-1}.tg-example[data-layout=bento] .tg-example-image img{min-height:220px;height:100%}.tg-example[data-layout=bento] .tg-example-mini{min-height:220px}.tg-example[data-layout=editorial] .tg-example-copy{border-right:0}.tg-example[data-layout=editorial] .tg-example-image{margin:0 20px 20px}.tg-example[data-layout=editorial] .tg-example-image img{min-height:220px}.tg-layout-info{grid-template-columns:1fr 1fr}.tg-example-brand{font-size:15px}.tg-studio-description a{width:100%;text-align:center}}
@media(max-width:380px){.tg-layout-info{grid-template-columns:1fr}.tg-example[data-layout=bento] .tg-example-hero{grid-template-columns:1fr}.tg-example[data-layout=bento] .tg-example-mini{min-height:0;flex-direction:row}.tg-example-mini span{min-height:85px}.tg-choice{font-size:12px}}

/* Additional still-image layouts, independent of the selected visual theme. */
.tg-perspective-gallery{display:none}
.tg-example[data-layout=perspective] .tg-example-hero{display:flex;flex-direction:column;align-items:center;padding:35px 6% 25px;gap:20px}
.tg-example[data-layout=perspective] .tg-example-copy{padding:0;align-items:center;text-align:center;max-width:780px}
.tg-example[data-layout=perspective] .tg-example-image{display:none}
.tg-example[data-layout=perspective] .tg-perspective-gallery{display:flex;justify-content:center;gap:18px;width:100%;perspective:850px;padding:12px 3% 15px}
.tg-perspective-gallery figure{margin:0;flex:1;min-width:0;max-width:320px;background:var(--soft);box-shadow:0 15px 25px #0002;border-radius:var(--shape);overflow:hidden}
.tg-perspective-gallery figure:first-child{transform:rotateY(28deg) rotateZ(-5deg)}
.tg-perspective-gallery figure:last-child{transform:rotateY(-28deg) rotateZ(5deg)}
.tg-perspective-gallery img{display:block;width:100%;height:180px;object-fit:cover;transform:scale(1.03)}
.tg-perspective-gallery figcaption{padding:14px 10px;color:var(--ink);font:600 12px/1.4 Arial,sans-serif}
.tg-example[data-layout=typographic] .tg-example-hero{display:flex;flex-direction:column}
.tg-example[data-layout=typographic] .tg-example-copy{padding:40px 5% 28px;align-items:center;text-align:center}
.tg-example[data-layout=typographic] .tg-example-copy h3{font-size:clamp(42px,7.6vw,102px);line-height:.98;max-width:18ch;font-weight:700}
.tg-example[data-layout=typographic] .tg-example-copy h3 em{font-style:normal;font-weight:inherit}
.tg-example[data-layout=typographic] .tg-example-copy p.tg-example-text{max-width:60ch}
.tg-example[data-layout=typographic] .tg-example-image{margin:0 5% 30px}
.tg-example[data-layout=typographic] .tg-example-image img{height:260px;min-height:0;max-height:none}
.tg-example[data-layout=asymmetric] .tg-example-hero{grid-template-columns:1.1fr 1fr;gap:25px;padding:48px 5% 40px;align-items:start}
.tg-example[data-layout=asymmetric] .tg-example-copy{padding:0 0 55px;align-self:start}
.tg-example[data-layout=asymmetric] .tg-example-copy h3{font-size:clamp(34px,4.6vw,61px)}
.tg-example[data-layout=asymmetric] .tg-example-image{margin:85px 0 0;border:10px solid var(--soft);box-shadow:16px -18px 0 var(--accent)}
.tg-example[data-layout=asymmetric] .tg-example-image img{height:330px;min-height:0}
.tg-layout-info{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
@media(max-width:700px){
.tg-example[data-layout=perspective] .tg-example-hero{padding:28px 18px 18px}
.tg-example[data-layout=perspective] .tg-perspective-gallery{gap:8px;padding:8px 0}
.tg-perspective-gallery img{height:130px}
.tg-perspective-gallery figcaption{font-size:10px;padding:10px 6px}
.tg-example[data-layout=typographic] .tg-example-copy{padding:30px 20px 24px}
.tg-example[data-layout=typographic] .tg-example-copy h3{font-size:clamp(36px,8.5vw,58px);overflow-wrap:normal}
.tg-example[data-layout=typographic] .tg-example-image img{height:220px}
.tg-example[data-layout=asymmetric] .tg-example-hero{grid-template-columns:1fr;gap:12px;padding:28px 24px}
.tg-example[data-layout=asymmetric] .tg-example-copy{padding:0}
.tg-example[data-layout=asymmetric] .tg-example-copy h3{font-size:36px}
.tg-example[data-layout=asymmetric] .tg-example-image{margin:22px 12px 0 0}
.tg-example[data-layout=asymmetric] .tg-example-image img{height:240px;max-height:none}
}


/* Additional reference-inspired directions; original demo content stays consistent. */
.tg-example[data-theme=linework]{--paper:#f7f8f7;--ink:#242b2c;--accent:#273d40;--accent-ink:#fff;--soft:#e1e6e5;--heading:Arial,sans-serif;--shape:0px;--image-radius:0px}
.tg-example[data-theme=softmodern]{--paper:#f2faf6;--ink:#142f2b;--accent:#146c56;--accent-ink:#fff;--soft:#d6eee2;--heading:Arial,sans-serif;--shape:18px;--image-radius:24px}
.tg-example[data-theme=darktech]{--paper:#111315;--ink:#f8f9fa;--accent:#ed352e;--accent-ink:#fff;--soft:#282c30;--heading:Arial,sans-serif;--shape:3px;--image-radius:6px}
.tg-example[data-theme=linework] .tg-example-copy h3,.tg-example[data-theme=softmodern] .tg-example-copy h3,.tg-example[data-theme=darktech] .tg-example-copy h3{font-weight:700;letter-spacing:-.045em}
.tg-example[data-theme=linework] .tg-example-copy h3 em,.tg-example[data-theme=softmodern] .tg-example-copy h3 em,.tg-example[data-theme=darktech] .tg-example-copy h3 em{font-style:normal;font-weight:700}
.tg-example[data-theme=softmodern] .tg-example-copy h3 em,.tg-example[data-theme=darktech] .tg-example-copy h3 em{color:var(--accent)}
.tg-linework{display:none}
.tg-example[data-theme=linework]:not([data-layout=immersive]) .tg-example-image{background:var(--soft)}
.tg-example[data-theme=linework]:not([data-layout=immersive]) .tg-example-image img{filter:grayscale(1);opacity:.16}
.tg-example[data-theme=linework]:not([data-layout=immersive]) .tg-linework{display:block;position:absolute;inset:0;width:100%;height:100%;color:var(--ink);pointer-events:none}
.tg-example[data-theme=softmodern][data-layout=split] .tg-example-image{margin:28px;background:var(--soft);border-radius:24px;box-shadow:0 15px 30px #143e2520;transform:rotate(-3deg)}
.tg-example[data-theme=darktech][data-layout=split] .tg-example-image{margin:32px 28px 32px 0;border:1px solid #ed352e88;border-radius:6px;box-shadow:0 -18px 65px #ed352e30}
.tg-example[data-theme=darktech] .tg-example-navlinks a:last-child{background:#df3028;border-color:#df3028;color:#fff}
.tg-example[data-theme=darktech]:not([data-layout=immersive]) .tg-example-action{background:#df3028}
.tg-example[data-theme=softmodern][data-layout=immersive] .tg-example-copy h3 em,.tg-example[data-theme=darktech][data-layout=immersive] .tg-example-copy h3 em{color:#fff}
@media(max-width:700px){
.tg-example[data-theme=softmodern][data-layout=split] .tg-example-image{margin:10px 24px 28px}
.tg-example[data-theme=darktech][data-layout=split] .tg-example-image{margin:0 20px 24px}
}


/* Additional still-image interpretations of the reference directions. */
.tg-example[data-theme=beauty]{--paper:#f8ebec;--ink:#502933;--accent:#9c3453;--accent-ink:#fff;--soft:#ead7d9;--heading:Georgia,serif;--shape:30px;--image-radius:100px 14px 100px 14px}
.tg-example[data-theme=monotech]{--paper:#101214;--ink:#f2f5f4;--accent:#d5dfdf;--accent-ink:#101214;--soft:#292d2f;--heading:Arial,sans-serif;--shape:3px;--image-radius:4px}
.tg-example[data-theme=beauty] .tg-example-brand{font-weight:400;letter-spacing:.15em}
.tg-example[data-theme=beauty] .tg-example-copy h3{line-height:1.03;letter-spacing:-.03em}
.tg-example[data-theme=beauty] .tg-example-copy h3 em{color:var(--accent)}
.tg-example[data-theme=beauty] .tg-example-image img,.tg-example[data-theme=beauty] .tg-perspective-gallery img{filter:sepia(.12) saturate(.86)}
.tg-example[data-theme=beauty][data-layout=split] .tg-example-image{margin:28px;background:var(--soft);border-radius:var(--image-radius)}
.tg-example[data-theme=monotech] .tg-example-copy h3{font-weight:600;letter-spacing:-.045em}
.tg-example[data-theme=monotech] .tg-example-copy h3 em{font-style:normal;font-weight:600}
.tg-example[data-theme=monotech] .tg-example-image img,.tg-example[data-theme=monotech] .tg-perspective-gallery img{filter:grayscale(1) brightness(.72) contrast(1.08)}
.tg-example[data-theme=monotech][data-layout=split] .tg-example-image{margin:28px 28px 28px 0;border:1px solid #ffffff2a;box-shadow:0 0 50px #cad6d612}
.tg-example[data-theme=beauty][data-layout=immersive] .tg-example-copy h3 em{color:#fff}
@media(max-width:700px){
.tg-example[data-theme=beauty][data-layout=split] .tg-example-image{margin:10px 24px 28px}
.tg-example[data-theme=monotech][data-layout=split] .tg-example-image{margin:0 20px 24px}
}


/* Static industrial and iridescent directions from the October 31 references. */
.tg-example[data-theme=industrial]{--paper:#f1f2ef;--ink:#202b31;--accent:#a33900;--accent-ink:#fff;--soft:#dce1e0;--heading:Arial,sans-serif;--shape:0px;--image-radius:0px}
.tg-example[data-theme=industrial] .tg-example-hero{background-image:linear-gradient(#202b310a 1px,transparent 1px),linear-gradient(90deg,#202b310a 1px,transparent 1px);background-size:32px 32px;border-top:6px solid var(--accent)}
.tg-example[data-theme=industrial] .tg-example-brand{font-family:Arial,sans-serif;letter-spacing:.08em}
.tg-example[data-theme=industrial] .tg-example-copy h3{font-weight:800;letter-spacing:-.045em}
.tg-example[data-theme=industrial] .tg-example-copy h3 em{font-style:normal;font-weight:800}
.tg-example[data-theme=industrial] .tg-example-image img{filter:saturate(.65) contrast(1.06)}
.tg-example[data-theme=prismatic]{--paper:#f7f5fc;--ink:#211b3c;--accent:#6137a7;--accent-ink:#fff;--soft:#e9e3f6;--heading:Arial,sans-serif;--shape:18px;--image-radius:18px}
.tg-example[data-theme=prismatic] .tg-example-hero{background:radial-gradient(ellipse at 15% 15%,#9ce4ef99,transparent 55%),radial-gradient(ellipse at 85% 80%,#e7b3e999,transparent 55%),var(--paper)}
.tg-example[data-theme=prismatic] .tg-example-copy h3{font-weight:700;letter-spacing:-.05em}
.tg-example[data-theme=prismatic] .tg-example-copy h3 em{font-style:normal;font-weight:700}
.tg-example[data-theme=prismatic]:not([data-layout=immersive]) .tg-example-image{padding:5px;background:linear-gradient(135deg,#9ce4ef,#b8a2ed,#e7b3e9,#9ce4ef);border-radius:20px}
.tg-example[data-layout=spotlight] .tg-example-hero{display:flex;flex-direction:column;align-items:center;padding:36px 5%;gap:28px}
.tg-example[data-layout=spotlight] .tg-example-copy{padding:0;align-items:center;text-align:center;max-width:780px}
.tg-example[data-layout=spotlight] .tg-example-copy h3{font-size:clamp(32px,4.8vw,62px)}
.tg-example[data-layout=spotlight] .tg-example-copy p.tg-example-text{max-width:55ch}
.tg-example[data-layout=spotlight] .tg-example-image{width:76%;max-width:660px;padding:20px;background:var(--soft);border-radius:var(--shape);box-shadow:0 22px 40px #10152422}
.tg-example[data-layout=spotlight] .tg-example-image img{height:auto;aspect-ratio:4/3;min-height:0;max-height:none;object-fit:contain}
@media(max-width:700px){
.tg-example[data-layout=spotlight] .tg-example-hero{padding:28px 20px;gap:22px}
.tg-example[data-layout=spotlight] .tg-example-image{width:100%;padding:14px}
.tg-example[data-layout=spotlight] .tg-example-copy h3{font-size:34px}
}

/* Persistent design workspace: keep choices and the complete concept together. */
.tg-intro{padding:20px max(24px,calc((100% - 1280px)/2)) 22px}.tg-intro h1{font-size:clamp(30px,3vw,42px);margin:7px 0 10px}.tg-intro .tg-eyebrow{margin:0}.tg-intro>p:last-child{font-size:15px;line-height:1.45;max-width:85ch}
.tg-wrap{width:min(1280px,calc(100% - 48px))}.tg-studio{margin-top:20px}.tg-studio-head{align-items:center;margin-bottom:14px;gap:16px}.tg-studio-head h2{font:400 25px/1.2 Georgia,serif;margin:0}.tg-studio-head p{font-size:13px;line-height:1.4}
.tg-workspace{display:grid;grid-template-columns:260px minmax(0,1fr);align-items:start;gap:20px;scroll-margin-top:80px}
.tg-studio-controls{position:sticky;top:80px;padding:0;margin:0;max-height:calc(100dvh - 100px);height:clamp(390px,calc(100dvh - 230px),740px);display:flex;flex-direction:column;overflow:hidden}
.tg-control-tabs{display:flex;gap:4px;padding:10px;border-bottom:1px solid #d5dfdd;flex-shrink:0}.tg-control-tabs button{flex:1;border:0;border-radius:5px;padding:12px 7px;background:#edf2ef;color:#244553;font:700 12px/1.3 Arial,sans-serif;cursor:pointer;min-height:44px}.tg-control-tabs button[aria-pressed=true]{background:#163d4b;color:white}.tg-control-tabs span{opacity:.8;margin-left:3px}
.tg-control-scroll{padding:14px;overflow:auto;overscroll-behavior:contain;min-height:0;flex:1;scrollbar-gutter:stable}.tg-control-panel[hidden],[data-control-panel][hidden]{display:none!important}.tg-choice-row{display:grid;grid-template-columns:1fr;gap:7px}.tg-choice{display:flex;align-items:center;gap:10px;width:100%;min-height:60px;text-align:left;font-size:12px;padding:7px 9px;flex-shrink:0}.tg-choice[aria-pressed=true]{box-shadow:inset 3px 0 #4dd5dd}.tg-style-swatch{flex:0 0 48px;height:37px;display:block;background:linear-gradient(90deg,var(--swatch-paper) 50%,var(--swatch-accent) 50%);border:1px solid #7e9191;border-radius:4px;position:relative}.tg-style-swatch:after{content:'Aa';position:absolute;left:5px;top:7px;color:var(--swatch-accent);font:700 16px Georgia,serif;text-shadow:0 0 1px var(--swatch-paper)}
.tg-layout-thumb{display:grid;grid-template-columns:1fr 1fr;gap:3px;padding:5px;flex:0 0 48px;height:37px;background:#eef2ef;border:1px solid #7e9191;border-radius:3px}.tg-layout-thumb i{display:block;background:#8fa6a4;border-radius:1px}.tg-layout-thumb i:first-child{background:#315963}.tg-layout-thumb i:last-child{display:none}.tg-layout-thumb-immersive{grid-template-columns:1fr;background:#315963}.tg-layout-thumb-immersive i:first-child{background:#dce4df;width:55%}.tg-layout-thumb-immersive i:nth-child(2){display:none}.tg-layout-thumb-bento{grid-template-columns:1fr 1.2fr .5fr}.tg-layout-thumb-bento i:last-child{display:block}.tg-layout-thumb-editorial{padding:7px;gap:5px}.tg-layout-thumb-perspective{grid-template-columns:repeat(3,1fr);align-items:center}.tg-layout-thumb-perspective i{height:18px;transform:rotate(-8deg)}.tg-layout-thumb-perspective i:last-child{display:block;transform:rotate(8deg)}.tg-layout-thumb-typographic,.tg-layout-thumb-spotlight{grid-template-columns:1fr;grid-template-rows:1fr 1fr}.tg-layout-thumb-spotlight i:nth-child(2){width:70%;justify-self:center}.tg-layout-thumb-asymmetric i:nth-child(2){margin-top:8px}
.tg-control-footer{padding:10px 14px;border-top:1px solid #d5dfdd;background:#f8faf8;flex-shrink:0}.tg-control-footer button{background:transparent;color:#163d4b;border:1px solid #839d9e;border-radius:5px;padding:10px 7px;width:100%;font:700 11px/1.3 Arial,sans-serif;min-height:44px;cursor:pointer}.tg-studio-controls .tg-studio-hint{font-size:11px;line-height:1.4;margin-top:8px}
.tg-preview-column{position:sticky;top:80px;min-width:0}.tg-preview-caption{margin-bottom:8px;display:block;font-size:12px}.tg-preview-caption span{display:none}.tg-preview-caption strong{display:block}
.tg-preview-stage{position:relative;height:clamp(280px,calc(100dvh - 335px),590px);background:#e4e9e5;border:1px solid #c5d0cb;border-radius:8px;overflow:hidden;contain:layout paint}
.tg-preview-stage .tg-example{position:absolute;width:1100px;max-width:none;transform-origin:top left;box-sizing:border-box}.tg-example *{box-sizing:border-box}
.tg-studio-description{margin-top:10px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}.tg-studio-description p{font-size:12px;line-height:1.45}.tg-studio-description a{white-space:nowrap;font-size:12px;padding:12px}
.tg-concept-note{font:12px/1.5 Arial,sans-serif;color:#536a70;margin:16px 0 0}.tg-mobile-controls,.tg-close-controls{display:none}.tg-studio button:focus-visible{outline:3px solid #238da1;outline-offset:2px}
@media(min-width:901px) and (max-height:700px){.tg-intro{padding-top:14px;padding-bottom:14px}.tg-intro h1{font-size:32px}.tg-studio{margin-top:14px}.tg-studio-head h2{font-size:22px}.tg-studio-controls{height:calc(100dvh - 240px);min-height:320px}.tg-studio-controls .tg-studio-hint{display:none}.tg-preview-stage{height:calc(100dvh - 320px);min-height:240px}}
@media(max-width:900px){
.tg-wrap{width:calc(100% - 28px)}.tg-intro{padding:18px 16px}.tg-intro h1{font-size:30px}.tg-intro>p:last-child{font-size:14px}.tg-studio-head{display:block;margin-bottom:12px}.tg-studio-head h2{font-size:22px;margin-bottom:5px}.tg-studio-head p{font-size:12px}.tg-workspace{display:block}.tg-preview-column{position:relative;top:auto}.tg-mobile-controls{display:flex;gap:8px;margin-bottom:10px}.tg-mobile-controls button{flex:1;min-width:0;min-height:54px;border:1px solid #9cb2b1;border-radius:6px;background:white;color:#173444;text-align:left;padding:8px 10px;font:700 12px/1.3 Arial,sans-serif;cursor:pointer}.tg-mobile-controls span{display:block;font-weight:400;font-size:11px;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tg-preview-stage{height:clamp(240px,calc(60dvh - 120px),440px)}.tg-preview-stage .tg-example{width:700px}.tg-preview-caption{font-size:11px}.tg-studio-description{grid-template-columns:1fr}.tg-studio-description a{width:100%;text-align:center}.tg-studio-description p{font-size:12px}.tg-studio-controls{display:none}.tg-controls-open .tg-studio-controls{display:flex;position:fixed;z-index:80;top:auto;bottom:0;left:0;right:0;width:100%;height:32dvh;min-height:200px;max-height:340px;border-radius:14px 14px 0 0;box-shadow:0 -12px 40px #07111f30}.tg-control-tabs{padding:7px 135px 7px 10px}.tg-control-tabs button{padding:9px 4px;font-size:11px}.tg-close-controls{display:block;position:absolute;right:12px;top:8px;min-height:42px;background:white;color:#173444;border:1px solid #b0c4c1;border-radius:5px;padding:8px;font:700 11px Arial,sans-serif;cursor:pointer}.tg-control-scroll{padding:10px 14px}.tg-choice-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.tg-choice{min-height:55px;font-size:11px;padding:6px;gap:7px}.tg-style-swatch,.tg-layout-thumb{flex-basis:38px;height:32px}.tg-style-swatch:after{font-size:13px;left:3px}.tg-control-footer{padding:7px 14px}.tg-control-footer button{min-height:38px;width:auto;padding:8px 12px}.tg-studio-controls .tg-studio-hint{display:none}.tg-control-label{font-size:11px;margin-bottom:8px}.tg-controls-open .tg-workspace{padding-bottom:32dvh}
}
@media(max-width:700px){.tg-preview-stage .tg-example{width:600px}.tg-layout-info{grid-template-columns:1fr}.tg-example-copy h3{overflow-wrap:normal}.tg-preview-stage .tg-example[data-layout=split] .tg-example-hero{grid-template-columns:1fr 1fr}.tg-preview-stage .tg-example[data-layout=split] .tg-example-copy{padding:25px}.tg-preview-stage .tg-example[data-layout=split] .tg-example-copy h3{font-size:32px}.tg-preview-stage .tg-example[data-layout=split] .tg-example-image img{height:100%;max-height:none}.tg-preview-stage .tg-example[data-layout=editorial] .tg-example-hero{grid-template-columns:1fr 1.2fr}.tg-preview-stage .tg-example[data-layout=editorial] .tg-example-copy{padding:25px}.tg-preview-stage .tg-example[data-layout=editorial] .tg-example-image{margin:20px 20px 20px 0}.tg-preview-stage .tg-example[data-layout=editorial] .tg-example-image img{height:100%;max-height:none}}
@media(prefers-reduced-motion:reduce){.tg-studio *{scroll-behavior:auto!important}}
@media(max-width:900px){
.tg-studio{--drawer-height:clamp(200px,32dvh,340px)}
.tg-controls-open .tg-studio-controls{height:var(--drawer-height);min-height:0;max-height:none}
.tg-controls-open .tg-preview-column{position:fixed;z-index:70;top:var(--studio-top,80px);bottom:calc(var(--drawer-height) + 8px);left:14px;right:14px;background:#f6f4ee;display:flex;flex-direction:column;padding-top:4px}
.tg-controls-open .tg-mobile-controls,.tg-controls-open .tg-preview-caption{flex-shrink:0}
.tg-controls-open .tg-preview-stage{flex:1;min-height:0;height:auto}
.tg-controls-open .tg-studio-description{display:none}
}
@media(min-width:901px){
.tg-intro{display:flex;align-items:center;justify-content:space-between;gap:28px;padding-top:13px;padding-bottom:13px}
.tg-intro .tg-eyebrow{display:none}.tg-intro h1{font-size:30px;line-height:1.2;margin:0;white-space:nowrap}.tg-intro>p:last-child{max-width:65ch;font-size:14px;line-height:1.4}
}
