/* v18: clean, plain-language navigation and mobile-first browsing. Loaded last on purpose. */
:root{--v18-ink:#493746;--v18-muted:#887785;--v18-line:#f0dce6;--v18-paper:#fffdfd;--v18-rose:#c65f86}
html{scroll-padding-top:90px}
body{color:var(--v18-ink)}
.site-header{position:sticky;top:0;z-index:120;min-height:66px;padding:9px max(16px,calc((100% - 1120px)/2));gap:14px;flex-wrap:nowrap}
.brand{min-width:0;flex:1;gap:10px;font-size:14px}
.brand>span:last-child{min-width:0}
.brand small{max-width:34rem;font-size:10px;line-height:1.35;letter-spacing:.025em}
.menu-toggle{display:none;align-items:center;justify-content:center;width:46px;height:46px;flex:0 0 46px;border:1px solid var(--v18-line);border-radius:15px;background:#fff1f6;color:#80546b;font-size:20px;cursor:pointer}
.nav-links{display:flex;align-items:center;gap:12px;min-width:0}
.nav-group{display:flex;align-items:center;gap:5px}
.nav-group-title{display:none}
.nav-group-links{display:flex;align-items:center;gap:3px}
.nav-links a{font-size:11px;padding:8px 9px;border-radius:11px;white-space:nowrap}
.nav-links a:hover{background:#fff0f5}
.page-shell{margin-top:20px}
.home-hero-v16{padding:clamp(23px,4vw,44px);min-height:0;grid-template-columns:minmax(0,1.2fr) minmax(170px,.55fr);gap:18px}
.home-hero-copy h1{font-size:clamp(2.2rem,5vw,3.8rem);line-height:1.04;max-width:12ch;text-wrap:balance}
.home-hero-lead{font-size:clamp(15px,1.8vw,18px);line-height:1.55;max-width:44rem}
.home-hero-note{font-size:13px;line-height:1.65;max-width:65ch}
.home-hero-art{min-height:230px;max-height:290px;opacity:.9}
.home-art-paper{transform:rotate(-3deg) scale(.88)}
.home-recent-v16{margin-top:30px}
.home-section-heading{align-items:flex-end}
.home-section-heading p{font-size:13px}
.home-recent-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.home-recent-card{min-width:0;min-height:120px;padding:16px;gap:11px}
.home-recent-content{min-width:0}
.home-recent-content h3{font-size:15px;line-height:1.35}
.home-recent-content p{font-size:12px;line-height:1.5}
.section-title{margin-top:34px}
.feature-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.feature{min-width:0;min-height:170px;padding:18px}
.feature h3{font-size:15px}
.feature p{font-size:12px;line-height:1.55}
.more-rooms{margin-top:14px;padding:0 18px}
.more-rooms>summary{padding:17px 0;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:15px;list-style:none}
.more-rooms>summary::-webkit-details-marker{display:none}
.more-rooms-summary-copy{display:grid;gap:3px}
.more-rooms-summary-copy strong{font-size:16px}
.more-rooms-summary-copy small{font-size:12px;color:var(--v18-muted)}
.more-rooms-plus{font-size:24px;color:var(--v18-rose)}
.more-rooms[open] .more-rooms-plus{transform:rotate(45deg)}
.more-rooms-grid{padding:0 0 16px}
/* Timeline: explain the controls before asking the visitor to use them. */
.timeline-hero-v16{padding:clamp(20px,3.5vw,34px);margin-bottom:24px}
.timeline-intro-copy{max-width:66ch;font-size:14px;line-height:1.65}
.timeline-overview-v16{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:18px 0}
.timeline-overview-v16>div{min-width:0;padding:13px 12px;background:#fff;border:1px solid var(--v18-line);border-radius:15px}
.timeline-overview-v16 strong{font-size:24px;line-height:1.1}
.timeline-overview-v16 span{font-size:11px;line-height:1.35}
.timeline-control-row{align-items:end;gap:12px}
.timeline-jump-v16{min-width:0;flex:1}
.timeline-jump-v16 span{font-size:12px;font-weight:700}
.timeline-jump-v16 select{min-height:46px;font-size:13px}
.timeline-order-link{padding:11px 13px;border-radius:13px;background:#fff1f6;font-size:11px;font-weight:700}
.timeline-filter-help{margin:15px 0 0;font-size:11px;color:var(--v18-muted)}
.timeline-filters-v16{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 0;padding:0;mask-image:none;overflow:visible}
.timeline-filters-v16 .timeline-filter{min-height:40px;padding:8px 13px;border:1px solid var(--v18-line);border-radius:999px;background:#fff;color:#775d70;font-size:12px;white-space:nowrap;cursor:pointer}
.timeline-filters-v16 .timeline-filter b{display:inline-grid;place-items:center;min-width:21px;height:21px;margin-left:5px;padding:0 5px;border-radius:99px;background:#fff0f5;font-size:10px}
.timeline-filters-v16 .timeline-filter.is-active{background:#79516a;border-color:#79516a;color:white}
.timeline-filters-v16 .timeline-filter.is-active b{background:#ffffff2b;color:white}
.timeline-month-browser-v16{margin-top:16px;padding:12px 0 0;border-top:1px solid var(--v18-line)}
.timeline-month-browser-v16>summary{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:52px;cursor:pointer;list-style:none}
.timeline-month-browser-v16>summary::-webkit-details-marker{display:none}
.timeline-month-browser-v16>summary span:first-child{display:grid;gap:3px}
.timeline-month-browser-v16>summary b{font-size:14px}
.timeline-month-browser-v16>summary small{font-size:11px;color:var(--v18-muted)}
.month-browser-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:13px;background:#fff0f5;color:var(--v18-rose);font-size:23px}
.timeline-month-browser-v16[open] .month-browser-icon{transform:rotate(45deg)}
.month-index-v16{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;max-height:310px;overflow:auto;padding:8px 2px 3px}
.month-index-v16 a{display:flex;justify-content:space-between;align-items:center;gap:7px;min-width:0;padding:10px 11px;border:1px solid var(--v18-line);border-radius:12px;background:white;font-size:11px}
.month-index-v16 a span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.month-index-v16 a b{flex:0 0 auto;color:var(--v18-rose);font-size:10px}
.timeline-month-v16{margin:0 0 34px;scroll-margin-top:90px}
.timeline-month-title-v16{align-items:center;gap:12px;margin-bottom:12px;padding:0 4px 12px;border-bottom:1px solid #efdce5}
.timeline-month-title-copy h2{font-size:clamp(19px,3vw,25px);margin:2px 0 3px}
.timeline-month-title-copy p{font-size:11px;margin:0;color:var(--v18-muted)}
.timeline-month-total{padding:7px 11px;background:#fff;border:1px solid var(--v18-line);border-radius:99px;font-size:10px;white-space:nowrap}
.timeline-month-records{gap:10px}
.memory-piece-v16{grid-template-columns:30px minmax(0,1fr);gap:8px;scroll-margin-top:90px}
.memory-piece-rail span{width:24px;height:24px}
.memory-piece-card{padding:16px 17px;border-radius:18px}
.memory-piece-top{gap:7px;margin-bottom:8px}
.memory-kind-pill{font-size:9px;padding:5px 9px}
.memory-piece-top time{font-size:11px}
.memory-date-note{font-size:10px}
.memory-mood{font-size:10px;margin:0 0 6px}
.memory-piece-card h3{font-size:17px;line-height:1.3;margin:3px 0 7px}
.memory-piece-summary{font-size:13px;line-height:1.6}
.memory-story-v16{margin-top:10px;border-top:1px solid var(--v18-line)}
.memory-story-v16>summary{min-height:42px;padding:10px 0 0;font-size:12px;font-weight:750}
.memory-story-content-v16{padding:12px 0 2px;font-size:13px;line-height:1.75}
.back-to-top{right:16px;bottom:calc(5.5rem + env(safe-area-inset-bottom));z-index:30}
/* Tablet */
@media(max-width:980px){.site-header{padding:9px 16px}.nav-links{gap:5px}.nav-links a{padding:7px 6px;font-size:10px}.feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Phone: true dropdown, grouped navigation, readable cards and no clipped controls. */
@media(max-width:760px){
 .site-header{position:sticky;top:0;display:flex;flex-wrap:nowrap;min-height:66px;padding:8px 13px;gap:10px;z-index:120}
 .brand{font-size:13px;gap:9px}.brand-mark{width:40px;height:40px;flex:0 0 40px}.brand small{font-size:9px;max-width:calc(100vw - 105px);line-height:1.35}
 .menu-toggle{display:inline-flex}
 .nav-links,.nav-links.open{position:absolute;top:calc(100% + 7px);left:10px;right:10px;width:auto;max-height:min(72dvh,540px);overflow:auto;display:none!important;flex-direction:column;align-items:stretch;gap:13px;padding:15px;background:rgba(255,253,254,.99);border:1px solid var(--v18-line);border-radius:20px;box-shadow:0 20px 55px rgba(68,39,58,.19);backdrop-filter:blur(18px);z-index:150}
 .nav-links.open{display:flex!important}
 .nav-group{display:block}.nav-group-title{display:block;margin:0 0 6px 3px;color:#b36c89;font-size:9px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
 .nav-group-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 .nav-links a{display:flex;align-items:center;justify-content:flex-start;min-height:43px;padding:10px 12px;border:1px solid #f3e4eb;border-radius:12px;background:#fff8fb;font-size:12px;white-space:normal;text-align:left}
 .page-shell{width:calc(100% - 22px);margin:13px auto 42px}
 .home-hero-v16{display:block;padding:20px 17px 17px;border-radius:22px}
 .home-hero-art{position:absolute;right:8px;top:8px;width:82px;height:82px;min-height:0;max-height:none;opacity:.5;pointer-events:none}
 .home-art-orbit{width:76px;height:76px}.home-art-paper{width:58px;height:68px;border-width:3px;border-radius:30px 30px 10px 10px;transform:rotate(-4deg)}
 .home-art-paper img{width:28px;height:28px}.home-art-paper span{font-size:8px}.home-art-paper small{font-size:5px}
 .home-art-spark,.home-art-sticker{display:none}
 .home-hero-copy{padding-right:0}.home-hero-copy>.eyebrow{display:block;max-width:calc(100% - 72px);font-size:9px;line-height:1.4}
 .home-hero-copy h1{max-width:14ch;margin:11px 0 10px;font-size:clamp(2rem,8.5vw,2.65rem);line-height:1.05}
 .home-hero-lead{font-size:14px;line-height:1.5}.home-hero-note{font-size:12px;line-height:1.55;margin-bottom:0}
 .home-hero-actions{display:grid;grid-template-columns:1fr;gap:8px;margin:15px 0 10px}
 .home-hero-actions .btn{width:100%;min-height:44px;font-size:12px;padding:11px 14px}
 .home-hero-footnote{font-size:10px;line-height:1.45}
 .home-recent-v16{margin-top:25px}.home-section-heading{align-items:flex-start;flex-direction:column;gap:7px;margin-bottom:12px}.home-section-heading h2{font-size:22px}.home-section-heading p{font-size:12px}.home-section-heading>.text-link{align-self:flex-end}
 .home-recent-grid{grid-template-columns:1fr;gap:8px}.home-recent-card{min-height:0;padding:13px;border-radius:15px;gap:11px}.home-recent-mark{flex-basis:34px;height:34px}.home-recent-content time{font-size:10px}.home-recent-content h3{font-size:14px}.home-recent-content p{font-size:11px;line-height:1.45;-webkit-line-clamp:2}
 .section-title{margin:28px 3px 12px;align-items:center}.section-title h2{font-size:22px}.feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.feature{min-height:145px;padding:14px;border-radius:17px}.feature-icon{font-size:23px;margin-bottom:10px}.feature h3{font-size:13px;line-height:1.3}.feature p{font-size:10px;line-height:1.45}.more-rooms{padding:0 13px}.more-rooms>summary{padding:14px 0}.more-rooms-summary-copy strong{font-size:14px}.more-rooms-summary-copy small{font-size:10px;line-height:1.4}
 .timeline-hero-v16{padding:17px 14px;border-radius:19px;margin-bottom:20px}.timeline-hero-top{gap:7px;flex-wrap:wrap}.timeline-private-note{font-size:9px}.timeline-hero-v16 h1{font-size:2rem;margin:8px 0}.timeline-intro-copy{font-size:12px;line-height:1.55}
 .timeline-overview-v16{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:13px 0}.timeline-overview-v16>div{padding:10px 11px;border-radius:12px}.timeline-overview-v16 strong{font-size:21px}.timeline-overview-v16 span{font-size:10px;line-height:1.25}
 .timeline-control-row{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}.timeline-jump-v16 span{font-size:11px}.timeline-jump-v16 select{min-height:44px;font-size:12px}.timeline-order-link{display:block;text-align:center;max-width:none;min-width:0;padding:10px;font-size:11px}
 .timeline-filter-help{font-size:10px;margin-top:12px}.timeline-filters-v16{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:7px}.timeline-filters-v16 .timeline-filter{display:flex;align-items:center;justify-content:space-between;min-width:0;min-height:40px;padding:8px 10px;font-size:11px}.timeline-filters-v16 .timeline-filter b{margin-left:4px}
 .timeline-month-browser-v16{margin-top:12px}.timeline-month-browser-v16>summary{min-height:48px}.timeline-month-browser-v16>summary b{font-size:13px}.timeline-month-browser-v16>summary small{font-size:10px}.month-index-v16{grid-template-columns:repeat(2,minmax(0,1fr));max-height:260px}.month-index-v16 a{padding:9px;font-size:10px}
 .timeline-month-v16{margin-bottom:27px;scroll-margin-top:78px}.timeline-month-title-v16{gap:8px;margin-bottom:9px;padding:0 1px 9px}.timeline-month-marker{flex:0 0 30px;width:30px;height:30px}.timeline-month-title-copy h2{font-size:18px}.timeline-month-title-copy p{font-size:9px}.timeline-month-total{font-size:9px;padding:5px 8px}
 .timeline-month-records{gap:8px}.timeline-month-records:before{left:11px}.memory-piece-v16{grid-template-columns:24px minmax(0,1fr);gap:6px;scroll-margin-top:80px}.memory-piece-rail{padding-top:12px}.memory-piece-rail span{width:21px;height:21px}.memory-piece-card{padding:12px 13px;border-radius:15px}.memory-piece-top{gap:5px}.memory-kind-pill{font-size:8px;padding:4px 7px}.memory-piece-top time{font-size:10px}.memory-date-note{font-size:9px}.memory-mood{font-size:9px}.memory-piece-card h3{font-size:15px;line-height:1.3}.memory-piece-summary{font-size:12px;line-height:1.55}.memory-story-v16>summary{font-size:11px;min-height:38px}
 .back-to-top{right:12px;bottom:calc(5rem + env(safe-area-inset-bottom));width:42px;height:42px}
}
@media(max-width:380px){.home-hero-v16{padding:17px 13px}.home-hero-copy h1{font-size:1.9rem}.home-hero-art{width:70px;height:70px}.home-hero-copy>.eyebrow{max-width:calc(100% - 60px)}.timeline-overview-v16 span{font-size:9px}.timeline-month-total{font-size:8px}.memory-piece-card{padding:11px}}
@media(prefers-reduced-motion:reduce){.nav-links,.nav-links a,.more-rooms-plus{transition:none!important}}

/* V19: clear visitor account and consent controls */
.visitor-account-link{display:flex;align-items:center;gap:10px;margin-left:10px;font-size:12px;color:#79566c;white-space:nowrap}
.visitor-account-link a{display:inline-flex;padding:8px 11px;border:1px solid #efd9e4;border-radius:999px;background:#fff8fb;color:#89556f;text-decoration:none;font-weight:700}
.analytics-consent{position:fixed;z-index:9999;left:14px;right:14px;bottom:calc(16px + env(safe-area-inset-bottom));max-width:720px;margin:auto;padding:16px 18px;border:1px solid #ead3df;border-radius:20px;background:rgba(255,250,253,.98);box-shadow:0 16px 50px rgba(73,43,63,.18);display:flex;align-items:center;gap:18px;color:#584354}
.analytics-consent[hidden]{display:none!important}.analytics-consent p{margin:5px 0 0;font-size:12px;line-height:1.5;color:#806e7d}.analytics-consent-actions{display:flex;gap:8px;flex-shrink:0}.analytics-consent-actions button{border:1px solid #ead3df;border-radius:999px;padding:10px 13px;background:#fff;color:#81556e;font:inherit;font-size:12px;font-weight:700}.analytics-consent-actions button[data-consent=yes]{background:#c96f96;color:#fff;border-color:#c96f96}
.admin-user-assignment{border:1px solid #ead8e2;border-radius:14px;padding:14px;margin:8px 0}.admin-user-assignment legend{padding:0 7px;font-weight:800;color:#704e66}.admin-user-assignment .checkbox-line{margin:7px 0}
@media(max-width:700px){.visitor-account-link{margin:8px 0 0 0;justify-content:flex-end}.analytics-consent{display:block;padding:14px}.analytics-consent-actions{margin-top:12px;justify-content:flex-end}.analytics-consent-actions button{flex:1}.site-header{flex-wrap:wrap}}

/* V19.2.2: compact, stable phone header and name-match suggestions */
@media(max-width:700px){
 .site-header{display:grid!important;grid-template-columns:minmax(0,1fr) 46px;align-items:center;gap:8px 10px;flex-wrap:initial!important;padding:8px 12px!important}
 .site-header>.brand{grid-column:1;grid-row:1;min-width:0;width:100%;flex:initial}
 .site-header>.brand>span:last-child{min-width:0;overflow-wrap:anywhere}
 .site-header>.brand small{max-width:100%;white-space:normal}
 .site-header>.menu-toggle{grid-column:2;grid-row:1}
 .site-header>.visitor-account-link{grid-column:1/-1;grid-row:2;justify-content:flex-start;flex-wrap:wrap;margin:0!important;white-space:normal}
 .site-header>.nav-links{position:absolute!important;top:calc(100% + 7px)!important;left:10px!important;right:10px!important}
}
.profile-suggestions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.profile-suggestion{border:1px solid #efd5e1;background:#fff5f9;color:#80516a;border-radius:999px;padding:9px 14px;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.profile-suggestion:hover,.profile-suggestion:focus{background:#fbe4ee;outline:2px solid #e9a5bf;outline-offset:2px}
