/* EYERICH 1.3.0: legible Japanese text, photo framing and actions that never cover the page content. */
.eyerich-sr,.fixed-cta .eyerich-sr{position:absolute!important;display:block!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* Japanese text: Windows renders Yu Gothic Regular too thin for small muted copy; keep the serif headings unchanged. */
body{font-weight:500;line-break:strict}
:where(h1,h2,h3,h4){word-break:auto-phrase;text-wrap:balance}
:where(p,li,dd,figcaption,summary){text-wrap:pretty}
:where(.home-hero__content,.page-hero__content,.store-hero__content,.reservation-panel,.closing__content)>p{word-break:auto-phrase;text-wrap:balance}
.diagnosis-entry p,.diagnosis-masthead p,.diagnosis-option{word-break:auto-phrase}
.diagnosis-entry p:not(.diagnosis-kicker),.diagnosis-masthead>p:last-child{text-wrap:balance}

/* Menu cards: fill the frame with the photo and keep the eyes and brows in view. */
main .menu-grid>article.menu-card>img{width:100%;height:auto;min-height:0;aspect-ratio:16/10;object-fit:cover;object-position:50% 38%;background:var(--warm)}

/* Closing call: the salon sign fills its half of the card on wide screens. */
@media(width>=901px){main .closing__image{height:auto;align-self:stretch}main .closing__image img{height:100%;object-fit:cover}}

/* Home salon finder on phones: name and station beside stacked actions, so the brand story is reached sooner. */
@media(width<=560px){
 main .store-finder--compact .store-grid{gap:10px}
 main .store-finder--compact .store-grid>article.store-card{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto 1fr;column-gap:12px;align-items:start;min-height:0;padding:16px!important}
 main .store-finder--compact .store-card>p{grid-column:1;margin:0;line-height:1.5}
 main .store-finder--compact .store-card>h3{grid-column:1;margin:2px 0 4px;font-size:18px;line-height:1.4;word-break:keep-all;overflow-wrap:anywhere}
 main .store-finder--compact .store-card>span{grid-column:1;font-size:13px;line-height:1.5;word-break:auto-phrase}
 main .store-finder--compact .store-card__actions{grid-column:2;grid-row:1/span 3;display:flex;flex-direction:column;gap:8px;margin:0;width:108px}
 main .store-finder--compact .store-card__actions a{flex:none;width:100%;min-width:0;min-height:44px;padding:8px 4px;font-size:12px;letter-spacing:.02em}
}
@media(width<=340px){main .store-finder--compact .store-card>h3{font-size:16px}}

/* Before/after examples are evidence: show them at a readable size without letterboxing. */
main .evidence__image img{width:min(100%,440px);height:auto;aspect-ratio:1/1;object-fit:cover;margin-inline:auto;display:block;background:var(--warm)}
main .gallery-grid{max-width:960px;margin-inline:auto}
main .gallery-grid img{height:auto;aspect-ratio:1/1;object-fit:cover;background:var(--warm)}

/* The main action of a lead section is a button, not a text link. */
main .lead-section>.inline-button{gap:14px;margin-top:22px;padding:14px 28px;min-height:52px;border:0;border-radius:999px;background:var(--deep);color:#fff;font-size:14px;letter-spacing:.08em}
main .lead-section>.inline-button i{color:#d4c7b0}
main .lead-section>.inline-button:hover{background:var(--ink)}
main .lead-section>.inline-button+.source-note{margin-top:14px}

/* Reservation and menu guide share one dock: right edge on wide screens, bottom bar on phones. */
.diagnosis-float{display:flex;align-items:center;justify-content:center;font-family:var(--sans);line-height:1.2;color:var(--ink);background:var(--warm);cursor:pointer}
.diagnosis-float .diagnosis-float__label{color:var(--ink);font-size:12px;font-weight:700;letter-spacing:.12em}
.diagnosis-float .diagnosis-float__num{color:inherit;font-size:inherit}
.diagnosis-float:hover{background:var(--taupe)}
.fixed-cta:focus-visible{outline:3px solid #fff;outline-offset:-6px}
.diagnosis-float:focus-visible{outline:3px solid var(--ink);outline-offset:-6px;box-shadow:none}
@media(width>=901px){
 .fixed-cta{top:max(100px,calc(50% - 174px));transform:none;width:56px;height:190px;border-radius:14px 0 0 14px}
 .diagnosis-float{position:fixed;inset:max(298px,calc(50% + 24px)) 0 auto auto;width:56px;height:150px;min-height:0;padding:0;border:1px solid var(--line);border-right:0;border-radius:14px 0 0 14px;box-shadow:0 8px 24px #28211b1f;z-index:40}
 .diagnosis-float .diagnosis-float__label{writing-mode:vertical-rl}
 .diagnosis-float .diagnosis-float__num{text-combine-upright:all}
}
@media(width<=900px){
 body:has(.diagnosis-float:not([hidden])) .fixed-cta{left:40%;width:auto}
 .diagnosis-float{position:fixed;inset:auto auto 0 0;width:40%;height:calc(66px + env(safe-area-inset-bottom));min-height:0;padding:0 8px env(safe-area-inset-bottom);border:0;border-top:1px solid var(--line);border-radius:0;box-shadow:0 -6px 20px #2e2b2814;z-index:40}
 .diagnosis-float .diagnosis-float__label{white-space:nowrap;font-size:13px}
}
@media(width<=360px){.diagnosis-float .diagnosis-float__label{font-size:12px;letter-spacing:.02em}}

/* Footer group labels are Japanese now; the original letter-spaced 10px setting was for English capitals. */
.footer__links strong{font-size:12px;letter-spacing:.1em}

/* ===== 1.4.0: redesign decisions recorded in DESIGN.md before implementation ===== */

/* Hero: two clear next steps under the promise. */
.home-hero__actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
.hero-button{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:52px;padding:14px 30px;border:1px solid #fffefb;border-radius:999px;color:#fff;font-size:14px;letter-spacing:.08em;line-height:1.4;white-space:nowrap}
.hero-button i{font-style:normal}
.hero-button:hover{background:#fffefb26}
.hero-button--primary{background:#fffefb;color:var(--ink)}
.hero-button--primary i{color:var(--gold)}
.hero-button--primary:hover{background:var(--warm)}
.hero-button:focus-visible{outline:3px solid #fff;outline-offset:3px;box-shadow:0 0 0 6px #231d18}
@media(width<=560px){
 .home-hero__actions{flex-wrap:nowrap;gap:8px;margin-top:24px}
 .hero-button{flex:1 1 0;min-width:0;padding:12px 8px;gap:8px;font-size:13px;letter-spacing:.04em}
}
@media(width<=400px){.home-hero__actions .hero-button i{display:none}}
/* The scroll cue lost its label with the English text; a lone line has no meaning. */
main .home-hero__scroll{display:none}

/* Hero photo: darken only where the text sits so the bright salon shows (text area stays at >=0.68 for 5.7:1 on white). */
@media(width>=901px){
 main .home-hero__overlay,main .page-hero__shade,main .store-hero__shade{background:linear-gradient(90deg,rgba(35,29,24,.74) 0,rgba(35,29,24,.68) calc(50% + 120px),rgba(35,29,24,.14) calc(50% + 460px),rgba(35,29,24,.08) 100%)}
}

/* Section starts: a short gold rule replaces the removed English labels. */
main .section-title>h2::before,main .quick-search__head h2::before,main .lead-section>h2::before,main .closing__content>h2::before{content:"";display:block;width:28px;height:1px;margin-bottom:18px;background:var(--gold)}

/* Purposeless offset frame behind the "everyday" photo. */
main .scene-image:before{display:none}

/* Menu cards: no forced empty line under one-line titles; the link still sits at the bottom. */
main .menu-grid>article.menu-card .menu-card__body>h3{min-height:0}

/* Customer voice band: the content is a pointer to the official page, so it is not given the strongest colour. */
main .voices{background:var(--warm);color:var(--ink)}
main .voices .section-title h2{color:var(--ink)}
main .voices .section-title>p{color:var(--muted)}
main .voice-grid article{background:#fff;border:1px solid var(--line);border-radius:18px}
main .voice-grid h3{color:var(--ink)}
main .voice-grid p{color:var(--muted)}
main .voices .center-link a{color:var(--ink);border-color:var(--ink)}

/* ===== Motion (SITE-14): short, once, never hiding content without JS, off with reduced motion ===== */
@keyframes eyerich-rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes eyerich-settle{from{transform:scale(1.045)}to{transform:none}}
@keyframes eyerich-fade{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:no-preference){
 .home-hero>img{animation:eyerich-settle 1.6s cubic-bezier(.2,.7,.2,1) both}
 .home-hero__content>*,.page-hero__content>*,.store-hero__content>*{animation:eyerich-rise .7s cubic-bezier(.2,.7,.2,1) both}
 :is(.home-hero__content,.page-hero__content,.store-hero__content)>:nth-child(2){animation-delay:.1s}
 :is(.home-hero__content,.page-hero__content,.store-hero__content)>:nth-child(3){animation-delay:.2s}
 :is(.home-hero__content,.page-hero__content,.store-hero__content)>:nth-child(4){animation-delay:.3s}

 .reveal{opacity:0;transform:translateY(14px);transition:opacity .6s ease-out var(--reveal-delay,0ms),transform .6s cubic-bezier(.2,.7,.2,1) var(--reveal-delay,0ms)}
 .reveal.is-shown{opacity:1;transform:none}
 .reveal:focus-within{opacity:1;transform:none;transition:none}

 main a i[aria-hidden],.fixed-cta i,.hero-button i,.diagnosis-entry__button i{display:inline-block;transition:transform .25s ease}
 main a:hover i[aria-hidden],.hero-button:hover i,.diagnosis-entry__button:hover i{transform:translateX(4px)}
 .hero-button,.diagnosis-entry__button,.diagnosis-primary,.diagnosis-secondary,.diagnosis-option,.diagnosis-float,.fixed-cta,.header-reserve,main .lead-section>.inline-button,.store-card__actions a,.reservation-panel>a,.closing a{transition:background-color .25s ease,color .25s ease,border-color .25s ease}
 main .menu-grid>article.menu-card,main .store-grid>article.store-card{transition:transform .3s ease,box-shadow .3s ease}
 main .menu-grid>article.menu-card:hover,main .store-grid>article.store-card:hover{transform:translateY(-3px);box-shadow:0 14px 34px #3f332a1a}
 main .menu-grid>article.menu-card>img{transition:transform .6s cubic-bezier(.2,.7,.2,1)}
 main .menu-grid>article.menu-card:hover>img{transform:scale(1.04)}

 :root{interpolate-size:allow-keywords}
 .faq-list details::details-content{block-size:0;overflow:hidden;transition:block-size .35s ease,content-visibility .35s allow-discrete}
 .faq-list details[open]::details-content{block-size:auto}

 .hdr details[open]>:not(summary){animation:eyerich-fade .25s ease-out}
}
@media(prefers-reduced-motion:no-preference) and (width>=901px){
 .fixed-cta:hover i{transform:translateY(3px)}
}

/* ===== 1.5.0: subpages (decisions in DESIGN.md) ===== */

/* Store menu cards: "check the booking page" is guidance, not a price. */
main .store-price-grid strong.is-unpriced{font:500 14px/1.6 var(--sans);color:var(--muted);letter-spacing:.04em}

/* Contact: three channels compared in the same shape, action at the bottom of each card. */
main .contact-grid{align-items:stretch}
main .contact-grid article{display:flex;flex-direction:column}
main .contact-grid article>p{margin-bottom:20px}
main .contact-grid article>.inline-button{margin-top:auto;align-self:flex-start;gap:12px;min-height:44px;padding:10px 22px;border:1px solid var(--ink);border-radius:999px;font-size:13px}
main .contact-grid article>.inline-button:hover{background:var(--warm)}

/* Short pages: no long empty band between the closing panel and the footer. */
@media(width>=901px){main .page-body{padding-bottom:72px}}
