/* Top-page hierarchy: welcome, orientation, search, records, editorial policy. */
.room-home{--home-header-height:100px;scroll-padding-top:calc(var(--home-header-height) + 20px)}
.room-home header{top:0;height:var(--home-header-height);min-height:var(--home-header-height);padding:18px 5%;pointer-events:auto;z-index:8;background:linear-gradient(180deg,#e7eddf 65%,#e7eddf00);align-items:center}
.room-home header .brand{display:inline-flex;max-width:100%;flex-shrink:0}
.room-home header .brand-logo{width:200px;height:auto;max-width:100%}
.room-home .room-message{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:clamp(32px,7vw,100px);padding:clamp(64px,8vw,112px) 6%;text-align:left;background:var(--brand-paper);border-bottom:1px solid var(--brand-line);align-items:center}
.room-message .message-small{margin-top:24px}
.room-message h2{font-size:clamp(27px,3.2vw,43px);line-height:1.6;margin:18px 0}
.room-message .message-copy>p:not(.message-small){font-size:14px;line-height:2.1;color:var(--brand-primary)}
.message-copy>a{display:inline-flex;gap:22px;align-items:center;margin-top:18px;padding:14px 22px;border:1px solid var(--brand-primary);border-radius:999px;background:var(--brand-primary);color:var(--brand-paper);text-decoration:none;font-size:13px;transition:transform .2s,box-shadow .2s}
.museum-steps{list-style:none;padding:0;margin:0;border-top:1px solid #c9d2c8}
.museum-steps li{display:flex;gap:20px;align-items:baseline;padding:24px 0;border-bottom:1px solid #c9d2c8}
.museum-steps li>span{font:14px monospace;color:var(--brand-accent-ink)}
.museum-steps h3{font-size:20px;margin:0 0 6px;letter-spacing:-.03em}
.museum-steps p{font-size:13px;margin:0;color:var(--brand-primary);line-height:1.8}
.room-home #catalog{background:#edf1e9;padding:clamp(56px,7vw,100px) 6%;scroll-margin-top:var(--home-header-height)}
.room-home #catalog>.section-title{max-width:1260px;margin:0 auto 30px;align-items:center;gap:24px}
.room-home #catalog>.section-title h2{line-height:1.4;margin:12px 0;font-size:clamp(28px,3vw,42px)}
.room-home #catalog>.section-title h2 em{color:var(--brand-accent-ink)}
.room-home #catalog>.section-title>p{font-size:13px;max-width:24em}
.catalog-search{max-width:1260px;margin:0 auto 44px;padding:clamp(20px,3vw,34px);background:#fffdf8;border:1px solid #d8dfd4;border-radius:20px;box-shadow:0 8px 26px #3d474108}
.search-label{font-size:14px;font-weight:700;margin:0 0 14px;color:var(--brand-primary)}
.room-home .catalog-search .searchline{gap:10px}
.room-home .catalog-search .searchline input{background:var(--brand-paper);border:1px solid #c9d2c8;border-radius:10px;padding:17px 18px;font-size:14px}
.room-home .catalog-search .searchline .primary{border-radius:10px;padding:14px 24px;white-space:nowrap}
.room-home .catalog-search .filterline{padding:0;margin:20px 0;gap:18px}
.catalog-search .filterline label{font-size:12px;color:var(--brand-ink)}
.catalog-search select{background:#fffdf8;border-radius:7px;min-height:40px}
.catalog-search .notice{border:0;border-top:1px solid var(--brand-line);padding:16px 0 0;margin:0;font-size:12px;line-height:1.9;color:#626d63}
.collection-results{max-width:1260px;margin:auto}
.room-home .collection-results .result-head{margin:0 0 24px;border-top:0;border-bottom:1px solid #ccd5c9;padding:0 0 15px}
.result-head #count{font-size:16px;font-weight:700;margin:0}
.room-home .collection-results .card{border:1px solid #d8dfd4;border-radius:16px;background:#fffdf8;overflow:hidden;padding:10px;box-shadow:0 3px 10px #3d474105}
.room-home .collection-results .card-art{border-radius:10px;height:220px}
.room-home .collection-results .card-body{padding:18px 12px 14px}
.room-home .collection-results .card h3{font-size:18px;line-height:1.6}
.room-home .collection-results .card-foot{border-top:1px solid var(--brand-line);padding-top:14px}
.room-home .editorial{display:block;border:0;border-radius:0;background:var(--brand-mint);color:var(--brand-ink);padding:64px 6%;margin:0}
.room-home .editorial:after{content:none}
.room-home .editorial h2{font-size:clamp(27px,3vw,38px);max-width:1260px;margin:12px auto 18px}
.room-home .editorial .eyebrow,.room-home .editorial p,.room-home .editorial a{max-width:1260px;margin-inline:auto;color:var(--brand-primary)}
.room-home .editorial p{font-size:14px;line-height:2}
.room-home .editorial a{font-size:13px}
.room-home footer{border-top:1px solid var(--brand-line);gap:30px}
@media(max-width:800px){
 .room-home{--home-header-height:76px}
 .room-home header{height:var(--home-header-height);min-height:var(--home-header-height);padding:10px 6%;padding-top:max(10px,env(safe-area-inset-top));background:linear-gradient(180deg,#e7eddf 78%,#e7eddf00)}
 .room-home header .brand{display:inline-flex}
 .room-home header .brand-logo{width:160px}
 .room-home header nav{display:none}
 .room-home .room-copy{top:max(100px,13%);left:6%;max-width:88%}
 .room-home .room-copy.chapter-two{top:max(100px,13%)}
 .room-home #room-canvas{top:32%;height:64%}
 .room-home .exploring #room-canvas{top:45%;height:53%}
 .room-home #memory-picker{top:100px}
 .room-home .room-message{grid-template-columns:1fr;gap:32px;padding:56px 6%}
 .room-message h2{font-size:29px}
 .room-message .message-copy>p:not(.message-small){font-size:13px}
 .museum-steps li{padding:18px 0;gap:16px}
 .museum-steps h3{font-size:18px}
 .museum-steps p{font-size:12px}
 .room-home #catalog>.section-title{display:block;margin-bottom:24px}
 .room-home #catalog>.section-title>p{margin:12px 0 0}
 .room-home #catalog>.section-title h2{font-size:29px}
 .room-home #catalog>.section-title h2 em{display:block}
 .catalog-search{margin-bottom:32px;border-radius:16px;padding:18px}
 .room-home .catalog-search .searchline{gap:8px}
 .room-home .catalog-search .searchline input{font-size:13px;padding:13px 12px}
 .room-home .catalog-search .searchline .primary{font-size:12px;padding:12px}
 .room-home .catalog-search .filterline{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}
 .catalog-search .filterline label{display:flex;flex-direction:column;align-items:stretch;gap:5px}
 .catalog-search select{max-width:100%;width:100%;font-size:12px}
 .catalog-search #reset{align-self:end;min-height:40px}
 .room-home .collection-results .grid{gap:16px 12px}
 .room-home .collection-results .card{padding:7px;border-radius:13px}
 .room-home .collection-results .card-art{height:160px}
 .room-home .collection-results .card-body{padding:12px 5px 10px}
 .room-home .collection-results .card h3{font-size:14px}
 .room-home .editorial{padding:48px 6%}
 .room-home footer{padding:28px 6%;gap:18px}
}
@media(max-width:380px){.room-home .collection-results .card-art{height:132px}.room-home .room-copy .room-title{font-size:clamp(28px,8.2vw,31px)}}

.message-copy>a:hover{transform:translateY(-2px);box-shadow:0 5px 15px #405f4220}
.message-copy>a:focus-visible{outline:3px solid var(--brand-accent);outline-offset:4px}
@supports(grid-template-rows:subgrid){
 .room-home .collection-results .grid{row-gap:14px}
 .room-home .collection-results .card{display:grid;grid-template-rows:subgrid;grid-row:span 5;row-gap:14px;align-items:start}
 .room-home .collection-results .card-body{display:grid;grid-template-rows:subgrid;grid-row:span 4;row-gap:14px;align-items:start}
 .room-home .collection-results .card-body>p,.room-home .collection-results .card-body>h3{margin:0}
 .room-home .collection-results .card-foot{margin-top:0;align-self:end}
}
@media(max-width:800px){
 .room-home #room-canvas,.room-home .exploring #room-canvas,.room-home .drawer-open #room-canvas{left:0;width:100%}
}

@media(min-width:801px){.room-home #room-canvas{width:71%}}

.memory-invitation{padding:clamp(48px,7vw,88px) 6%;text-align:center;background:#e7eddf;border-top:1px solid var(--brand-line)}
.memory-invitation h2{font-size:clamp(27px,3.2vw,43px);line-height:1.5;margin:18px 0}
.memory-invitation p{line-height:1.9}
.memory-invitation .primary{display:inline-flex;margin:16px 0;padding:16px 28px;border-radius:999px}
.memory-invitation .memory-private{max-width:560px;margin:12px auto 0;font-size:12px;color:var(--brand-primary)}

/* Keep the second chapter heading on its intended two lines. */
@media(min-width:801px){.room-home .room-copy.chapter-two{width:46%;max-width:46%}.room-home .chapter-two h2{white-space:nowrap}}

/* Keep a visible motion control on small screens without restoring the full nav. */
@media(max-width:800px){
 .room-home header nav{display:flex;margin-left:auto}
 .room-home header nav>a{display:none}
 .room-home header .motion-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;color:var(--brand-primary);font-size:11px;white-space:nowrap}
}
textarea:focus-visible{outline:3px solid var(--brand-accent-ink);outline-offset:4px}
