/* Round F (docs/design-loop/2026-10-25-round-f-brief.md): the informational pages as a showroom handbook. Real
   photographs, plain confident type, facts set out like a specification sheet. Open Sans only, headings at 600, ink on
   warm neutrals; indigo only for the current place and for actions. Loaded by the guides, the FAQs, the journal, its
   articles and How it works, and scoped to their own classes. */
:is(.hhi-page-guide,.hhi-page-faq,.hhi-page-news,.hhi-page-article,.hhi-page-process,.hhi-page-contact){--guide-ease:cubic-bezier(.25,1,.5,1);--guide-gutter:var(--content-gutter,clamp(20px,4vw,64px))}

/* The title beside one real photograph. A product picture on its own white ground (a fire door, a handle) is multiplied
   onto the stage, so it sits on the page's own neutral rather than in a white box. */
.hhi-guide-hero{max-width:var(--store-width,1280px);margin:0 auto;padding:clamp(8px,2vw,24px) var(--guide-gutter) clamp(28px,4vw,52px);display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,440px);gap:clamp(32px,6vw,104px);align-items:center}
.hhi-guide-hero-text .hhi-eyebrow{margin:0}
.hhi-guide-hero h1{margin:14px 0 0;max-width:16ch;font-size:clamp(40px,4.6vw,66px);line-height:1.02;letter-spacing:-.032em;font-weight:600;color:var(--hhi-ink);text-wrap:balance}
.hhi-guide-hero-text>p:last-child{margin:22px 0 0;max-width:40ch;font-size:clamp(18px,1.45vw,21px);line-height:1.5;color:var(--hhi-muted);text-wrap:pretty}
.hhi-guide-hero-figure{margin:0}
.hhi-guide-hero-stage{display:block;width:100%;aspect-ratio:4/5;max-height:min(52svh,520px);overflow:hidden;border-radius:3px;background:var(--hhi-lilac)}
.hhi-guide-hero-figure img{display:block;width:100%;height:100%;object-fit:cover}
.hhi-guide-hero-figure.is-contain img{object-fit:contain;padding:clamp(16px,2vw,28px);box-sizing:border-box;mix-blend-mode:multiply}
.hhi-guide-hero-figure figcaption{margin-top:10px;font-size:13px;line-height:1.4;color:var(--hhi-muted)}

/* The body: wider rhythm between sections, the measure kept to about 70 characters. */
/* The reading column and the rail keep Round D's widths (content-loop.css); the rail moves to the right edge, under the
   photograph, so the page lines up with the header. */
@media (min-width:1101px){html body:is(.hhi-page-guide,.hhi-page-faq,.hhi-page-news) div.door-guides{justify-content:space-between}}
:is(.hhi-page-guide,.hhi-page-faq) .door-guide-section{padding:clamp(36px,4vw,56px) 0;border-bottom:1px solid var(--hhi-line)}
:is(.hhi-page-guide,.hhi-page-faq) .door-guide-section:first-child{padding-top:0}
:is(.hhi-page-guide,.hhi-page-faq) .door-guide-section h2{margin:0 0 20px;max-width:22ch;font-size:clamp(28px,2.6vw,40px);line-height:1.14;letter-spacing:-.022em;font-weight:600;text-wrap:balance}
:is(.hhi-page-guide,.hhi-page-faq) .door-guide-section p{text-wrap:pretty}
:is(.hhi-page-guide,.hhi-page-faq) .door-guide-section [id]{scroll-margin-top:clamp(48px,9vh,96px)}

/* Facts set like a specification sheet: ruled rows, the term on the left and the detail on the right. */
.hhi-page-guide .door-guide-definitions{gap:0;margin:28px 0;border-top:1px solid var(--hhi-ink)}
.hhi-page-guide .door-guide-definitions div{display:grid;grid-template-columns:minmax(0,14em) minmax(0,1fr);gap:6px 32px;padding:18px 0;border-radius:0;background:none;border-bottom:1px solid var(--hhi-line)}
.hhi-page-guide .door-guide-definitions dt{font-size:17px;line-height:1.45;font-weight:600}
.hhi-page-guide .door-guide-definitions dd{margin:0;font-size:16px;line-height:1.6}
.hhi-page-guide .guarantee-table{max-width:none;border-top:1px solid var(--hhi-ink)}
.hhi-page-guide .guarantee-table th:first-child{width:46%}
.hhi-page-guide .guarantee-table td:last-child{white-space:normal}

/* The reading rail: where you are on this page, then the other guides. */
.door-guide-rail{position:sticky;top:clamp(96px,12vh,128px);align-self:start;display:grid;gap:28px;max-height:calc(100svh - 148px);overflow-y:auto;scrollbar-width:thin;padding:2px 2px 8px}
.door-guide-rail-title{margin:0;font-size:12px;line-height:1.4;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--hhi-muted)}
.door-guide-track{position:relative;margin-top:12px;padding-left:18px}
.door-guide-track::before,.door-guide-progress{content:"";position:absolute;left:0;top:6px;bottom:6px;width:2px;border-radius:2px}
.door-guide-track::before{background:var(--hhi-line)}
.door-guide-progress{overflow:hidden}
.door-guide-progress>span{display:block;height:100%;background:var(--hhi-indigo);transform:scaleY(0);transform-origin:top}
.door-guide-onpage ul{list-style:none;margin:0;padding:0}
.door-guide-onpage a{display:flex;align-items:center;min-height:44px;padding:6px 0;font-size:15px;line-height:1.35;color:var(--hhi-muted);text-decoration:none;transition:color .2s var(--guide-ease)}
@media (hover:hover){.door-guide-onpage a:hover{color:var(--hhi-ink);text-decoration:underline;text-underline-offset:4px}}
.door-guide-onpage a[aria-current]{color:var(--hhi-ink);font-weight:600}
.door-guide-more{border-top:1px solid var(--hhi-line)}
.door-guide-more>summary{display:flex;align-items:center;justify-content:space-between;min-height:48px;list-style:none;cursor:pointer;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--hhi-muted)}
.door-guide-more>summary::-webkit-details-marker{display:none}
.door-guide-more>summary::after{content:"";width:7px;height:7px;margin-right:4px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .25s var(--guide-ease)}
.door-guide-more[open]>summary::after{transform:translateY(2px) rotate(-135deg)}
@media (hover:hover){.door-guide-more>summary:hover{color:var(--hhi-ink)}}
.door-guide-rail .door-guide-links{position:static;border-top:0}
.door-guide-rail .door-guide-links a{min-height:44px;padding:10px 0 10px 14px;font-size:15px;color:var(--hhi-ink)}
.door-guide-rail .door-guide-links a[aria-current]{font-weight:600}
.door-guide-rail a:focus-visible,.door-guide-more>summary:focus-visible{outline:3px solid var(--hhi-indigo);outline-offset:2px;border-radius:2px}

/* The next guide: one picture link at the end of the body. */
.door-guide-next{display:grid;grid-template-columns:minmax(140px,240px) minmax(0,1fr);align-items:center;gap:clamp(20px,3vw,40px);margin-top:clamp(40px,5vw,64px);padding:clamp(14px,1.6vw,20px);border-radius:3px;background:var(--hhi-lilac);color:var(--hhi-ink);text-decoration:none}
.door-guide-next-picture{display:block;aspect-ratio:4/5;overflow:hidden;border-radius:2px}
.door-guide-next-picture img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .8s var(--guide-ease)}
.door-guide-next-picture.is-contain img{object-fit:contain;padding:10px;box-sizing:border-box;mix-blend-mode:multiply}
@media (hover:hover){.door-guide-next:hover .door-guide-next-picture img{transform:scale(1.035)}}
.door-guide-next-label{display:block;font-size:12px;line-height:1.4;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--hhi-muted)}
.door-guide-next-title{display:block;margin-top:8px;font-size:clamp(24px,2.4vw,34px);line-height:1.15;letter-spacing:-.02em;font-weight:600;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px;text-decoration-color:transparent;transition:text-decoration-color .25s var(--guide-ease)}
@media (hover:hover){.door-guide-next:hover .door-guide-next-title{text-decoration-color:currentColor}}
.door-guide-next-line{display:block;max-width:44ch;margin-top:10px;font-size:16px;line-height:1.5;color:var(--hhi-muted)}
.door-guide-next:focus-visible{outline:3px solid var(--hhi-indigo);outline-offset:3px}

/* FAQs (slice F2): the questions in their topics on the reading column, the topics and a card for anything they do not
   answer in the rail. The same grid as the guides (content-loop.css sets it for guide pages only). */
html body.hhi-page-faq{--content-gutter:var(--store-gutter,20px)}
html body:is(.hhi-page-faq,.hhi-page-news) .door-guides{max-width:var(--store-width,1280px);padding-inline:var(--content-gutter);grid-template-columns:minmax(0,760px) 240px;column-gap:clamp(48px,6vw,96px)}
.hhi-faq-search{display:grid;gap:10px}
.hhi-faq-search .hhi-search{margin:0}
.hhi-faq-search [data-faq-count]{margin:0}
.hhi-page-faq .hhi-faq-topic{border-bottom:0}
.hhi-page-faq .hhi-faq-topic h2{margin-bottom:16px}
.hhi-page-faq .hhi-faq{padding:0;border-bottom:1px solid var(--hhi-line)}
.hhi-page-faq .hhi-faq-topic h2+.hhi-faq{border-top:1px solid var(--hhi-ink)}
.hhi-page-faq .hhi-faq summary{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:64px;padding:16px 0;font-size:18px;line-height:1.4;font-weight:600;color:var(--hhi-ink)}
.hhi-page-faq .hhi-faq summary::after{content:"";flex:none;width:8px;height:8px;margin-right:6px;border:0;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;font-size:0;transform:translateY(-3px) rotate(45deg);transition:transform .3s var(--guide-ease)}
.hhi-page-faq .hhi-faq[open] summary::after{content:"";transform:translateY(2px) rotate(-135deg)}
@media (hover:hover){.hhi-page-faq .hhi-faq summary:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}}
.hhi-page-faq .hhi-faq summary:focus-visible{outline:3px solid var(--hhi-indigo);outline-offset:2px;border-radius:2px}
.hhi-page-faq .hhi-faq>div{max-width:62ch;padding:0 0 24px;font-size:17px;line-height:1.7;color:var(--hhi-ink);animation:none}
@media (prefers-reduced-motion:no-preference){.hhi-page-faq .hhi-faq[open]>div{animation:faq-answer .36s var(--guide-ease)}}
@keyframes faq-answer{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
.hhi-page-faq .hhi-faq-empty{padding:24px 0;font-size:17px}
.door-guide-count{margin-left:auto;padding-left:12px;font-weight:400;font-variant-numeric:tabular-nums;color:var(--hhi-muted)}
.door-guide-onpage a[data-empty]{opacity:.5}
.hhi-faq-ask{display:grid;justify-items:start;gap:6px;padding:20px 20px 12px;border-radius:3px;background:var(--hhi-lilac);font-size:15px;line-height:1.5;color:var(--hhi-ink)}
.hhi-faq-ask h2{margin:0 0 2px;font-size:19px;line-height:1.3;font-weight:600;letter-spacing:-.01em}
.hhi-faq-ask p{margin:0}
.hhi-faq-ask a{display:inline-flex;align-items:center;min-height:44px;color:var(--hhi-ink);text-underline-offset:4px}
.hhi-faq-ask .hhi-faq-phone{font-size:22px;font-weight:600;letter-spacing:-.01em;font-variant-numeric:tabular-nums}
.hhi-faq-ask .hhi-faq-ask-note{font-size:13px;color:var(--hhi-muted)}
.hhi-faq-ask a:focus-visible{outline:3px solid var(--hhi-indigo);outline-offset:2px;border-radius:2px}

/* The journal (slice F3): the newest article leads with its picture, the rest follow as rows split by hairlines; the
   search and the guides sit in the rail (first in the page, so the search comes first on phones). Articles keep a
   reading line and show their related ideas as the same rows. */
.hhi-journal>.door-guide-body{grid-column:1;grid-row:1}
.hhi-journal>.door-guide-rail{grid-column:2;grid-row:1;position:static;max-height:none;overflow:visible}
html body.hhi-page-news .hhi-journal .hhi-journal-search{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
html body.hhi-page-news .hhi-journal .hhi-journal-search>.hhi-search{grid-column:1}
.hhi-journal-search .hhi-search,.hhi-faq-search .hhi-search{width:100%;box-sizing:border-box}
.hhi-journal-search .hhi-search{margin:0}
.hhi-journal-search [data-article-count]{margin:0}
html body.hhi-page-news .hhi-journal .hhi-editorial-grid{display:block;max-width:none;margin:0;padding:0}
.hhi-journal-empty{margin:0;padding:0 0 24px;font-size:17px}
html body :is(.hhi-journal,.hhi-more-ideas) .hhi-story{border-top:1px solid var(--hhi-line)}
html body :is(.hhi-journal,.hhi-more-ideas) .hhi-story-link{display:grid;grid-template-columns:200px minmax(0,1fr);grid-template-rows:auto 1fr;column-gap:28px;row-gap:8px;height:auto;padding:24px 0}
html body :is(.hhi-journal,.hhi-more-ideas) .hhi-story img{grid-row:1/3;margin:0;border-radius:2px;background:var(--hhi-lilac);transition:transform .8s var(--guide-ease)}
html body :is(.hhi-journal,.hhi-more-ideas) .hhi-story :is(h2,h3){min-height:0;font-size:21px;line-height:1.3}
html body :is(.hhi-journal,.hhi-more-ideas) .hhi-story p{align-self:start;font-size:15px;-webkit-line-clamp:2}
html body .hhi-journal .hhi-story:first-child:not([hidden]){border-top:0}
html body .hhi-journal .hhi-story:first-child:not([hidden]) .hhi-story-link{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);grid-template-rows:1fr auto auto 1fr;grid-template-areas:"pic ." "pic title" "pic text" "pic .";column-gap:40px;row-gap:14px;padding:0 0 40px}
html body .hhi-journal .hhi-story:first-child:not([hidden]) img{grid-area:pic}
html body .hhi-journal .hhi-story:first-child:not([hidden]) h2{grid-area:title;font-size:clamp(28px,2.4vw,36px);line-height:1.15;letter-spacing:-.02em;-webkit-line-clamp:3}
html body .hhi-journal .hhi-story:first-child:not([hidden]) p{grid-area:text;font-size:17px;line-height:1.6;-webkit-line-clamp:4}
html body .hhi-journal .hhi-more{margin:32px 0 0}
html body.hhi-page-article .hhi-more-ideas{max-width:calc(680px + 2 * var(--content-gutter))}
html body.hhi-page-article .hhi-more-ideas-row{display:block}
.hhi-reading-line{position:fixed;inset:0 0 auto;height:3px;z-index:60;pointer-events:none}
.hhi-reading-line>span{display:block;height:100%;background:var(--hhi-indigo);transform:scaleX(0);transform-origin:left}
@media print{.hhi-reading-line{display:none}}

/* How it works (slice F4): a line down the left of the five stages fills as they are read; each stage's mark sits level
   with its name and fills once reached. Without the script the line and marks stay as a quiet outline. */
.process-stages{--track-pad:clamp(28px,3vw,44px);position:relative;padding-left:var(--track-pad)}
.process-track{position:absolute;left:5px;top:16px;bottom:0;width:2px;border-radius:2px;background:var(--hhi-line);overflow:hidden}
.process-track>span{display:block;height:100%;background:var(--hhi-indigo);transform:scaleY(0);transform-origin:top}
.process-stages>.process-stage{position:relative}
.process-stages>.process-stage::before{content:"";position:absolute;left:calc(-1 * var(--track-pad));top:10px;width:12px;height:12px;box-sizing:border-box;border-radius:50%;border:2px solid var(--hhi-line);background:var(--hhi-paper,#f8f7f4)}
.process-tracked .process-stages>.process-stage.is-reached::before{border-color:var(--hhi-indigo);background:var(--hhi-indigo)}
@media (prefers-reduced-motion:no-preference){.process-stages>.process-stage::before{transition:background-color .3s var(--guide-ease),border-color .3s var(--guide-ease)}}
@media print{.process-track,.process-stages>.process-stage::before{display:none}}

/* The showcase (slices F5 and F6, Karo's choice of 26 Oct 2026, from a 21st.dev feature showcase built natively): the
   title, the page's own words as fold-downs and its actions beside one picture panel with tabs. Square corners, no glass,
   no pill chips and no shadow: the tabs sit on a solid strip over the picture, the chosen one marked as elsewhere on the
   site (an indigo hairline on paper), so a page's one filled button stays its own. The panel is capped by the window's
   height so the tabs stay in the first screen on short laptops; on phones the picture follows the lede. */
.hhi-showcase{max-width:var(--store-width,1280px);margin:0 auto;padding:clamp(8px,2vw,24px) var(--store-gutter,20px) clamp(48px,6vw,88px);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto 1fr;grid-template-areas:"head media" "rest media";column-gap:clamp(32px,6vw,96px);align-items:start}
.hhi-showcase-head{grid-area:head}
.hhi-showcase-media{grid-area:media;display:grid;grid-template-columns:minmax(0,1fr)}
.hhi-showcase-rest{grid-area:rest}
.hhi-showcase .hhi-eyebrow{margin:0}
.hhi-showcase h1{margin:14px 0 0;max-width:16ch;font-size:clamp(40px,4.6vw,66px);line-height:1.02;letter-spacing:-.032em;font-weight:600;color:var(--hhi-ink);text-wrap:balance}
.hhi-page .hhi-showcase-lede{margin:22px 0 0;max-width:40ch;font-size:clamp(18px,1.45vw,21px);line-height:1.5;color:var(--hhi-muted);text-wrap:pretty}
.hhi-showcase-steps{margin-top:clamp(28px,3vw,40px);max-width:560px;border-top:1px solid var(--hhi-ink)}
.hhi-showcase-steps details{border-bottom:1px solid var(--hhi-line)}
.hhi-showcase-steps summary{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:56px;padding:14px 0;list-style:none;cursor:pointer;font-size:18px;line-height:1.4;font-weight:600;color:var(--hhi-ink)}
.hhi-showcase-steps summary::-webkit-details-marker{display:none}
.hhi-showcase-steps summary::after{content:"";flex:none;width:8px;height:8px;margin-right:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-3px) rotate(45deg)}
.hhi-showcase-steps details[open] summary::after{transform:translateY(2px) rotate(-135deg)}
@media (hover:hover){.hhi-showcase-steps summary:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}}
.hhi-showcase-steps summary:focus-visible{outline:3px solid var(--hhi-indigo);outline-offset:2px;border-radius:2px}
.hhi-showcase-steps details>div{padding:0 0 20px;max-width:52ch;font-size:17px;line-height:1.65;color:var(--hhi-ink)}
.hhi-showcase-steps details>div p{margin:0;max-width:none}
.hhi-showcase-steps details>div p+p{margin-top:10px}
@media (prefers-reduced-motion:no-preference){
 .hhi-showcase-steps summary::after{transition:transform .3s var(--guide-ease)}
 .hhi-showcase-steps details[open]>div{animation:faq-answer .36s var(--guide-ease)}
}
.hhi-showcase-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 28px;margin-top:28px}
.hhi-showcase-actions .hhi-button{min-height:48px}
.hhi-showcase-link{display:inline-flex;align-items:center;gap:.3em;min-height:44px;font-size:17px;font-weight:600;color:var(--hhi-ink);text-decoration:underline;text-underline-offset:5px}
.hhi-showcase-link:focus-visible,.hhi-showcase-foot a:focus-visible{outline:3px solid var(--hhi-indigo);outline-offset:2px;border-radius:2px}
.hhi-showcase-stage{grid-area:1/1;position:relative;width:100%;aspect-ratio:3/4;max-height:min(640px,calc(100svh - 260px));min-height:360px;overflow:hidden;border-radius:3px;background:var(--hhi-lilac)}
.hhi-showcase-panel{position:absolute;inset:0;outline:none}
.hhi-showcase-panel[hidden]{display:block;visibility:hidden;opacity:0}
.hhi-showcase-panel img{display:block;width:100%;height:100%;object-fit:cover}
.hhi-showcase-panel.is-contain{background:#fff}
.hhi-showcase-panel.is-contain img{object-fit:contain;padding:16px 16px 76px;box-sizing:border-box}
.hhi-showcase-panel:focus-visible{box-shadow:inset 0 0 0 3px var(--hhi-indigo)}
@media (prefers-reduced-motion:no-preference){
 .hhi-showcase-panel{transition:opacity .35s var(--guide-ease),visibility 0s linear 0s}
 .hhi-showcase-panel[hidden]{transition:opacity .35s var(--guide-ease),visibility 0s linear .35s}
}
.hhi-showcase-tabs{grid-area:1/1;align-self:end;justify-self:center;z-index:2;display:none;gap:4px;max-width:calc(100% - 24px);margin-bottom:16px;padding:4px;border:1px solid var(--hhi-line);border-radius:6px;background:var(--hhi-paper,#f8f7f4)}
.hhi-showcase.is-ready .hhi-showcase-tabs{display:flex}
.hhi-showcase-tabs button{min-height:44px;padding:0 16px;border:1px solid transparent;border-radius:4px;background:transparent;font:inherit;font-size:15px;font-weight:600;white-space:nowrap;color:var(--hhi-muted);cursor:pointer;transition:border-color .2s var(--guide-ease),color .2s var(--guide-ease)}
@media (hover:hover){.hhi-showcase-tabs button:hover{color:var(--hhi-ink);border-color:var(--hhi-line)}}
.hhi-showcase-tabs button[aria-selected=true]{border-color:var(--hhi-indigo);color:var(--hhi-ink);background:#fff}
.hhi-showcase-tabs button:focus-visible{outline:3px solid var(--hhi-indigo);outline-offset:2px}
.hhi-page .hhi-showcase-foot{grid-row:2;display:flex;align-items:center;gap:6px 16px;max-width:none;min-height:44px;margin:4px 0 0;font-size:13px;line-height:1.4;color:var(--hhi-muted)}
.hhi-showcase-foot>span{flex:1 1 auto;min-width:0}
/* Every caption is laid in the same cell, the unseen ones hidden, so the row is always as tall as the longest and nothing
   below moves when a tab or the finish changes. */
.hhi-showcase-captions{display:grid}
.hhi-showcase-captions>*{grid-area:1/1}
.hhi-showcase-sizer{visibility:hidden}
.hhi-showcase-foot a{display:inline-flex;align-items:center;gap:.3em;flex:none;min-height:44px;margin-left:auto;font-size:15px;color:var(--hhi-ink);text-underline-offset:4px}
/* A link that stands alone in a fold-down is a 44px target. */
.hhi-showcase-more a{display:inline-flex;align-items:center;min-height:44px}
/* On the guide pages (slice F6) the showcase's text column is the guide body's column below it, where the window leaves the
   picture at least 400px; the picture then ends where the rail does. */
@media (min-width:1330px){html body.hhi-page-guide .hhi-showcase{grid-template-columns:minmax(0,760px) minmax(0,1fr);column-gap:clamp(48px,6vw,96px)}}
/* The handles page's four fittings two by two in the guide column (slice F6); phones keep options-guide.css's one column. */
@media (min-width:761px){.door-guide-body .options-hardware-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Sections that start below the fold rise into place once (guide-reading.js marks them); never under reduced motion, and
   everything is visible without the script or in print. */
@media (prefers-reduced-motion:no-preference){
 .guide-reveal .guide-later{transition:opacity .4s var(--guide-ease) calc(var(--i,0) * 60ms),transform .5s var(--guide-ease) calc(var(--i,0) * 60ms)}
 .guide-reveal .guide-later:not(.is-in){opacity:0;transform:translateY(12px)}
}
@media print{.guide-reveal .guide-later{opacity:1!important;transform:none!important}.door-guide-rail{display:none}}

/* Tablet: a narrower photograph. */
@media (max-width:1100px) and (min-width:901px){
 .hhi-guide-hero{grid-template-columns:minmax(0,1fr) minmax(220px,320px)}
}
/* Phones: the photograph under the title, its tabs a full-width row beneath it rather than over the door; the rail at the
   end with only the other guides (the "In this guide" menu sits under the title); the next guide as a compact row. */
@media (max-width:900px){
 .hhi-showcase{grid-template-columns:minmax(0,1fr);grid-template-rows:auto;grid-template-areas:"head" "media" "rest";row-gap:24px;padding-inline:20px;padding-bottom:40px}
 .hhi-showcase h1{max-width:none;font-size:clamp(36px,10vw,48px)}
 .hhi-page .hhi-showcase-lede{font-size:18px}
 .hhi-showcase-stage{aspect-ratio:4/5;max-height:min(70svh,560px);min-height:0}
 .hhi-showcase-tabs{grid-area:auto;grid-row:2;justify-self:stretch;align-self:auto;flex-wrap:wrap;max-width:none;margin:8px 0 0}
 .hhi-showcase-tabs button{flex:1 1 auto;padding:0 10px}
 .hhi-showcase-tabs:has(>:nth-child(4)) button{padding:0 8px;font-size:14px}
 .hhi-page .hhi-showcase-foot{grid-row:3}
 .hhi-showcase-panel.is-contain img{padding-bottom:clamp(20px,3vw,40px)}
 .hhi-showcase-steps{margin-top:0}
 .hhi-page-contact .hhi-showcase-actions{display:none}
 .hhi-showcase-actions .hhi-button{width:100%}
 html body.hhi-page-faq{--content-gutter:20px}
 .process-stages{--track-pad:26px}
 .process-stages>.process-stage::before{top:7px}
 .process-track{top:13px}
 html body:is(.hhi-page-faq,.hhi-page-news) .door-guides{grid-template-columns:minmax(0,1fr)}
 .hhi-journal>:is(.door-guide-body,.door-guide-rail){grid-column:1;grid-row:auto}
 .hhi-journal-rail .door-guide-more{display:none}
 html body :is(.hhi-journal,.hhi-more-ideas) .hhi-story-link{grid-template-columns:112px minmax(0,1fr);column-gap:16px;row-gap:4px;padding:20px 0}
 html body :is(.hhi-journal,.hhi-more-ideas) .hhi-story :is(h2,h3){font-size:17px}
 html body :is(.hhi-journal,.hhi-more-ideas) .hhi-story p,html body .hhi-journal .hhi-story:first-child:not([hidden]) p{font-size:16px}
 html body .hhi-journal .hhi-story:first-child:not([hidden]) .hhi-story-link{grid-template-columns:1fr;grid-template-rows:auto;grid-template-areas:"pic" "title" "text";row-gap:10px;padding-bottom:28px}
 html body .hhi-journal .hhi-story:first-child:not([hidden]) h2{font-size:26px}
 .hhi-faq-ask{margin-top:8px;font-size:16px}
 .hhi-faq-ask .hhi-faq-ask-note{font-size:14px}
 .hhi-guide-hero{grid-template-columns:1fr;gap:24px;align-items:start;padding-bottom:32px}
 .hhi-guide-hero h1{max-width:none;font-size:clamp(36px,10vw,48px)}
 .hhi-guide-hero-text>p:last-child{font-size:18px}
 .hhi-guide-hero-stage{aspect-ratio:4/3}
 .door-guide-rail{position:static;max-height:none;overflow:visible;padding:0}
 .door-guide-onpage{display:none}
 .door-guide-next{grid-template-columns:96px minmax(0,1fr);gap:18px}
 .door-guide-next-title{font-size:24px}
 .hhi-page-guide .door-guide-definitions div{grid-template-columns:1fr}
}
/* Small phones: the tabs tighten so three or four still fit one row from 360px; below that three share one row with
   two-line labels and four sit two by two, so none is left alone on a row. */
@media (max-width:400px){
 .hhi-showcase-tabs button{padding:0 8px;font-size:14px}
 .hhi-showcase-tabs:has(>:nth-child(4)) button{padding:0 6px}
}
@media (max-width:359px){
 .hhi-showcase.is-ready .hhi-showcase-tabs{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}
 .hhi-showcase.is-ready .hhi-showcase-tabs:has(>:nth-child(4)){grid-auto-flow:row;grid-template-columns:repeat(2,minmax(0,1fr))}
 .hhi-showcase-tabs button{white-space:normal;line-height:1.2;padding:4px 6px}
}
