/* Scoped photo hero. Existing interior image, header and chapter navigation are retained. */
.hero.hibiki-house-hero { min-height: 800px; height: 100svh; max-height: none; display: flex; flex-direction: column; justify-content: space-between; gap: 64px; padding: max(150px,17vh) clamp(24px,4.3vw,82px) 42px; isolation: isolate; }
.hibiki-house-hero .hero-photo { inset: 0; z-index: -2; }
.hibiki-house-hero .hero-photo .photo { height: 100%; margin: 0; }
.hibiki-house-hero .hero-photo img { object-position: 61% center; }
.hibiki-house-hero .hero-photo::after { display: block; content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(0,0,0,.53),rgba(0,0,0,.19) 52%,rgba(0,0,0,.04)); }
.hibiki-house-hero .hero-photo figcaption,.hibiki-house-hero .hero-bottom { display: none; }
.hibiki-house-hero .hero-copy.hibiki-service-copy { position: relative; inset: auto; padding: 0; margin: 0; width: auto; color: #fff; transform: none !important; pointer-events: auto; }
.hibiki-house-hero .hero-copy.hibiki-service-copy h1 { font-family: var(--serif,serif); font-weight: 400; font-size: clamp(38px,4.5vw,76px); line-height: 1.38; letter-spacing: .025em; margin: 0 0 25px; }
.hibiki-service-copy h1>span { display: block; }
.hibiki-service-copy p { font-size: clamp(14px,1.25vw,20px); line-height: 1.9; margin: 0; max-width: 650px; }
.hibiki-service-picker { position: relative; z-index: 3; flex: 0 0 auto; background: #faf9f6; color: #222; padding: 17px 26px 15px; border-radius: 2px; font-family: var(--sans,sans-serif); box-shadow: 0 2px 12px #00000009; }
.hibiki-service-picker h2 { margin: 0; padding: 0 4px 8px; border-bottom: 1px solid #d6d8d8; font-family: inherit; font-size: 14px; line-height: 1.5; font-weight: 400; letter-spacing: 0; }
.hibiki-service-tabs { display: grid; grid-template-columns: 1.05fr 1.2fr 1.05fr 1.25fr 1.25fr 1.05fr .75fr; padding-top: 12px; }
.hibiki-service-tabs>button { position: relative; appearance: none; background: transparent; border: 0; border-radius: 0; color: #202323; font: inherit; cursor: pointer; min-width: 0; min-height: 88px; padding: 7px 10px 13px; text-align: center; border-bottom: 2px solid transparent; }
.hibiki-service-tabs>button+button::before { content: ''; position: absolute; left: 0; top: 0; bottom: 14px; width: 1px; background: #d6d8d8; }
.hibiki-service-name { display: block; font-size: clamp(13px,1.13vw,19px); font-weight: 600; line-height: 1.5; }
.hibiki-service-sub { display: block; min-height: 1.6em; font-size: clamp(11px,.85vw,14px); line-height: 1.6; margin-top: 2px; }
.hibiki-service-chevron { display: block; width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); margin: 5px auto 0; }
.hibiki-service-tabs>button[aria-selected='true'] { color: #d0161b; border-bottom-color: #d0161b; }
.hibiki-service-tabs>button:hover { background: #d0161b06; }
.hibiki-service-picker :focus-visible { outline: 2px solid #d0161b; outline-offset: 3px; }
.hibiki-service-detail { display: flex; align-items: center; gap: 28px; border-top: 1px solid #d6d8d8; padding: 14px 5px 0; min-height: 64px; }
.hibiki-service-detail[hidden] { display: none; }
.hibiki-service-detail p { margin: 0; font-size: 16px; line-height: 1.6; }
.hibiki-service-works { flex-shrink: 0; font-size: 15px; text-decoration: underline; text-underline-offset: 6px; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.hibiki-service-consult { margin-left: auto; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 48px; padding: 12px 24px; background: #d0161b; color: #fff; font-size: 16px; line-height: 1.5; border-radius: 2px; text-decoration: none; transition: background-color .2s; }
.hibiki-service-consult:hover { background: #b31016; }
@media(max-width:1100px) { .hero.hibiki-house-hero { height: auto; min-height: 100svh; padding-top: 150px; gap: 70px; } .hibiki-service-picker { padding: 16px; } .hibiki-service-tabs { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px 0; } .hibiki-service-tabs>button { min-height: 84px; } .hibiki-service-tabs>button:nth-child(5)::before { display: none; } .hibiki-service-name { font-size: 15px; } .hibiki-service-sub { font-size: 12px; } .hibiki-service-detail { flex-wrap: wrap; gap: 10px 24px; } .hibiki-service-detail p { flex: 1 1 50%; } }
@media(max-width:600px) { .hero.hibiki-house-hero { height: auto; min-height: 100svh; padding: 125px 18px 95px; gap: 42px; } .hibiki-house-hero .hero-copy.hibiki-service-copy h1 { font-size: clamp(30px,7.9vw,45px); line-height: 1.45; margin-bottom: 20px; letter-spacing: 0; } .hibiki-service-copy p { font-size: 13px; line-height: 1.9; } .hibiki-service-break { display: none; } .hibiki-service-picker { padding: 14px 12px; } .hibiki-service-picker h2 { font-size: 12px; } .hibiki-service-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); } .hibiki-service-tabs>button { min-height: 82px; padding-inline: 7px; } .hibiki-service-tabs>button:nth-child(odd)::before { display: none; } .hibiki-service-tabs>button:last-child { grid-column: 1 / -1; min-height: 52px; } .hibiki-service-tabs>button:last-child .hibiki-service-sub { display: none; } .hibiki-service-name { font-size: 13px; } .hibiki-service-sub { font-size: 11px; } .hibiki-service-detail { padding-top: 12px; gap: 10px; } .hibiki-service-detail p { flex-basis: 100%; font-size: 13px; } .hibiki-service-works { font-size: 13px; } .hibiki-service-consult { width: 100%; margin: 0; font-size: 14px; padding: 11px; } }
@media(prefers-reduced-motion:reduce) { .hibiki-service-consult { transition: none; } }
