/* A common story deck; section artwork keeps each room distinct. */
.section-art-hero{position:relative;margin:0;background:var(--navy);overflow:hidden}
.section-art-hero>img{display:block;width:100%;height:auto;aspect-ratio:2.5 / 1;object-fit:cover}
.collection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding-block:32px 48px;align-items:stretch}
.collection-card{min-width:0;background:#fff;border:1px solid var(--line);color:var(--navy);overflow:hidden}
.collection-card-image{display:block;width:100%;aspect-ratio:16 / 9;height:auto;object-fit:cover;object-position:center;background:var(--cream)}
.collection-card-artwork .collection-card-image{object-fit:contain;padding:12px}
.collection-card-body{padding:24px;display:grid;grid-template-rows:minmax(2.45rem,auto) minmax(5.8rem,auto) 4.8rem minmax(1.6rem,auto) minmax(1.5rem,auto);gap:16px;position:relative;text-align:left}
.collection-card-meta{grid-row:1;font:500 .875rem/1.4 var(--sans);color:var(--muted);margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.collection-card-title{grid-row:2;font:400 1.5rem/1.3 var(--serif);margin:0;overflow-wrap:break-word;hyphens:none;text-wrap:pretty}
.collection-card-title.long-title{font-size:1.3rem;line-height:1.4}
.collection-card-excerpt{grid-row:3;font:1rem/1.6 var(--sans);margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.collection-card-cta{grid-row:5;align-self:end;font:600 1rem/1.5 var(--sans);text-decoration:underline;text-underline-offset:4px}
.collection-card-context{grid-row:4;font:1rem/1.55 var(--sans)}
.collection-card-body:has(details[open]){grid-template-rows:minmax(2.45rem,auto) minmax(5.8rem,auto) 4.8rem auto minmax(1.5rem,auto)}
.portal-body{display:flex;flex-direction:column;min-height:300px;text-align:left}
.portal-body h2{min-height:4.5rem;line-height:1.3;overflow-wrap:break-word}
.portal-body p{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;min-height:6.2rem;font-size:1rem;line-height:1.55}
.portal-body>a{margin-top:auto}
.collection-card-context summary{cursor:pointer;font-size:.875rem}
.collection-card-context:not([open]){min-height:1.6rem}
.collection-card-context p{font:1rem/1.55 var(--sans)}
/* Shared row tracks keep each row's titles, excerpts and CTAs aligned even
   when a title wraps to an extra line. Older browsers retain the grid fallback. */
@supports(grid-template-rows:subgrid){
  .collection-card{display:grid;grid-template-rows:subgrid;grid-row:span 6;row-gap:0}
  .collection-card-image{grid-row:1}
  .collection-card-body{grid-row:2 / span 5;grid-template-rows:subgrid;row-gap:16px}
}
.collection-card-text .collection-card-body{min-height:338px}
.collection-page>.architecture-intro,.collection-page>.forgot-intro{margin-top:0;padding-block:32px;display:block}
.collection-page>.architecture-intro h2,.collection-page>.forgot-intro h2{max-width:850px;font-size:clamp(1.75rem,3vw,2.5rem);line-height:1.2;text-wrap:pretty}
.collection-page>.architecture-intro p:not(.eyebrow),.collection-page>.forgot-intro p{max-width:760px}
.collection-page .forgot-intro aside{margin-top:24px;display:flex;align-items:baseline;gap:16px;flex-wrap:wrap}
.collection-page .forgot-intro aside strong{font-size:2rem;line-height:1.2}
.collection-page .forgot-intro aside p{margin:0}
.collection-page .forgot-room:has(.forgot-room-grid:empty){display:none}
.collection-page .section-head{padding-top:24px;margin-bottom:0}
.collection-page .section-head h2{font-size:clamp(1.8rem,3vw,2.5rem);line-height:1.2}
.collection-page .section-head .section-note{text-align:left}
.collection-page .section-head .chips{flex-wrap:wrap}
.collection-page .beyond-intro{margin-block:28px 0}
.portal>img{width:100%;aspect-ratio:16 / 9;height:auto;object-fit:cover;object-position:center}
.feature-tile-grid{align-items:stretch}
.feature-tile{display:flex;flex-direction:column;min-width:0}
.feature-tile>img,.story-card>img{width:100%;height:auto;aspect-ratio:16 / 9;object-fit:cover;object-position:center}
.feature-tile>div{display:flex;flex-direction:column;flex:1;text-align:left;padding:24px}
.feature-tile h3{min-height:5.8rem;font-size:1.5rem;line-height:1.3;overflow-wrap:break-word}
.feature-tile .eyebrow{min-height:2.45rem;line-height:1.4}
.feature-tile p:not(.eyebrow){display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:4.8rem;font-size:1rem;line-height:1.6}
.feature-tile>div>span:last-child{margin-top:auto;padding-top:20px;font-size:.875rem}
.collection-card a:focus-visible,.collection-card summary:focus-visible{outline:3px solid var(--brass);outline-offset:4px}
@media(min-width:800px) and (max-width:1100px){.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:799px){.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.collection-card-body{padding:20px}}
@media(max-width:680px){.collection-grid{grid-template-columns:1fr}.collection-card{display:block;grid-row:auto}.collection-card-body{grid-row:auto;grid-template-rows:auto auto auto auto auto}.collection-card-excerpt{-webkit-line-clamp:3;min-height:4.8rem}.portal-body h2{min-height:0}.portal-body{min-height:270px}}
/* At enlarged text sizes let content grow rather than clip or overlap. */
@media(min-resolution:1dppx){.collection-card-title{height:auto}}

/* Restore the original editorial header system: live type over scene artwork.
   Thumbnail frames are cropped consistently; complete story artwork is not. */
.page-hero,.home-hero,.dock-story-hero,.road-note-hero,.gixie-hero{background-color:var(--navy-deep)}
.page-hero:not(.home-hero),.dock-story-hero,.road-note-hero,.greenhouse-hero,.gixie-hero{min-height:480px;height:auto;align-items:end}
.page-hero:not(.home-hero) .hero-inner,.dock-story-hero-copy,.road-note-hero-copy,.greenhouse-hero-copy,.gixie-hero-copy{padding-block:72px 56px;text-align:left;position:relative;top:auto;right:auto;margin-inline:auto;width:min(1180px,calc(100% - 64px));max-width:1180px}
.page-hero:not(.home-hero) h1,.dock-story-hero h1,.road-note-hero h1,.greenhouse-hero h1,.gixie-hero h1{font:400 clamp(2.5rem,5vw,4.8rem)/1.02 var(--serif);letter-spacing:.015em;max-width:920px;text-transform:uppercase;overflow-wrap:break-word;text-wrap:pretty}
.page-hero .eyebrow,.dock-story-hero .eyebrow,.road-note-hero .eyebrow,.greenhouse-hero .eyebrow,.gixie-hero .eyebrow{font-size:.875rem;line-height:1.4;letter-spacing:.14em;color:var(--brass-light)}
.hero-image,.dock-story-hero>img,.road-note-hero>img,.gixie-hero>img{object-fit:cover;object-position:center}
.susanity-story .dock-story-hero h1{max-width:920px}
.susanity-story .dock-story-hero-copy>p:not(.eyebrow){max-width:690px}
.btd-feature-head .wrap{max-width:1180px}
.btd-feature-head{padding-block:72px 56px;border-bottom:3px solid var(--brass)}
.btd-feature-head h1{font:400 clamp(2.5rem,5vw,4.8rem)/1.08 var(--serif);font-weight:400;max-width:920px;overflow-wrap:break-word;text-wrap:pretty}
.btd-feature-body,.dock-story-body,.road-note-body,.greenhouse-copy{overflow-wrap:break-word}
.vic-writing-page header h1,.lost-introduction-heading h1,.library-title-band h1{font:400 clamp(2.5rem,5vw,4.8rem)/1.08 var(--serif);max-width:920px;overflow-wrap:break-word;text-wrap:pretty}
.architecture-intro h2,.forgot-discovery h2,.mtl-section-head h2{line-height:1.2;overflow-wrap:break-word;text-wrap:pretty}
.inventor-pack-copy h3,.inventor-pack-copy p{overflow-wrap:break-word}
.btd-feature-body img,.btd-lead-image img,.dock-story-inline-photo img,.journal-documentary-photo img,.penny-art img{height:auto;object-fit:contain;max-width:100%}
.travel-tools-hero{aspect-ratio:auto;min-height:480px;background-image:url('/assets/section-rooms/flight-travel-tools-clean.jpg');background-size:cover;background-position:center;display:grid;align-items:end;isolation:isolate;color:#fff}
.travel-tools-hero:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(3,27,42,.88),rgba(3,27,42,.25))}
.travel-tools-hero .travel-header-copy{padding-block:72px 56px}
.travel-tools-hero h1{font:400 clamp(2.5rem,5vw,4.8rem)/1.02 var(--serif);max-width:920px;letter-spacing:.015em;text-transform:uppercase;margin:0}
.travel-tools-hero .eyebrow{font-size:.875rem;color:var(--brass-light)}
.travel-tools-hero .hero-dek{margin-top:24px}
.tool-rail{align-items:stretch}
.travel-tool{min-width:0;text-align:left}
.travel-tool h3{min-height:3.9rem;line-height:1.3;overflow-wrap:break-word}
.travel-tool p{min-height:6.4rem}
.travel-badges{min-height:3.2rem;align-content:start}
@media(max-width:680px){
  .page-hero:not(.home-hero),.dock-story-hero,.road-note-hero,.greenhouse-hero,.gixie-hero{min-height:0}
  .page-hero:not(.home-hero) .hero-inner,.dock-story-hero-copy,.road-note-hero-copy,.greenhouse-hero-copy,.gixie-hero-copy{width:calc(100% - 32px);padding-block:64px 40px}
  .page-hero:not(.home-hero) h1,.dock-story-hero h1,.road-note-hero h1,.greenhouse-hero h1,.gixie-hero h1,.btd-feature-head h1,.travel-tools-hero h1{font-size:clamp(2rem,8vw,3rem);line-height:1.1;letter-spacing:0}
  .page-hero:not(.home-hero):has(>.hero-image),.dock-story-hero,.road-note-hero,.gixie-hero{display:flex;flex-direction:column;align-items:stretch}
  .page-hero:not(.home-hero)>.hero-image,.dock-story-hero>img,.road-note-hero>img,.gixie-hero>img{position:relative;inset:auto;height:auto;aspect-ratio:16 / 9;z-index:0;filter:none;object-fit:cover}
  .page-hero:not(.home-hero) .hero-wash,.dock-story-shade,.road-note-shade,.gixie-hero-shade{display:none}
  .page-hero:not(.home-hero) .hero-inner,.dock-story-hero-copy,.road-note-hero-copy,.gixie-hero-copy{padding-block:32px 36px}
  .btd-feature-head{padding-block:40px 32px}
  .btd-feature-head .wrap{width:calc(100% - 32px)}
  .travel-tools-hero{min-height:380px}
  .travel-tools-hero .travel-header-copy{padding-block:48px 36px}
}

.inventor-series{padding-block:40px 56px;scroll-margin-top:100px}
.inventor-pack-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.inventor-pack{border:1px solid var(--line);background:var(--paper);overflow:hidden}
.inventor-pack-art{display:block;background:var(--cream)}
.inventor-pack-art img{display:block;width:100%;height:auto;aspect-ratio:3 / 2;object-fit:contain!important}
.inventor-pack-copy{padding:24px;display:grid;grid-template-rows:1.4rem 2rem 1.6rem 3.2rem 1.6rem;gap:12px}
.inventor-pack-copy .eyebrow{font-size:.875rem;margin:0}
.inventor-pack-copy h3{font:400 1.6rem/1.2 var(--serif);margin:0}
.inventor-pack-copy p{font:1rem/1.6 var(--sans);margin:0}
.inventor-pack-copy .inventor-pair{font-weight:700}
.inventor-pack-copy>a{font:600 1rem/1.5 var(--sans);text-decoration:underline;text-underline-offset:4px}
.inventor-pack a:focus-visible{outline:3px solid var(--brass);outline-offset:4px}
@media(max-width:700px){.inventor-pack-grid{grid-template-columns:1fr}.inventor-pack-copy{grid-template-rows:auto auto auto auto auto}}

/* MouseTrap Labs: the same editorial room, with a working shop behind it. */
.mtl-room{color:var(--navy);background:var(--cream)}
.mtl-room .page-hero .hero-image{object-position:center 48%}
.mtl-room .mtl-story-intro{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:48px;padding-block:48px;border-bottom:1px solid var(--line);align-items:start}
.mtl-room h2{font:400 clamp(2rem,3.2vw,3rem)/1.12 var(--serif);letter-spacing:normal}
.mtl-room .mtl-story-intro p{font-size:1rem;line-height:1.65}
.mtl-room .mtl-thomas-story{padding:24px 28px;background:var(--paper);border:1px solid var(--line);scroll-margin-top:100px}
.mtl-room .mtl-thomas-story img{width:150px;height:150px;object-fit:contain;float:right;margin:0 0 16px 20px}
.mtl-room .mtl-thomas-story h2{font-size:2rem;clear:both}
.mtl-room .mtl-motto{font-weight:700;border-top:1px solid var(--line);padding-top:16px;margin-bottom:0}
.mtl-room details summary{cursor:pointer;font:600 1rem/1.5 var(--sans);text-decoration:underline;text-underline-offset:4px}
.mtl-room .mtl-childhood{border-top:1px solid var(--line);padding-top:20px;margin-top:24px}
.mtl-room .mtl-childhood h3{font:400 1.6rem/1.25 var(--serif)}
.mtl-room .mtl-bench{padding-block:40px}
.mtl-room .mtl-section-head{gap:28px;align-items:start;padding-bottom:20px}
.mtl-room .mtl-section-head h2{margin:0}
.mtl-room .mtl-section-head p{font-size:1rem;line-height:1.6}
.mtl-room .mtl-workbench-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding-top:24px}
.mtl-room .mtl-project{display:flex;flex-direction:column;grid-column:auto;min-width:0;box-shadow:none;border:1px solid var(--line);background:var(--paper)}
.mtl-room .mtl-project figure,.mtl-room .mtl-project .mtl-drawing-board{aspect-ratio:16/9;min-height:0;margin:0;overflow:hidden;background:#ece5d8}
.mtl-room .mtl-project figure img{display:block;min-height:0;width:100%;height:100%;object-fit:contain;object-position:center;padding:12px}
.mtl-room .mtl-project .mtl-drawing-board{display:grid;align-content:center;padding:24px;border:0;color:var(--navy)}
.mtl-room .mtl-drawing-board b{font:400 1.8rem/1.25 var(--serif)}
.mtl-room .mtl-drawing-board span{font-size:.875rem}
.mtl-room .mtl-project>div:last-child{display:flex;flex-direction:column;flex:1;padding:24px}
.mtl-room .mtl-project small{font:.875rem/1.5 var(--sans);letter-spacing:.04em;min-height:2.625rem}
.mtl-room .mtl-project h3{font:400 1.6rem/1.25 var(--serif);min-height:4rem;margin:8px 0 12px}
.mtl-room .mtl-project-status{font:600 .875rem/1.5 var(--sans);color:#913628;margin-bottom:12px}
.mtl-room .mtl-project p{font-size:1rem;line-height:1.6}
.mtl-room .mtl-project details{margin-top:auto;padding-top:12px}
.mtl-room .mtl-project a{align-self:flex-start;font:600 1rem/1.5 var(--sans);letter-spacing:normal;text-transform:none;margin-top:20px}
.mtl-room .mtl-secondary-heading{margin-top:40px;border-top:1px solid var(--line);padding-top:28px}
.mtl-room .mtl-secondary-heading h3{font:400 2rem/1.2 var(--serif);margin:8px 0 20px}
.mtl-room .mtl-small-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:0}
.mtl-room .mtl-small-project{box-shadow:none;border:1px solid var(--line);min-width:0}
.mtl-room .mtl-small-project figure,.mtl-room .mtl-small-project .mtl-drawing-board{aspect-ratio:16/9;min-height:0;max-height:none;background:#ece5d8}
.mtl-room .mtl-small-project figure img{width:100%;height:100%;object-fit:contain;padding:12px}
.mtl-room .mtl-small-project>div:last-child{padding:24px}
.mtl-room .mtl-small-project h3{font:400 1.5rem/1.3 var(--serif)}
.mtl-room .mtl-small-project p,.mtl-room .mtl-tool-strip span,.mtl-room .mtl-notes-grid p{font-size:1rem;line-height:1.6}
.mtl-room .mtl-small-project small,.mtl-room .mtl-status,.mtl-room .mtl-notes-grid small{font-size:.875rem;letter-spacing:.03em}
.mtl-room .mtl-status{top:12px;left:12px}
.mtl-room .mtl-systems,.mtl-room .skysweep-lab,.mtl-room .docklinc-door{padding-block:40px}
.mtl-room .mtl-tool-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.mtl-room .mtl-tool-strip b{font-size:1rem}
.mtl-room .skysweep-lockup{grid-template-columns:220px 1fr;gap:32px}
.mtl-room .skysweep-studies{margin-top:24px}
.mtl-room .skysweep-studies img{object-fit:contain;aspect-ratio:16/9}
.mtl-room .skysweep-studies figcaption{display:block}
.mtl-room .skysweep-studies b,.mtl-room .skysweep-studies span{font-size:.875rem;display:block;text-align:left;max-width:none}
.mtl-room .mtl-button{font-size:.875rem;letter-spacing:.04em}
.mtl-room .mtl-notes{padding-block:40px}
.mtl-room .mtl-notes-grid>*{min-height:0;padding:24px}
.mtl-room .mtl-notes-grid span{font-size:1rem}
.mtl-room a:focus-visible,.mtl-room summary:focus-visible{outline:3px solid var(--brass);outline-offset:4px}
@media(max-width:1000px){.mtl-room .mtl-workbench-grid,.mtl-room .mtl-small-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mtl-room .mtl-story-intro{gap:28px}.mtl-room .mtl-thomas-story{padding:24px}.mtl-room .mtl-section-head{display:block}.mtl-room .mtl-section-head>p{margin-top:16px;max-width:650px}}
@media(max-width:680px){.mtl-room .mtl-story-intro{grid-template-columns:1fr;padding-block:28px}.mtl-room .mtl-workbench-grid,.mtl-room .mtl-small-grid,.mtl-room .mtl-tool-strip,.mtl-room .mtl-notes-grid{grid-template-columns:1fr}.mtl-room .mtl-project h3,.mtl-room .mtl-project small{min-height:0}.mtl-room .skysweep-lockup{grid-template-columns:1fr;gap:20px}.mtl-room .skysweep-lockup img{max-width:220px}.mtl-room .skysweep-studies{grid-template-columns:1fr}.mtl-room .docklinc-door .wrap{display:block}.mtl-room .mtl-door-actions{display:flex;flex-wrap:wrap;gap:12px}.mtl-room .mtl-button-light{white-space:normal}}

.mtl-room .mtl-project figure .mtl-art-link{display:block;width:100%;height:100%;margin:0;padding:0;border:0}
.mtl-room .mtl-project .mtl-full-graphic{margin-top:16px;font-weight:400;border-bottom:1px solid var(--line)}
