/* First finishing pass: image-led scenes and an uninterrupted path to consultation. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: center;
  gap: 36px;
  min-height: max(800px, 100svh);
  height: auto;
  max-height: none;
  padding: 144px max(4.1%, calc((100% - 1320px) / 2)) 128px;
}
.hero .hero-content { width: 100%; margin: 0; padding: 0; }
.hero h1 { font-size: clamp(50px, 5.15vw, 72px); line-height: 1.52; letter-spacing: .045em; margin: 24px 0; }
.hero-line > span { white-space: nowrap; }
.hero .hero-scene-picker { position: relative; inset: auto; align-self: end; width: 100%; margin-bottom: 12px; }
.scene-button small { font-size: 9px; letter-spacing: .12em; }
.hero .hero-actions { flex-wrap: wrap; gap: 22px 30px; }
.hero-scene-caption { font-size: 12px; }
.hero.scene-changing .hero-line > span { animation: scene-title-in .75s var(--ease) both; }
.hero.scene-changing .hero-line:nth-child(2) > span { animation-delay: .08s; }
.hero.scene-changing .hero-line:nth-child(3) > span { animation-delay: .16s; }
.hero-image .hero-scene { will-change: opacity; }
.service-image:after { background: linear-gradient(transparent 50%, #123a2dc9); }
.service-image > .service-cue {
  top: auto; bottom: 25px; left: 22px; right: 70px;
  font: 500 16px/1.8 var(--serif); letter-spacing: .035em;
  text-shadow: 0 2px 12px #142d24;
}
.check-insight { font-size: 11px; line-height: 1.8; color: #f1e8ba; margin-top: 6px; padding-top: 8px; border-top: 1px solid #e0e8c44d; animation: answer-in .3s var(--ease); }
.check-insight[hidden] { display: none; }
.button.is-tapping { animation: button-return .44s var(--ease); }
.service-card .service-image { box-shadow: 0 14px 35px #203f2810; }
.voice h3 { text-wrap: balance; }
.voice-no:before { content: ''; display: inline-block; height: 6px; width: 18px; border: 1px solid #8f9e77; border-radius: 0 100% 0 100%; margin-right: 9px; transform: rotate(-20deg); }
.care-nav { display: flex; justify-content: center; gap: 0; padding: 24px 0; border-bottom: 1px solid var(--line); }
.care-nav a { position: relative; display: flex; align-items: center; gap: 26px; padding: 12px 35px; font-size: 13px; }
.care-nav a + a { border-left: 1px solid #c7d2bb; }
.care-nav a:after { content: '↓'; color: #81946b; }
.visit-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 7%; align-items: stretch; }
.visit-picture { position: relative; overflow: hidden; min-height: 610px; border-radius: 2px 80px 2px 2px; background: #9baa91; }
.visit-picture > img { position: absolute; inset: 0; height: 100%; width: 100%; object-position: 55% center; }
.visit-photo-shade { position: absolute; inset: 0; background: linear-gradient(180deg,#163a2f4d,transparent 45%,#133a2be0); }
.visit-large-number { position: absolute; left: 34px; top: 12px; font: 400 110px/1.4 Georgia, serif; color: #ffffe25e; z-index: 1; }
.visit-photo-caption { position: absolute; left: 32px; right: 30px; bottom: 72px; font: 500 24px/1.8 var(--serif); letter-spacing: .06em; color: #fffdf1; z-index: 1; }
.visit-picture > small { position: absolute; left: 32px; bottom: 32px; color: #e4e7d3; font-size: 10px; z-index: 1; }
.visit-orbit { position: absolute; width: 480px; height: 480px; right: -200px; top: 35px; fill: none; stroke: #e3e7c957; stroke-width: 1; pointer-events: none; }
.visit-orbit path { stroke: #efead185; }
.visit-picture.changing > img { animation: visit-photo-in .8s var(--ease); }
.visit-guide-body { padding: 14px 0; display: flex; flex-direction: column; min-width: 0; }
.visit-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.visit-tabs button { display: flex; flex-direction: column; gap: 7px; align-items: flex-start; padding: 16px 16px 17px; border: 1px solid #c7d1bc; border-radius: 2px 20px 2px 20px; background: linear-gradient(130deg,#fffdf4,#e7eadc); box-shadow: inset 0 1px 0 #fff, 0 4px 0 #c1ceb3; font-size: 12px; position: relative; overflow: hidden; transition: background .3s, color .3s; }
.visit-tabs button > span { font: 400 22px/1.2 Georgia, serif; color: #7d906b; }
.visit-tabs button[aria-selected=true] { color: #fbfaec; background: linear-gradient(130deg,#45654b,#234a39); border-color: #345f43; box-shadow: inset 0 1px 0 #ffffff33, 0 4px 0 #173626; }
.visit-tabs button[aria-selected=true] > span { color: #dddcb3; }
.visit-tabs button:active { transform: translateY(3px); box-shadow: inset 0 2px 5px #1736263d,0 1px 0 #173626; }
.visit-track { height: 2px; background: #d5ddc9; margin: 28px 0 34px; }
.visit-track > span { width: 33.333%; height: 100%; display: block; background: linear-gradient(90deg,#3c6449,#b2af6b); transition: width .55s var(--ease); }
.visit-panel { flex: 1; animation: scene-caption-in .4s var(--ease); }
.visit-panel[hidden] { display: none; }
.visit-panel h3 { font-size: 31px; margin: 18px 0 22px; }
.visit-panel > p:not(.eyebrow) { font-size: 13px; line-height: 2.1; }
.visit-note { margin: 24px 0; padding: 18px 22px; border-left: 2px solid #a4af82; background: linear-gradient(90deg,#e2e8d8a3,#eff1e859); }
.visit-note > span { font-size: 10px; color: #718465; }
.visit-note p { margin-top: 7px; font-size: 12px; }
.visit-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 25px; margin-top: 9px; }
.visit-actions .button { font-size: 12px; gap: 16px; }
.visit-next { font-size: 11px; gap: 12px; }
.visit-guide .heading-row > h2 { font-size: clamp(28px,3vw,42px); }
.faq-search { margin-top: 24px; }
.faq-search label { display: block; font-size: 12px; margin-bottom: 9px; }
.faq-search > div { display: flex; align-items: center; border: 1px solid #b8c7ad; border-radius: 2px 17px 2px 17px; background: linear-gradient(110deg,#fffdf3,#edf0e4); box-shadow: inset 0 2px 4px #3f5a2610; }
.faq-search input { border: 0; outline: 0; padding: 14px 12px; min-width: 0; width: 100%; background: transparent; color: var(--forest); font-size: 16px; letter-spacing: 0; }
.faq-search > div:focus-within { outline: 2px solid #9f9f62; outline-offset: 3px; }
.faq-search input::placeholder { font-size: 11px; color: #78836f; }
.faq-search-clear { flex: none; width: 40px; height: 40px; margin-right: 4px; border: 0; background: transparent; box-shadow: none; }
.faq-search-clear[hidden] { display: none; }
.faq-search-clear .icon { width: 16px; height: 16px; }
.faq-empty { padding: 45px 30px; background: radial-gradient(ellipse at 0 0,#dce4cbad,transparent),#eeeee2; border: 1px solid #c5d1b5; border-radius: 2px 30px 2px 30px; }
.faq-empty[hidden] { display: none; }
.faq-empty .serif { font-size: 26px; }
.faq-empty p + p { font-size: 12px; }
.faq-empty .text-link { font-size: 12px; margin-top: 20px; }
#consultation-summary { margin-top: 22px; }
#consultation-summary label { font-size: 12px; }
.memo-help, .memo-privacy { font-size: 11px; line-height: 1.8; color: #66745d; margin-top: 7px; }
#summary-text { display: block; width: 100%; font: 400 15px/1.85 var(--sans); color: var(--ink); border: 1px solid #bac7ae; border-radius: 2px 13px 2px 13px; padding: 13px; margin-top: 12px; resize: vertical; max-height: 280px; background: linear-gradient(120deg,#fffef8,#edf0e5); box-shadow: inset 0 2px 5px #36532c0a; }
#summary-text:focus-visible { outline: 2px solid #9f9f62; outline-offset: 3px; }
.copy-button { font-size: 12px; line-height: 1.8; text-align: left; }
.dialog-buttons { margin-top: 22px; }
.dialog-inner > h2 { margin-bottom: 12px; }
.toast { max-width: min(90vw,580px); text-align: center; }
.noscript-note a { text-decoration: underline; }
@keyframes scene-title-in { from { transform: translateY(100%) rotate(2deg); opacity: .05; } to { transform: none; opacity: 1; } }
@keyframes visit-photo-in { from { opacity: .65; transform: scale(1.065); } to { opacity: 1; transform: none; } }
@keyframes button-return { 0% { transform: translateY(4px) scale(.98); box-shadow: inset 0 2px 8px #15362c55,0 1px 0 #15362c; } 65% { transform: translateY(-2px) scale(1.01); } 100% { transform: none; } }

@media (max-width:1150px) {
  .hero { grid-template-columns: 1fr; min-height: 100svh; gap: 30px; padding: 134px 40px 30px; }
  .hero .hero-content { max-width: 760px; }
  .hero h1 { font-size: clamp(46px,6vw,64px); }
  .hero .hero-scene-picker { margin: 0; max-width: 900px; }
  .hero-scene-picker > div { flex-direction: row; }
  .hero-bottom { position: relative; inset: auto; width: 100%; margin-top: 6px; }
  .hero .hero-actions { flex-wrap: nowrap; }
  .scene-button img { width: 56px; height: 50px; }
  .scene-button small { font-size: 8px; }
  .visit-layout { gap: 5%; }
  .visit-tabs button { font-size: 11px; padding: 13px 10px; }
  .visit-panel h3 { font-size: 27px; }
}
@media (max-width:900px) {
  .visit-picture { min-height: 540px; }
  .visit-layout { grid-template-columns: .8fr 1.2fr; }
  .visit-large-number { font-size: 80px; left: 22px; }
  .visit-photo-caption { font-size: 21px; left: 22px; right: 20px; bottom: 60px; }
  .visit-picture > small { left: 22px; bottom: 22px; font-size: 9px; }
  .visit-actions .button { width: 100%; }
  .visit-actions { gap: 12px; }
  .care-nav a { padding: 10px 22px; gap: 18px; }
}
@media (max-width:600px) {
  .hero { padding: 108px 22px 24px; gap: 28px; grid-template-rows: 1fr auto auto; align-items: end; }
  .hero h1 { font-size: clamp(30px,9.2vw,46px); line-height: 1.5; margin: 20px 0 18px; letter-spacing: .025em; }
  .hero-eyebrow { font-size: 10px; }
  .hero-description { font-size: 12px; line-height: 1.95; letter-spacing: .02em; }
  .hero .hero-scene-caption { font-size: 10px; margin-top: 14px!important; max-width: 100%; gap: 9px; }
  .hero .hero-actions { margin-top: 22px; gap: 12px; }
  .hero .hero-actions .button { font-size: 13px; padding: 16px 22px; min-height: 54px; }
  .hero-check { font-size: 11px; padding: 8px 0; }
  .hero-scene-picker > p { font-size: 10px; margin-bottom: 11px; }
  .scene-button { padding: 6px 6px 11px; gap: 8px; overflow: hidden; }
  .scene-button img { display: block; width: 100%; height: 46px; object-position: center; border-radius: 1px 9px 1px 1px; }
  .scene-button > span { gap: 5px; padding: 0 2px; }
  .scene-button small { font-size: 8px; letter-spacing: .08em; }
  .scene-button b { font-size: clamp(10px,3vw,14px); }
  .hero-bottom { margin-top: 0; padding-top: 16px; }
  .hero-bottom > span:first-child { font-size: 7px; letter-spacing: .02em; }
  .scroll-link { font-size: 8px; gap: 8px; }
  .hero-image .hero-scene[data-scene="0"] { object-position: 62% center; }
  .hero-image .hero-scene[data-scene="1"] { object-position: 65% center; }
  .hero-shade { background: linear-gradient(90deg,#0f3026c9,#0f302636),linear-gradient(0deg,#102d26ed,transparent 65%,#102e2644); }
  .hero .hero-contour { top: 14%; right: -210px; }
  .section { padding-top: 60px; padding-bottom: 60px; }
  .section-kicker { margin-bottom: 28px; }
  .approach-copy p, .service-card > p:last-child, .voice p, .message-copy > p:not(.eyebrow), .treatment-grid p:not(.eyebrow), .faq-answer { font-size: 13px; line-height: 2; }
  .approach-copy .lead { font-size: 18px; }
  .check-intro { display: grid; grid-template-columns: minmax(0,1fr) 124px; gap: 0 8px; min-height: 0; padding-bottom: 10px; }
  .check-intro h2 { width: 100%; grid-column: 1 / -1; font-size: clamp(28px,7.8vw,36px); }
  .check-intro > p { grid-column: 1; width: 100%; max-width: none; font-size: 12px; margin-top: 20px; line-height: 1.85; }
  .growth-scene { position: relative; right: auto; top: auto; grid-column: 2; grid-row: 2 / 4; align-self: center; width: 124px; height: 142px; margin: 10px 0 0; }
  .growth-caption { bottom: -3px; font-size: 8px; }
  .check-progress { grid-column: 1; width: 100%; max-width: none; margin: 20px 0 0; gap: 9px; }
  .check-grid { gap: 24px; }
  .check-card { min-height: 110px; }
  .check-copy strong { font-size: 13px; }
  .check-detail, .check-insight { font-size: 11px; }
  .check-category { font-size: 10px; }
  .check-response p + p { font-size: 12px; }
  .check-panel > .small-note { font-size: 10px; }
  .care-path > p, .care-path a { font-size: 11px; }
  .care-path a { padding: 8px 11px; }
  .check-completion p { font-size: 11px; }
  .check-completion h3 { font-size: 21px; }
  .check-result-actions .button { font-size: 13px; }
  .reset-check { font-size: 11px; }
  .service-image > .service-cue { font-size: 17px; bottom: 22px; }
  .everyday { min-height: 0; }
  .everyday-inner { padding-top: 62px; padding-bottom: 48px; }
  .everyday-inner > p:not(.eyebrow):not(.image-note) { font-size: 13px; line-height: 2; }
  .everyday-words { gap: 8px; }
  .everyday-words button { min-height: 44px; padding: 9px 14px; font-size: 11px; }
  .day-caption { min-height: 0; }
  .day-caption > p { font-size: 17px; }
  .day-caption > a { font-size: 12px; }
  .image-note, .voice-section > .small-note { font-size: 10px; }
  .care-nav { width: calc(100% - 32px); padding: 17px 0; }
  .care-nav a { flex: 1; justify-content: center; padding: 9px 8px; gap: 10px; font-size: 11px; white-space: nowrap; }
  .visit-guide .heading-row > h2 { font-size: clamp(25px,6.7vw,32px); }
  .visit-layout { grid-template-columns: 1fr; gap: 24px; }
  .visit-picture { min-height: 0; aspect-ratio: 1.45; border-radius: 2px 48px 2px 2px; }
  .visit-large-number { font-size: 62px; top: 3px; left: 21px; }
  .visit-photo-caption { font-size: 18px; left: 21px; right: 20px; bottom: 38px; }
  .visit-picture > small { font-size: 8px; left: 21px; bottom: 16px; }
  .visit-picture > img { object-position: center 42%; }
  .visit-orbit { top: -30px; right: -160px; width: 330px; height: 330px; }
  .visit-guide-body { padding: 0; }
  .visit-tabs { gap: 9px; }
  .visit-tabs button { padding: 12px 13px; font-size: 12px; }
  .visit-tabs button > span { font-size: 19px; }
  .visit-track { margin: 21px 0 25px; }
  .visit-panel h3 { font-size: 28px; margin: 15px 0 18px; }
  .visit-panel > p:not(.eyebrow) { font-size: 13px; }
  .visit-note { margin: 21px 0; padding: 17px 19px; }
  .visit-actions { gap: 14px; }
  .visit-actions .button { width: auto; font-size: 13px; min-height: 55px; }
  .visit-next { font-size: 12px; }
  .faq-search { margin-top: 16px; }
  .faq-search input { padding: 14px; }
  .faq-search input::placeholder { font-size: 12px; }
  .faq-search label { font-size: 12px; }
  .filter-button { min-height: 44px; font-size: 11px; }
  .faq-count { font-size: 11px; }
  .faq-entries .faq-item summary { font-size: 13px; }
  .faq-empty { padding: 32px 24px; }
  #booking-dialog { max-height: calc(100svh - 32px); }
  .dialog-inner { padding: 36px 23px 25px; }
  .dialog-inner h2 { font-size: 28px; margin: 14px 0 10px; }
  .dialog-inner > p:not(.eyebrow) { font-size: 12px; }
  #summary-text { font-size: 16px; line-height: 1.7; height: 142px; min-height: 110px; }
  #consultation-summary { margin-top: 18px; }
  #consultation-summary label { font-size: 12px; }
  .memo-help, .memo-privacy { font-size: 11px; }
  .copy-button { font-size: 12px; padding-top: 11px; padding-bottom: 11px; }
  .dialog-buttons .button { min-height: 50px; padding: 14px 19px; font-size: 13px; }
  .dialog-inner .small-note { font-size: 10px; }
}
@media (max-width:360px) {
  .hero { padding-left: 20px; padding-right: 20px; padding-top: 104px; }
  .hero h1 { font-size: 8.7vw; }
  .hero-description { font-size: 11px; }
  .hero .hero-actions .button { font-size: 12px; padding: 15px 19px; }
  .hero-scene-caption { font-size: 9px; }
  .hero-bottom > span:first-child { font-size: 6px; }
  .check-intro { grid-template-columns: minmax(0,1fr) 100px; }
  .growth-scene { width: 100px; }
  .check-intro > p { font-size: 11px; }
  .care-nav a { gap: 5px; font-size: 10px; padding-left: 5px; padding-right: 5px; }
  .visit-tabs button { padding: 12px 10px; }
  .visit-photo-caption { font-size: 16px; }
}
@media (prefers-reduced-motion:reduce) {
  .hero.scene-changing .hero-line > span, .visit-picture.changing > img, .button.is-tapping { animation: none; }
  .visit-track > span { transition: none; }
}
