/* Original V4 stylesheet is the base. Only approved IA additions and mobile spacing. */
html, body, * { scrollbar-width: none; -ms-overflow-style: none; }
*::-webkit-scrollbar { display: none; width: 0; height: 0; }
.static-review main > section { scroll-margin-top: 5.5rem; }
.static-review[data-v4-page="home"] { --section-space-y: clamp(2.5rem, 4vw, 3.5rem); }
/* Balance the visible gaps around the proof copy without changing the combined section height. */
.static-review[data-v4-page="home"] .proof-strip__inner { padding-block: calc(var(--section-space-y) - var(--space-3)) calc(var(--section-space-y) + var(--space-3)); }
.static-review[data-v4-page="home"] #services { padding-top: 0; }
.hero--concept-j::before { display: none; }
.hero__landscape { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__landscape svg { display: block; width: 100%; height: 100%; }
.hero__landscape .signal { fill: var(--color-signal); }
.hero__landscape .hero__landscape-mobile { display: none; }
.hero__signature { --signature-width: clamp(22rem, 44vw, 42rem); position: absolute; right: max(2rem, calc((100% - 78rem) / 2)); bottom: var(--space-6); width: var(--signature-width); height: calc(var(--signature-width) * .1195050152); pointer-events: none; }
.hero__signature-image { width: 100%; height: 100%; }
/* Keep the title position when moving the former handwriting out of its intro row. */
@media (min-width:48rem) {
  .hero--concept-j .hero__intro-row { min-height: max(5rem, calc(clamp(9rem, 18vw, 16rem) * .5127272727)); }
}
/* Shrink the visible control without shrinking its original touch area or moving the header. */
.static-review .menu-trigger { position: relative; border-color: transparent; }
.static-review .menu-trigger::before { content: ""; position: absolute; inset: 0; margin: auto; width: 2.375rem; height: var(--space-6); border: 1px solid var(--color-signal); border-radius: inherit; pointer-events: none; } /* taste-skill-ignore: retains the approved V4 menu frame at a smaller visible size. */
.static-review .menu-lines { transform: scale(.7272727273); }
.static-review .founder__grid { row-gap: var(--space-4); }
/* Reserve the longer original-font mark outside the unchanged photo stage. */
.static-review .founder__visual { --company-slogan-width: min(67.5%, 28rem); margin-bottom: calc(var(--company-slogan-width) * .220583475 - 1.75rem); }
.static-review .founder__mark { width: var(--company-slogan-width); max-width: none; left: 45%; right: auto; top: calc(100% - 1.75rem); bottom: auto; transform: translateX(-50%); }
.static-review .founder__mark img { display: block; width: 100%; height: auto; }
.feedback__more { margin-top: var(--space-5); text-align: end; }
.feedback__all:disabled { opacity: 1; color: var(--color-ink); background: transparent; border-color: var(--color-ink); cursor: default; }
.static-review .baseline-route { color: inherit; font: inherit; text-decoration: none; }
.static-review .services__item { height: auto; }
.static-review .service-audience { margin: 0; }
.static-review .services__copy p { overflow-wrap: break-word; }
.text-link { display: inline-flex; align-items: center; min-height: 3rem; font-size: var(--type-action); font-weight: 700; text-decoration: none; }
.feedback { padding-block: var(--section-space-y); }
.feedback__header .unified-title { margin-bottom: 0; }
.review-grid { display: grid; align-items: start; gap: var(--space-4); margin-top: var(--space-6); }
.review-card { min-width: 0; padding-block: var(--space-4); }
.feedback .review-card { padding: 0; border-radius: var(--frame-radius); background: var(--color-quiet); cursor: pointer; }
.feedback .review-card > :is(summary,.review-summary) { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-5); cursor: pointer; list-style: none; }
.feedback .review-card[open] > summary { padding-block: var(--space-2); }
.feedback .review-card > summary:focus-visible { outline: 3px solid var(--color-ink); outline-offset: -3px; border-radius: var(--frame-radius); }
.feedback .review-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; min-height: 6.6em; overflow: hidden; white-space: pre-line; margin: 0; font-size: var(--type-lead); text-wrap: pretty; }
.feedback .review-card[open] .review-excerpt { display: none; }
.feedback .review-card:not([open]) .when-open,.feedback .review-card[open] .when-closed { display: none; }
.feedback .review-full { padding: 0 var(--space-5) var(--space-5); margin-top: 0; max-height: none; overflow: visible; font-size: var(--type-lead); line-height: 1.65; }
summary::-webkit-details-marker { display: none; }
.review-excerpt { display: block; font-size: var(--type-body); line-height: 1.65; }
.review-read { display: flex; align-items: center; min-height: 3rem; margin-top: var(--space-2); color: inherit; text-decoration: none; font-size: var(--type-action); font-weight: 700; }
.review-full { margin-top: var(--space-3); white-space: pre-line; font-size: var(--type-body); line-height: 1.75; }
.review-full cite { display: block; margin-top: var(--space-3); font-style: normal; font-weight: 700; }
details[open] > summary .service-toggle__icon::after { display: none; }
.feedback-page .detail-intro > .container,.feedback-page .detail-body { max-width: var(--reading-width); }
.feedback-page .review-card { scroll-margin-top: 5.5rem; }
.feedback-page .review-full { margin-top: 0; }
.faq { padding-block: var(--section-space-y); }
.faq__layout { display: grid; gap: var(--space-5); }
.faq__header .unified-title { margin-bottom: 0; }
.faq__list { min-width: 0; border-top: 1px solid var(--color-ink); } /* taste-skill-ignore: functional disclosure rows reuse the V4 line family. */
.faq-item { border-bottom: 1px solid var(--color-ink); } /* taste-skill-ignore: functional disclosure rows reuse the V4 line family. */
.faq-item > summary { display: flex; justify-content: space-between; align-items: start; gap: var(--space-4); min-height: 3rem; padding-block: var(--space-4); list-style: none; cursor: pointer; font-size: var(--type-subheading); font-weight: 700; line-height: 1.5; }
.faq-item > summary .service-toggle__icon { margin-top: .35rem; }
.faq-answer { max-width: var(--reading-width); padding: 0 var(--space-6) var(--space-5) 0; white-space: pre-line; font-size: var(--type-body); line-height: 1.75; }
.faq__more { margin-top: var(--space-4); }
.static-review .activity-choice { padding-block: var(--section-space-y); }
.static-review .ac-index .ac-row[hidden] { display: none; }
.static-review .ac-index .ac-row-category { font-size: var(--type-metadata); line-height: 1.5; }
.ac-registration { display: inline-block; padding: var(--space-1) var(--space-2); border-radius: var(--frame-radius); background: var(--color-signal); color: var(--color-ink); font-weight: 700; }
.static-review .ac-index .ac-preview-image { border-radius: var(--frame-radius); }
.static-review .ac-index .ac-row[data-preview-selected="true"] .ac-row-hint { text-decoration: none; font-weight: 700; }
.static-review .ac-index .ac-row-photo img { border-radius: var(--frame-radius); }
.activity-fallback { display: grid; gap: var(--space-5); }
.activity-fallback article img { height: auto; max-height: 24rem; object-fit: contain; margin-block: var(--space-4); }
.detail-intro { padding-block: var(--space-6); }
.detail-intro__grid { display: grid; gap: var(--space-5); align-items: center; }
.detail-intro h1 { max-width: 22ch; font-size: var(--type-page-title); line-height: 1.3; letter-spacing: -.035em; }
.detail-intro__description { max-width: 43rem; margin-top: var(--space-5); font-size: var(--type-lead); }
.detail-intro .hero__actions { margin-top: var(--space-5); }
.detail-intro__image { width: min(100%,23rem); height: auto; max-height: 24rem; object-fit: contain; border-radius: var(--photo-inset-radius); margin-inline: auto; }
.detail-intro__image--portrait { max-width: 20rem; object-fit: cover; aspect-ratio: 1; }
.detail-body { padding-block: 0 var(--space-6); }
.detail-section { padding-block: var(--space-5); }
.detail-section .unified-title { margin-bottom: var(--space-5); font-size: var(--type-section-title); line-height: 1.3; }
.detail-section h3 { margin-top: var(--space-5); font-size: var(--type-subheading); line-height: 1.5; }
.detail-section p + p { margin-top: var(--space-4); }
.detail-section ul,.detail-section ol { padding-left: 1.35rem; margin-block: var(--space-4); }
.detail-section li + li { margin-top: var(--space-3); }
.detail-copy { max-width: 45rem; }
.faq-page .detail-section { max-width: 52rem; }
.team-list,.qualification-grid { display: grid; gap: var(--space-5); }
.team-list { margin-top: var(--space-4); }
.team-list h3 { margin-top: 0; }
.team-list p { margin-top: var(--space-2); }
.static-review :is(a,button,summary):focus-visible { outline: 3px solid var(--color-ink); outline-offset: 4px; }
.static-review .site-header :is(a,button):focus-visible,.static-review .site-footer a:focus-visible { outline-color: var(--color-signal); }
@media (min-width:48rem) {
  .review-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .detail-intro { padding-block: 2.5rem; }
  .detail-intro__grid { grid-template-columns: minmax(0,1.3fr) minmax(0,.7fr); gap: var(--space-7); }
  .detail-section { padding-block: var(--space-6); }
  .detail-body { padding-bottom: var(--space-7); }
  .team-list,.qualification-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (min-width:64rem) {
  .static-review .founder__grid { margin-bottom: var(--space-7); }
  .static-review .founder__visual { margin-bottom: 0; }
  .static-review .services__item { min-height: 17rem; }
  .static-review .services__copy { align-content: start; }
  .faq__layout { grid-template-columns: minmax(0,.55fr) minmax(0,1fr); gap: var(--space-8); }
  .detail-page .detail-section { display: grid; grid-template-columns: minmax(0,.6fr) minmax(0,1fr); gap: 2.5rem; }
  .detail-page .detail-section > .unified-title { align-self: start; }
  .detail-page .detail-section > .detail-copy { min-width: 0; }
}
@media (max-width:47.99rem) {
  .static-review { --section-space-y: 2rem; }
  .static-review[data-v4-page="home"] { --section-space-y: 1.5rem; }
  .hero__landscape .hero__landscape-desktop { display: none; }
  .hero__landscape .hero__landscape-mobile { display: block; }
  .hero__signature { --signature-width: min(16rem, calc(100vw - 2rem)); right: var(--space-4); }
  .static-review .hero.hero--concept-j { min-height: 0; padding-bottom: calc(var(--space-6) + min(16rem, calc(100vw - 2rem)) * .1195050152 + var(--space-4)); }
  .static-review .founder__grid { row-gap: var(--space-2); }
  .static-review .founder__visual { --company-slogan-width: min(calc(100% - 12px), 20rem); margin-bottom: calc(var(--company-slogan-width) * .220583475 - 2.25rem); }
  .static-review .founder__mark { left: calc((100% - 12px) / 2); top: calc(100% - 2.25rem); }
  .static-review[data-v4-page="home"] .proof-strip__inner { padding-block: calc(var(--section-space-y) - var(--space-3) - 1px) calc(var(--section-space-y) + var(--space-3) + 1px); }
  /* Original mobile swap layout, with native scrolling and no scrollbar chrome. */
  .review-grid { display: flex; align-items: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; gap: var(--space-3); scrollbar-width: none; }
  .review-grid::-webkit-scrollbar { display: none; width: 0; height: 0; }
  .review-grid > .review-card { flex: 0 0 87%; scroll-snap-align: start; }
  .static-review .ac-index .ac-row[data-preview-selected="true"] .ac-row-description { display: none; }
  .static-review .ac-index .ac-row[data-preview-expanded="true"] .ac-row-description { display: block; }
}

/* Approved V6 desktop Memo proportions; phone composition is unchanged. */
@media(min-width:64rem){.unified-review .final-cta__panel{max-width:calc(var(--reading-width) + var(--space-8) * 2);}}

/* Equivalent native link and preview-button boxes; existing design values stay unchanged. */
.ac-index .ac-row { cursor:pointer; }
.ac-index a.ac-image-link,.ac-index a.ac-preview-image { display:block; }
.ac-index a.ac-row-title { color:inherit; text-decoration:none; }
.ac-index button.ac-row-hint { appearance:none; border:0; padding:0; width:100%; background:transparent; color:inherit; text-align:left; }
@media(max-width:47.99rem) { .ac-index .ac-image-link { align-self:start; } }

/* Full, already-visible feedback is static, with the existing card styling. */
.feedback .review-card--complete { cursor: default; }

/* Make the existing preview control explicit; native titles still open their pages. */
.ac-index .ac-row-meta { display: contents; }
@media (min-width:48rem) {
  .ac-index .ac-row-meta { display:flex; align-items:center; justify-content:space-between; gap:var(--space-3); }
  .ac-index button.ac-row-hint { display:block; width:auto; flex:none; margin-top:var(--space-2); font-size:var(--type-action); text-decoration:underline; text-underline-offset:.2em; }
  .ac-index .ac-preview-image:has(img[src="assets/workplace-wellbeing.jpeg"]) { height:auto; }
  .ac-index .ac-preview-image img[src="assets/workplace-wellbeing.jpeg"] { height:auto; }
}
