:root {
  color-scheme: light;
  --paper: #faf5e9;
  --ink: #252320;
  --muted: #655e53;
  --line: #ded5c6;
  --accent: #a1342e;
  --halo: #efc6a8;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
body.hanyou { --accent: #8a2832; --halo: #ebc1ac; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .2em; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #17749f; outline-offset: 4px; }
.wrap { width: min(1160px, calc(100% - 110px)); margin-inline: auto; }
.skip { position: fixed; top: 8px; left: 8px; transform: translateY(-160%); padding: 8px 16px; background: white; z-index: 10; }
.skip:focus { transform: none; }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 83px; border-bottom: 1px solid var(--line); }
.brand,.footer-brand { display: inline-flex; align-items: center; gap: 11px; }
.brand { font-weight: 740; font-size: 24px; letter-spacing: -.055em; }
.brand:hover, .badges a:hover { text-decoration: none; }
.brand img,.footer-brand img { border-radius: 24%; box-shadow: 0 2px 5px #4a342126, 0 0 0 1px #39241812; background: white; }
.brand img { width: 42px; }
nav,.support { display: flex; align-items: center; gap: 30px; }
nav { font-size: 14px; font-weight: 540; }
.sibling { border-left: 1px solid #cfc5b6; padding-left: 28px; color: var(--accent); }
.sibling span { margin-left: 3px; }
.hero { display: grid; grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr); grid-template-areas: "art copy"; gap: clamp(30px,5vw,86px); align-items: center; padding-block: 40px 45px; }
.hero-copy { grid-area: copy; padding-bottom: 16px; }
.kicker,.category,.gallery-label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.kicker { display: flex; align-items: center; gap: 11px; margin: 0 0 17px; color: var(--accent); }
.kicker [lang] { font-family: Georgia, "Hiragino Mincho ProN", "Songti SC", serif; font-size: 16px; line-height: 1.2; font-weight: 600; letter-spacing: .07em; }
.kicker i { width: 28px; height: 1px; background: currentColor; opacity: .6; }
h1,h2,h3,p,figure { margin: 0; }
h1,h2 { font-family: var(--serif); font-weight: 500; }
h1 { font-size: clamp(50px,5.8vw,84px); line-height: .99; letter-spacing: -.058em; }
h1 em { color: var(--accent); font-weight: 500; }
.intro { max-width: 455px; margin: 22px 0 25px; color: #524c44; font-size: clamp(16px,1.25vw,19px); line-height: 1.58; }
.badges { display: flex; gap: 11px; align-items: center; flex-wrap: wrap; }
.badges a { display: inline-flex; align-items: center; justify-content: center; height: 45px; overflow: hidden; flex-shrink: 0; border-radius: 7px; transition: transform .16s; }
.badges a:hover { transform: translateY(-2px); }
.badges img { height: 100%; width: auto; }
.purchase { margin-top: 12px; color: var(--muted); font-size: 12px; }
.showcase { grid-area: art; min-width: 0; }
.stage { position: relative; height: clamp(415px,35.5vw,490px); isolation: isolate; }
.halo { position: absolute; top: 50%; left: 47%; transform: translate(-50%,-50%); width: 82%; max-width: 410px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(ellipse at 36% 27%, #f7ddc2, var(--halo) 79%); }
.halo::before,.halo::after { position: absolute; content: ""; inset: -9px; border-radius: 50%; border: 1px solid #ac6e4b2c; }
.halo::after { inset: 12px; border-color: #fff7e673; }
.slide { position: absolute; inset: 0; display: grid; place-items: center; }
.device,.mini-phone { overflow: hidden; background: #191a19; border: 5px solid #282926; box-shadow: 0 0 0 1px #7b7871, inset 0 0 0 1px #111; }
.device { height: 96%; aspect-ratio: 1206/2622; border-radius: 35px; transform: translateX(-8%) rotate(-4deg); box-shadow: 0 0 0 1px #72716c, 0 18px 25px -12px #39281855; }
.device img { width: 100%; height: 100%; object-fit: cover; }
.gloss { position: absolute; left: 57%; bottom: 13%; min-width: 136px; max-width: 43%; padding: 14px 19px 15px; background: #fffdf6; border: 1px solid #d9c9b8; box-shadow: 0 9px 24px #532d191b; border-radius: 11px; transform: rotate(2deg); }
.gloss-mark { display: block; width: 22px; height: 3px; margin-bottom: 7px; border-radius: 2px; background: var(--accent); }
.gloss b { display: block; font: 600 31px/1.22 "Hiragino Mincho ProN", "Songti SC", Georgia, serif; letter-spacing: .025em; }
.gloss .pron { display: block; margin-top: 4px; font-size: 12px; color: var(--accent); }
.gloss strong { display: block; margin-top: 3px; font-size: 14px; font-weight: 550; }
.switches { display: flex; align-items: center; justify-content: center; gap: 2px; margin: 19px auto 0; width: max-content; max-width: 100%; padding: 3px; border: 1px solid var(--line); border-radius: 100px; }
.switches button { border: 0; border-radius: 99px; background: transparent; color: #59564f; min-height: 32px; padding: 5px 12px; font-size: 12px; white-space: nowrap; }
.switches button[aria-pressed="true"] { background: #3b342e; color: #fffdf7; }
.switches button:hover:not([aria-pressed="true"]) { background: #eee6d8; }
.features { border-block: 1px solid var(--line); background: #fffdf7; padding: 64px 0 58px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 25px; }
.section-heading .kicker,.review-intro .kicker { margin-bottom: 9px; }
h2 { font-size: clamp(38px,4vw,55px); line-height: 1.05; letter-spacing: -.047em; }
.gallery-label { flex-shrink: 0; color: var(--muted); font-size: .76rem; }
.gallery { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.screen-link { position: relative; display: block; aspect-ratio: 1.2; padding: 21px 13px 0; overflow: hidden; border-radius: 12px; border: 1px solid #3821160d; }
.tint-0 { background: #ead8c5; } .tint-1 { background: #e3d9bb; } .tint-2 { background: #cfdad1; } .tint-3 { background: #ead4cb; }
.mini-phone { display: block; width: 78%; margin: 0 auto; border-width: 3px; border-radius: 19px 19px 0 0; transition: transform .18s; }
.screen-link:hover .mini-phone { transform: translateY(-4px); }
.zoom { position: absolute; top: 9px; right: 9px; display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: #fffdf5eb; color: #3e3931; font: 19px/1 Arial, sans-serif; }
.feature-copy { padding-top: 19px; }
.category { color: var(--accent); font-size: 10px; margin-bottom: 6px; }
h3 { font-size: 21px; line-height: 1.18; letter-spacing: -.04em; font-weight: 620; margin-bottom: 7px; }
.feature-detail { font-size: 1rem; line-height: 1.55; color: var(--muted); }
.feature-detail p + p { margin-top: .7em; }
.text-link { color: var(--accent); font-weight: 600; font-size: 14px; }
.hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem 1.25rem; margin-top: .4rem; }
.hero-links .purchase { margin: 0; }
.demo-jump { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; color: var(--accent); font-size: .9rem; font-weight: 600; }
.hero-companion {
  width: fit-content; max-width: 100%; margin-top: .65rem; padding-top: .35rem;
  display: grid; grid-template-columns: clamp(90px, 9.5vw, 128px) minmax(0, 32ch);
  gap: .8rem; align-items: center; border-top: 1px solid var(--line);
}
.hero-companion img { width: 100%; }
.hero-companion strong { display: block; font: 600 clamp(19px, 1.6vw, 23px)/1.2 var(--serif); }
.hero-companion strong span { color: var(--accent); font: 500 .8em var(--sans); white-space: nowrap; }
.companion-caption { display: block; margin-top: .28rem; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.hero-companion:hover { text-decoration: none; }
.hero-companion:hover strong { text-decoration: underline; text-underline-offset: .17em; }
@media (max-width: 700px) {
  .hero-companion { grid-template-columns: 94px minmax(0, 32ch); }
}
.demo-jump span { font-size: .78em; }
.demo-section { padding-block: clamp(2.5rem, 6vw, 5rem); }
.demo-section .wrap { max-width: 960px; }
.demo-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .6rem 1.5rem; margin-bottom: 1.4rem; }
.demo-heading .text-link { text-decoration: underline; text-underline-offset: .2em; }
.demo-player { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #171412; border-radius: 14px; }
.demo-preview, .demo-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.demo-preview img { width: 100%; height: 100%; object-fit: contain; }
.demo-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 70px; height: 50px; border-radius: 14px; background: #a1342e; color: white; font-size: 23px; line-height: 1; box-shadow: 0 2px 12px #0005; }
.demo-preview:hover .demo-play, .demo-preview:focus-visible .demo-play { background: #852820; outline: 2px solid white; outline-offset: 2px; }
.reviews { padding-block: 67px 72px; display: grid; grid-template-columns: minmax(190px,.75fr) minmax(0,2fr); gap: 40px; }
.review-intro h2 { font-size: clamp(36px,3.5vw,49px); }
.score { display: flex; align-items: baseline; gap: 7px; margin-top: 17px; }
.score b { font-size: 28px; letter-spacing: -.05em; }
.score span:first-of-type { color: var(--accent); font-size: 16px; align-self: center; }
.outof { color: var(--muted); font-size: 13px; }
.rating-source,.review-intro small { display: block; font-size: 12px; }
.review-intro small { color: var(--muted); margin-top: 3px; font-size: 11px; }
.quotes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 35px; }
.quote { display: flex; flex-direction: column; align-items: flex-start; }
.quote-mark { color: var(--accent); font: 58px/.85 Georgia, serif; height: 35px; }
blockquote { margin: 0 0 17px; font: 21px/1.38 var(--serif); letter-spacing: -.016em; }
figcaption { margin-top: auto; font-size: 12px; line-height: 1.6; }
figcaption b,figcaption a,.footer-brand span,.footer-brand strong { display: block; }
figcaption a { color: var(--muted); }
footer { background: #272722; color: #fffaf0; padding-block: 34px 23px; }
.foot-top,.foot-bottom { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.footer-brand img { width: 45px; }
.footer-brand strong { line-height: 1.2; font-size: 21px; letter-spacing: -.04em; }
.footer-brand span { font-size: 13px; color: #ddd8cb; }
footer .badges a { height: 38px; outline: 1px solid #bbb8b2; outline-offset: -1px; }
.foot-bottom { border-top: 1px solid #ffffff36; margin-top: 24px; padding-top: 17px; font-size: 12px; color: #ebe5d9; }
.support { gap: 16px; flex-wrap: wrap; }
dialog { border: 1px solid var(--line); border-radius: 17px; padding: 14px 18px; color: var(--ink); background: #fffaf0; max-width: calc(100% - 20px); max-height: 96vh; width: min(420px,95vw); }
dialog::backdrop { background: #1b1915cb; }
.dialog-top,.dialog-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dialog-top h2 { font: 600 17px/1.3 var(--sans); letter-spacing: -.02em; }
.dialog-top button,.dialog-foot button { border: 1px solid var(--line); background: white; border-radius: 50%; width: 38px; height: 38px; font-size: 20px; line-height: 1; }
.full-shot { width: auto; max-width: 100%; max-height: 69vh; margin: 10px auto; border-radius: 12px; }
.counter { color: var(--muted); font-size: 13px; }
@media (max-width: 950px) {
  .wrap { width: calc(100% - 60px); }
  .hero { gap: 30px; }
  .gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 27px; }
  .screen-link { aspect-ratio: 1.65; }
  .mini-phone { width: 65%; }
  .reviews { gap: 25px; }
  .quotes { gap: 20px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 40px); }
  .header-row { min-height: 64px; }
  .brand { font-size: 21px; gap: 8px; }
  .brand img { width: 33px; }
  nav { gap: 15px; font-size: 13px; }
  .sibling { padding-left: 14px; }
  .hero { grid-template-columns: 1fr; grid-template-areas: "copy" "art"; padding-block: 37px 31px; gap: 26px; }
  .hero-copy { padding: 0; }
  .kicker { margin-bottom: 12px; }
  h1 { font-size: clamp(47px,9.2vw,67px); }
  .intro { margin: 15px 0 18px; line-height: 1.5; }
  .badges a { height: 38px; }
  .stage { height: 365px; max-width: 425px; margin-inline: auto; }
  .halo { width: 76%; }
  .device { border-radius: 27px; }
  .gloss { left: 59%; bottom: 12%; min-width: 115px; padding: 10px 13px; }
  .gloss b { font-size: 25px; }
  .switches { margin-top: 12px; }
  .features { padding: 39px 0; }
  .gallery { gap: 24px 14px; }
  .screen-link { aspect-ratio: .98; padding-top: 14px; }
  .mini-phone { width: 87%; border-radius: 13px 13px 0 0; }
  .feature-copy { padding-top: 13px; }
  .reviews { padding-block: 38px; grid-template-columns: 1fr; gap: 25px; }
  .quotes { gap: 20px; }
  blockquote { font-size: 19px; }
  .foot-top,.foot-bottom { align-items: flex-start; flex-wrap: wrap; }
  .foot-bottom { row-gap: 11px; }
}
@media (max-width: 440px) {
  .gallery-label { max-width: 72px; text-align: right; }
  h3 { font-size: 18px; }
  .quotes { grid-template-columns: 1fr; gap: 24px; }
  .reviews .quote { border-top: 1px solid var(--line); padding-top: 17px; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 28px); }
  nav { gap: 9px; font-size: 12px; }
  .sibling { padding-left: 9px; }
  .stage { height: 320px; }
  .gallery { grid-template-columns: 1fr; }
  .screen-link { aspect-ratio: 1.6; }
  .mini-phone { width: 68%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
.questions { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 10px 32px; margin-top: 30px; }
.questions details { border-top: 1px solid var(--line); }
.questions summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 14px; font-size: 15px; font-weight: 600; list-style: none; cursor: pointer; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; color: var(--accent); font: 22px/1 var(--sans); }
.questions [open] summary::after { content: "−"; }
.questions details p { padding-bottom: 12px; max-width: 470px; font-size: 14px; color: var(--muted); }
@media (max-width: 700px) { .questions { grid-template-columns: 1fr; gap: 0; } }

/* The entry examples keep readings, spellings and English glosses together. */
.companion-invite {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  margin-top: .85rem;
  color: var(--accent);
  font-size: .9rem;
  font-weight: 600;
}
.companion-invite img { width: 40px; height: 40px; }
.chapter { padding-block: clamp(3.25rem, 6vw, 6rem); border-bottom: 1px solid var(--line); }
.chapter-spread {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .86fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
}
.chapter .kicker { margin-bottom: .8rem; }
.chapter-copy h2 { max-width: 16ch; text-wrap: balance; }
.chapter-intro { font-size: clamp(1.04rem, 1.35vw, 1.2rem); line-height: 1.6; margin-top: 1.2rem; color: #4b473f; }
.field-notes { margin-top: 1.65rem; }
.field-notes > div { border-top: 1px solid var(--line); padding: .9rem 0 .95rem; }
.field-notes > div:last-child { padding-bottom: 0; }
.field-notes h3 { font-size: 1.12rem; line-height: 1.35; margin-bottom: .28rem; letter-spacing: -.018em; }
.field-notes p { color: var(--muted); font-size: 1rem; line-height: 1.52; }
.entry-sheet,.deck-sample {
  position: relative;
  background: #fffdf7;
  border: 1px solid #d9cbb5;
  border-top: 4px solid var(--accent);
  border-radius: 3px 3px 14px 14px;
  box-shadow: 0 12px 30px -22px #4f331e8c;
  padding: clamp(1.4rem, 3.3vw, 3rem);
}
.entry-sheet > figcaption,.deck-sample > figcaption {
  color: var(--accent); font-weight: 650; font-size: .9rem;
}
.sample-line { margin-top: 2rem; font-family: "Hiragino Mincho ProN","Songti SC",Georgia,serif; font-size: clamp(1.75rem,3.45vw,3.3rem); line-height: 1.7; letter-spacing: .02em; }
.hanyou .sample-line { font-size: clamp(3.8rem,7vw,6rem); line-height: 1.4; }
.sample-line rt { font: 500 .36em/1.1 var(--sans); }
.sample-line em { color: var(--accent); font-style: normal; }
.translation { font: italic 1.26rem/1.45 var(--serif); color: var(--muted); margin-top: .25rem; }
.word-facts,.travel-words { margin: 1.75rem 0 0; }
.word-facts > div,.travel-words > div { border-top: 1px solid var(--line); padding: .83rem 0; }
.word-facts > div:last-child,.travel-words > div:last-child { padding-bottom: 0; }
.word-facts dt { font-size: .85rem; font-weight: 550; color: var(--muted); }
.word-facts dd { display: flex; align-items: baseline; gap: .2rem .68rem; flex-wrap: wrap; margin: .18rem 0 0; font-size: .94rem; }
.word-facts dd b { font: 600 1.45rem/1.4 "Hiragino Mincho ProN","Songti SC",Georgia,serif; }
.study-chapter { background: #edf0e6; --line: #cfd6c6; }
.study-chapter .chapter-copy { grid-column: 2; grid-row: 1; }
.study-chapter .chapter-spread { grid-template-columns: minmax(0,.93fr) minmax(0,1fr); }
.study-chapter .kicker { color: #415a47; }
.companion-view { min-width: 0; grid-column: 1; grid-row: 1; }
.rank-figure { text-align: center; }
.ink-wash { position: relative; isolation: isolate; max-width: 330px; margin: auto; }
.ink-wash::before {
  content: ""; position: absolute; z-index: -1; inset: 8%; border-radius: 48% 52% 47% 53%;
  background: radial-gradient(ellipse at 36% 34%, #fcf6dd 5%, #e2d7ae 75%, #d4c6a150 99%);
  box-shadow: 0 0 42px #f5eac980;
}
.ink-wash img { width: 100%; height: auto; object-fit: contain; }
.rank-figure figcaption { display: flex; justify-content: center; align-items: baseline; gap: .75rem; margin-top: .2rem; }
.rank-figure figcaption strong { font: 500 2.1rem/1.2 var(--serif); color: #303a30; }
.rank-figure figcaption span { font: 550 .95rem/1.5 var(--sans); color: #505d51; }
.rank-picker { margin: 1.35rem auto 0; padding: 0; border: 0; min-inline-size: 0; width: min(100%, 470px); }
.rank-picker legend { width: 100%; padding: 0; color: #505d51; font: 550 .88rem/1.5 var(--sans); text-align: center; }
.rank-options { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); gap: 4px; margin: .55rem auto 0; }
.rank-option { position: relative; cursor: pointer; }
.rank-option input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.rank-option span {
  display: grid; place-items: center; min-height: 44px; padding: 2px;
  border-radius: 9px; border: 1px solid #bbc5b6; background: #f8f8ef;
}
.rank-option img { width: 100%; max-height: 54px; object-fit: contain; }
.rank-option input:checked + span { background: #fffdf5; box-shadow: inset 0 0 0 2px #506652; border-color: #506652; }
.rank-option input:focus-visible + span { outline: 3px solid #17749f; outline-offset: 2px; }
.rank-option:hover span { border-color: #506652; }
.reading-chapter { background: #fffdf7; }

.deck-sample { background: #f8efe2; }
.deck-name { margin-top: 1.2rem; font: 500 clamp(1.65rem,2.6vw,2.5rem)/1.15 var(--serif); letter-spacing: -.025em; }
.travel-words dt { font-size: 1.65rem; line-height: 1.4; font-weight: 550; }
.travel-words dt small { font-size: 1.05rem; color: var(--muted); }
.travel-words dd { display: flex; gap: .65rem; flex-wrap: wrap; margin: .12rem 0 0; }
.travel-words dd span { color: var(--accent); }
@media (min-width: 741px) and (max-width: 1020px) {
  .rank-options { max-width: 240px; grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 740px) {
  .chapter-spread,.study-chapter .chapter-spread { grid-template-columns: minmax(0,1fr); gap: 1.8rem; }
  .study-chapter .chapter-copy,.companion-view { grid-column: auto; grid-row: auto; }
  .chapter-copy h2 { max-width: 21ch; }
  .entry-sheet,.deck-sample,.news-sample,.companion-view { width: min(100%,480px); justify-self: center; }
  .ink-wash { max-width: 245px; }
  .sample-line { font-size: clamp(1.55rem,6.8vw,2.65rem); }
  .rank-options { max-width: 250px; grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 490px) {
  .mast nav { gap: 11px; } .mast .sibling { padding-left: 10px; }
}
@media (max-width: 380px) {
  .mast nav [href="#reviews"] { display: none; }
}

.hero-caption {
  max-width: 47ch;
  margin: .85rem auto 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}
.gallery { column-gap: clamp(1rem, 2vw, 1.75rem); }
.feature .category { font-size: .76rem; }
.feature h3 { text-wrap: balance; margin-bottom: .65rem; }
.screen-link { display: grid; place-items: center; aspect-ratio: auto; padding: 18px 12px; }
.screen-link .mini-phone {
  width: clamp(128px, 13.4vw, 177px);
  max-width: 86%;
  border-radius: 19px;
}
.screen-link .mini-phone img { width: 100%; }
.dialog-caption { margin: 0 0 .85rem; font-size: 1rem; line-height: 1.45; color: var(--muted); }
.dialog-image { max-height: 57vh; overflow-y: auto; margin-block: .7rem; background: #eee9de; border-radius: 9px; }
.dialog-image .full-shot { width: min(100%, 390px); max-height: none; margin: 0 auto; }
.original-image { color: var(--accent); display: inline-block; margin-bottom: .65rem; text-decoration: underline; text-underline-offset: .18em; font-size: .9rem; }
dialog { width: min(480px, 96vw); }
.news-chapter { background: #f8ecdc; }
.news-chapter .chapter-spread { align-items: center; }
.news-chapter .chapter-copy h2 { max-width: 16ch; }
.news-sample,.chapter-shot { width: min(100%, 430px); justify-self: center; margin: 0; }
.news-enlarge,.chapter-shot-link { display: block; position: relative; width: fit-content; max-width: 100%; margin-inline: auto; }
:is(.news-enlarge, .chapter-shot-link) img {
  display: block; width: clamp(225px, 22vw, 294px); max-width: 100%;
  height: auto; border: 3px solid #38312b; border-radius: 24px;
  box-shadow: 0 10px 22px -12px #4c342e75;
}
:is(.news-enlarge, .chapter-shot-link) .zoom { top: .6rem; right: -.65rem; border: 1px solid var(--line); }
:is(.news-sample, .chapter-shot) figcaption { margin: 1rem auto 0; max-width: 37ch; color: #51483c; text-align: center; font-size: .98rem; line-height: 1.5; }
.news-chapter .field-notes { margin-top: 1.15rem; }
.news-chapter .field-notes > div { border-color: #d7c9b7; }
@media (min-width: 951px) {
  .hero-caption { min-height: 4.5em; }
}
@media (min-width: 581px) and (max-width: 950px) {
  .screen-link .mini-phone { width: 155px; }
}
@media (max-width: 580px) {
  .gallery { grid-template-columns: minmax(0,1fr); row-gap: 2.35rem; }
  .screen-link .mini-phone { width: 160px; }
  .feature-copy { padding-top: 1rem; }
  .feature h3 { font-size: 1.45rem; }
  :is(.news-enlarge, .chapter-shot-link) img { width: min(255px, 74vw); }
}
@media (max-width: 440px) {
  .mast nav { gap: 9px; }
  .mast .sibling { padding-left: 8px; }
  .mast .sibling span { display: none; }
}
@media (max-width: 340px) {
  .brand { gap: 4px; font-size: 17px; }
  .brand img { width: 26px; }
}
.review-stars { color: var(--accent); letter-spacing: .1em; margin-bottom: .65rem; font-size: .94rem; }
.quotes.three-reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 950px) { .quotes.three-reviews { grid-template-columns: minmax(0, 1fr); } }
.review-original { margin-top: .35rem; color: var(--muted); font-size: .84rem; }
.review-original summary { cursor: pointer; }
.review-original p { margin-top: .4rem; font-size: .95rem; line-height: 1.5; }
@media (max-width: 580px) {
  .mast .header-row { position: relative; flex-direction: column; align-items: stretch; gap: .4rem; padding-block: .75rem .5rem; }
  .mast .brand { align-self: flex-start; }
  .mast nav { justify-content: space-between; gap: .35rem; font-size: .92rem; min-height: 34px; }
  .mast .sibling { position: absolute; right: 0; top: .95rem; border: 0; padding: 0; }
  .mast .sibling span, .mast nav [href="#reviews"] { display: inline; }
  .section-heading { flex-wrap: wrap; align-items: baseline; gap: .4rem 1.25rem; }
  .gallery-label { max-width: none; text-align: left; }
}

.contact-section { border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 5.5rem) 0; background: #f5efe2; }
.contact-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 7vw, 6rem); align-items: start; }
.contact-intro > p:last-child { margin-top: 1rem; color: var(--muted); max-width: 36ch; }
.contact-form { display: grid; gap: 1rem; min-width: 0; position: relative; }
.contact-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.contact-form label { display: block; font-weight: 600; }
.contact-form label span, .contact-notice, #contact-help { color: var(--muted); font-size: .875rem; font-weight: 400; }
.contact-form :is(input,textarea) { display: block; margin-top: .35rem; width: 100%; font: inherit; color: var(--ink); background: #fffdf8; border: 1px solid #9a8975; border-radius: 6px; padding: .7rem .8rem; }
.contact-form textarea { resize: vertical; }
.contact-form a { text-decoration: underline; }
#contact-help { margin-top: -.65rem; }
.contact-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(100%); }
.contact-send { justify-self: start; padding: .72rem 1.45rem; border: 0; border-radius: 6px; background: var(--accent); color: white; font-weight: 600; }
.contact-send:disabled { background: #71685d; cursor: default; }
#contact-status:empty { margin: 0; }
@media (max-width: 740px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 500px) { .contact-fields { grid-template-columns: 1fr; } }
