/* 甘噛み研究所 — ピーチソーダの研究所（ポップ版）
   peach  #FFE4E8  地
   white  #FFFFFF  面
   berry  #4A0F2B  文字・縁取り・ずらし影
   pink   #D6114F  主ボタン（白文字）
   hot    #FF4F8B  噛み跡・シール
   mint   #5EDBC6  シール・状態
   lemon  #FFE45C  シール・購入ボタン
*/
:root {
  --peach: #FFE4E8;
  --white: #FFFFFF;
  --berry: #4A0F2B;
  --muted: #7A3A55;
  --pink: #D6114F;
  --hot: #FF4F8B;
  --mint: #5EDBC6;
  --lemon: #FFE45C;
  --line: 2px solid var(--berry);
  --pop: 5px 5px 0 var(--berry);
  --display: "Dela Gothic One", "Noto Sans CJK JP", "Hiragino Sans", sans-serif;
  --body: "Zen Maru Gothic", "Noto Sans CJK JP", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  --gutter: clamp(20px, 4vw, 56px);
  --wide: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--peach);
  color: var(--berry);
  font: 500 1rem/1.85 var(--body);
  letter-spacing: .02em;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--hot); text-decoration-thickness: 2px; text-underline-offset: .24em; }
a:hover { color: var(--pink); }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.35; letter-spacing: .03em; margin: 0; }
p { margin: 0; }
.t-sub { display: block; font-size: .7em; letter-spacing: .04em; margin-top: .2em; color: var(--pink); }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--white); border: var(--line); padding: 6px 12px; }

/* シール */
.sticker {
  display: inline-block; font-family: var(--display); font-size: .9375rem; line-height: 1.2;
  padding: 6px 12px; border: var(--line); border-radius: 999px;
  background: var(--lemon); color: var(--berry);
  box-shadow: 2px 2px 0 var(--berry);
  transform: rotate(-4deg);
}
.sticker-mint { background: var(--mint); }
.sticker-hot { background: var(--hot); color: var(--white); }

/* ---------------------------------------------------------------- age gate */
.gate { display: none; }
html:not(.age-ok) .gate {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 100;
  padding: 24px; overflow-y: auto;
  background: rgba(74, 15, 43, .55);
  backdrop-filter: blur(4px);
}
html:not(.age-ok) .site { filter: blur(20px); pointer-events: none; user-select: none; }
html:not(.age-ok) body { overflow: hidden; }
.gate-card {
  max-width: 30em; width: 100%; margin-top: 72px;
  background: var(--white); border: 3px solid var(--berry); border-radius: 28px;
  box-shadow: 10px 10px 0 var(--hot);
  padding: clamp(28px, 5vw, 44px);
  text-align: center;
}
.gate-mark { color: var(--hot); width: 64px; margin: 0 auto 6px; }
.gate-face { position: relative; width: 148px; margin: -96px auto 22px; }
.gate-face img { width: 148px; height: 148px; border-radius: 50%; border: 4px solid var(--berry); box-shadow: 5px 5px 0 var(--hot); background: var(--peach); object-fit: cover; }
.gate-r18 { position: absolute; right: -14px; bottom: 6px; font-size: .8125rem; transform: rotate(8deg); }
.gate-bubble {
  position: relative; margin: 0 auto 18px; padding: 14px 18px 16px;
  background: var(--peach); border: var(--line); border-radius: 20px;
}
.gate-bubble::before, .gate-bubble::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  border-style: solid; border-color: transparent;
}
.gate-bubble::before { top: -14px; border-width: 0 12px 14px; border-bottom-color: var(--berry); }
.gate-bubble::after { top: -10px; border-width: 0 9px 11px; border-bottom-color: var(--peach); }
.gate-speaker { font-size: .75rem; font-weight: 700; color: var(--pink); letter-spacing: .08em; margin-bottom: 4px; }
.gate-card .gate-speaker { color: var(--pink); }
.gate-badge { margin-bottom: 18px; }
.gate-card h2 { font-size: clamp(1.25rem, 3.8vw, 1.5rem); margin-bottom: 14px; }
.gate-card h2 span { display: inline-block; }
.gate-card p { color: var(--muted); }
.gate-actions { display: grid; gap: 12px; margin: 26px 0 16px; }
.gate-note { font-size: .8125rem; }

/* ---------------------------------------------------------------- masthead */
.masthead {
  max-width: var(--wide); margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap;
}
.logo-wrap { display: inline-flex; align-items: center; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 44px; height: 44px; color: var(--hot); flex: none; }
.logo-text { display: grid; line-height: 1.15; }
.logo-ja { font-family: var(--display); font-size: 1.375rem; letter-spacing: .04em; }
.logo-en { font-size: .75rem; color: var(--muted); letter-spacing: .06em; font-weight: 700; }
.r18 { font-size: .75rem; padding: 4px 9px; transform: rotate(6deg); }
.gnav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.gnav a {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: .9375rem;
  padding: 7px 14px; border: 2px solid transparent; border-radius: 999px;
}
.gnav a:hover { border-color: var(--berry); color: var(--berry); background: var(--white); }
.gnav a[aria-current="page"] { background: var(--berry); color: var(--peach); }

/* ---------------------------------------------------------------- buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 10px 24px;
  font: 700 .9375rem/1.4 var(--body); letter-spacing: .04em;
  text-decoration: none; text-align: center;
  border: var(--line); border-radius: 999px;
  box-shadow: 3px 3px 0 var(--berry);
  cursor: pointer;
}
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--berry); }
.btn-primary { background: var(--pink); color: var(--white); }
.btn-primary:hover { background: #b80d43; color: var(--white); }
.btn-ghost { background: var(--white); color: var(--berry); }
.btn-ghost:hover { background: var(--mint); color: var(--berry); }
.btn-store { background: var(--lemon); color: var(--berry); }
.btn-store:hover { background: #fff09a; color: var(--berry); }
.btn-off { background: transparent; color: var(--muted); border-style: dashed; box-shadow: none; cursor: default; font-weight: 500; }
.btn-off:hover { background: transparent; color: var(--muted); }
.btn-off:active { transform: none; box-shadow: none; }

/* ---------------------------------------------------------------- hero */
.hero {
  max-width: var(--wide); margin: 0 auto;
  padding: 8px var(--gutter) clamp(48px, 7vw, 88px);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px); align-items: center;
}
.door {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5; max-height: 84vh;
  border: 10px solid var(--berry); border-radius: 36px;
  box-shadow: 10px 10px 0 var(--hot);
  background: var(--white);
  touch-action: pan-y; cursor: crosshair;
}
.door-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 22%;
  filter: blur(24px) saturate(1.15) brightness(1.06);
  transform: scale(1.12);
}
.door-wipe { position: absolute; inset: 0; width: 100%; height: 100%; }
.door-frost {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .26), rgba(255, 228, 232, .08) 50%, rgba(255, 79, 139, .12)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .12 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.door-letter {
  position: absolute; left: 7%; top: 6%;
  display: grid; gap: 2px; justify-items: start; pointer-events: none;
  background: var(--lemon); border: var(--line); border-radius: 14px;
  box-shadow: 3px 3px 0 var(--berry);
  padding: 10px 18px 12px;
  transform: rotate(-3deg);
}
.door-room { font-family: var(--display); font-size: clamp(1.75rem, 3.6vw, 2.5rem); letter-spacing: .2em; line-height: 1.2; }
.door-sign { font-size: .75rem; font-weight: 700; letter-spacing: .08em; }
.door-hint {
  position: absolute; left: 7%; bottom: 6%; max-width: 60%;
  font-size: .8125rem; font-weight: 700; pointer-events: none;
  background: var(--white); border: var(--line); border-radius: 999px; padding: 6px 14px;
  transition: opacity .6s;
}
.door.is-wiped .door-hint { opacity: 0; }
.door-btn {
  position: absolute; right: 14px; bottom: 14px;
  font: 700 .8125rem/1 var(--body); color: var(--berry);
  background: var(--mint); border: var(--line); border-radius: 999px;
  box-shadow: 2px 2px 0 var(--berry);
  padding: 10px 14px; cursor: pointer;
}
.door-btn:hover { background: var(--lemon); }

.hero-copy { display: grid; gap: 24px; justify-items: start; }
.hero-title { font-size: clamp(2.25rem, 4.6vw, 3.5rem); line-height: 1.3; }
.hero-title span { display: inline-block; }
.hero-lead { color: var(--muted); max-width: 26em; }

/* リボン（静止） */
.ribbon-wrap { overflow: hidden; padding: 18px 0; }
.ribbon {
  overflow: hidden; white-space: nowrap;
  background: var(--hot); color: var(--white);
  border-top: 3px solid var(--berry); border-bottom: 3px solid var(--berry);
  transform: rotate(-1.6deg); margin: 0 -2vw;
  font-family: var(--display); font-size: clamp(1rem, 2vw, 1.25rem); letter-spacing: .06em;
  padding: 10px 0;
}
.ribbon span { display: inline-block; padding-right: 1.2em; }

/* ---------------------------------------------------------------- sections */
.sec { max-width: var(--wide); margin: 0 auto; padding: clamp(56px, 8vw, 96px) var(--gutter) 0; }
.sec-page { padding-top: clamp(20px, 3vw, 40px); min-height: 50vh; }
.sec-head { display: grid; gap: 8px; margin-bottom: clamp(24px, 3.5vw, 40px); max-width: 40em; }
.sec-head h2 { font-size: clamp(1.875rem, 3.4vw, 2.5rem); }
.sec-head p { color: var(--muted); }
.more { margin-top: 32px; }
.more a { font-weight: 700; }
.empty { color: var(--muted); }

.panel { background: var(--white); border: var(--line); border-radius: 24px; box-shadow: var(--pop); }

/* 最新作 */
.feature {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(20px, 3.5vw, 48px); align-items: center;
  padding: clamp(14px, 2vw, 22px);
  margin-bottom: clamp(36px, 5vw, 56px);
}
.feature-cover { position: relative; display: block; }
.feature-cover img, .card-cover img, .work-cover img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; border: var(--line); background: var(--peach); }
.feature-body { display: grid; gap: 14px; justify-items: start; padding: 8px 8px 8px 0; }
.rec-no { font-size: clamp(1rem, 1.6vw, 1.25rem); padding: 8px 16px; }
.feature-title { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.feature-title a, .card-title a, .free-head h3 a { text-decoration: none; }
.feature-summary { color: var(--muted); max-width: 30em; }

.status { display: inline-block; font-size: .8125rem; font-weight: 700; padding: 2px 12px; border: var(--line); border-radius: 999px; background: var(--white); }
.status-released { background: var(--pink); color: var(--white); }
.status-review { background: var(--mint); }
.status-coming { background: var(--lemon); }
.status-developing { border-style: dashed; }

.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.price-main { font-family: var(--display); font-size: 1.625rem; }
.price-tax { font-size: .8125rem; color: var(--muted); margin-left: -10px; }
.price-sale { font-size: .9375rem; color: var(--muted); font-weight: 700; }
.price-sale b { color: var(--pink); font-family: var(--display); font-weight: 400; font-size: 1.25rem; }
.price-tbd { color: var(--muted); font-size: .9375rem; }

/* 作品カード */
.cards { display: grid; gap: clamp(24px, 3vw, 36px); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { display: grid; gap: 6px; align-content: start; padding: 12px 12px 18px; }
.card[hidden] { display: none; }
.card-cover { position: relative; display: block; margin-bottom: 10px; }
.card-cover .sticker { position: absolute; left: -8px; top: -10px; }
.card-cover:hover img { filter: brightness(1.05); }
.card-body { display: grid; gap: 6px; padding: 0 6px; }
.card-title { font-size: 1.25rem; line-height: 1.45; }
.card-series { font-size: .8125rem; color: var(--muted); font-weight: 700; }
.card-foot { display: flex; align-items: center; gap: 12px; margin-top: 6px; font-weight: 700; }

/* 無料閲覧室（トップの抜粋） */
.peeks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.peek { display: grid; gap: 4px; text-decoration: none; padding: 10px 10px 14px; }
.peek img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; border: var(--line); margin-bottom: 8px; }
.peek-label { font-family: var(--display); color: var(--pink); font-size: .9375rem; padding: 0 4px; }
.peek-title { font-weight: 700; padding: 0 4px; }
.peek-count { font-size: .8125rem; color: var(--muted); padding: 0 4px; }

/* 研究所について */
.director { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(16px, 2.5vw, 28px); margin-bottom: clamp(28px, 4vw, 44px); }
.director-fig { margin: 0; position: relative; }
.director-fig img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 18px; border: var(--line); }
.director-fig .sticker { position: absolute; right: -10px; top: 14px; transform: rotate(6deg); }
.director-body { display: grid; gap: 14px; max-width: 34em; justify-items: start; }
.director-name { font-size: clamp(2.75rem, 5.4vw, 4rem); letter-spacing: .08em; line-height: 1.1; }
.director-body p:not(.sticker) { color: var(--muted); }

.facts { margin: 0; display: grid; padding: 6px 22px; }
.facts > div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 2px dashed rgba(74, 15, 43, .25); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: .9375rem; font-weight: 700; }
.facts dd { margin: 0; }
.facts-tight { padding: 4px 18px; }
.facts-tight > div { grid-template-columns: 6em minmax(0, 1fr); padding: 10px 0; font-size: .9375rem; }

/* ストア案内 */
.band {
  max-width: calc(var(--wide) - 2 * var(--gutter)); margin: clamp(64px, 9vw, 104px) auto 0;
  padding: clamp(28px, 4vw, 48px);
  background: var(--mint); border: 3px solid var(--berry); border-radius: 28px; box-shadow: 8px 8px 0 var(--berry);
  display: grid; gap: 12px; justify-items: start;
}
.band h2 { font-size: clamp(1.375rem, 2.8vw, 2rem); }
.band p { margin-bottom: 10px; font-weight: 700; }
@media (max-width: 1300px) { .band { margin-left: var(--gutter); margin-right: var(--gutter); } }

/* ---------------------------------------------------------------- 一覧のしぼりこみ */
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip { font: 700 .9375rem/1 var(--body); color: var(--berry); background: var(--white); border: var(--line); border-radius: 999px; padding: 11px 18px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--berry); color: var(--peach); }
.chip:hover { background: var(--lemon); color: var(--berry); }

/* ---------------------------------------------------------------- サンプル */
.thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.thumb { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 14px; }
.thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; border: var(--line); box-shadow: 3px 3px 0 var(--berry); }
.thumb:hover img { box-shadow: 3px 3px 0 var(--hot); }
.free-work { padding: 22px 24px 26px; margin-bottom: 28px; }
.free-head { display: grid; gap: 6px; margin-bottom: 18px; justify-items: start; }
.free-head h3 { font-size: 1.5rem; }
.free-meta { display: flex; gap: 12px; align-items: center; font-size: .875rem; color: var(--muted); font-weight: 700; }

/* ---------------------------------------------------------------- 作品ページ */
.crumbs { max-width: var(--wide); margin: 0 auto; padding: 4px var(--gutter) 0; font-size: .8125rem; color: var(--muted); font-weight: 700; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "／"; margin-right: 6px; opacity: .6; }
.work-head {
  max-width: var(--wide); margin: 0 auto;
  padding: 18px var(--gutter) 0;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 52px); align-items: start;
}
.work-cover { margin: 0; position: sticky; top: 16px; }
.work-cover img { border-width: 3px; box-shadow: 8px 8px 0 var(--hot); border-radius: 22px; }
.work-info { display: grid; gap: 16px; justify-items: start; }
.work-series { font-size: .9375rem; color: var(--muted); font-weight: 700; }
.work-title { font-size: clamp(1.875rem, 3.6vw, 2.75rem); }
.kw { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kw li { font-size: .8125rem; font-weight: 700; padding: 3px 12px; border: var(--line); border-radius: 999px; background: var(--white); }
.work-info .actions { width: 100%; }
.work-info .actions .btn { flex: 1 1 12em; }
.work-info .facts { width: 100%; margin-top: 6px; }
.sec-story { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 52px); align-items: start; }
.story h2, .subjects h2 { font-size: 1.75rem; margin-bottom: 16px; }
.story p { color: var(--muted); max-width: 34em; }
.story p + p { margin-top: 1em; }
.subjects { padding: 22px 24px; }
.subjects ul { list-style: none; margin: 0; padding: 0; }
.subjects li { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding: 12px 0; border-bottom: 2px dashed rgba(74, 15, 43, .25); }
.subjects li:last-child { border-bottom: 0; }
.subj-name { font-family: var(--display); font-size: 1.25rem; }
.subj-age { font-size: .8125rem; font-weight: 700; background: var(--lemon); border: var(--line); border-radius: 999px; padding: 0 10px; }
.subj-note { color: var(--muted); font-size: .875rem; flex-basis: 100%; }

/* ---------------------------------------------------------------- ビューア（画像を見やすいよう暗い背景） */
.viewer {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(46, 8, 26, .97); color: var(--peach);
}
.viewer::backdrop { background: rgba(46, 8, 26, .9); }
.viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); grid-template-columns: minmax(0, 1fr); overflow: hidden; }
.viewer-top { display: flex; align-items: center; gap: 16px; padding: 12px var(--gutter); }
.viewer-title { flex: 1; min-width: 0; font-family: var(--display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viewer-count { font-variant-numeric: tabular-nums; font-weight: 700; }
.viewer-close { font: 700 .9375rem/1 var(--body); color: var(--berry); background: var(--lemon); border: var(--line); border-radius: 999px; padding: 10px 16px; cursor: pointer; }
.viewer-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 0 72px 24px; min-height: 0; touch-action: pan-y pinch-zoom; }
.viewer-fig[hidden] { display: none; }
.viewer-fig { margin: 0; width: 100%; min-width: 0; max-width: 100%; max-height: 100%; display: grid; place-items: center; min-height: 0; height: 100%; }
.viewer-fig img { max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; border-radius: 8px; }
.viewer-prev, .viewer-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; font-size: 1.75rem; line-height: 1; font-weight: 700;
  color: var(--berry); background: var(--white); border: var(--line); border-radius: 999px; cursor: pointer;
}
.viewer-prev { left: 10px; }
.viewer-next { right: 10px; }
.viewer-prev:disabled, .viewer-next:disabled { opacity: .3; cursor: default; }
.viewer-end { text-align: center; display: grid; gap: 12px; justify-items: center; max-width: 28em; }
.viewer-end[hidden] { display: none; }
.viewer-end-head { font-family: var(--display); font-size: 1.875rem; }
.viewer-end-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 12px; }
.viewer-end-actions p { flex-basis: 100%; }

/* ---------------------------------------------------------------- footer */
.foot { margin-top: clamp(64px, 9vw, 112px); background: var(--berry); color: var(--peach); }
.foot-inner { max-width: var(--wide); margin: 0 auto; padding: 40px var(--gutter) 48px; display: grid; gap: 10px; font-size: .8125rem; }
.foot-inner p { max-width: 52em; }
.foot-name { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 1.125rem; margin-bottom: 6px; }
.foot-name .logo-mark { width: 30px; height: 30px; }
.foot-copy { margin-top: 10px; opacity: .8; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .door { max-height: none; }
  .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .peeks, .thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature, .work-head, .sec-story { grid-template-columns: 1fr; }
  .feature-body { padding: 4px 6px 10px; }
  .work-cover { position: static; }
}
@media (max-width: 600px) {
  .masthead { padding-top: 14px; padding-bottom: 8px; }
  .gnav { width: 100%; }
  .gnav ul { gap: 4px; }
  .gnav a { font-size: .8125rem; padding: 5px 10px; }
  .door { border-width: 8px; border-radius: 28px; box-shadow: 7px 7px 0 var(--hot); }
  .cards-3 { grid-template-columns: 1fr; }
  .director { grid-template-columns: 1fr; }
  .director-fig { max-width: 260px; }
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
  .free-work { padding: 18px 16px 20px; }
  .viewer-stage { padding: 0 8px 16px; }
  .viewer-prev, .viewer-next { top: auto; bottom: 18px; transform: none; }
  .actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
