@font-face{font-family:TriaText;src:url('assets/tria-sans.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:TriaText;src:url('assets/tria-sans-bold.otf') format('opentype');font-weight:700;font-style:normal;font-display:swap}
:root{--blue:#31A0D4;--ink:#1E2A30;--warm:#F4F0E8;--stone:#E3D6C4;--oak:#C9A77B;--muted:#617076;--line:#E0E3E2;--gutter:clamp(24px,5.5vw,96px);--paper:#fff}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:28px}
body{margin:0;background:var(--paper);color:var(--ink);font-family:TriaText,Arial,sans-serif;-webkit-font-smoothing:antialiased}
::selection{background:#DDF2FA;color:var(--ink)}
a{color:inherit;text-decoration:none}
a,button{-webkit-tap-highlight-color:transparent}
a:focus-visible,button:focus-visible{outline:2px solid #125C7D;outline-offset:7px}
button{font:inherit;color:inherit}
[hidden]{display:none!important}
img{display:block;max-width:100%;height:auto}
p,h1,h2,figure{margin:0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:fixed;top:12px;left:16px;padding:12px 18px;background:var(--ink);color:#fff;z-index:20;transform:translateY(-180%)}
.skip-link:focus{transform:translateY(0)}
.reading-progress{position:fixed;left:0;top:0;width:100%;height:2px;background:var(--blue);transform:scaleX(0);transform-origin:left;pointer-events:none;z-index:15}
.site-header{max-width:1800px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:12px var(--gutter) 8px}
.brand{display:block;width:144px;flex-shrink:0}
.brand img,.footer-brand img{width:100%;height:auto;filter:none;mix-blend-mode:normal;transform:none}
nav{display:flex;align-items:center;gap:35px;font-size:12px}
nav>a{padding:14px 0;position:relative}
nav>a::after{content:'';position:absolute;left:0;bottom:8px;height:1px;width:100%;background:var(--blue);transform:scaleX(0);transform-origin:left;transition:transform .4s}
nav>a:hover::after{transform:scaleX(1)}
.motion-control{display:flex;gap:8px;align-items:center;background:none;border:0;cursor:pointer;padding:14px 0;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:9px;letter-spacing:.025em}
.motion-dot{width:5px;height:5px;border:1px solid #65757E;border-radius:50%}
.motion-control[aria-pressed=true] .motion-dot{background:var(--blue);border-color:var(--blue)}
.hero{max-width:1800px;margin:auto;padding:53px var(--gutter) 29px;display:grid;grid-template-columns:minmax(0,1.17fr) minmax(0,1fr);column-gap:8vw;row-gap:48px;align-items:start}
.hero-copy{padding-top:21px;min-width:0}
.micro{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:9px;letter-spacing:.12em;line-height:1.5}
.decode-text{display:inline-block;max-width:100%;white-space:nowrap;overflow:hidden;vertical-align:top}
.hero-meta{display:flex;justify-content:space-between;gap:16px;max-width:500px}
.meta-status{color:var(--muted)}
h1{font-size:clamp(46px,5.4vw,96px);font-weight:400;letter-spacing:-.057em;line-height:1.04;margin-top:47px}
.headline-line{display:block;white-space:nowrap;overflow:hidden}
.headline-line:nth-child(2){color:#125C7D}
.hero-japanese{font-family:'Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif;font-size:15px;letter-spacing:.23em;margin-top:22px;font-weight:400}
.hero-note{font-size:14px;color:var(--muted);line-height:1.9;margin-top:39px}
.quiet-link{display:flex;gap:27px;align-items:center;width:fit-content;padding:12px 0;margin-top:30px;font-size:11px}
.quiet-link>span:first-child{position:relative}
.quiet-link>span:first-child::after{content:'';position:absolute;left:0;bottom:-6px;background:var(--line);height:1px;width:100%;transition:background .3s}
.quiet-link:hover>span:first-child::after{background:var(--blue)}
.link-arrow{font-size:20px;transition:transform .4s;color:#125C7D}
.quiet-link:hover .link-arrow{transform:translateY(3px)}
.coffee-figure{padding-top:0;min-width:0}
.coffee-frame{position:relative;aspect-ratio:4/5;overflow:hidden;background:var(--warm)}
.coffee-frame>img{width:100%;height:100%;object-fit:cover;transform:scale(1.025) translate(var(--image-x,0px),var(--image-y,0px));transition:transform .7s ease-out;will-change:auto}
.crop-mark{position:absolute;width:17px;height:17px;opacity:.65;border-color:var(--blue);border-style:solid;pointer-events:none}
.crop-top{top:16px;left:16px;border-width:1px 0 0 1px}.crop-bottom{bottom:16px;right:16px;border-width:0 1px 1px 0}
figcaption{display:flex;justify-content:space-between;gap:15px;padding-top:17px;color:var(--muted);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:8px;letter-spacing:.11em}
.hero-foot{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:28px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:8px;letter-spacing:.13em;color:var(--muted);padding-top:18px}
.scroll-line{flex:1;height:1px;background:var(--line);position:relative}
.scroll-line::before{content:'';position:absolute;top:0;left:0;width:56px;height:1px;background:var(--blue)}
.coffee-focus{max-width:1800px;margin:auto;padding:109px var(--gutter) 112px;display:grid;grid-template-columns:1fr 2.18fr;gap:7vw}
.section-index{display:flex;flex-direction:column;align-items:start;gap:45px}
.vertical-japanese{writing-mode:vertical-rl;font-family:'Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif;font-size:15px;letter-spacing:.2em;color:#51636B;line-height:1.8}
.focus-main h2{font-size:clamp(42px,4.1vw,71px);font-weight:400;letter-spacing:-.045em;line-height:1.13}
.focus-copy{display:grid;grid-template-columns:52px minmax(0,380px);gap:32px;margin-top:38px}
.focus-line{display:block;height:1px;width:52px;background:var(--blue);margin-top:11px}
.focus-copy p{font-size:15px;line-height:1.9;color:var(--muted)}
.next-chapter{position:relative;background:var(--warm);padding:36px var(--gutter) 62px;text-align:center;overflow:hidden}
.chapter-top{max-width:1608px;margin:auto;display:flex;align-items:center;justify-content:space-between;text-align:left}
.chapter-dot{width:6px;height:6px;background:var(--blue);border-radius:50%}
.chapter-layout{max-width:1608px;margin:57px auto 0;display:grid;grid-template-columns:1fr 2.18fr;gap:7vw;text-align:left}
.chapter-aside{padding-top:0}
.next-chapter h2{font-family:TriaText,Arial,sans-serif;font-size:clamp(42px,4.8vw,84px);font-weight:400;line-height:1.14;letter-spacing:-.045em;padding-top:0;color:#125C7D}
.next-chapter p{font-size:14px;line-height:1.95;color:var(--muted);margin-top:31px}
.next-chapter .quiet-link{margin:25px 0 0}
.chapter-rule{max-width:1608px;margin:57px auto 0;height:1px;background:#D8D5CD;position:relative;overflow:hidden}
.chapter-rule::after{content:'';position:absolute;top:0;left:0;width:72px;height:1px;background:var(--blue)}
.site-footer{max-width:1800px;margin:auto;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:28px;padding:20px var(--gutter)}
.site-footer .copyright{display:block;flex-basis:100%;width:100%;border-top:1px solid var(--line);padding-top:18px;margin-top:2px;text-align:center;font-size:10px;letter-spacing:.03em;color:var(--muted)}
.footer-brand{display:block;width:102px;flex-shrink:0}
.site-footer p{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:8px;letter-spacing:.1em;color:var(--muted)}
.site-footer>a:last-child{display:flex;align-items:center;gap:18px;padding:12px 0;font-size:10px}.site-footer>a:last-child span{font-size:17px;color:#125C7D}
.shoji-reveal{display:none;position:fixed;inset:0;pointer-events:none;z-index:12;overflow:hidden}
.shoji-panel{position:absolute;top:0;bottom:0;width:50%;background:var(--warm)}
.panel-left{left:0;border-right:1px solid var(--stone)}.panel-right{right:0;border-left:1px solid var(--stone)}
.image-scan{display:none;position:absolute;left:0;right:0;top:0;height:1px;background:var(--blue);box-shadow:0 0 14px 3px #31A0D428;pointer-events:none}
@keyframes shoji-left{0%,15%{transform:translateX(0)}100%{transform:translateX(-102%)}}
@keyframes shoji-right{0%,15%{transform:translateX(0)}100%{transform:translateX(102%)}}
@keyframes scan{0%{top:0;opacity:0}10%{opacity:.7}90%{opacity:.7}100%{top:100%;opacity:0}}
@keyframes text-arrival{from{transform:translateY(18px);filter:blur(6px);opacity:.1}to{transform:translateY(0);filter:blur(0);opacity:1}}
@keyframes coffee-text-focus{0%{filter:blur(9px);opacity:.25}45%{filter:blur(4px);opacity:.7}100%{filter:blur(0);opacity:1}}
@keyframes reveal-rule{from{transform:translateX(-80px)}to{transform:translateX(1608px)}}
html.motion-on .shoji-reveal{display:block}
html.motion-on .panel-left{animation:shoji-left 1.15s cubic-bezier(.65,0,.2,1) both}
html.motion-on .panel-right{animation:shoji-right 1.15s cubic-bezier(.65,0,.2,1) both}
html.motion-on .hero h1{animation:text-arrival 1.1s .28s both}
html.motion-on .decode-text.is-decoding{animation:coffee-text-focus 1.1s cubic-bezier(.2,.65,.2,1) both}
html.motion-on .image-scan{display:block;animation:scan 1.45s .55s both}
html.motion-on .next-chapter.is-visible .chapter-rule::after{animation:reveal-rule 2.3s ease-in-out both}
html.motion-off .shoji-reveal,html.motion-off .image-scan{display:none}
html.motion-off{scroll-behavior:auto}
html.motion-off *,html.motion-off *::before,html.motion-off *::after{animation:none!important;transition:none!important}
@media(min-width:1800px){.hero{column-gap:144px}.coffee-focus,.chapter-layout{gap:126px}}
@media(max-width:1100px){.hero{column-gap:5vw;padding-top:36px}.hero-copy{padding-top:9px}.hero-meta{flex-wrap:wrap;justify-content:start;gap:18px}h1{font-size:5.6vw;margin-top:40px}.hero-note{margin-top:30px}.hero-japanese{font-size:13px}.coffee-focus{padding-top:88px;padding-bottom:88px}}
@media(max-width:900px){
  .chapter-layout{grid-template-columns:1fr 2fr;gap:5vw}
  .hero{grid-template-columns:1fr 1fr;gap:5vw;row-gap:32px}h1{font-size:5.4vw;margin-top:30px}.hero-meta{font-size:8px}.micro{font-size:8px}.hero-note{font-size:12px;margin-top:28px}.hero-japanese{font-size:12px;margin-top:19px}.quiet-link{margin-top:22px}.hero-foot>span:last-child{display:none}.hero-foot{padding-top:10px}.coffee-focus{grid-template-columns:1fr 2fr;gap:5vw}.focus-main h2{font-size:43px}.focus-copy{grid-template-columns:34px 1fr;gap:23px}.focus-line{width:34px}.focus-copy p{font-size:14px}
}
@media(max-width:700px){
  :root{--gutter:24px}
  .site-header{padding-top:8px;padding-bottom:0;gap:20px}.brand{width:118px}nav{gap:23px;font-size:11px}.nav-next{display:none}.motion-control{font-size:8px}
  .hero{grid-template-columns:1fr;padding-top:28px;padding-bottom:24px;row-gap:36px}.hero-copy{padding-top:0}.hero-meta{justify-content:space-between;gap:16px}.micro{font-size:8px}h1{font-size:clamp(47px,9.3vw,66px);margin-top:35px;line-height:1.08}.hero-japanese{font-size:13px;margin-top:19px}.hero-note{font-size:13px;margin-top:26px;line-height:1.85}.quiet-link{font-size:11px;margin-top:19px}.coffee-frame{aspect-ratio:5/4}.coffee-frame>img{object-position:50% 60%}figcaption{padding-top:13px;font-size:7px}.hero-foot{padding-top:2px;gap:20px;font-size:7px}
  .coffee-focus{padding-top:55px;padding-bottom:65px;grid-template-columns:1fr;gap:31px}.section-index{flex-direction:row;justify-content:space-between;align-items:center;gap:20px}.vertical-japanese{writing-mode:horizontal-tb;font-size:11px;letter-spacing:.12em}.focus-main h2{font-size:44px}.focus-copy{margin-top:28px;grid-template-columns:30px 1fr;gap:21px}.focus-line{width:30px}.focus-copy p{font-size:13px;max-width:420px}
  .next-chapter{padding-top:28px;padding-bottom:37px}.chapter-layout{grid-template-columns:1fr;gap:31px;margin-top:34px}.chapter-aside{padding-top:0}.next-chapter h2{font-size:clamp(38px,7.8vw,52px);padding-top:0}.next-chapter p{font-size:12px;line-height:1.9;margin-top:26px}.next-chapter .quiet-link{margin-top:22px}.chapter-rule{margin-top:38px}
  .site-footer{padding-top:15px;padding-bottom:15px;gap:20px}.footer-brand{width:85px}.site-footer p{display:none}.site-footer>a:last-child{font-size:9px;gap:12px}
}
@media(max-width:360px){.brand{width:104px}nav{gap:19px;font-size:10px}h1{font-size:43px}.hero-japanese{font-size:12px}.focus-main h2{font-size:39px}.vertical-japanese{font-size:10px}.next-chapter h2{font-size:36px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.reading-progress,.shoji-reveal,.image-scan{display:none!important}.coffee-frame>img{transform:none!important}}
