:root{--paper:#f6f5f1;--ink:#242622;--page-width:min(calc((100dvh - 112px - env(safe-area-inset-bottom))*.74),calc(100vw - 28px),560px);--page-height:calc(var(--page-width)/.74)}*{box-sizing:border-box}html,body{margin:0;height:100%;overflow:hidden}body{background:#e4e5e0;color:var(--ink);font-family:Arial,'Hiragino Kaku Gothic ProN',sans-serif;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-bottom:env(safe-area-inset-bottom)}button{font:inherit;font-size:14px;cursor:pointer;background:none;border:0;color:inherit;min-width:60px;min-height:44px}button:disabled{opacity:.3;cursor:default}button:focus-visible,main:focus-visible{outline:2px solid #625848;outline-offset:3px}#reader{height:calc(var(--page-height) + 22px);width:100%;flex-shrink:0;overflow:hidden;outline:none;touch-action:pan-y;user-select:none;-webkit-user-select:none}#track{position:relative;width:var(--page-width);height:var(--page-height);margin:5px auto 17px;perspective:2200px;isolation:isolate;box-shadow:0 15px 25px #0002,2px 3px 0 #d7d6d0,4px 5px 0 #f5f4f0,5px 6px 0 #c5c5bc;background:var(--paper)}.sheet{width:var(--page-width);height:var(--page-height);position:absolute;inset:0;background:var(--paper);overflow:hidden;isolation:isolate;container-type:inline-size;display:none}.sheet.is-current,.sheet.is-under{display:block}.sheet.is-current{z-index:2}.sheet.is-under{z-index:1}.sheet:after{content:'';position:absolute;inset:0;pointer-events:none;z-index:8;background:linear-gradient(90deg,#00000012,transparent 2%,transparent 99%,#00000006)}
/* All typography occupies reserved paper space, never photographic space. */
.photo{position:absolute;inset:10% 5% 11%;overflow:hidden}.photo img{width:100%;height:100%;object-fit:contain;display:block;user-select:none}.running{position:absolute;left:6%;right:6%;top:3%;height:4%;display:flex;align-items:flex-start;justify-content:space-between;gap:8px;font-size:clamp(8px,2.4cqw,12px);letter-spacing:.035em;white-space:nowrap}.page-num{position:absolute;bottom:3%;right:6%;font:clamp(10px,3cqw,14px) Georgia,serif;z-index:5;color:#777a71}.photo-caption{position:absolute;left:6%;bottom:3%;font-size:clamp(8px,2.4cqw,12px);line-height:1.5;letter-spacing:.11em;color:#777a71}.wide-mat .photo{inset:16% 12% 17%}.offset .photo{inset:12% 12% 15% 5%}.chapter-open .photo{inset:10% 6% 25%}.chapter-caption{position:absolute;left:7%;right:7%;top:78%;height:14%;overflow:hidden}.chapter-caption h2{font:italic 6.2cqw/1.12 Georgia,serif;letter-spacing:-.025em;margin:0 0 3%}.chapter-caption p{font:3.3cqw/1.7 serif;letter-spacing:.07em;margin:0}.cover-head{position:absolute;left:7%;right:7%;top:3%;height:18%;text-align:center;overflow:hidden}.cover-head span{font:2.7cqw/1.5 Arial,sans-serif;letter-spacing:.15em}.cover-head h1{font:400 18cqw/.98 Georgia,serif;letter-spacing:-.06em;margin:1.5% 0 0}.cover .photo{inset:23% 5% 17%}.cover-caption{position:absolute;left:7%;right:7%;top:86%;height:10%;text-align:center;overflow:hidden}.cover-caption h2{font:italic 5.8cqw/1.1 Georgia,serif;margin:0 0 2%}.cover-caption p{font:3cqw/1.6 serif;letter-spacing:.1em;margin:0}.cover .page-num{bottom:2%}.ending{padding:10%;color:#34382f;flex-direction:column;justify-content:space-between}.ending.is-current,.ending.is-under{display:flex}.micro{font:3cqw/1.5 Arial,sans-serif;letter-spacing:.14em}.end-title h2{font:400 10cqw/1.6 serif;letter-spacing:.06em;margin:0 0 8%}.end-title p{font:3.8cqw/1.8 serif;margin:0}.end-title .end-en{font:italic 5.5cqw/1.4 Georgia,serif;margin-top:12%;color:#757c6e}.end-sign{font:16cqw/1 Georgia,serif;letter-spacing:-.065em;padding-bottom:8%}.ai-label{position:absolute;left:10%;bottom:3%;font-size:2.5cqw;letter-spacing:.08em}
.reader-controls{width:min(440px,calc(100% - 32px));flex-shrink:0}.control-row{min-height:44px;display:flex;align-items:center;justify-content:space-between}.location{display:flex;align-items:center;gap:14px}#chapter{font-size:12px;letter-spacing:.035em;color:#686b63}#count{font:16px Georgia,serif;white-space:nowrap}#count i{font-size:13px;font-style:normal;color:#888c82;margin-left:3px}.rail{height:1px;background:#c7cbc0;margin-top:4px}#progress{display:block;height:100%;background:#464b40;transition:width .3s}#hint{font-size:12px;text-align:center;color:#73786c;margin:12px 0 0}.curl-layer{position:absolute;inset:0;z-index:12;transform-style:preserve-3d;pointer-events:none;overflow:clip}.curl-strip{position:absolute;top:0;height:100%;transform-origin:left center;transform-style:preserve-3d;will-change:transform}.curl-face{position:absolute;inset:0;overflow:hidden;backface-visibility:hidden;-webkit-backface-visibility:hidden}.curl-content{position:absolute;top:0;height:100%}.curl-content .sheet{display:block!important;pointer-events:none}.curl-content .ending{display:flex!important}.curl-back{transform:rotateY(180deg);background:#efeee8}.curl-tint{position:absolute;inset:0;background:#181a13}.curl-shadow{position:absolute;inset:0;z-index:10;pointer-events:none;background:linear-gradient(90deg,transparent,#0005)}@media(max-height:440px){:root{--page-width:min(calc((100dvh - 90px)*.74),45vw)}#hint{display:none}.reader-controls{max-width:340px}}@media(prefers-reduced-motion:reduce){#progress{transition:none}}

/* Editorial pacing: text and images have separate, non-overlapping regions. */
.chapter-open .photo{inset:33% 6% 10%}
.chapter-caption{top:9%;height:22%;left:7%;right:7%;overflow:hidden;display:grid;grid-template-columns:1.4fr 1fr;align-items:end;gap:4%}
.chapter-caption h2{font:400 11cqw/.93 Georgia,serif;letter-spacing:-.055em;margin:0;align-self:start}
.chapter-caption p{font:3cqw/1.8 serif;margin:0 0 5%;text-align:right;max-width:100%}
.chapter-open[data-page="31"]{background:#e9f032}
.chapter-open[data-page="37"]{background:#252b33;color:#f2f2e9}
.chapter-open[data-page="37"] .page-num{color:#c9cec1}
.duo .photo,.second-photo{position:absolute;overflow:hidden}
.second-photo img{width:100%;height:100%;object-fit:contain;display:block}
.duo-split .photo{inset:18% 51.5% 24% 5%}
.duo-split .second-photo{inset:18% 5% 24% 51.5%}
.duo-title{position:absolute;left:7%;right:7%;top:80%;margin:0;font:italic 6.8cqw/1.05 Georgia,serif;letter-spacing:-.02em;max-height:12%;overflow:hidden}
.duo-stagger .photo{inset:11% 42% 42% 6%}
.duo-stagger .second-photo{inset:44% 6% 11% 50%}
.duo-stagger .duo-title{top:66%;left:7%;right:54%;font-size:7cqw;max-height:22%}
.duo[data-page="33"]{background:#f0bbd0}
.duo[data-page="35"]{background:#dee2f1}
.duo[data-page="42"]{background:#292d31;color:#eeeee6}
.duo[data-page="42"] .photo-caption,.duo[data-page="42"] .page-num{color:#bdc4b5}
.type-feature .photo{inset:35% 5% 11%}
.feature-type{position:absolute;left:7%;right:7%;top:10%;height:23%;display:flex;align-items:flex-start;justify-content:space-between;gap:8%;overflow:hidden}
.feature-type>span{font:2.6cqw/1.5 Arial,sans-serif;letter-spacing:.1em;max-width:24%;padding-top:2%}
.feature-type h2{font:italic 13cqw/.88 Georgia,serif;letter-spacing:-.045em;margin:0;text-align:right}
.type-feature[data-page="36"]{background:#c5dedb}
.type-feature[data-page="44"]{background:#dddde0}

/* Photo-only spreads keep all labels in the controls outside the paper. */
.full-photo .photo{inset:0}
.full-photo .photo img{object-fit:cover;object-position:center 24%}
.full-photo:after{background:linear-gradient(90deg,#0000000c,transparent 2%)}
.portrait .photo,.offset .photo,.wide-mat .photo{inset:8% 3% 7%}
.chapter-caption{grid-template-columns:1.5fr 1fr;align-items:start;gap:5%;height:23%}
.chapter-caption h2{font-size:9.5cqw;line-height:1.02;letter-spacing:-.045em;overflow-wrap:normal}
.chapter-caption p{font-size:3.1cqw;line-height:1.85;text-align:left;align-self:end;margin-bottom:5%;word-break:normal;line-break:strict;text-wrap:pretty}
.feature-type h2{line-height:.98;font-size:11.8cqw}
.duo-title{font-size:6.2cqw;line-height:1.18;text-wrap:balance}
.duo-stagger .duo-title{font-size:6.1cqw;line-height:1.2;top:66%;max-height:23%;text-wrap:balance}
.duo-split .photo{inset:15% 50.5% 21% 2%}
.duo-split .second-photo{inset:15% 2% 21% 50.5%}
.end-title p{line-height:1.9;text-wrap:pretty}

.chapter-caption .jp-phrases{font-size:3.1cqw;letter-spacing:.025em;line-height:1.85;text-wrap:initial;min-width:0}.jp-phrases>span{display:block;white-space:nowrap}html:not([lang="ja"]) .jp-phrases>span{white-space:normal}

.series-door{padding:10%;color:#343931}.series-eyebrow{position:absolute;left:9%;top:8%;font:2.6cqw/1.6 Arial,sans-serif;letter-spacing:.1em}.series-door h2{position:absolute;left:9%;top:24%;margin:0;font:400 12cqw/1.55 'Yu Mincho',serif;letter-spacing:.06em}.series-jp{position:absolute;left:10%;top:65%;margin:0;font:3.7cqw/2 serif;letter-spacing:.04em}.series-jp span{display:block;white-space:nowrap}.series-bottom{position:absolute;bottom:8%;left:10%;font:2.6cqw/1.5 Arial,sans-serif;letter-spacing:.14em}.wa-door{background:#eeeae1}.art-door{background:#252334;color:#f0eaf0}.series-pair{background:#eeeae1}.series-pair .duo-title{font-size:6cqw}

.room-door{background:#eeece8}.room-door h2{font-size:9.2cqw;line-height:1.6;letter-spacing:.02em}.room-pair{background:#f2f0eb}

/* New chapters: type lives outside photography. */
.century-door h2{font-size:9cqw;line-height:1.6;letter-spacing:.025em}.century-door .series-jp{font-size:3.1cqw;line-height:2}.city-door{background:#e5e5dd}.sun-door{background:#dcebed}.evening-door{background:#252d3b;color:#f6f1e7}.century-pair .duo-title{font-size:5.1cqw}

/* Preserve the original pool framing, including legs and feet. */
.sheet[data-chapter="BY THE SEA"] .photo img,.sheet[data-chapter="BY THE SEA"] .second-photo img{object-fit:contain;object-position:center}.sheet.full-photo[data-chapter="BY THE SEA"]{background:#dcebed}
.reader-footer{display:flex;align-items:center;gap:10px;min-height:42px}.reader-footer #hint{flex:1;margin:0;font-size:10px}.reader-footer #contents-open{min-height:42px;font-size:12px;text-decoration:underline;text-underline-offset:4px;padding:0 12px 0 0}
#contents-dialog{box-sizing:border-box;width:min(680px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:20px;border:0;background:#f7f5f0;color:#272c25;overscroll-behavior:contain;border-radius:3px}#contents-dialog::backdrop{background:#151a17b8}#contents-dialog button{cursor:pointer;color:inherit;font:inherit;border:1px solid #ccd0c5;background:transparent;padding:10px;min-height:44px;border-radius:2px}#contents-dialog button:focus-visible,#page-number:focus-visible{outline:2px solid #3d6d63;outline-offset:2px}.contents-header{display:flex;justify-content:space-between;align-items:center;gap:12px}.contents-header span{font:10px Arial,sans-serif;letter-spacing:.08em}.contents-header h2{margin:8px 0 16px;font:28px serif}.contents-header button{font-size:12px!important}#page-jump{display:flex;gap:8px;align-items:center;padding:14px 0;border-top:1px solid #ccd0c5;border-bottom:1px solid #ccd0c5;font-size:13px}#page-number{width:65px;min-height:42px;box-sizing:border-box;border:1px solid #ccd0c5;background:white;font:16px Georgia,serif;padding:8px;color:#272c25}#page-jump button{margin-left:auto}#contents-chapters{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:16px 0}#contents-chapters button{display:flex;justify-content:space-between;gap:8px;text-align:left;font-size:11px}#contents-chapters small{white-space:nowrap;color:#74796e}#contents-dialog h3{font:16px serif;margin:22px 0 12px}#contents-pages{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}#contents-pages button{padding:0 0 6px;overflow:hidden;font-size:12px}#contents-pages img{display:block;width:100%;aspect-ratio:.74;object-fit:contain;background:#e9e7e0;margin-bottom:6px}#contents-pages .type-thumb{display:flex;aspect-ratio:.74;align-items:center;justify-content:center;background:#e9e7e0;padding:6px;box-sizing:border-box;font:11px/1.6 serif;margin-bottom:6px}#contents-pages [aria-current="page"]{outline:2px solid #3d6d63;outline-offset:2px}

/* Resort stories: complete frames, shared gutters, captions outside the photographs. */
.resort-layout{background:#f1ede5}.resort-heading{position:absolute;left:5%;right:5%;top:4%;display:flex;justify-content:space-between;font:2.5cqw/1.4 Arial,sans-serif;letter-spacing:.04em}.resort-grid{position:absolute;inset:11% 4% 15%;display:grid;gap:2cqw}.resort-grid img{display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:contain}.resort-duo .resort-grid{grid-template-rows:1fr 1fr}.resort-trio .resort-grid{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr}.resort-trio .resort-grid img:first-child{grid-row:1 / 3}.resort-caption{position:absolute;left:5%;right:5%;bottom:7%;margin:0;font:italic 5.4cqw/1.2 Georgia,serif}.resort-layout .page-num{bottom:3%}

/* Bound grid tracks so intrinsic photo sizes cannot invade captions. */
.resort-grid{overflow:hidden;grid-template-rows:minmax(0,1fr);min-height:0}.resort-duo .resort-grid{grid-template-rows:repeat(2,minmax(0,1fr))}.resort-trio .resort-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}.resort-grid img{max-width:100%;max-height:100%;overflow:hidden}.sea-pair .resort-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(0,1fr);inset:13% 4% 21%}.resort-caption{bottom:8%;max-height:8%;overflow:hidden}.resort-layout .page-num{bottom:3%}

/* Final-page PDF purchase, with a dedicated touch target. */
.ending{display:none;padding:8% 9%}.ending.is-current,.ending.is-under{display:flex;justify-content:flex-start;gap:0}.ending .micro{font-size:2.6cqw}.ending .end-title{margin-top:8%}.ending .end-title h2{font-size:8.6cqw;line-height:1.5;margin-bottom:5%}.ending .end-title p{font-size:3.3cqw}.ending .end-title .end-en{font-size:4.6cqw;line-height:1.35;margin-top:7%}.pdf-purchase{margin-top:auto;margin-bottom:6%;width:100%}.pdf-purchase p{font:3.2cqw/1.6 serif;margin:0 0 3%}.pdf-buy{display:flex;align-items:center;justify-content:center;gap:.4em;min-height:48px;padding:12px 8px;background:#34382f;color:#fff;text-decoration:none;font:3.5cqw/1.5 Arial,sans-serif;text-align:center;border-radius:2px}.pdf-buy:hover{background:#4a5142}.pdf-buy:focus-visible{outline:2px solid #34382f;outline-offset:4px}.pdf-purchase small{display:block;font:2.55cqw/1.5 Arial,sans-serif;color:#687060;margin-top:3%;text-align:center}.ending .end-sign{font-size:10cqw;padding:0 0 7%;line-height:1}.ending .ai-label{left:9%}

/* Vol.2 closing page */
.vol2-ending{background:#ece9e2;color:#292b27}.vol2-eyebrow{position:absolute;top:6%;left:8%;font-size:2.5cqw;letter-spacing:.12em}.vol2-end-copy{position:absolute;left:8%;right:8%;top:25%}.vol2-end-copy h2{font:italic 12cqw/1.05 Georgia,serif;margin:7% 0}.vol2-end-copy p{font-size:3.2cqw;line-height:1.7}.vol2-thanks{color:#666}.vol1-link{display:flex;align-items:center;justify-content:space-between;padding:5% 0;margin-top:12%;border-top:1px solid #68695e;border-bottom:1px solid #68695e;color:inherit;text-decoration:none;font-size:4cqw;min-height:44px}.vol1-link:focus-visible{outline:2px solid #292b27;outline-offset:4px}.vol1-link:hover{background:#00000008}.vol2-end-copy .vol1-note{font-size:2.6cqw;color:#666}.vol2-credit{position:absolute;bottom:4%;left:8%;font-size:2.2cqw;letter-spacing:.1em}
