/* English information pages and the English section menu. Built on the site tokens in site.css. */

/* Header: nine sections with dropdown lists of topics. */
html[lang=en] .desktop-nav{gap:clamp(14px,1.5vw,26px);align-items:center}
html[lang=en] .desktop-nav>.nav-item{position:relative}
html[lang=en] .desktop-nav>.nav-item>a{display:block;font-size:13.5px;padding-block:14px;white-space:nowrap}
html[lang=en] .desktop-nav>.nav-item>a[aria-current]{text-decoration:underline}
.nav-panel{position:absolute;top:100%;left:50%;transform:translate(-50%,6px);min-width:240px;max-height:min(70vh,560px);overflow:auto;padding:14px 8px;background:var(--shell);color:var(--ink);border:1px solid var(--line);box-shadow:0 18px 40px -24px rgba(23,59,54,.45);opacity:0;visibility:hidden;transition:opacity .18s,transform .18s,visibility .18s;z-index:30}
.nav-panel.is-wide{columns:2;column-gap:4px;min-width:500px}
.nav-panel a{display:block;break-inside:avoid;padding:8px 14px;font-size:13.5px;line-height:1.4;color:var(--ink)}
.nav-panel a:hover,.nav-panel a:focus-visible{background:var(--glass);color:var(--sea)}
.nav-item:hover>.nav-panel,.nav-item:focus-within>.nav-panel{opacity:1;visibility:visible;transform:translate(-50%,0)}
.desktop-nav>.nav-item:last-child .nav-panel,.desktop-nav>.nav-item:nth-last-child(2) .nav-panel{left:auto;right:0;transform:translate(0,6px)}
.desktop-nav>.nav-item:nth-last-child(2):hover .nav-panel,.desktop-nav>.nav-item:nth-last-child(2):focus-within .nav-panel{transform:none}
@media(max-width:1280px){html[lang=en].js .desktop-nav{display:none}html[lang=en].js .menu-toggle{display:block}}

/* Mobile menu: a disclosure per section. */
html[lang=en] .mobile-nav{gap:4px;margin-top:40px;max-height:calc(100dvh - 230px);overflow:auto}
.mobile-group summary{list-style:none;cursor:pointer;padding:8px 0}
.mobile-group summary::-webkit-details-marker{display:none}
.mobile-group summary .menu-title,html[lang=en] .mobile-nav>a .menu-title{font-size:30px}
.mobile-group>div{display:grid;gap:2px;padding:4px 0 14px 2px}
.mobile-group>div a{font-size:15px;color:var(--ink);padding:5px 0}

/* Hubs */
.info-eyebrow{font-size:12px;letter-spacing:.14em;margin-bottom:18px;opacity:.9}
.info-directory-head{display:grid;grid-template-columns:1fr 1fr;gap:6%;align-items:end;margin-bottom:44px}
.info-directory-head p{color:var(--muted);max-width:52ch}
.info-group{font:400 22px/1.3 var(--display);color:var(--sea);margin:44px 0 18px}
.info-cards{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-top:1px solid var(--line);border-left:1px solid var(--line)}
.info-cards li{border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.info-cards a{display:flex;flex-direction:column;gap:10px;height:100%;padding:26px 26px 22px;background:var(--shell);transition:background .2s}
.info-cards a:hover{background:#fbfaf6}
.info-card-title{font:400 21px/1.3 var(--display);color:var(--sea)}
.info-card-text{font-size:14.5px;line-height:1.65;color:var(--muted)}
.info-card-more,.info-card-count{margin-top:auto;padding-top:8px;font-size:12.5px;letter-spacing:.06em;color:var(--sea)}
.info-card-more::after{content:" →"}
.info-hub-part{padding-top:0}.info-hub-part .display{margin-bottom:36px}

/* Topic pages */
.info-top{padding:190px 0 44px}
.info-crumbs{display:flex;gap:10px;font-size:13px;color:var(--muted);margin-bottom:26px}
.info-crumbs a{text-decoration:underline;text-underline-offset:4px}
.info-top .display{max-width:22ch}
.info-sub{margin-top:18px;color:var(--muted);font-size:14px;letter-spacing:.02em}
.info-band{width:100%;aspect-ratio:3.2/1;max-height:52vh;overflow:hidden;background:var(--glass)}
.info-band img{width:100%;height:100%;object-fit:cover}
.info-note{margin:44px 0 -24px;padding:20px 24px;border-left:2px solid var(--sea);background:var(--glass);color:var(--ink);font-size:15px}
.info-article{display:grid;grid-template-columns:minmax(200px,.34fr) 1fr;gap:7%;align-items:start}
.info-toc{position:sticky;top:120px;font-size:13.5px}
.info-toc p{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-bottom:12px}
.info-toc ol{list-style:none;padding:0;display:grid;gap:2px;border-left:1px solid var(--line)}
.info-toc a{display:block;padding:6px 0 6px 16px;color:var(--muted);line-height:1.4}
.info-toc a:hover{color:var(--sea)}
.info-body{max-width:760px}
.info-lead p{font-size:18.5px;line-height:1.75;color:var(--ink)}
.info-lead p+p,.info-part p+p{margin-top:14px}
.info-lead ul,.info-part ul{margin:14px 0 0;padding-left:1.15em;display:grid;gap:8px}
.info-part{padding-top:44px;margin-top:44px;border-top:1px solid var(--line);scroll-margin-top:110px}
.info-lead+.info-part{margin-top:48px}
.info-part h2{font:400 clamp(24px,2vw,30px)/1.3 var(--display);color:var(--sea);margin-bottom:16px}
.info-part p,.info-part li{font-size:16px;line-height:1.8;color:var(--ink)}
.info-part li::marker{color:var(--sea)}
.info-related .native-heading{margin-bottom:28px}
.info-related .text-link{margin-top:28px}

/* Practical visit facts, shared by hubs and topics */
.info-visit{background:#eef1ea}
.info-visit-grid{display:grid;grid-template-columns:1fr 1fr;gap:4% 10%}
.info-visit-grid>div>p{margin-top:14px;color:var(--muted);max-width:44ch}
.info-visit .contact-actions{display:flex;flex-wrap:wrap;gap:4px 24px}
.info-hours{display:grid;gap:0;margin:0}
.info-hours div{display:flex;justify-content:space-between;gap:20px;padding:14px 0;border-bottom:1px solid var(--line)}
.info-hours dt{color:var(--muted)}.info-hours dd{margin:0}
.info-visit-note{grid-column:1/-1}

/* Home and wellness directory of the seven sections */
.care-directory-list{list-style:none;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.care-directory-list li:nth-child(1),.care-directory-list li:nth-child(2){grid-column:span 2}
.care-directory-list a{display:flex;flex-direction:column;height:100%;background:#fbfaf6;border:1px solid var(--line);transition:border-color .2s}
.care-directory-list a:hover{border-color:var(--sea)}
.care-directory-media{display:block;aspect-ratio:2.2/1;overflow:hidden}
.care-directory-list li:nth-child(n+3) .care-directory-media{aspect-ratio:1.6/1}
.care-directory-media img{width:100%;height:100%;object-fit:cover;transition:transform .8s}
.care-directory-list a:hover img{transform:scale(1.03)}
.care-directory-copy{display:flex;flex-direction:column;gap:10px;padding:22px 22px 20px;flex:1}

@media(max-width:1100px){.info-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.care-directory-list{grid-template-columns:repeat(2,minmax(0,1fr))}.care-directory-list li:nth-child(1),.care-directory-list li:nth-child(2){grid-column:auto}}
@media(max-width:900px){.info-article{grid-template-columns:1fr}.info-toc{position:static}.info-directory-head,.info-visit-grid{grid-template-columns:1fr;gap:18px}.info-top{padding-top:140px}}
@media(max-width:640px){.info-cards,.care-directory-list{grid-template-columns:1fr}.info-lead p{font-size:17px}.info-band{aspect-ratio:2/1}.info-cards a{padding:22px 20px}}
@media(prefers-reduced-motion:reduce){.nav-panel,.care-directory-media img{transition:none}}

/* First-screen carousel and hub heroes (owner reference: tateps.com opening carousel, 2026-09-25). A bright image,
   a widely tracked serif word across the middle, heading and lead on the left, area and keywords on the right. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
html[lang=en] .page-home .site-header,html[lang=en] .page-info-hub .site-header{position:sticky;top:0;background:rgba(246,245,239,.96);backdrop-filter:blur(6px)}
.vei-carousel{position:relative;height:min(calc(100svh - 108px),820px);min-height:540px;overflow:hidden;background:var(--sand);color:var(--ink)}
.vei-carousel.is-single{height:min(calc(78svh - 108px),640px);min-height:460px}
.vc-track{position:absolute;inset:0}
.vc-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity 1s ease,visibility 1s}
.vc-slide.is-active,.is-single .vc-slide{opacity:1;visibility:visible}
.vc-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:scale(1.04);transition:transform 7s ease-out}
.vc-slide.is-active .vc-img{transform:scale(1)}
.vc-slide::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(246,245,239,.6),rgba(246,245,239,.1) 48%,rgba(246,245,239,.25));pointer-events:none}
.vc-word{position:absolute;z-index:2;left:var(--gutter);right:var(--gutter);top:30%;display:flex;justify-content:space-between;margin:0;font:400 clamp(56px,8.6vw,132px)/1 var(--serif);color:#fff;text-shadow:0 2px 26px rgba(39,60,54,.22);pointer-events:none}
.vc-copy{position:absolute;z-index:3;left:0;right:0;top:calc(30% + clamp(56px,8.6vw,132px) + 30px);display:flex;justify-content:space-between;align-items:flex-start;gap:6%}
.vc-left{max-width:440px}
.vc-title{font:600 clamp(24px,2.2vw,32px)/1.3 var(--sans);letter-spacing:-.02em;color:var(--ink)}
.vc-left>p{margin-top:14px;font-size:15px;line-height:1.75;color:var(--muted)}
.vc-left .text-link{margin-top:14px;color:var(--sea)}
.vc-right{text-align:right;max-width:430px}
.vc-tag{font:600 clamp(17px,1.4vw,21px)/1.4 var(--sans);color:var(--ink);letter-spacing:-.01em}
.vc-tag span{display:inline-block;margin:0 12px;font-weight:300;color:var(--muted)}
.vc-keys{margin-top:10px;font-size:14.5px;color:var(--muted)}
.vc-right p,.vc-left>p{text-shadow:0 0 14px rgba(246,245,239,.95),0 0 3px rgba(246,245,239,.9)}
.vc-arrow{position:absolute;z-index:4;top:42%;width:44px;height:84px;color:var(--ink);opacity:.5}
.vc-arrow::before{content:"";position:absolute;top:50%;left:50%;width:32px;height:32px;border-left:1px solid currentColor;border-bottom:1px solid currentColor}
.vc-prev{left:calc(var(--gutter) - 52px)}
.vc-prev::before{transform:translate(-25%,-50%) rotate(45deg)}
.vc-next{right:calc(var(--gutter) - 52px)}
.vc-next::before{transform:translate(-75%,-50%) rotate(-135deg)}
.vc-arrow:hover{opacity:1}
.vc-status{position:absolute;z-index:4;left:50%;bottom:32px;transform:translateX(-50%);display:flex;align-items:center;gap:18px;font-size:13px;color:var(--ink)}
.vc-count b{font-weight:600}
.vc-bar{position:relative;width:200px;height:2px;background:rgba(39,60,54,.2);overflow:hidden}
.vc-bar i{position:absolute;inset:0;background:var(--sea);transform-origin:left;transform:scaleX(0)}
.vc-pause{width:22px;height:22px;position:relative;color:var(--ink)}
.vc-pause::before,.vc-pause::after{content:"";position:absolute;top:5px;width:2px;height:12px;background:currentColor}
.vc-pause::before{left:7px}
.vc-pause::after{left:13px}
.vc-pause.is-paused::before{left:8px;width:0;height:0;background:none;border-left:9px solid currentColor;border-top:6px solid transparent;border-bottom:6px solid transparent}
.vc-pause.is-paused::after{display:none}
.is-single .vc-word{top:26%}
.is-single .vc-copy{top:calc(26% + clamp(56px,8.6vw,132px) + 26px)}
@media(max-width:900px){.vei-carousel{height:min(calc(100svh - 84px),720px)}.vc-copy{flex-direction:column;gap:22px}.vc-right{text-align:left}.vc-arrow{display:none}.vc-word{top:20%}.vc-copy{top:calc(20% + clamp(56px,8.6vw,132px) + 20px)}.vc-slide::after{background:linear-gradient(180deg,rgba(246,245,239,.1),rgba(246,245,239,.72) 58%)}}
@media(max-width:640px){.vc-word{font-size:clamp(34px,10.5vw,56px);top:16%}.vc-copy{top:calc(16% + clamp(34px,10.5vw,56px) + 18px)}.is-single .vc-word{top:14%}.is-single .vc-copy{top:calc(14% + clamp(34px,10.5vw,56px) + 16px)}.vc-left>p{font-size:14px}.vc-bar{width:120px}.vc-status{bottom:20px}}
@media(prefers-reduced-motion:reduce){.vc-slide,.vc-img{transition:none}.vc-img{transform:none}}

/* Motion, as in the reference: each time a slide becomes active its letters rise out of a soft blur one by one,
   spreading outward from the centre, then the left and right copy follow. */
.vc-word span{display:inline-block;opacity:0}
.vc-slide.is-active .vc-word span,.is-single .vc-word span{animation:vcLetter 1.3s cubic-bezier(.2,.7,.2,1) both;animation-delay:calc(var(--i) * 90ms + 150ms)}
@keyframes vcLetter{0%{opacity:0;transform:translateY(34px) scale(.92);filter:blur(10px)}60%{opacity:1;filter:blur(0)}100%{opacity:1;transform:none;filter:blur(0)}}
.vc-left,.vc-right{opacity:0}
.vc-slide.is-active .vc-left,.is-single .vc-left{animation:vcCopyL 1s cubic-bezier(.2,.7,.2,1) .75s both}
.vc-slide.is-active .vc-right,.is-single .vc-right{animation:vcCopyR 1s cubic-bezier(.2,.7,.2,1) .95s both}
@keyframes vcCopyL{from{opacity:0;transform:translateY(46px)}to{opacity:1;transform:none}}
@keyframes vcCopyR{from{opacity:0;transform:translateY(46px)}to{opacity:1;transform:none}}
.vc-slide.is-active .vc-word{animation:vcTrack 2.4s cubic-bezier(.2,.7,.2,1) both}
@keyframes vcTrack{from{left:calc(var(--gutter) + 8vw);right:calc(var(--gutter) + 8vw)}to{left:var(--gutter);right:var(--gutter)}}
@media(prefers-reduced-motion:reduce){.vc-word span,.vc-left,.vc-right{opacity:1;animation:none!important}.vc-slide.is-active .vc-word{animation:none}}

.vc-film{position:absolute;z-index:4;left:var(--gutter);bottom:26px;color:var(--ink)}
/* Without JavaScript the English menu wraps instead of scrolling sideways. */
html[lang=en]:not(.js) .desktop-nav{flex-wrap:wrap;row-gap:4px;justify-content:flex-start}
@media(max-width:900px){.vei-carousel .vc-film{display:none}.info-toc{display:none!important}}
.vc-count{white-space:nowrap}

/* Dark copy rises from below line by line (owner, 2026-09-25). */
.vc-slide.is-active .vc-left>*,.is-single .vc-left>*,.vc-slide.is-active .vc-right>*,.is-single .vc-right>*{animation:vcCopyL .9s cubic-bezier(.2,.7,.2,1) both}
.vc-slide.is-active .vc-left>:nth-child(1),.is-single .vc-left>:nth-child(1){animation-delay:.7s}
.vc-slide.is-active .vc-left>:nth-child(2),.is-single .vc-left>:nth-child(2){animation-delay:.85s}
.vc-slide.is-active .vc-left>:nth-child(3),.is-single .vc-left>:nth-child(3){animation-delay:1s}
.vc-slide.is-active .vc-right>:nth-child(1),.is-single .vc-right>:nth-child(1){animation-delay:.9s}
.vc-slide.is-active .vc-right>:nth-child(2),.is-single .vc-right>:nth-child(2){animation-delay:1.05s}
.vc-left,.vc-right{overflow:hidden;padding-bottom:4px}
@media(prefers-reduced-motion:reduce){.vc-left>*,.vc-right>*{animation:none!important}}

/* Care areas: pinned horizontal track. The section is tall; its inner block sticks while the track slides left.
   Heights are set by src/hscroll.js from the track width. */
.care-directory{position:relative;padding:0}
.care-directory .care-pin{position:sticky;top:0;height:100svh;display:flex;flex-direction:column;justify-content:center;overflow:hidden;padding:120px 0 40px}
html[lang=en] .page-home .care-directory .care-pin,html[lang=en] .page-longevity .care-directory .care-pin{top:0}
.care-directory .info-directory-head{margin-bottom:34px}
.care-directory .care-directory-list{display:flex!important;gap:24px;padding:0 var(--gutter);width:max-content;will-change:transform}
.care-directory .care-directory-list li{grid-column:auto!important;width:min(560px,72vw);flex:none}
.care-directory .care-directory-media,.care-directory .care-directory-list li:nth-child(n+3) .care-directory-media{aspect-ratio:21/9!important}
.care-directory-index{font:400 13px/1 var(--sans);letter-spacing:.14em;color:var(--muted)}
.care-directory .info-card-title{font-size:26px}
.care-progress{position:relative;height:2px;margin:34px var(--gutter) 0;background:rgba(39,60,54,.15)}
.care-progress i{position:absolute;inset:0;background:var(--sea);transform-origin:left;transform:scaleX(0)}
/* Phones and no-JS: a native swipe track. */
.care-directory:not(.is-pinned) .care-pin{position:static;height:auto;padding:72px 0}
.care-directory:not(.is-pinned) .care-directory-list{width:auto;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:6px}
.care-directory:not(.is-pinned) .care-directory-list::-webkit-scrollbar{display:none}
.care-directory:not(.is-pinned) .care-directory-list li{scroll-snap-align:start;width:min(82vw,560px)}
.care-directory:not(.is-pinned) .care-progress{display:none}

/* Topic cards carry their own photograph; the topic band is large and long-wide. */
.info-card-media{display:block;aspect-ratio:21/9;overflow:hidden;margin:-26px -26px 16px}
.info-card-media img{width:100%;height:100%;object-fit:cover;transition:transform .8s}
.info-cards a:hover .info-card-media img{transform:scale(1.04)}
.info-band{aspect-ratio:21/9!important;max-height:78svh!important}
@media(max-width:640px){.info-card-media{margin:-22px -20px 14px}}
@media(prefers-reduced-motion:reduce){.info-card-media img{transition:none}}
