/* Page rhythm: each boundary gets one gap, rather than inherited offsets. */
:root{--intro-gap:64px;--section-gap:80px;--media-gap:48px;--media-follow-gap:64px}
body[data-page]:not([data-page=home]) main{padding-bottom:96px!important}
body[data-page]:not([data-page=home]) .page-body{padding-top:0!important;padding-bottom:0!important}
body[data-page]:not([data-page=home]) main .page-section{padding-top:0!important;padding-bottom:0!important;margin-top:0!important;margin-bottom:0!important}
body[data-page]:not([data-page=home]) main .page-intro{padding-top:var(--intro-gap)!important}
body[data-page]:not([data-page=home]) main .page-section+.page-section{margin-top:var(--section-gap)!important}
body[data-page=house] main .page-intro.page-section+.page-section{margin-top:var(--media-follow-gap)!important}
body[data-page=house] .house-detail{margin:var(--media-gap) 0 0!important}
/* Preserve original reading size and restore one clear primary action. */
.editorial-header nav a{font-size:14px!important}
.editorial-header nav a.nav-logo{letter-spacing:.04em}
.editorial-header .hidden.md\:flex{gap:22px}
.editorial-header .nav-private{border:1px solid var(--line)!important;padding:0 16px!important;margin-left:4px;min-height:44px}
body[data-page=home] .editorial-header .nav-private{border-color:#817969!important}
.menu-link{font-size:24px!important;line-height:1.25!important;min-height:56px;letter-spacing:0}
.menu-link[href="#book"]{font:16px/1.25 Inter,sans-serif!important;border:1px solid var(--line)!important;margin-top:20px;padding:0 16px}
.menu-link[aria-current=page]::after{display:none!important}
.menu-link[aria-current=page]{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:7px}
.editorial-header button[aria-controls=local-menu] svg,.editorial-header button[aria-controls=local-menu] svg *{stroke-width:1.5!important}
body[data-page=home] .menu-link[href="#book"]{border-color:#817969!important}
@media(max-width:1023px){.editorial-header .hidden.md\:flex{display:none!important}.editorial-header button[aria-controls=local-menu]{display:flex!important}.local-mobile-menu:not([hidden]){display:block!important}}
@media(min-width:1024px){.local-mobile-menu{display:none!important}.editorial-header button[aria-controls=local-menu]{display:none!important}}
@media(max-width:767px){:root{--intro-gap:40px;--section-gap:48px;--media-gap:32px;--media-follow-gap:40px}body[data-page]:not([data-page=home]) main{padding-bottom:64px!important}}

body[data-page]:not([data-page=home]) .page-intro>.max-w-7xl{padding-left:0!important;padding-right:0!important}


/* One header system: clear at rest, readable over the actual surface. */
:root{--header-height:80px}
body .editorial-header,body[data-page=home] .editorial-header{position:fixed!important;inset:0 0 auto!important;height:var(--header-height);background:transparent!important;border:0!important;box-shadow:none!important;isolation:isolate;--header-ink:var(--ink);--menu-surface:var(--paper);--header-wash:rgba(250,250,248,.92)}
body .editorial-header[data-surface=dark]{--header-ink:#FAFAF8;--menu-surface:#24231f;--header-wash:rgba(36,35,31,.92)}
body .editorial-header nav a,body .editorial-header nav button,body[data-page=home] .editorial-header nav a,body[data-page=home] .editorial-header nav button{color:var(--header-ink)!important}
.editorial-header::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:var(--header-wash);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);mask-image:linear-gradient(#000 65%,transparent);opacity:0}
.editorial-header[data-scrolled=true]::before{opacity:1}
.editorial-header[data-open=true]{background:var(--menu-surface)!important}
.editorial-header[data-open=true]::before{opacity:0}
.editorial-header nav>div{height:var(--header-height)!important}
.editorial-header .hidden.md\:flex{display:none!important}
.editorial-header button[aria-controls=local-menu]{display:flex!important}
body[data-page]:not([data-page=home]) main{padding-top:var(--header-height)!important}
body[data-page=home] .section-hero{background:#24231f!important;padding-top:calc(68px + var(--header-height))!important}
body .editorial-header .local-mobile-menu,body[data-page=home] .editorial-header .local-mobile-menu{left:0!important;right:0!important;top:100%!important;width:100%!important;background:var(--menu-surface)!important;box-shadow:none!important;border:0!important;border-bottom:1px solid var(--line)!important;max-height:calc(100dvh - var(--header-height));transform-origin:top center}
.editorial-header .local-mobile-menu:not([hidden]){display:block!important}
.menu-inner{max-width:1440px;margin:auto;padding:12px var(--gutter) 24px!important}
body .editorial-header .menu-link,body[data-page=home] .editorial-header .menu-link{font:16px/1.5 Inter,sans-serif!important;min-height:44px;letter-spacing:.025em;color:var(--header-ink)!important;border:0!important;padding:0}
body .editorial-header .menu-link[href="#book"],body[data-page=home] .editorial-header .menu-link[href="#book"]{font:16px/1.5 Inter,sans-serif!important;margin-top:12px;border:0!important;border-top:1px solid var(--line)!important;padding-top:12px;min-height:56px;justify-content:flex-start}
.editorial-header[data-surface=dark] .menu-link[href="#book"]{border-top-color:rgba(250,250,248,.15)!important}
.editorial-header .menu-link[aria-current=page]{text-underline-offset:5px}
.editorial-header .menu-link:focus-visible{outline-color:var(--header-ink)!important}
@media(max-width:767px){:root{--header-height:72px}body[data-page=home] .motion-hero{padding-top:calc(52px + var(--header-height))!important}}
@media(prefers-reduced-transparency:reduce){.editorial-header::before{background:var(--menu-surface);backdrop-filter:none;-webkit-backdrop-filter:none}}
@media(prefers-contrast:more){.editorial-header[data-scrolled=true]{background:var(--menu-surface)!important}}
