/* Shared design tokens and layout. Tour geometry belongs to explore.css. */
:root,html[lang=en],body.home-story{--sand:#E5D9C5;--oldwood:#B49A7A;--ink:#292A25;--green:#344A3F;--paper:#E5D9C5;--reading:#F1EADF;--gold:#735933;--line:#91816c;--muted:#53524a;--serif:'Noto Serif JP','Yu Mincho',serif;--sans:'Noto Sans JP','Yu Gothic',sans-serif;--hs-paper:var(--sand);--hs-ink:var(--ink);--hs-dark:var(--ink);--hs-gold:#cfb789;--hs-muted:var(--muted);--hs-serif:var(--serif);--cta-fill:var(--green);--cta-ink:var(--green);--cta-paper:var(--reading);--cta-border:#657567;--cta-focus:#745526}
html[lang=en],html[lang=en] body.home-story{--serif:'Cormorant Garamond',Georgia,serif;--sans:'Inter',Arial,sans-serif;--hs-serif:var(--serif)}
html{scroll-behavior:smooth}*{box-sizing:border-box}body,html[lang=en] body,body.home-story{margin:0;background:var(--sand);background-image:none;color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.9;overflow-wrap:break-word}a{color:inherit}button,input,select,textarea{font-family:var(--sans)}
body h1,body h2,body h3,html[lang=ja] body h1,html[lang=ja] body h2,html[lang=ja] body h3,body.home-story h1,body.home-story h2,body.home-story h3{font-family:var(--serif);font-weight:400;letter-spacing:.035em;line-height:1.6;text-wrap:balance}body h1,body.home-story .hs-hero-copy h1{font-size:clamp(40px,4vw,56px)}body h2,body.home-story h2{font-size:clamp(28px,2.7vw,36px)}body h3{font-size:26px}p{margin:0 0 1.3em}img{max-width:100%;height:auto}figure{margin:0;min-width:0}figcaption{font-size:12px;line-height:1.8;color:var(--muted);padding-top:12px}
.unified-header{position:relative;z-index:20;display:flex;align-items:center;gap:28px;justify-content:space-between;width:100%;padding:20px 4vw;background:var(--sand);border-bottom:1px solid var(--line);color:var(--ink)}.unified-brand{font:400 25px/1.5 var(--serif);letter-spacing:.08em;text-decoration:none;flex-shrink:0}.unified-brand small{display:block;font:10px/1.8 var(--sans);letter-spacing:.15em;margin-top:5px}.unified-nav{display:flex;gap:8px;margin-left:auto}.unified-header nav a,.unified-footer nav a{display:flex;align-items:center;min-height:46px;padding:10px 14px;font:400 14px/1.6 var(--sans);text-decoration:none;border:1px solid transparent;border-radius:3px}.unified-header nav a[aria-current=page]{background:var(--green);color:var(--reading);border-color:var(--green)}.unified-header nav a:hover{background:var(--reading);border-color:var(--line);color:var(--ink)}.unified-tools{display:flex;align-items:center;gap:12px}.unified-header .language{padding:10px;min-height:44px;font:14px/1.6 var(--sans);text-decoration:underline;text-underline-offset:5px}.unified-menu{display:none}.unified-menu summary{cursor:pointer;min-height:46px;padding:10px 14px;border:1px solid var(--green);border-radius:3px;list-style:none;font-size:14px}.unified-menu summary::-webkit-details-marker{display:none}.unified-menu summary::after{content:'＋';margin-left:10px}.unified-menu[open] summary::after{content:'−'}.unified-menu nav{position:absolute;right:4vw;top:calc(100% - 2px);width:min(320px,92vw);padding:16px;background:var(--reading);box-shadow:0 10px 25px #292a2526;border:1px solid var(--line)}.unified-footer{padding:60px 6vw 35px;background:var(--ink);color:var(--reading);margin-top:0}.unified-footer nav{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}.unified-footer nav a{border-color:#b49a7a80;color:var(--reading)}.unified-footer nav a:hover{background:var(--reading);color:var(--ink)}.unified-footer .shell-note{max-width:70em;font-size:13px;color:#e5d9c5}.unified-footer .shell-top{display:inline-flex;min-height:44px;align-items:center;text-decoration:underline;text-underline-offset:5px}.unified-footer .unified-brand{display:inline-block;color:var(--reading)}.unified-footer>p{margin:15px 0}.unified-header .language-switch{display:flex;gap:6px}.unified-header .language-switch button{border:1px solid var(--green);background:transparent;color:var(--ink);border-radius:3px;min-height:44px;padding:8px 12px}.unified-header .language-switch button[aria-pressed=true]{background:var(--green);color:var(--reading)}
body .button,body .primary-button,body.home-story .hs-button{background:var(--green);color:var(--reading);border-color:var(--green);border-radius:3px;min-height:48px;font-family:var(--sans);font-size:15px;font-weight:600;text-align:center;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;padding:13px 22px;line-height:1.7;max-width:100%;white-space:normal}.button:hover,.primary-button:hover,body.home-story .hs-button:hover{background:#24392e;color:#fff;border-color:#24392e}body .button.secondary,body .text-link,body.home-story .hs-link{color:var(--green);background:transparent;border-color:var(--green);font-family:var(--sans);font-size:15px}.skip,.skip-link{position:absolute;top:-200px;left:16px;z-index:100;background:var(--reading);color:var(--ink);padding:12px}.skip:focus,.skip-link:focus{top:12px}:where(a,button,summary,input,select,textarea,[tabindex]):focus-visible{outline:3px solid #8a5c12;outline-offset:4px}.unified-footer :focus-visible,.hs-dark :focus-visible{outline-color:#e6bf70}input,select,textarea{background:var(--reading);color:var(--ink);border:1px solid #796f60;border-radius:3px}.notice{background:var(--reading);border-color:var(--gold);color:var(--ink)}[hidden]{display:none!important}
/* Quiet / dark / timber sections alternate around actual photographs. */
body.home-story .hs-opening,body.home-story .hs-living,body.home-story .hs-contact-end{background:var(--sand)}body.home-story .hs-time{background:var(--oldwood)}body.home-story .hs-dark{background:var(--ink);color:var(--reading)}body.home-story .hs-heritage{background:var(--oldwood)}body.home-story .hs-practical{background:var(--reading)}body.home-story .hs-time .hs-label,body.home-story .hs-time .hs-source{color:var(--ink)}body.home-story .hs-time .hs-year{color:#292a251f}body.home-story .hs-label{font-family:var(--sans)}body.home-story .hs-opening-title,body.home-story .hs-uses-heading h2,body.home-story .hs-contact-end h2,body.home-story .hs-future h2{font-size:clamp(28px,2.7vw,36px)}body.home-story .hs-hero-copy h1{color:var(--reading)}body.home-story .hs-hero-copy,body.home-story .hs-future-copy{color:var(--reading)}body.home-story .hs-living-detail{border-color:var(--sand)}body.home-story .hs-time-copy h2,body.home-story .hs-visit-grid h2{font-size:clamp(28px,2.7vw,36px)}body.home-story .hs-lead{font-size:18px}body.home-story .hs-note{font-size:14px}.hs-mixed{display:grid;grid-template-columns:1fr 1fr;gap:7vw;align-items:center;background:var(--reading)}.hs-mixed>div{max-width:38em}.hs-mixed img{width:100%;aspect-ratio:4/3;object-fit:cover}.hs-mixed .hs-note{margin-top:22px}.home-story .hs-paths{display:flex;flex-wrap:wrap;gap:12px}
/* Every proposal is in document flow, without hidden or inert slides. */
.home-story .proposal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;padding:0 6vw 50px;overflow:visible;max-width:1500px;margin:0 auto;scroll-snap-type:none}.home-story .proposal-grid>article{display:flex;flex-direction:column;min-width:0;flex-basis:auto;scroll-snap-align:none;width:auto;min-height:0;border:1px solid #b49a7a80;border-radius:3px;overflow:hidden}.home-story .use-grid>article{background:#33362f}.home-story .use-grid figure img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}.home-story .use-grid figcaption{display:none}.home-story .hs-use-caption{display:flex;flex:1;flex-direction:column;align-items:stretch;min-height:0;padding:24px;gap:0}.home-story .hs-use-caption h3{font-size:27px;margin:4px 0 10px}.home-story .hs-use-caption .hs-card-no{font:12px/1.6 var(--sans);color:#d3ba96}.home-story .hs-use-line{font-size:17px;margin:0 0 12px}.home-story .hs-use-caption>p{font-size:15px;line-height:1.9}.home-story .hs-use-caption>a{margin-top:auto;align-self:flex-start;color:var(--reading);border-color:#c4b69f}.home-story .hs-gallery-note{font-size:14px;padding-top:0}.home-story .concept-grid>article{display:flex;background:var(--reading);color:var(--ink)}.home-story .concept-grid .hs-concept-photo{min-height:0;height:auto;aspect-ratio:16/10}.home-story .concept-grid .hs-concept-photo img{position:static;width:100%;height:100%;object-fit:cover}.home-story .concept-grid .hs-concept-photo figcaption{font-size:11px;color:#fff}.home-story .concept-grid .hs-heritage-copy{padding:28px;align-self:stretch;display:flex;flex-direction:column;flex:1;min-height:0}.home-story .concept-grid .hs-label{color:#595044;font-size:11px}.home-story .concept-grid h3{font-size:27px;margin:8px 0 18px}.home-story .concept-grid .hs-case-line{font-size:19px}.home-story .concept-grid .hs-heritage-copy>p:not(.hs-label):not(.hs-case-source){font-size:16px}.home-story .concept-grid .hs-case-source{font-size:12px;color:var(--muted)}.home-story .concept-grid .hs-concept-cta{align-self:flex-start;margin-top:auto}.home-story .hs-concept-checks summary{background:var(--sand);border-color:#766c5e;color:var(--ink)}.home-story .hs-concept-checks p{font-size:14px}.lease-faq{max-width:900px;margin-top:60px}.lease-faq details{border-top:1px solid var(--line);padding:16px 0}.lease-faq details:last-child{border-bottom:1px solid var(--line)}.lease-faq summary{padding:10px 5px;min-height:44px;cursor:pointer;font-weight:600}.lease-faq details>p{margin:15px 5px 5px}.home-story .hs-time .hs-source a,.cd-sources a,.source-note a{text-decoration:underline;text-underline-offset:4px}
/* Canonical history: five chapters, with complete static JA/EN text. */
.history-content{max-width:1200px;margin:auto;padding:70px 5vw 90px}.history-opening>p{max-width:50em}.history-opening figure{margin:40px 0}.history-opening img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}.chapter-index{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:40px 0 65px}.chapter-index a{padding:16px;border:1px solid var(--line);text-decoration:none;border-radius:3px;background:var(--reading);min-height:52px}.chapter-index a:hover{background:var(--green);color:var(--reading)}.cd-history-chapter,.cd-records{padding:60px clamp(20px,4vw,55px);margin:40px 0;background:var(--reading);border-top:2px solid var(--oldwood);scroll-margin-top:30px}.cd-history-chapter:nth-of-type(even){background:#dbccb4}.cd-section-label{font:13px/1.8 var(--sans);letter-spacing:.06em;color:var(--muted)}.cd-history-chapter>p{max-width:52em}.cd-photo-composition{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:35px 0}.cd-photo img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.cd-history-inset{max-width:700px;margin:35px auto}.cd-sources{font-size:13px;line-height:2;overflow-wrap:anywhere}.cd-caution{padding:20px;background:var(--sand);font-size:14px}.cd-table>div{display:grid;grid-template-columns:170px 1fr;gap:24px;border-top:1px solid var(--line);padding:18px 0}.cd-table dd{margin:0}.history-closing{padding-block:40px}.actions{display:flex;gap:12px;flex-wrap:wrap}
/* Existing photo layouts, without the old vertical navigation spine. */
body:has(.space-main)>main{max-width:1240px;margin:auto;padding:60px 5vw 70px}.page-intro{padding:15px 0 40px}.photo img{display:block;width:100%;object-fit:cover}.space-main{margin-bottom:40px}.space-main img{aspect-ratio:4/3}.photo-pair{display:grid;grid-template-columns:1fr 1fr;gap:30px}.photo-pair img{aspect-ratio:4/3}.provided-plan{margin:30px auto;max-width:980px;padding:16px;background:var(--reading)}.provided-plan img{display:block;width:100%;height:auto;object-fit:contain}.detail-photo{max-width:600px;margin:45px auto}.detail-photo img{max-height:560px;object-fit:contain}.enquiry-end{background:var(--reading);padding:40px!important}.enquiry-end-inner{display:flex;gap:25px;align-items:center;justify-content:space-between}.enquiry-end .button{flex-shrink:0}.kicker,.eyebrow{color:#665035}.photo-pair figcaption,.photo figcaption{color:var(--muted)}
/* Tour colors only. Never modify photograph/map positioning or hotspot sizes. */
body:has(#explore-main) .intro h1{font-size:clamp(30px,3.6vw,48px)}body:has(#explore-main) .room-panel,body:has(#explore-main) dialog{background:var(--reading)}body:has(#explore-main) .review-note{background:#d8c7ab;color:var(--ink)}body:has(#explore-main) .muted{color:var(--muted)}body:has(#explore-main) .room-uses a{min-height:48px}.unified-header button{cursor:pointer}.unified-header a:hover{color:inherit}
@media(max-width:1150px){.unified-nav{display:none}.unified-menu{display:block}.unified-header{padding-inline:5vw}.unified-brand{font-size:23px}.unified-tools{margin-left:auto}}
@media(max-width:760px){body,body.home-story{font-size:16px;line-height:1.9}.unified-header{padding:14px 20px;gap:10px}.unified-brand{font-size:20px;letter-spacing:.03em}.unified-brand small{font-size:8px;letter-spacing:.08em}.unified-tools{gap:6px}.unified-header .language{font-size:12px;padding:8px}.unified-menu summary{font-size:12px;padding:10px}.unified-footer{padding:45px 24px 25px}.unified-footer nav{display:grid;grid-template-columns:1fr 1fr}.unified-footer nav a{font-size:13px;padding:10px}.unified-footer .shell-note{font-size:12px}body h1,body.home-story .hs-hero-copy h1,html[lang=en] body.home-story .hs-hero-copy h1{font-size:clamp(28px,7.5vw,36px)}body h2,body.home-story h2,body.home-story .hs-opening-title,body.home-story .hs-uses-heading h2,body.home-story .hs-future h2,body.home-story .hs-time-copy h2,body.home-story .hs-visit-grid h2,body.home-story .hs-contact-end h2,html[lang=en] body.home-story .hs-future h2{font-size:clamp(22px,6vw,28px)}body.home-story .hs-pad{padding:60px 24px}.hs-mixed{grid-template-columns:1fr;gap:30px}.home-story .proposal-grid{gap:24px;padding:0 24px 40px}.home-story .hs-use-caption{padding:20px}.home-story .hs-use-caption h3{font-size:24px}.home-story .concept-grid .hs-heritage-copy{padding:24px}.home-story .concept-grid h3{font-size:24px}.home-story .concept-grid .hs-concept-cta{font-size:14px;width:100%}.home-story .hs-time .hs-source{font-size:12px}.history-content{padding:40px 20px 60px}.chapter-index{grid-template-columns:1fr;margin-bottom:40px}.chapter-index a{font-size:14px}.cd-history-chapter,.cd-records{padding:35px 20px;margin:25px 0}.cd-photo-composition{grid-template-columns:1fr}.cd-table>div{grid-template-columns:1fr;gap:5px}.cd-history-chapter h2{font-size:25px}.photo-pair{grid-template-columns:1fr;gap:30px}body:has(.space-main)>main{padding:35px 24px 50px}.enquiry-end{padding:25px!important}.enquiry-end-inner{display:block}.enquiry-end .button{margin-top:20px}.unified-header .language-switch{flex-direction:column;gap:3px}.unified-header .language-switch button{font-size:11px;padding:5px 8px}.unified-header:has(.language-switch) .unified-brand{max-width:145px;font-size:18px}html[lang=en] .unified-brand{max-width:145px;font-size:17px}}
@media(max-width:600px){.home-story .proposal-grid{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.hs-reveal-pending{opacity:1!important;transform:none!important;clip-path:none!important}}
/* Contrast on sand and timber surfaces is checked against WCAG AA. */
body.home-story .hs-label{color:#605035}body.home-story .hs-dark .hs-label,body.home-story .hs-hero .hs-label,body.home-story .hs-future .hs-label{color:#dfcba7}body.home-story .hs-time figcaption,body.home-story .hs-time .hs-link{color:var(--ink)}body.home-story .hs-time .hs-link{border-color:var(--ink)}body.home-story .hs-heritage-intro,body.home-story .hs-heritage-intro h2,body.home-story .hs-heritage-intro .hs-label,body.home-story .hs-heritage-intro .hs-lead,body.home-story .hs-heritage-intro .hs-note{color:var(--ink)}body.home-story .hs-visit{background:var(--reading)}
body:has(#explore-main) .intro-text{color:var(--muted)}body:has(#explore-main) .route-list button[aria-current=location] .route-number{color:var(--reading)}
/* Three use types: headings stay outside each vertical card grid. */
.home-story .use-category{padding-top:28px}.use-category-heading{max-width:1500px;margin:0 auto;padding:0 6vw 25px}.home-story .use-category-heading h3{font-family:var(--serif);font-size:30px;margin:0 0 12px;color:var(--reading)}.home-story .use-category-heading p{max-width:55em;color:#e5d9c5;font-size:15px}.home-story .hs-use-caption h4{font:400 27px/1.6 var(--serif);margin:4px 0 12px;letter-spacing:.035em}.home-story .use-category .proposal-grid{padding-bottom:25px}.home-story .free-proposal{padding-top:25px}.home-story .use-category[id]{scroll-margin-top:25px}.conditional-note{font-size:14px;color:var(--muted)}
@media(max-width:760px){.use-category-heading{padding:0 24px 22px}.home-story .use-category-heading h3{font-size:25px}.home-story .hs-use-caption h4{font-size:24px}.home-story .use-category .proposal-grid{padding-bottom:20px}}
