.tm-page,.idea-feature{--tm-ink:#2b1b35;--tm-purple:#7532a8;--tm-lilac:#efdaf9;--tm-paper:#fbf8f3;--tm-rule:#dfd8df;color:var(--tm-ink)}
.guide-page main.tm-page{max-width:1390px;padding-block:18px 58px}
.tm-breadcrumb{margin-bottom:16px}
.tm-hero{display:grid;grid-template-columns:minmax(300px,.82fr) 1.18fr;background:var(--tm-paper);border-radius:20px;overflow:hidden;min-width:0}
.tm-hero-copy{padding:clamp(24px,3.2vw,52px);align-self:center}
.guide-page .tm-eyebrow,.tm-section-head>p:first-child,.idea-feature div>p:first-child{font-size:.78rem;font-weight:780;letter-spacing:.11em;text-transform:uppercase;color:var(--tm-purple);margin-bottom:12px}
.guide-page main .tm-hero h1{font-size:clamp(2.5rem,4.65vw,4.75rem);line-height:.95;letter-spacing:-.075em;text-wrap:initial;margin:0 0 24px}
.tm-hero h1 em{font-style:normal;color:var(--tm-purple)}
.guide-page main .tm-hero-copy>p:not(.tm-eyebrow){max-width:35ch;font-size:clamp(1rem,1.47vw,1.24rem);line-height:1.5}
.tm-hero-copy nav{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-top:28px;font-weight:680}
.tm-hero-copy nav>a,.tm-blueprint>a,.tm-gallery-grid article>div>a{display:inline-flex;align-items:center;min-height:44px}
.guide-page main a.tm-button{display:inline-flex;align-items:center;min-height:46px;padding:10px 16px;border-radius:8px;background:#2b1b35;color:white;text-decoration:none;font-weight:730}
.guide-page main a.tm-button:hover{background:#572775}
.tm-hero figure{position:relative;min-height:400px;display:grid;overflow:hidden}
.tm-hero figure img{width:100%;height:100%;position:absolute;inset:0;display:block;object-fit:cover;object-position:54% 52%}
.tm-hero figcaption{position:absolute;right:12px;bottom:12px;left:12px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;color:white;padding:8px 12px;border-radius:8px;background:#201429d9;font-size:.78rem;font-weight:610}
.tm-index{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,7.5rem),1fr));gap:5px;margin:12px 0 36px;border-bottom:1px solid var(--tm-rule)}
.tm-index a{display:flex;gap:11px;align-items:center;padding:11px 8px;min-height:45px;text-decoration:none;font-size:.92rem;font-weight:690}
.tm-index a:hover{background:#f7effa}.tm-index span{color:var(--tm-purple);font-variant-numeric:tabular-nums}
.tm-lesson,.tm-gallery{scroll-margin-top:16px;margin:clamp(40px,6vw,96px) 0}
.tm-section-head{margin:0 0 22px;max-width:67ch}
.guide-page main .tm-section-head h2,.guide-page main .tm-existing>h2{margin:0 0 9px;font-size:clamp(1.86rem,3.45vw,3.85rem);letter-spacing:-.055em}
.tm-section-head>p:not(:first-child){line-height:1.55;color:#5b5260}
.tm-measure-card{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:30px;padding:clamp(15px,3vw,38px);background:#f9f3fa;border:1px solid var(--tm-rule);border-radius:15px}
.tm-measure-card fieldset{padding:0;margin:0;border:0;min-width:0}
.tm-measure-card legend{font-weight:760;margin-bottom:12px}
.tm-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,10rem),1fr));gap:10px}
.tm-field{display:grid;align-content:start;gap:4px;min-width:0}
.tm-field label{font-size:.86rem;font-weight:620}
.tm-field input{width:100%;box-sizing:border-box;min-width:0;min-height:45px;background:white;border:1px solid #a49aa8;border-radius:7px;font:650 1rem system-ui;color:var(--tm-ink);padding:7px 10px}
.tm-field input[aria-invalid=true]{border-color:#a12a43}
.tm-field-error{font-size:.86rem;font-weight:650;color:#8b2241}
.tm-measure-card output{display:block;padding:11px 13px;border-inline-start:3px solid var(--tm-purple);margin-top:14px;background:white;font-weight:650;min-height:42px;color:#2b1b35}
.tm-measure-sketch{align-self:center;display:grid;gap:5px;padding:12px;border-inline:4px solid #d4acdf;color:#503c58;background:linear-gradient(0deg,#eadbef,#fff9)}
.tm-measure-sketch span{font-size:.76rem;font-weight:650}
.tm-measure-sketch i{display:block;height:3px;margin:3px 0 11px;background:linear-gradient(90deg,#8850af,var(--tm-purple));transform-origin:left}
.guide-page .tm-caption{margin-top:12px;color:#645a69;font-size:.88rem;max-width:90ch}
.tm-blueprint{background:#2b1b35;color:white;border-radius:16px;padding:clamp(13px,3vw,38px);overflow:hidden}
.tm-dimension{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:9px;color:#f1dcf9;font-size:.91rem}
.tm-dimension span{font-size:1.45rem}
.tm-modules{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,8rem),1fr));gap:8px}
.tm-modules button{min-width:0;min-height:64px;text-align:left;border:1px solid #927ba0;background:#412d4d;color:white;border-radius:7px;padding:7px;font:670 .95rem/1.2 system-ui;cursor:pointer}
.tm-modules button small{display:block;font-weight:500;margin-top:5px}
.tm-modules button[aria-selected=true]{background:#efd8fa;color:#2b1b35;border-color:#efd8fa}
.tm-zone-copy{padding:14px 0;display:grid;gap:10px}
.tm-zone-copy>div{padding:13px;background:#fff;color:var(--tm-ink);border-radius:7px}.guide-page main .tm-zone-copy h3{margin-bottom:4px;font-size:1.1rem;text-wrap:pretty}
.tm-blueprint>a{color:#f3dafb;font-weight:690}
.tm-cost{background:var(--tm-paper);border-radius:15px;padding:clamp(20px,4vw,50px)}
.guide-page main .tm-cost ol{display:grid;gap:10px;margin:0 0 20px;padding-left:22px;max-width:82ch}
.tm-existing{margin-block:clamp(40px,6vw,96px)}
.guide-page main .tm-existing>p{margin:0 0 18px}
.tm-existing .section-title{flex-wrap:wrap;column-gap:1.2rem;row-gap:.35rem}
.tm-gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr));gap:14px}
.tm-gallery-grid article{overflow:hidden;border:1px solid var(--tm-rule);border-radius:14px;background:white}
.tm-gallery-grid article>a{display:block;overflow:hidden}
.tm-gallery-grid img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.tm-gallery-grid article>div{padding:15px;display:grid;grid-template-columns:minmax(0,1fr);gap:6px}
.tm-gallery-grid a,.tm-price{font-weight:700}
.idea-feature{margin:25px 0;border:1px solid var(--tm-rule);border-radius:16px;overflow:hidden;background:var(--tm-paper)}
.idea-feature>a{display:grid;grid-template-columns:1.12fr .88fr;color:var(--tm-ink);text-decoration:none}
.idea-feature img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.idea-feature div{align-self:center;padding:clamp(16px,3vw,34px)}
.guide-page main .idea-feature h2{margin:0 0 10px}
.idea-feature div>span{display:inline-block;color:var(--tm-purple);font-weight:750;margin-top:10px}
.tm-page :focus-visible,.idea-feature :focus-visible{outline:3px solid #a552ed;outline-offset:3px}
.tm-gallery-grid article>a:focus-visible,.idea-feature>a:focus-visible{outline-offset:-4px}
@media(max-width:860px){.tm-hero{grid-template-columns:1fr}.tm-hero figure{min-height:0;aspect-ratio:3/2}.tm-measure-card{gap:18px}.tm-hero-copy nav{margin-top:20px}}
@media(max-width:560px){.tm-measure-card,.tm-gallery-grid,.idea-feature>a{grid-template-columns:1fr}.tm-measure-sketch{display:none}.tm-index a{display:grid;gap:1px;font-size:.8rem}.tm-gallery-grid article>div{padding:13px}.tm-breadcrumb{margin-bottom:10px}.guide-page main .tm-hero h1{font-size:clamp(1.625rem,calc(.8rem + 6vw),2.5rem)}.guide-page main .tm-section-head h2,.guide-page main .tm-existing>h2{font-size:clamp(1.4rem,calc(1rem + 3.5vw),2.3rem)}}
@media(prefers-reduced-motion:no-preference){.tm-hero-copy{animation:tm-enter .65s both}.tm-hero img{animation:tm-image 1s ease-out both}.tm-gallery-grid img{transition:transform .35s}.tm-gallery-grid a:hover img{transform:scale(1.04)}.tm-zone-copy>div:not([hidden]){animation:tm-enter .24s ease-out both}.tm-measure-sketch i{transition:transform .25s}.tm-modules button{transition:background-color .16s,color .16s}.tm-motion .tm-reveal{animation:tm-enter .48s ease-out both}}
@keyframes tm-enter{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}
@keyframes tm-image{from{scale:1.035}to{scale:1}}

#tm-quick-link:not([hidden]){display:inline-flex;align-items:center;min-height:44px;font-weight:700}
