:root {
  /* 簡素化LP lp.css v2（2026-09-04）に準拠。レイアウトは各ページで独立させる。 */
  --ink: #303832;
  --muted: #646c63;
  --paper: #f5f3ee;
  --white: #fff;
  --line: #d7dbd1;
  --sage: #a5afa1;
  --sage-dark: #485749;
  --cream: #eeeee7;
  --surface: #eaece5;
  --accent: #485749;
  --accent-hover: #334436;
  --content: 1120px;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  --latin: Arial, sans-serif;
  --wordmark-tracking: .22em;
  --brand-font: var(--sans);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.9; letter-spacing: .035em; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.site-header { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; height: 76px; padding: 0 max(28px, calc((100vw - var(--content)) / 2)); background: rgba(245,243,238,.96); border-bottom: 1px solid rgba(48,56,50,.08); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-name { font-family: var(--latin); font-size: 26px; font-weight: 600; line-height: 1; letter-spacing: var(--wordmark-tracking); }
nav { display: flex; align-items: center; gap: 32px; font-size: 12px; font-weight: 400; letter-spacing: .045em; }
.nav-cta { padding: 10px 17px; color: var(--ink); background: transparent; border: 1px solid var(--ink); border-radius: 0; letter-spacing: .08em; transition: background .2s, color .2s; }
.nav-cta:hover { color: var(--white); background: var(--ink); }

.breadcrumb { display: flex; gap: 10px; align-items: center; max-width: var(--content); margin: 0 auto; padding: 34px 24px; color: var(--muted); font-size: 11px; }
article { overflow: hidden; }
.article-header { max-width: 980px; margin: 65px auto 52px; padding: 0 24px; }
.eyebrow, .section-kicker { color: var(--accent); font: 500 11px/1.4 var(--latin); letter-spacing: .2em; }
h1 { max-width: 830px; margin: 22px 0; font-family: var(--serif); font-size: clamp(34px, 5vw, 57px); font-weight: 400; line-height: 1.85; letter-spacing: .035em; }
h1 span { display: block; margin-bottom: 10px; color: var(--sage-dark); font-family: inherit; font-size: .34em; font-weight: 700; letter-spacing: .12em; }
.lead { margin: 0; color: var(--muted); font-size: 16px; }
.meta { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin-top: 30px; font-size: 11px; }
.meta span { padding: 4px 11px; border: 1px solid var(--line); border-radius: 999px; }
.meta time { margin-left: 8px; color: var(--muted); }

.hero-visual { position: relative; max-width: 720px; margin: 0 auto; overflow: visible; background: transparent; }
.hero-visual::after { display: none; }
.hero-image { position: relative; overflow: hidden; }
.hero-image > img { display: block; width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; object-position: center; }
.thumb-number, .thumb-ba { position: absolute; z-index: 2; color: #fff; background: rgba(25,26,23,.72); }
.thumb-number { top: 14px; left: 14px; padding: 7px 10px; color: var(--ink); background: rgba(245,243,238,.92); font-size: 11px; font-weight: 400; letter-spacing: .04em; }
.thumb-ba { bottom: 12px; padding: 5px 9px; background: rgba(48,56,50,.72); font: 500 11px/1 var(--latin); letter-spacing: .12em; }
.thumb-before { left: 25%; transform: translateX(-50%); }
.thumb-after { left: 75%; transform: translateX(-50%); }
.hero-copy { position: static; display: flex; flex-direction: column; align-items: flex-start; padding: 24px 4px 0; color: var(--ink); }
.hero-copy strong { font-family: var(--brand-font); font-size: clamp(28px, 4vw, 42px); font-weight: 700; line-height: 1.42; letter-spacing: .045em; }

.conversation { display: grid; grid-template-columns: 1fr; gap: 18px; max-width: 760px; margin: 76px auto; padding: 0 24px; }
.conversation::before { content: "💬  COUNSELING"; margin-bottom: 2px; color: var(--accent); font-family: var(--latin); font-size: 11px; font-weight: 500; letter-spacing: .15em; }
.bubble { display: flex; align-items: flex-start; gap: 14px; }
.bubble p { position: relative; margin: 0; padding: 18px 20px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 2px 18px 18px; font-size: 13px; line-height: 1.8; }
.stylist p { background: var(--cream); border-color: transparent; }
.avatar { flex: 0 0 42px; display: grid; place-items: center; width: 42px; height: 42px; color: #fff; background: #9c9d97; border-radius: 50%; font-size: 11px; font-weight: 700; }
.concern-avatar { overflow: hidden; background: #fff; border: 2px solid #fff; box-shadow: 0 3px 12px rgba(36,37,34,.13); }
.concern-avatar img { width: 100%; height: 100%; object-fit: cover; }
.customer p { white-space: nowrap; }
.conversation .stylist { margin-left: 56px; }
.stylist .avatar { background: var(--sage-dark); }
.profile-avatar { overflow: hidden; border: 2px solid #fff; box-shadow: 0 3px 12px rgba(36,37,34,.13); }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transform: scale(2.35); transform-origin: 50% 0; }

.article-layout { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 80px; max-width: var(--content); margin: 0 auto; padding: 30px 24px 120px; }
.toc { position: sticky; top: 116px; align-self: start; padding: 24px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.toc > p { margin: 0 0 14px; font: 500 11px/1 var(--latin); letter-spacing: .2em; }
.toc ol { margin: 0; padding: 0; list-style-position: inside; color: var(--muted); font-size: 12px; }
.toc li + li { margin-top: 7px; }
.toc a:hover { color: var(--sage-dark); }
.section { margin-bottom: 120px; scroll-margin-top: 110px; }
.section h2 { margin: 17px 0 38px; font-family: var(--serif); font-size: clamp(18px, 2.8vw, 30px); font-weight: 400; line-height: 1.8; letter-spacing: .07em; white-space: nowrap; }
.section > p:not(.section-kicker):not(.note) { margin: 0 0 1.4em; color: var(--ink); font-size: 15px; line-break: strict; text-wrap: pretty; }
.mobile-break { display: none; }
.photo-card { max-width: 460px; margin: 0 auto 36px; background: #fff; box-shadow: 0 8px 24px rgba(48,56,50,.04); }
.image-crop { position: relative; width: 100%; aspect-ratio: 3/5; overflow: hidden; }
.image-crop img { position: absolute; top: -5%; width: 200%; max-width: none; height: auto; transform: none; }
.image-crop.before img { left: 0; }
.image-crop.after img { left: -100%; }
.wide-source .image-crop img { top: 0; width: 222.222%; }
.wide-source .image-crop.before img { left: -5.555%; }
.wide-source .image-crop.after img { left: -116.667%; }
.photo-card figcaption { display: flex; align-items: center; gap: 18px; padding: 17px 20px; color: var(--muted); font-size: 11px; }
.photo-card figcaption b { color: var(--ink); font: 400 18px/1 var(--serif); letter-spacing: .08em; }
.summary-card { margin: 0 0 36px; padding: 28px 32px; background: var(--cream); border-left: 1px solid var(--sage); }
.concern-heading { display: flex; align-items: center; gap: 16px; }
.concern-heading img { width: 72px; height: 72px; flex: 0 0 auto; border-radius: 50%; object-fit: contain; }
.concern-heading span { font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.summary-card ul { margin: 14px 0 0; padding-left: 1.2em; font-size: 13px; }
.summary-card li { white-space: nowrap; }
.summary-card li + li { margin-top: 5px; }

.point-grid { display: grid; gap: 16px; }
.point-intro { margin: -16px 0 30px; color: var(--ink); font-size: 14px; line-height: 1.9; text-wrap: pretty; }
.point-grid > div { padding: 28px 30px; background: #fff; border: 1px solid var(--line); }
.point-grid span { color: var(--accent); font: 500 10px/1 var(--latin); letter-spacing: .18em; }
.point-grid h3 { margin: 10px 0 8px; font-family: var(--serif); font-size: 20px; font-weight: 400; }
.point-grid p { margin: 0; color: var(--muted); font-size: 13px; }
.hiromu-advice { display: grid; grid-template-columns: 54px 1fr; gap: 8px; align-items: center; margin-top: 22px; }
.hiromu-advice .avatar { width: 54px; height: 54px; }
.hiromu-advice p { margin: 0; }
.hiromu-advice .advice-text { position: relative; padding: 18px 20px; color: var(--ink); text-align: center; background: var(--surface); border-radius: 3px 18px 18px; font-size: 13px; line-height: 1.8; }
.hiromu-advice .advice-text::before { content: ""; position: absolute; z-index: 2; left: -14px; top: 20px; border-width: 9px 15px 9px 0; border-style: solid; border-color: transparent var(--surface) transparent transparent; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 45px; }
.compare > div { position: relative; background: #fff; }
.compare > div > span { position: absolute; z-index: 2; left: 12px; bottom: 12px; padding: 6px 10px; color: #fff; background: rgba(35,36,33,.78); font: 700 10px/1 Georgia, serif; letter-spacing: .1em; }
.compare-crop { width: 100%; aspect-ratio: 4/3; overflow: hidden; }
.compare-crop { position: relative; }
.compare-crop img { position: absolute; top: -30%; width: 200%; max-width: none; height: auto; transform: none; }
.compare-crop.before img { left: 0; }
.compare-crop.after img { left: -100%; }
.finish-section .image-crop { aspect-ratio: 3/5; }
.original-material { margin: 45px 0 0; }
.original-material img { width: 100%; height: auto; }
.finish-booking { position: relative; display: flex; align-items: center; justify-content: center; min-height: 62px; margin-top: 18px; padding: 16px 58px; color: #fff; text-align: center; background: var(--accent); border: 1px solid var(--accent); border-radius: 0; box-shadow: none; font-size: 15px; font-weight: 400; letter-spacing: .08em; touch-action: manipulation; transition: transform .15s ease, background .15s ease; -webkit-tap-highlight-color: transparent; }
.finish-booking span:last-child { position: absolute; right: 13px; display: grid; place-items: center; width: 34px; height: 34px; color: #fff; background: transparent; border-radius: 0; font-size: 18px; line-height: 1; }
.finish-booking:hover { background: var(--accent-hover); box-shadow: none; }
.finish-booking:active { transform: scale(.985); box-shadow: 0 4px 10px rgba(36,37,34,.16); }
.finish-booking:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.finish-booking.menu-pending { display: grid; gap: 5px; min-height: auto; padding: 15px 18px; color: var(--ink); text-align: left; background: var(--cream); border: 1px solid var(--line); border-radius: 0; box-shadow: none; cursor: default; }
.finish-booking.menu-pending:hover { background: var(--cream); box-shadow: none; }
.finish-booking.menu-pending small { color: var(--accent); font-size: 11px; font-weight: 400; letter-spacing: .09em; }
.finish-booking.menu-pending strong { font-size: 16px; line-height: 1.45; letter-spacing: .02em; }
.finish-booking.menu-pending span { position: static; display: block; width: auto; height: auto; color: var(--muted); background: none; border-radius: 0; font-size: 12px; line-height: 1.6; }
.finish-booking.menu-pending em { color: var(--muted); font-size: 11px; font-style: normal; line-height: 1.5; }

.homecare { padding: 44px; background: var(--surface); }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 34px 150px 1fr; gap: 14px; align-items: baseline; padding: 18px 0; border-top: 1px solid rgba(95,115,92,.2); font-size: 13px; }
.steps li::before { content: "0" counter(step); color: var(--sage-dark); font: 500 12px/1 var(--latin); }
.steps span { color: var(--muted); }
.note { margin: 20px 0 0; color: var(--muted); font-size: 10px; }
.faq details { padding: 22px 4px; border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 0 40px 0 34px; cursor: pointer; font-weight: 700; list-style: none; }
.faq summary::before { content: "Q"; position: absolute; left: 0; color: var(--sage-dark); font: 400 16px/1.7 var(--serif); }
.faq summary::after { content: "+"; position: absolute; right: 5px; font-size: 20px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 16px 0 0 34px; color: var(--muted); font-size: 13px; }

.contact { max-width: 1020px; margin: 0 auto 100px; padding: 70px clamp(28px, 7vw, 90px); text-align: center; background: var(--ink); color: #fff; }
.contact .section-kicker { color: var(--line); }
.contact h2 { margin: 20px 0; font-family: var(--serif); font-size: clamp(27px, 4vw, 42px); font-weight: 400; line-height: 1.65; letter-spacing: .065em; }
.contact p { color: rgba(255,255,255,.82); font-size: 13px; }
.contact a { display: inline-flex; gap: 40px; align-items: center; margin-top: 25px; padding: 14px 20px 14px 24px; color: var(--ink); background: var(--paper); border: 1px solid var(--paper); border-radius: 0; font-size: 12px; font-weight: 400; letter-spacing: .08em; transition: background .2s, color .2s; }
.contact a:hover { color: var(--white); background: transparent; }
.contact a span { font-size: 18px; }
.author-card { display: grid; grid-template-columns: 90px 1fr; gap: 28px; max-width: 760px; margin: 0 auto 120px; padding: 35px; border: 1px solid var(--line); background: #fff; }
.author-photo { overflow: hidden; width: 90px; height: 110px; background: #d7d6d0; }
.author-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transform: scale(1.65); transform-origin: 50% 0; }
.author-card small { color: var(--sage-dark); font: 500 9px/1 var(--latin); letter-spacing: .18em; }
.author-card h2 { margin: 7px 0; font-family: var(--brand-font); font-size: 21px; }
.author-card p { margin: 0; color: var(--muted); font-size: 12px; }
.site-footer { display: grid; place-items: center; padding: 70px 24px 28px; color: var(--ink); background: var(--paper); border-top: 1px solid var(--line); }
.site-footer > span { font-family: var(--latin); font-size: 38px; font-weight: 600; line-height: 1; letter-spacing: var(--wordmark-tracking); text-indent: var(--wordmark-tracking); }
.site-footer small { margin-top: 10px; color: var(--muted); font: 400 9px/1 var(--latin); letter-spacing: .16em; }
.site-footer p { margin: 50px 0 0; color: var(--muted); font-family: var(--latin); font-size: 9px; }
.back-to-top { position: fixed; z-index: 20; right: 24px; bottom: 24px; display: grid; place-items: center; width: 44px; height: 44px; background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 50%; box-shadow: 0 7px 24px rgba(0,0,0,.08); }

.archive-page { min-height: 80vh; }
.archive-header { max-width: var(--content); margin: 0 auto; padding: 110px 24px 70px; text-align: center; }
.archive-header h1 { margin: 22px auto 18px; font-family: var(--latin); font-weight: 700; letter-spacing: var(--wordmark-tracking); text-indent: var(--wordmark-tracking); }
.archive-description { margin: 0; color: var(--muted); }
.case-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: var(--content); margin: 0 auto; padding: 18px 24px; }
.case-filters button { min-height: 42px; padding: 8px 15px; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 0; font: 400 11px/1 var(--sans); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.case-filters button:hover { color: var(--ink); border-color: var(--accent); }
.case-filters button.active { color: #fff; background: var(--accent); border-color: var(--accent); }
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; max-width: var(--content); margin: 0 auto; padding: 0 24px 120px; scroll-margin-top: 96px; }
.case-grid.is-empty { display: flex; justify-content: center; align-items: center; min-height: 300px; padding: 40px 24px 64px; }
.case-empty { max-width: 420px; text-align: center; }
.case-empty h2 { margin: 0; color: var(--ink); font: 400 24px/1.8 var(--serif); letter-spacing: .04em; }
.case-empty p { margin: 18px 0 24px; color: var(--muted); font-size: 12px; line-height: 2; }
.case-empty button { min-height: 46px; max-width: 100%; padding: 13px 22px; color: var(--white); background: var(--accent); border: 0; border-radius: 0; font: 400 12px/1.5 var(--sans); letter-spacing: .06em; cursor: pointer; transition: background .2s; }
.case-empty button:hover { background: var(--accent-hover); }
.case-card { display: block; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.case-card:hover { transform: none; box-shadow: none; }
.case-card:focus-visible { outline: 2px solid var(--sage-dark); outline-offset: -2px; }
.case-photo { position: relative; display: block; width: 100%; aspect-ratio: 1/1; overflow: hidden; background: var(--surface); }
.case-photo > img { width: 100%; height: 100%; aspect-ratio: 1/1; object-fit: contain; object-position: center; }
.case-card-copy { padding: 27px 28px 30px; }
.case-card small { color: var(--sage-dark); font-family: var(--latin); font-size: 10px; font-weight: 400; letter-spacing: .12em; }
.case-card h2 { margin: 12px 0 22px; font-family: var(--serif); font-size: 23px; font-weight: 400; line-height: 1.75; letter-spacing: .045em; word-break: auto-phrase; }
.case-card h2 .style-name { font-size: inherit; font-weight: inherit; white-space: nowrap; }
h1 .style-name { white-space: nowrap; }
.case-open { position: absolute; left: 50%; bottom: 14px; display: inline-flex; align-items: center; justify-content: center; min-height: 32px; max-width: calc(100% - 16px); padding: 7px 14px; color: #fff; background: rgba(48,56,50,.78); border: 1px solid rgba(255,255,255,.24); border-radius: 999px; box-shadow: 0 1px 4px rgba(48,56,50,.12); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); transform: translateX(-50%); font-size: 11px; font-weight: 400; line-height: 1.2; letter-spacing: .06em; white-space: nowrap; transition: background-color .18s ease; }
.case-card:hover .case-open,
.case-card:focus-visible .case-open { background-color: var(--accent-hover); }
.case-more { display: block; min-width: 260px; min-height: 54px; margin: -75px auto 110px; padding: 12px 28px; color: #fff; background: var(--accent); border: 0; border-radius: 0; font: 400 12px/1 var(--sans); letter-spacing: .08em; cursor: pointer; transition: background .2s; }
.case-more:hover { background: var(--accent-hover); }
.case-more[hidden] { display: none; }
.case-gallery-hint { display: none; }
.case-gallery-hint[hidden] { display: none; }
.archive-page + .site-footer { position: relative; display: grid; place-items: center; min-height: 72px; padding: 16px; }
.archive-page + .site-footer small { display: none; }
.archive-page + .site-footer p { position: absolute; top: 50%; right: 16px; margin: 0; transform: translateY(-50%); font-size: 8px; }

@media (max-width: 820px) {
  .site-header { height: 64px; padding: 0 18px; }
  nav a:not(.nav-cta) { display: none; }
  .nav-cta { padding: 7px 12px; }
  .concern-heading img { width: 64px; height: 64px; }
  .breadcrumb { padding: 16px 18px; overflow: hidden; white-space: nowrap; }
  .article-header { margin: 28px auto 26px; padding: 0 20px; }
  h1 { font-size: 26px; letter-spacing: .025em; }
  .lead { font-size: 14px; line-height: 1.75; }
  .meta { margin-top: 20px; }
  .hero-visual { width: calc(100% - 24px); }
  .hero-image > img { aspect-ratio: 1/1; object-position: center; }
  .hero-copy { padding: 14px 4px 0; }
  .hero-copy strong { font-size: 30px; }
  .photo-card { max-width: 290px; margin-bottom: 24px; }
  .photo-card figcaption { gap: 12px; padding: 12px 14px; }
  .summary-card { margin-bottom: 24px; padding: 18px 16px; }
  .concern-heading { gap: 12px; }
  .concern-heading img { width: 54px; height: 54px; }
  .summary-card ul { font-size: 12px; }
  .summary-card li + li { margin-top: 2px; }
  .section h2 { margin: 12px 0 24px; }
  .section > p:not(.section-kicker):not(.note) { margin-bottom: 1em; line-height: 1.75; }
  .point-intro { margin: -8px 0 20px; line-height: 1.75; }
  .point-grid { gap: 10px; }
  .point-grid > div { padding: 19px 20px; }
  .point-grid p { font-size: 12px; white-space: nowrap; }
  .hiromu-advice { margin-top: 14px; }
  .hiromu-advice .advice-text { padding: 15px 17px; line-height: 1.7; }
  .original-material { max-width: 320px; margin: 28px auto 0; }
  .conversation { grid-template-columns: 1fr; gap: 12px; margin: 38px auto; }
  .conversation::before { margin-bottom: 0; }
  .bubble { gap: 10px; }
  .bubble p { padding: 14px 16px; line-height: 1.7; }
  .conversation .stylist { margin-left: 22px; }
  .mobile-break { display: block; }
  .article-layout { display: block; padding: 4px 20px 56px; }
  .toc { position: static; margin-bottom: 52px; padding: 18px 0; }
  .section { margin-bottom: 62px; }
  .homecare { margin-inline: -20px; padding: 30px 22px; }
  .steps li { grid-template-columns: 30px 1fr; gap: 8px; }
  .steps li { padding: 13px 0; }
  .steps li span { grid-column: 2; }
  .faq details { padding: 16px 4px; }
  .contact { margin: 0 12px 60px; padding: 42px 22px; }
  .author-card { grid-template-columns: 62px 1fr; gap: 16px; margin: 0 20px 60px; padding: 20px; }
  .author-photo { width: 62px; height: 82px; }
  .style-note-page { display: flex; flex-direction: column; height: 100vh; height: 100dvh; }
  .style-note-page > .site-header { flex: 0 0 56px; height: 56px; }
  .archive-header { display: flex; flex: 0 0 auto; flex-direction: column; align-items: center; width: 100%; gap: 8px; padding: 18px 16px 12px; }
  .archive-header .section-kicker { display: none; }
  .archive-header h1 { max-width: 100%; margin: 0; font-size: 26px; line-height: 1.15; }
  .archive-header .archive-description { width: 100%; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; letter-spacing: .01em; }
  .case-filters { flex: 0 0 auto; flex-wrap: nowrap; gap: 6px; width: 100%; margin: 0; padding: 10px 12px; overflow-x: auto; scrollbar-width: none; }
  .case-filters::-webkit-scrollbar { display: none; }
  .case-filters button { flex: 1 1 auto; min-height: 36px; padding: 6px 8px; font-size: 10px; white-space: nowrap; }
  .archive-page { display: flex; flex: 1 1 0; flex-direction: column; min-height: 0; padding-bottom: 0; }
  .case-grid { flex: 1 1 0; width: 100%; min-height: 0; height: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: calc((100vw - 4px) / 3); align-content: start; gap: 2px; padding: 0; overflow-y: auto; overscroll-behavior-y: contain; scrollbar-width: none; scroll-snap-type: y proximity; }
  .case-grid::-webkit-scrollbar { display: none; }
  .case-grid.is-empty { min-height: 0; padding: 28px 24px; }
  .case-empty h2 { font-size: 20px; }
  .case-grid:focus-visible { outline: 2px solid var(--sage-dark); outline-offset: 3px; }
  .case-card { position: relative; min-width: 0; min-height: 0; aspect-ratio: 1/1; border: 0; border-radius: 0; background: var(--paper); box-shadow: none; }
  .case-card:nth-child(3n + 1) { scroll-snap-align: start; }
  .case-card:hover { transform: none; box-shadow: none; }
  .case-card-copy { display: none; }
  .case-open { bottom: 8px; min-height: 28px; padding: 6px 11px; font-size: 10px; }
  .case-card .case-prefix,
  .case-card .case-category,
  .case-card h2 { display: none; }
  .case-card .case-id { font: inherit; }
  .case-more { display: none; }
  .case-gallery-hint { display: block; flex: 0 0 auto; margin: 0; padding: 8px 12px; color: var(--muted); font-size: 9px; line-height: 1.5; text-align: center; }
  .archive-page + .site-footer { display: grid; flex: 0 0 auto; place-items: center; min-height: 48px; margin-top: auto; padding: 10px 16px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
  .archive-page + .site-footer > span { font-size: 24px; }
  .archive-page + .site-footer small { display: none; }
  .archive-page + .site-footer p { margin: 0; font-size: 8px; }
}

@media (max-width: 400px) {
  .section h2 { white-space: normal; word-break: auto-phrase; text-wrap: balance; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
