/* Monochrome architecture: geography is the image, typography is the interface. */
@font-face{font-family:Manrope;src:url('/home-assets/590084ac22c997f4456b/manrope.ttf') format('truetype');font-weight:200 800;font-style:normal;font-display:optional}
:root{font-family:Manrope,'Hiragino Sans','Yu Gothic UI',sans-serif;font-synthesis:none;--surface:#fff;--ink:#181818;--muted:#666;--rule:#dcdcdc;--soft:#f4f4f4;--inverse:#fff;--ease:cubic-bezier(.32,.72,0,1);--pad:clamp(24px,4.5vw,80px)}
html[data-night=true]{--surface:#181818;--ink:#f5f5f5;--muted:#aaa;--rule:#3d3d3d;--soft:#272727;--inverse:#181818;--theme-mix:1;color-scheme:dark}
/* Coast's original body palette must not override the neutral UI tokens. */
html[data-night=true] body:is(.theme-f,.product-page){--paper:var(--appearance-surface,#181818);--ink:var(--appearance-ink,#f5f5f5);--muted:var(--appearance-muted,#aaa);--line:var(--appearance-rule,#3d3d3d);--accent:var(--appearance-ink,#f5f5f5)}
html{scroll-padding-top:112px}body:is(.theme-f,.product-page){background:var(--surface);color:var(--ink);font-family:Manrope,'Hiragino Sans','Yu Gothic UI',sans-serif}
h1,h2,h3{text-wrap:balance}p{text-wrap:pretty}button,a,summary{-webkit-tap-highlight-color:transparent}a,button,summary{touch-action:manipulation}
:is(.theme-f,.product-page) :is(a,button,summary):focus-visible{outline:2px solid currentColor;outline-offset:5px}
:is(.theme-f,.product-page) .skip{position:fixed;z-index:40;background:var(--ink);color:var(--inverse)}
/* A single quiet navigation island, shared by normal pages. */
html[data-night] body:is(.theme-f,.product-page) header,
html[data-night] body.theme-f .cover header.is-scrolled{position:fixed;top:24px;left:var(--pad);right:var(--pad);z-index:30;max-width:1280px;margin-inline:auto;padding:8px 24px;min-height:64px;background:var(--surface);color:var(--ink);border:1px solid var(--rule);border-radius:16px;box-shadow:0 8px 32px #00000008;text-shadow:none;gap:16px;backdrop-filter:none}
html[data-night] body:is(.theme-f,.product-page) header::after{content:none}
html[data-night] body.theme-f .cover header nav{background:none;box-shadow:none;color:var(--ink)}
html[data-night] body:is(.theme-f,.product-page) header nav{background:none;box-shadow:none;color:var(--ink);gap:16px;text-shadow:none;flex-wrap:wrap}
:is(.theme-f,.product-page) .brand{font-family:inherit;font-size:20px;line-height:28px;font-weight:700;letter-spacing:-.04em;color:var(--ink);flex-shrink:0}
:is(.theme-f,.product-page) header nav>a{padding:8px;font-size:14px;line-height:20px;letter-spacing:0;min-height:44px;border-radius:8px}
:is(.theme-f,.product-page) header nav>a::after{content:none}
:is(.theme-f,.product-page) header nav>a:is(:hover,[aria-current]){background:var(--soft);color:var(--ink)}
html[data-night] body:is(.theme-f,.product-page) header .appearance-controls{padding:2px;border:0;border-radius:8px;background:var(--soft);color:var(--ink);box-shadow:none;gap:0}
html[data-night] body:is(.theme-f,.product-page) header .appearance-controls::before{left:2px;top:2px;bottom:2px;width:calc(50% - 2px);background:var(--surface);border:1px solid var(--rule);border-radius:6px;box-shadow:none;transition:transform 400ms var(--ease)}
:is(.theme-f,.product-page) .appearance-controls button{padding:8px;min-width:56px;min-height:44px;font-size:12px;line-height:16px;color:var(--muted);opacity:1;border:0}
:is(.theme-f,.product-page) .appearance-controls button[aria-pressed=true]{color:var(--ink)}
:is(.theme-f,.product-page) .appearance-icon{stroke:currentColor;width:16px;height:16px}
:is(.theme-f,.product-page) .site-menu summary{font-size:14px;line-height:20px;min-height:44px;border:0;border-radius:8px;color:var(--ink);padding:8px 12px}
:is(.theme-f,.product-page) .site-menu[open]>summary{background:var(--soft)}
:is(.theme-f,.product-page) .site-menu ul{background:var(--surface);color:var(--ink);border:1px solid var(--rule);border-radius:12px;box-shadow:0 16px 48px #00000018;padding:12px;max-height:calc(100svh - 144px);overflow:auto}
:is(.theme-f,.product-page) .site-menu li>a{color:var(--ink);font-size:16px;line-height:24px;padding:12px;border:0;border-radius:6px;min-height:48px}
:is(.theme-f,.product-page) .site-menu a:is(:hover,[aria-current]){color:var(--ink);background:var(--soft)}
/* The existing procedural coast becomes a monochrome landscape plate. */
body.theme-f{isolation:isolate}body.theme-f::before{display:none}
html[data-night] body.theme-f>.seascape{position:absolute;top:0;left:40%;right:0;width:60%;height:min(100svh,1000px);min-height:640px;z-index:-1;filter:grayscale(1);background:#b7b7b7}
body.theme-f .cover{position:relative;min-height:640px;height:min(100svh,1000px);padding:112px 0 0;overflow:visible;z-index:1;pointer-events:none}
body.theme-f .cover::before{display:none}
body.theme-f .hero{display:flex;min-height:0;align-items:center;flex:1;pointer-events:none}
body.theme-f .hero-copy{width:40%;max-width:none;margin:0;padding:48px 32px 48px var(--pad);background:var(--surface);color:var(--ink);border:0;border-radius:0;box-shadow:none;text-shadow:none;align-self:center;pointer-events:auto;animation:none}
body.theme-f .hero-copy::after{display:none}
body.theme-f .hero-copy h1{font-family:inherit;font-size:clamp(48px,5.2vw,80px);line-height:1;letter-spacing:-.065em;font-weight:600;overflow-wrap:normal}
body.theme-f .hero-copy .statement{color:var(--muted);font-size:18px;line-height:28px;letter-spacing:0;margin:24px 0 40px;max-width:30ch}
html[data-night] body.theme-f .software-primary{background:var(--ink);color:var(--inverse);border:1px solid var(--ink);border-radius:8px;box-shadow:none;min-height:80px;width:100%;max-width:400px;gap:16px;padding:16px 24px;font-size:16px;line-height:24px;font-weight:600;letter-spacing:0;margin:0;transition:transform 400ms var(--ease),background-color 400ms var(--ease)}
html[data-night] body.theme-f .software-primary::before,html[data-night] body.theme-f .software-primary::after{display:none}
html[data-night] body.theme-f .software-primary:is(:hover,:focus-visible){background:#313131;color:#fff;border-color:#313131;transform:translateY(-2px)}
html[data-night=true] body.theme-f .software-primary:is(:hover,:focus-visible){background:#fff;color:#181818;border-color:#fff}
html[data-night] body.theme-f .software-primary .computer-mark{display:none}
body.theme-f .software-primary .primary-name{font-weight:600;letter-spacing:-.02em;line-height:24px}
body.theme-f .resource-caption{font-size:12px;line-height:16px;letter-spacing:0;color:inherit;opacity:.72;margin-top:4px}
body.theme-f .software-primary .ui-arrow{color:inherit}
body.theme-f .destinations{display:flex;flex-wrap:wrap;gap:8px 24px;max-width:none;margin:24px 0 0;border:0;background:none;box-shadow:none}
body.theme-f .destinations a,body.theme-f .destinations a+a{font-size:14px;line-height:20px;min-height:44px;padding:8px 0;background:none;border:0;border-radius:0;gap:8px;color:var(--ink)}
body.theme-f .destinations a .ui-arrow{width:12px;height:12px;flex-basis:12px;color:var(--muted)}
body.theme-f .destinations a:hover{text-decoration:underline;text-underline-offset:6px}
body.theme-f .cover-bottom{padding:16px var(--pad) 24px;display:flex;justify-content:space-between;align-items:center;gap:16px;text-transform:none;letter-spacing:0;text-shadow:none;pointer-events:none}
body.theme-f .cover-bottom>a{color:var(--ink);background:var(--surface);border:1px solid var(--rule);border-radius:8px;box-shadow:none;min-height:44px;font-size:14px;line-height:20px;padding:8px 16px;gap:16px;text-transform:none;letter-spacing:0;pointer-events:auto}
body.theme-f .cover-bottom .ui-arrow{color:inherit}
/* Open, numbered structure instead of repeated framed panels. */
html[data-night] body.theme-f #directory{padding:0;background:var(--surface);color:var(--ink);isolation:isolate}
body.theme-f #directory::before{display:none}
html[data-night] body.theme-f .harbour-index{display:grid;grid-template-columns:1fr 1fr;gap:0 64px;max-width:1280px;margin:0 auto;padding:80px var(--pad);background:var(--surface);color:var(--ink);border:0;border-radius:0;box-shadow:none}
html[data-night] body.theme-f .harbour-index .directory-section{background:none;border:0;color:var(--ink);padding:0;grid-row:auto}
html[data-night] body.theme-f .harbour-index .download-feature{grid-column:1/-1;grid-row:auto;padding:0 0 64px;margin:0 0 40px;border:0;border-bottom:1px solid var(--rule)}
body.theme-f .product-entry{position:relative;display:block;min-height:0;padding-right:160px}
body.theme-f .product-entry>.computer-mark{display:none}
body.theme-f .harbour-index .section-label{font-size:14px;line-height:20px;color:var(--muted);letter-spacing:0;text-transform:none;margin:0 0 24px}
html[data-night] body.theme-f .harbour-index .download-feature h2{font-size:clamp(30px,4vw,60px);line-height:1;letter-spacing:-.055em;color:var(--ink);overflow-wrap:anywhere;font-weight:600}
html[data-night] body.theme-f .harbour-index .directory-section p{color:var(--muted);font-size:16px;line-height:24px;margin:16px 0 0}
body.theme-f .product-entry-action{position:absolute;right:0;top:0;margin:0;padding:8px 0;min-height:44px;gap:16px;font-size:14px;line-height:20px;color:var(--ink);background:none;border:0;border-radius:0}
body.theme-f .directory-secondary h2{font-size:24px;line-height:32px;font-weight:600;letter-spacing:-.035em}
html[data-night] body.theme-f .harbour-index #social{margin:0;padding:0;border:0}
body.theme-f .directory-links{margin:16px 0 0}.directory-link{font-size:16px;line-height:24px;min-height:0;color:var(--muted)}.directory-links p:empty{display:none}
html[data-night] body.theme-f .reading-layout{--reading-paper:var(--surface);--reading-ink:var(--ink);--reading-muted:var(--muted);background:var(--surface);padding:0 var(--pad) 80px;margin:0}
body.theme-f .reading-inner{display:grid;grid-template-columns:240px minmax(0,760px);gap:64px;max-width:1120px;margin:0 auto;padding:64px 0 0;border-top:1px solid var(--rule)}
html[data-night] body.theme-f :is(.reading-article,.reading-rail,.reading-mobile-toc){background:var(--surface);color:var(--ink);border:0;border-radius:0;box-shadow:none}
body.theme-f .reading-article{padding:0;max-width:760px;min-width:0}
body.theme-f .reading-rail{padding:0 24px 0 0;top:128px;border-right:1px solid var(--rule)!important}
body.theme-f .reading-rail-title{font-size:14px;line-height:20px;text-transform:none;letter-spacing:0;color:var(--muted);margin:0 0 24px}
html[data-night] body.theme-f .reading-toc a{border:0;border-radius:0;margin:0;padding:12px 0;gap:16px;color:var(--muted);font-size:14px;line-height:20px;background:none}
html[data-night] body.theme-f .reading-toc a:is(:hover,[aria-current]){color:var(--ink);background:none;font-weight:600}
html[data-night] body.theme-f .reading-toc-number{color:var(--muted);font-size:12px;line-height:16px;font-variant-numeric:tabular-nums}
body.theme-f .reading-header{padding:0 0 32px;border:0}
body.theme-f .reading-eyebrow{color:var(--muted);font-size:14px;line-height:20px;text-transform:none;letter-spacing:0;margin:0 0 16px}
html[data-night] body.theme-f .reading-header h2{font-family:inherit;color:var(--ink);font-size:60px;line-height:1;letter-spacing:-.055em;font-weight:600;margin:0}
body.theme-f .reading-intro{color:var(--muted);font-size:18px;line-height:28px;margin:24px 0 0}
body.theme-f .reading-chapter{margin:40px 0 0}
html[data-night] body.theme-f .reading-chapter h3{color:var(--ink);font-size:30px;line-height:36px;letter-spacing:-.04em;font-weight:600;margin:0 0 24px}
body.theme-f .reading-chapter-number{color:var(--muted);font-variant-numeric:tabular-nums}
body.theme-f .reading-chapter p{color:var(--ink);font-size:18px;line-height:32px;max-width:65ch;margin:0 0 24px}
html[data-night] body.theme-f .shore-footer{background:var(--surface);color:var(--ink);padding:0 var(--pad) 24px;border-top:1px solid var(--rule)}
body.theme-f .shore-footer .about{display:grid;grid-template-columns:240px 1fr;gap:64px;padding:48px 0;background:none;border:0;max-width:1120px}
body.theme-f .shore-footer .about .section-label{color:var(--muted);font-size:14px;line-height:20px;letter-spacing:0;text-transform:none}
body.theme-f .shore-footer .about h2{font-size:24px;line-height:32px;font-weight:600;color:var(--ink)}
body.theme-f .shore-footer .about p{font-size:16px;line-height:24px;color:var(--muted)}
html[data-night] body:is(.theme-f,.product-page) .site-footer{background:var(--surface);color:var(--ink);border-color:var(--rule);box-shadow:none;padding-top:40px}
:is(.theme-f,.product-page) .footer-brand{font-size:24px;line-height:32px;font-weight:600;letter-spacing:-.04em}
:is(.theme-f,.product-page) .footer-map h2{color:var(--muted);font-size:12px;line-height:16px;font-weight:400;text-transform:none;letter-spacing:0}
:is(.theme-f,.product-page) .footer-map a{font-size:14px;line-height:20px;min-height:44px}
html[data-night] body:is(.theme-f,.product-page) .footer-bottom{border-color:var(--rule);font-size:12px;line-height:16px}
/* Product information uses the same page architecture, without marketing slogans. */
html[data-night] body.product-page{background:var(--surface);color:var(--ink)}
.product-page .product-main{max-width:1280px;padding:128px var(--pad) 80px;line-height:1.5}
.product-page .product-intro{max-width:900px;padding:48px 0 80px}
.product-page .product-intro h1{font-size:clamp(36px,6vw,80px);line-height:1;letter-spacing:-.06em;font-weight:600;overflow-wrap:anywhere}
html[data-night] body.product-page :is(.product-back,.product-eyebrow,.product-toc p,.product-layout p){color:var(--muted)}
.product-page .product-intro>p:not(.product-eyebrow){font-size:18px;line-height:28px;margin:24px 0 32px;max-width:55ch}
html[data-night] body.product-page .primary-entry{display:inline-flex;gap:32px;padding:12px 24px;margin:0;min-height:48px;max-width:none;border-radius:8px;border:1px solid var(--ink);background:var(--ink);color:var(--inverse);font-size:16px;line-height:24px;box-shadow:none;letter-spacing:0}
.product-page .primary-entry::before,.product-page .primary-entry::after{display:none}
.product-page .product-layout{grid-template-columns:200px minmax(0,760px);gap:64px;border-top:1px solid var(--rule);padding-top:48px}
.product-page .product-layout aside{top:128px}
.product-page .product-layout h2{font-size:36px;line-height:40px;letter-spacing:-.04em;margin:16px 0 24px;font-weight:600}
.product-page .product-layout h3{font-size:20px;line-height:28px;font-weight:600}
.product-page .product-layout p{font-size:16px;line-height:24px}
.product-page .product-toc a{font-size:14px;line-height:20px;min-height:44px}
html[data-night] body.product-page .platform-list,html[data-night] body.product-page .platform-list>div{border-color:var(--rule)}
.product-page .platform-list>div{display:grid;grid-template-columns:160px 1fr;gap:24px;padding:24px 0;align-items:baseline}
.product-page .platform-list p{margin:0}
.product-page .site-footer{max-width:1120px;margin-inline:auto}
/* 404: leave the world alone; the error explanation remains unambiguous. */
body.error-page{font-family:Manrope,'Hiragino Sans','Yu Gothic UI',sans-serif;background:#000;color:#f5f5f5;--surface:#000;--ink:#f5f5f5;--muted:#aaa;--rule:#3d3d3d;--soft:#181818;--inverse:#181818;--theme-mix:1;color-scheme:dark}
.error-page header{position:absolute;top:24px;left:var(--pad);right:var(--pad);padding:0;gap:24px;align-items:center;z-index:5}
.error-page header nav{display:flex;gap:24px;align-items:center;color:#aaa;font-size:14px;line-height:20px;flex-wrap:wrap}
.error-page .wordmark{font-family:inherit;font-size:20px;line-height:28px;letter-spacing:-.04em;font-weight:700}
.error-page main{height:auto;min-height:100svh;padding:112px var(--pad) 40px}
.error-page main::before{display:none}
.error-page .journey{grid-template-columns:minmax(240px,.4fr) minmax(0,.6fr);column-gap:32px;min-height:calc(100svh - 152px)}
.error-page :is(.intro,.link-panel){max-width:480px;position:relative;z-index:2;background:#000}
.error-page .intro{padding:24px 24px 0 0}.error-page .link-panel{padding:0 24px 24px 0}
.error-page .error-heading{font-size:48px;line-height:1;letter-spacing:-.055em;font-weight:600;margin:0 0 24px}
.error-page .detail{font-size:16px;line-height:24px;color:#aaa;max-width:36ch;margin:0 0 32px}
.error-page .label{font-size:14px;line-height:20px;color:#aaa}
.error-page .url{margin:8px 0 0;padding:12px;border:1px solid #3d3d3d;border-radius:8px;background:#181818;color:#f5f5f5;font-size:16px;line-height:24px;height:72px;max-height:72px;scrollbar-width:thin;scrollbar-color:#666 #181818;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal}
.error-page .url:focus{background:#181818;border-color:#aaa}
.error-page .url::-webkit-scrollbar{width:6px;height:6px}.error-page .url::-webkit-scrollbar-thumb{background:#666}
.error-page .share{margin:24px 0 16px;font-size:14px;line-height:20px;color:#aaa}
.error-page .actions{gap:16px}
.error-page .home,.error-page #copy-url{font-size:14px;line-height:20px;font-weight:600;min-height:48px;padding:12px 16px;border-radius:8px;border:1px solid #666;text-decoration:none;display:inline-flex;gap:12px;align-items:center;justify-content:center;transition:transform 400ms var(--ease),background-color 400ms var(--ease)}
.error-page .home{background:#f5f5f5;color:#181818;border-color:#f5f5f5}
.error-page #copy-url{background:#000;color:#f5f5f5}
.error-page .home:hover{background:#fff}.error-page #copy-url:hover{background:#272727}
.error-page .home:active,.error-page #copy-url:active{transform:scale(.98)}
.error-page .status{font-size:14px;line-height:20px;min-height:24px;color:#aaa}
.error-page .scene{height:auto;min-height:320px}
.error-page .scene-window{min-height:320px;height:100%}
.error-page canvas{filter:grayscale(1)}
.error-page .planet-number{font-family:inherit;font-weight:600;letter-spacing:-.065em;text-shadow:none;-webkit-text-stroke:0}
.error-page .scene-window[data-scene-state=ready] canvas,.error-page .scene-window[data-scene-state=ready] .planet-number{animation:none}
.error-page .error-skip{position:fixed;top:16px;left:24px;z-index:10;transform:translateY(-200%);background:#fff;color:#000;padding:12px}
.error-page .error-skip:focus{transform:none}
/* Tablet and short screens keep content-driven heights and a real landscape area. */
@media(min-width:761px){.theme-f header .site-menu{display:none}.product-page header .site-menu{display:none}}
@media(max-width:1100px) and (min-width:761px){body.theme-f .hero-copy{padding-right:24px}.theme-f .hero-copy h1{font-size:48px}body.theme-f .hero-copy .statement{font-size:16px;line-height:24px}html[data-night] body.theme-f .software-primary{padding:16px;font-size:14px}.theme-f .reading-inner{grid-template-columns:200px minmax(0,1fr);gap:32px}}
@media(max-width:900px){body.theme-f .reading-inner{display:block}body.theme-f .reading-rail{display:none}body.theme-f .reading-mobile-toc{display:block;padding:8px 0;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);top:112px;margin-bottom:32px}body.theme-f .reading-mobile-toc summary{min-height:44px;font-size:14px;line-height:20px;color:var(--ink)}body.theme-f .reading-mobile-toc[open]{max-height:calc(100svh - 136px);overflow:auto}body.theme-f .reading-header h2{font-size:48px}body.theme-f .reading-article{max-width:none;padding:0}}
@media(max-width:760px){
 :root{--pad:24px}
 html[data-night] body:is(.theme-f,.product-page) header,html[data-night] body.theme-f .cover header.is-scrolled{top:12px;left:16px;right:16px;padding:8px 12px;min-height:64px;gap:8px;border-radius:12px;align-items:center}
 :is(.theme-f,.product-page) .brand{font-size:16px;line-height:24px}
 html[data-night] body:is(.theme-f,.product-page) header nav{gap:4px;justify-content:flex-end;max-width:none}
 :is(.theme-f,.product-page) header nav>a{display:none!important}
 :is(.theme-f,.product-page) header .appearance-controls button{font-size:12px;min-width:44px;padding:8px 4px;gap:4px}
 :is(.theme-f,.product-page) header .appearance-icon{display:none}
 :is(.theme-f,.product-page) .site-menu summary{padding:8px;font-size:12px}
 :is(.theme-f,.product-page) .site-menu ul{position:fixed;left:16px;right:16px;top:calc(var(--site-header-height,64px) + 24px);width:auto;margin:0;max-height:calc(100svh - var(--site-header-height,64px) - 48px)}
 body.theme-f .cover{height:auto;min-height:calc(520px + 60vw);padding-top:calc(var(--site-header-height,64px) + 40px);justify-content:flex-start;overflow:visible}
 body.theme-f .hero{flex:none;min-height:0;display:block}
 body.theme-f .hero-copy{width:100%;padding:32px 24px 40px;margin:0;background:var(--surface);align-self:stretch;position:relative}
 body.theme-f .hero-copy h1{font-size:60px;line-height:1;letter-spacing:-.065em}
 body.theme-f .hero-copy .statement{font-size:16px;line-height:24px;max-width:none;margin:24px 0 32px}
 html[data-night] body.theme-f .software-primary{min-height:72px;max-width:none;padding:16px 24px;font-size:16px;line-height:24px}
 body.theme-f .destinations{margin-top:16px;gap:24px}
 body.theme-f .destinations a{font-size:14px;line-height:20px;min-height:44px}
 html[data-night] body.theme-f>.seascape{top:0;left:0;right:0;width:100%;height:calc(520px + 60vw);min-height:0;filter:grayscale(1)}
 body.theme-f .cover-bottom{margin-top:auto;padding:120px 24px 24px;align-items:flex-end;gap:8px}
 body.theme-f .cover-bottom>a{font-size:12px;line-height:16px;padding:8px 12px;gap:8px}
 html[data-night] body.theme-f .harbour-index{padding:48px 24px;gap:32px;grid-template-columns:minmax(0,1fr)}
 html[data-night] body.theme-f .harbour-index .download-feature{grid-column:auto;margin:0;padding-bottom:32px}
 body.theme-f .product-entry{padding:0}body.theme-f .product-entry-action{position:static;display:inline-flex;margin-top:16px}
 html[data-night] body.theme-f .harbour-index .download-feature h2{font-size:36px;line-height:40px}
 body.theme-f .directory-secondary h2{font-size:24px;line-height:32px}
 html[data-night] body.theme-f .reading-layout{padding:0 24px 48px}
 body.theme-f .reading-inner{padding-top:32px}
 body.theme-f .reading-mobile-toc{top:calc(var(--site-header-height,64px) + 24px)}
 html[data-night] body.theme-f .reading-header h2{font-size:48px;line-height:1}
 html[data-night] body.theme-f .reading-chapter h3{font-size:24px;line-height:32px}
 body.theme-f .reading-chapter p{font-size:16px;line-height:28px}
 body.theme-f .shore-footer .about{display:block;padding:32px 0}
 body.theme-f .shore-footer .about .section-label{margin-bottom:16px}
 body.theme-f .footer-top{display:block}.theme-f .footer-map{gap:24px}
 .product-page .product-main{padding:112px 24px 48px}
 .product-page .product-intro{padding:32px 0 48px}
 .product-page .product-intro h1{font-size:48px;line-height:1}
 .product-page .product-layout{display:block;padding-top:32px}
 .product-page .product-layout aside{position:static;margin-bottom:32px}
 .product-page .product-layout h2{font-size:30px;line-height:36px}
 .product-page .platform-list>div{grid-template-columns:96px 1fr;gap:16px}
 .error-page header{top:16px;left:24px;right:24px;gap:8px;align-items:flex-start}
 .error-page .wordmark{font-size:16px;line-height:24px}
 .error-page header nav{gap:12px;font-size:12px;line-height:16px;justify-content:flex-end}
 .error-page main{padding:96px 24px 24px;min-height:100svh}
 .error-page .journey{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(240px,1fr) auto;min-height:calc(100svh - 120px);gap:0}
 .error-page .intro{grid-column:1;grid-row:1;max-width:none;padding:0;background:transparent}
 .error-page .link-panel{grid-column:1;grid-row:3;max-width:none;padding:16px 0 0;background:transparent}
 .error-page .scene{grid-column:1;grid-row:2;min-height:240px}
 .error-page .scene-window{min-height:240px}
 .error-page .error-heading{font-size:36px;line-height:40px;margin-bottom:16px}
 .error-page .detail{font-size:16px;line-height:24px;max-width:40ch;margin-bottom:0}
 .error-page .url{height:64px;max-height:64px;padding:8px 12px}
 .error-page .share{margin:16px 0}
 .error-page .actions{gap:12px}
 .error-page .home,.error-page #copy-url{font-size:14px;line-height:20px;padding:12px;min-height:48px;gap:8px}
}
@media(max-width:359px){body.theme-f .hero-copy h1{font-size:48px}.product-page .product-intro h1{font-size:36px;line-height:40px}.error-page header{left:16px;right:16px}.error-page main{padding-inline:16px}.error-page .error-heading{font-size:30px;line-height:36px}.error-page header nav>a{display:none}}
@media(max-height:600px) and (min-width:761px){body.theme-f .cover{min-height:640px}html[data-night] body.theme-f>.seascape{min-height:640px}.error-page .journey{min-height:520px}.error-page main{padding-top:96px}.error-page .error-heading{font-size:36px;line-height:40px}.error-page .scene{min-height:480px}}
/* No reveal or transition is required for a finished composition. */
html[data-motion=static]{scroll-behavior:auto}
html[data-motion=static] *,html[data-motion=static] *::before,html[data-motion=static] *::after{animation:none!important;scroll-behavior:auto!important}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;scroll-behavior:auto!important}}
/* The sea keeps its color; monochrome belongs to the navigation and reading. */
body.theme-f .cover{height:min(100svh,1000px);min-height:640px;padding:0;display:flex;flex-direction:column}
body.theme-f .hero{display:grid;grid-template-columns:minmax(0,40fr) minmax(0,60fr);align-items:stretch;flex:1;min-height:640px}
body.theme-f .hero-copy{width:auto;padding-block:128px;align-self:center}
html[data-night] body.theme-f .hero>.seascape{position:relative;inset:auto;width:100%;height:100%;min-height:640px;filter:none;z-index:0;pointer-events:auto}
html[data-night] body.theme-f .hero-copy .resource-caption{display:block;font-size:12px;line-height:16px;color:inherit}
body.theme-f .cover-bottom{position:absolute;bottom:24px;left:var(--pad);right:var(--pad);margin:0;padding:0;justify-content:flex-end}
body.theme-f .cover-bottom>a{width:auto;min-width:0;display:inline-flex;white-space:normal;max-width:100%;color:var(--ink);background:var(--surface)}
.theme-f header .site-menu{display:none}
html[data-night] body.theme-f .software-primary:focus-visible,html[data-night] body.product-page .primary-entry:focus-visible{outline-color:var(--ink)}
html[data-night] body:is(.theme-f,.product-page) :is(.product-toc a,.reading-toc a)[aria-current]{color:var(--ink);background:var(--soft);border-color:var(--ink)}
html[data-night] body:is(.theme-f,.product-page) header .appearance-controls::before{background:var(--surface);border-color:var(--rule)}
html[data-night] body.error-page #copy-url{background:#000;color:#f5f5f5;border-color:#666}
html[data-night] body.error-page #copy-url:hover{background:#272727;color:#fff}
.error-page .journey{grid-template-rows:1fr auto auto 1fr}
.error-page .intro{grid-column:1;grid-row:2}
.error-page .link-panel{grid-column:1;grid-row:3}
.error-page .scene{grid-column:2;grid-row:1 / -1}
.error-page canvas{filter:none}
@media(max-width:760px){
 .theme-f header .site-menu{display:block}
 body.theme-f .cover{height:auto;min-height:0;padding-top:calc(var(--site-header-height,64px) + 32px)}
 body.theme-f .hero{display:flex;flex-direction:column;min-height:0;flex:none}
 body.theme-f .hero-copy{width:100%;padding:32px 24px 40px}
 html[data-night] body.theme-f .hero>.seascape{width:100%;height:420px;min-height:420px;position:relative;inset:auto;flex:none}
 body.theme-f .cover-bottom{bottom:24px;left:24px;right:24px}
 .error-page .journey{grid-template-rows:auto minmax(240px,1fr) auto}
 .error-page .intro{grid-column:1;grid-row:1}.error-page .scene{grid-column:1;grid-row:2}.error-page .link-panel{grid-column:1;grid-row:3}
}
@media(min-width:761px) and (max-height:600px){body.theme-f .hero-copy{padding-block:96px}}

/* Translation can grow every text block without escaping its section. */
body.theme-f .cover{height:auto;min-height:min(100svh,1000px)}
body.theme-f .hero{min-height:min(100svh,1000px)}
body.theme-f .hero-copy{min-height:0;padding-block:128px;align-self:center}
body.theme-f .hero-copy h1{font-size:clamp(48px,5.2vw,80px);overflow-wrap:anywhere}
body.theme-f .product-entry{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px 32px;padding:0;align-items:center}
body.theme-f .product-entry h2{grid-column:1}
body.theme-f .product-entry p{grid-column:1;margin:0}
body.theme-f .product-entry-action{position:static;grid-column:2;grid-row:1 / 3;max-width:20ch}
body.theme-f .reading-layout{border-color:var(--rule)}
body.theme-f .reading-return{color:var(--ink);border-color:var(--rule);font-size:14px;line-height:20px}
.product-page .product-main{padding-top:calc(var(--site-header-height,64px) + 64px)}
.product-page .product-layout section{scroll-margin-top:calc(var(--site-header-height,64px) + 56px)}
html[data-night] body.product-page .product-toc{border-color:var(--rule)}
html[data-night] body.product-page .product-toc a{color:var(--ink)}
html[data-night] body.product-page .product-toc a:is(:hover,:focus-visible){background:var(--soft)}
body.error-page :is(a,button,.url):focus-visible{outline-color:#fff}
body.error-page .home .ui-arrow,body.error-page #copy-url .ui-copy{color:inherit}
:is(.theme-f,.product-page) .appearance-controls{grid-template-columns:repeat(2,minmax(0,1fr))}
:is(.theme-f,.product-page) header .appearance-controls button{min-width:44px;overflow-wrap:anywhere}
:lang(ja) :is(h1,h2,h3){letter-spacing:-.01em!important;word-break:auto-phrase}
:lang(ja) p{line-height:1.75}
@media(max-width:1000px) and (min-width:761px){body.theme-f .product-entry{display:block}.theme-f .product-entry-action{margin-top:24px;display:inline-flex}}
@media(max-width:760px){
 .theme-f header .site-menu{display:block}
 body.theme-f .cover{height:auto;min-height:0}
 body.theme-f .hero{min-height:0}
 body.theme-f .hero-copy{padding:32px 24px 40px}
 body.theme-f .hero-copy h1{font-size:60px}
 body.theme-f .product-entry{display:block}
 body.theme-f .product-entry-action{margin-top:16px;display:inline-flex}
 .product-page .product-main{padding-top:calc(var(--site-header-height,64px) + 48px)}
 body.theme-f .cover-bottom{bottom:24px}
}
@media(max-width:359px){body.theme-f .hero-copy h1{font-size:48px}}
/* Choreography uses stable transforms and opacity. Required content never waits. */
@media(prefers-reduced-motion:no-preference){
 html[data-motion=running] :is(.theme-f,.product-page) .site-menu[open] ul{animation:menu-settle 500ms var(--ease) both}
 :is(.theme-f,.product-page) .ui-arrow,:is(.theme-f,.product-page) .ui-chevron{transition:transform 400ms var(--ease)}
 html[data-appearance-transition=true] :is(body.theme-f,body.product-page){transition:background-color 1300ms var(--ease),color 1300ms var(--ease)}
 html[data-appearance-transition=true] :is(.theme-f,.product-page) :is(header,.hero-copy,#directory,.harbour-index,.reading-layout,.reading-article,.reading-rail,.reading-mobile-toc,.shore-footer,.site-footer,.footer-bottom){transition:background-color 1300ms var(--ease),color 1300ms var(--ease),border-color 1300ms var(--ease)}
 html[data-night] body.theme-f .software-primary{transition:background-color 400ms var(--ease),border-color 400ms var(--ease);transform:none}
 html[data-night] body.theme-f .software-primary:is(:hover,:focus-visible){transform:none}
 html[data-night] body:is(.theme-f,.product-page) header .appearance-controls::before{transition:transform 1300ms var(--ease)}
}
@keyframes menu-settle{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}

/* A material only for navigation: content remains a solid reading surface. */
:root{--glass:rgb(255 255 255 / .83);--glass-edge:rgb(0 0 0 / .08);--glass-highlight:rgb(255 255 255 / .8)}
html[data-night=true]{--glass:rgb(24 24 24 / .86);--glass-edge:rgb(255 255 255 / .17);--glass-highlight:rgb(255 255 255 / .12)}
@supports(backdrop-filter:blur(12px)){
 html[data-night] body:is(.theme-f,.product-page) header,
 html[data-night] body.theme-f .cover header.is-scrolled{
  background:transparent;border-color:var(--glass-edge);backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none;isolation:isolate
 }
 /* A sibling glass surface lets the open menu sample the page beneath it. */
 html[data-night] body:is(.theme-f,.product-page) header::before{
  content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none
 }
 html[data-night] body:is(.theme-f,.product-page) header::before,
 html[data-night] body:is(.theme-f,.product-page) .site-menu ul{
  background:var(--glass);background:color-mix(in srgb,var(--glass) 82%,transparent);border-color:var(--glass-edge);backdrop-filter:blur(20px) saturate(1.3);-webkit-backdrop-filter:blur(20px) saturate(1.3);box-shadow:inset 0 1px 0 var(--glass-highlight),inset 0 -1px 0 rgb(0 0 0 / .04),0 10px 32px rgb(0 0 0 / .08)
 }
 html[data-night] body:is(.theme-f,.product-page) .site-menu ul{border-radius:18px}
}
html[data-night] body:is(.theme-f,.product-page) header .appearance-controls button{color:var(--ink)}
html[data-night] body:is(.theme-f,.product-page) header .appearance-controls{background:rgb(127 127 127 / .06)}
html[data-night] body:is(.theme-f,.product-page) header .appearance-controls::before{background:var(--surface);border-color:var(--rule);box-shadow:0 1px 4px rgb(0 0 0 / .04)}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more),(forced-colors:active){
 html[data-night] body:is(.theme-f,.product-page) header,
 html[data-night] body.theme-f .cover header.is-scrolled,
 html[data-night] body:is(.theme-f,.product-page) .site-menu ul{background:var(--surface);border-color:var(--rule);backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none}
 html[data-night] body:is(.theme-f,.product-page) header::before{display:none}
}
/* Keep full-bleed art intentional; no persistent utility floats over it. */
body.theme-f .hero-copy{padding-bottom:96px}
html[data-night] body.theme-f .software-primary{min-height:72px}
@media(max-width:760px){body.theme-f .hero-copy{padding-bottom:40px}}
/* Personal homepage: identity and profiles first; software is a secondary entry. */
.personal-page .hero-copy{display:flex;flex-direction:column;justify-content:center;gap:0}
.personal-page .profile-group{margin-top:40px}
.personal-page .profile-label{font-size:12px;line-height:20px;color:var(--muted);margin:0 0 8px;letter-spacing:0}
.personal-page .social-links{display:flex;flex-wrap:wrap;align-items:center;gap:8px 24px;margin:0;scroll-margin-top:160px}
.personal-page .social-links a{display:inline-flex;align-items:center;gap:8px;min-height:48px;font-size:14px;line-height:20px;position:relative}
.social-icon{display:block;width:24px;height:24px;flex:0 0 24px;object-fit:contain;filter:brightness(0) invert(var(--theme-icon-invert,var(--theme-mix,0)))}
.personal-page .social-links a::after{content:'';position:absolute;left:32px;right:0;bottom:8px;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform 400ms var(--ease)}
.personal-page .social-links a:is(:hover,:focus-visible)::after{transform:scaleX(1)}
.personal-page .personal-index{display:flex;flex-wrap:wrap;gap:32px;margin-top:48px}
.personal-page .personal-index a{display:flex;align-items:center;gap:12px;min-height:44px;color:var(--muted);font-size:14px;line-height:20px}
.personal-page .personal-index a:hover{color:var(--ink)}
.personal-page .personal-main{padding:0 var(--pad);max-width:1280px;margin-inline:auto;background:var(--surface)}
.personal-page .personal-main>section{display:grid;grid-template-columns:160px minmax(0,1fr);gap:64px;padding:80px 0;border-top:1px solid var(--rule);scroll-margin-top:calc(var(--site-header-height,64px) + 64px)}
.personal-page .personal-main>section:first-child{border:0}
.personal-main .section-index{font-size:14px;line-height:20px;font-variant-numeric:tabular-nums;color:var(--muted);margin:8px 0 0}
.personal-main h2{font-size:48px;line-height:1;font-weight:500;letter-spacing:-.05em;margin:0 0 32px}
.personal-main p{font-size:18px;line-height:28px;color:var(--muted);margin:0;max-width:60ch}
.personal-project{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:24px 0;min-height:96px;border-top:1px solid var(--rule)}
.personal-project h3{font-size:24px;line-height:32px;font-weight:600;letter-spacing:-.03em;margin:0 0 8px;overflow-wrap:anywhere}
.personal-project p{font-size:16px;line-height:24px}
.personal-project:hover h3{text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:1px}
.personal-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px 48px;padding:40px var(--pad);margin:0;background:var(--surface);border-top:1px solid var(--rule);color:var(--ink)}
.personal-footer nav{display:flex;flex-wrap:wrap;gap:24px;font-size:14px;line-height:20px}
.personal-footer .back-to-top{gap:12px;color:var(--muted)}
@media(max-width:1000px) and (min-width:761px){.personal-page .social-links{gap:4px 16px}}
@media(max-width:760px){.personal-page .profile-group{margin-top:24px}.personal-page .social-links{gap:8px 24px}.personal-page .personal-index{margin-top:24px}.personal-page .hero-copy{padding-top:40px;padding-bottom:40px}.personal-page .personal-main>section{grid-template-columns:32px minmax(0,1fr);gap:24px;padding:48px 0}.personal-main h2{font-size:36px;line-height:40px;margin-bottom:24px}.personal-main p{font-size:16px;line-height:28px}.personal-project h3{font-size:20px;line-height:28px}.personal-footer{gap:24px;display:grid;grid-template-columns:1fr auto}.personal-footer nav{grid-column:1 / -1;grid-row:2}.personal-footer .back-to-top{font-size:12px;line-height:16px}}
html[data-night] body.theme-f.personal-page #directory{padding-inline:var(--pad)}
/* Error typography leaves room to see the celestial material and its light. */
.error-page header{display:flex;justify-content:space-between;align-items:center}
.error-page main::before{display:block;position:fixed;inset:0 auto 0 0;width:58%;background:linear-gradient(90deg,rgb(0 0 0 / .78),rgb(0 0 0 / .58) 45%,transparent);z-index:0;pointer-events:none}
.error-page :is(.intro,.link-panel){background:transparent}
.error-page .planet-number{font-size:min(clamp(96px,20vw,320px),var(--planet-number-fit-size,320px));font-weight:500}
html[data-night] body.error-page #copy-url{border-radius:8px}
@media(max-width:760px){.error-page main::before{display:none}.error-page .planet-number{font-size:min(clamp(64px,32vw,180px),var(--planet-number-fit-size,180px))}}
.journal-main{max-width:1120px;margin:0 auto;padding:calc(var(--site-header-height,64px) + 80px) var(--pad) 96px;min-height:80svh}
.journal-intro{padding:48px 0 64px}
.journal-intro h1,.article-heading h1{font-size:clamp(48px,6vw,80px);line-height:1.05;letter-spacing:-.055em;font-weight:500;margin:0;overflow-wrap:anywhere}
.journal-intro p{font-size:18px;line-height:28px;color:var(--muted);margin:24px 0 0}
.journal-empty{font-size:16px;line-height:24px;color:var(--muted);border-top:1px solid var(--rule);padding-top:32px;margin:0}
.journal-list{list-style:none;padding:0;margin:0}
.journal-list>li{border-top:1px solid var(--rule)}
.journal-list a{display:grid;grid-template-columns:128px minmax(0,1fr) 24px;gap:16px 32px;padding:32px 0;align-items:baseline}
.journal-list time,.article-heading time{font-size:14px;line-height:20px;font-variant-numeric:tabular-nums;color:var(--muted)}
.journal-list h2{font-size:30px;line-height:36px;font-weight:500;letter-spacing:-.03em;margin:0;overflow-wrap:anywhere}
.journal-list p{grid-column:2;font-size:16px;line-height:28px;color:var(--muted);margin:0}
.journal-list .ui-arrow{grid-column:3;grid-row:1}
.journal-post{max-width:760px;margin:32px auto 0}
.journal-page header.article-heading{position:static;display:block;padding:0 0 48px;background:none;border:0;border-radius:0;box-shadow:none;backdrop-filter:none;max-width:none;min-height:0}
.article-heading h1{font-size:48px;line-height:1.15;margin-top:24px}
.article-heading p{font-size:18px;line-height:28px;color:var(--muted)}
.article-body{font-size:18px;line-height:1.8;overflow-wrap:anywhere}
.article-body :is(h2,h3,h4){line-height:1.4;letter-spacing:-.03em;font-weight:600;margin:48px 0 24px}
.article-body h2{font-size:30px}.article-body h3{font-size:24px}.article-body p{margin:0 0 24px}
.article-body a{text-decoration:underline;text-underline-offset:4px}
.article-body pre{overflow:auto;padding:24px;background:var(--soft);border-radius:8px;font-size:14px;line-height:24px;max-width:100%}
.article-body img{max-width:100%;height:auto}
.article-body table{display:block;max-width:100%;overflow:auto;border-collapse:collapse;font-size:16px}
.article-body :is(th,td){padding:12px 16px;border-bottom:1px solid var(--rule);text-align:left}
.article-body blockquote{margin:32px 0;padding-left:24px;border-left:2px solid var(--rule);color:var(--muted)}
.journal-return{display:inline-flex;align-items:center;gap:16px;min-height:48px;font-size:14px;margin-top:48px}
@media(max-width:760px){.journal-main{padding-top:calc(var(--site-header-height,64px) + 48px);padding-bottom:64px}.journal-intro{padding:32px 0 48px}.journal-list a{grid-template-columns:minmax(0,1fr) 24px;gap:16px;padding:24px 0}.journal-list time{grid-column:1}.journal-list h2{grid-column:1;font-size:24px;line-height:32px}.journal-list p{grid-column:1}.journal-list .ui-arrow{grid-column:2;grid-row:2}.article-heading h1{font-size:36px}.article-body{font-size:16px;line-height:1.8}}
html[data-night] body.product-page.journal-page header.article-heading{position:static;inset:auto;display:block;background:none;backdrop-filter:none;-webkit-backdrop-filter:none;border:0;border-radius:0;box-shadow:none;min-height:0;padding:0 0 48px;margin:0;max-width:none}
/* The same page edge anchors identity, section numbers, and footer. */
.personal-page{--page-edge:max(var(--pad),calc((100vw - 1280px) / 2))}
.personal-page .hero-copy{padding-left:var(--page-edge)}
html[data-night] body.theme-f.personal-page #directory{max-width:none;padding-inline:var(--page-edge)}
.personal-page .personal-main>section{max-width:1280px;margin-inline:auto}
.personal-footer{padding-inline:max(var(--pad),calc((100vw - 1280px) / 2))}
@media(max-width:480px){.personal-page .personal-main>section{display:block}.personal-main .section-index{margin:0 0 16px}.personal-project h3{font-size:20px;line-height:28px}.personal-project{gap:16px}}
.product-section-nav{display:none;flex-wrap:wrap;gap:8px 32px;padding:0 0 32px;margin:0}
.product-section-nav a{font-size:14px;line-height:20px;min-height:44px;display:flex;align-items:center}
.product-section-nav a[aria-current]{font-weight:600;text-decoration:underline;text-underline-offset:6px}
@media(max-width:760px){.product-section-nav{display:flex}}

/* The floating navigation and content share a text edge on wide screens. */
@media(min-width:761px){
 html[data-night] body.theme-f.personal-page .hero-copy{padding-left:min(calc(var(--page-edge) + 24px),max(var(--pad),calc(40vw - 380px)))}
 html[data-night] body.theme-f.personal-page #directory{padding-inline:calc(var(--page-edge) + 24px)}
 .personal-page .personal-footer{padding-inline:calc(var(--page-edge) + 24px)}
}
/* A static edge lets the painted coast settle into the reading surface. */
.personal-page .seascape{
 --coast-edge:96px;
 -webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - var(--coast-edge)),rgb(0 0 0 / .92) calc(100% - var(--coast-edge) * .66),rgb(0 0 0 / .45) calc(100% - var(--coast-edge) * .25),transparent);
 mask-image:linear-gradient(to bottom,#000 calc(100% - var(--coast-edge)),rgb(0 0 0 / .92) calc(100% - var(--coast-edge) * .66),rgb(0 0 0 / .45) calc(100% - var(--coast-edge) * .25),transparent)
}
@media(max-width:760px){.personal-page .seascape{--coast-edge:64px}}

/* Palette values already interpolate on the shared JS clock; never chase them
   with a second CSS color transition. Hover/micro-interactions resume afterward. */
html[data-appearance-transition=true] body:is(.theme-f,.product-page),
html[data-appearance-transition=true] body:is(.theme-f,.product-page) *,
html[data-appearance-transition=true] body:is(.theme-f,.product-page) *::before,
html[data-appearance-transition=true] body:is(.theme-f,.product-page) *::after{transition:none!important}
html[data-night] body:is(.theme-f,.product-page) header .appearance-controls::before{transform:translateX(calc(var(--theme-mix,0) * 100%));transition:none}
html[data-night] body:is(.theme-f,.product-page) header .appearance-controls button{opacity:1}
.personal-page #profiles .profile-group{margin:0}
.personal-page #profiles .social-links{gap:8px 32px}

/* First paint uses the real code-drawn scene, before the live canvas is ready. */
.sea-poster{object-fit:cover}
.sea-poster-day{opacity:calc(1 - var(--theme-mix,0))}
.sea-poster-night{opacity:var(--theme-mix,0)}
/* The fallback must not remain under a partially masked live painting: two
   copies change the seam opacity and leave a motionless set of leaves behind. */
.seascape.is-painted .sea-poster{visibility:hidden}
/* Vertical page scrolling remains native over every interactive art hit area. */
.personal-page :is(.leaf-touch,.shore-leaf-touch,.coast-boat,.town-lights){touch-action:pan-y}
.personal-page .shore-leaf-touch{height:calc(28% - var(--coast-edge));max-height:28%}

/* One panoramic scene: paper/code on the left, painted colour on the right. */
.personal-page .hero{isolation:isolate;--coast-seam:38%}
html[data-night] body.theme-f.personal-page .seascape{background:transparent}
.personal-page .hero-copy{position:relative;z-index:4;pointer-events:none;background:none!important}
.personal-page .hero-copy h1{pointer-events:auto;width:fit-content;max-width:100%}
@media(min-width:761px){
 .personal-page{--hero-gutter:clamp(40px,6vw,112px)}
 html[data-night] body.theme-f.personal-page .cover header{left:calc(var(--hero-gutter) - 24px);right:calc(var(--hero-gutter) - 24px);max-width:none}
 html[data-night] body.theme-f.personal-page .hero>.seascape{position:absolute;inset:0;width:100%;height:100%;min-height:0;z-index:0;pointer-events:auto;touch-action:pan-y}
 html[data-night] body.theme-f.personal-page .hero-copy{padding-left:var(--hero-gutter);padding-right:24px}
 .personal-page .sea-static,.personal-page #coast-canvas{mask-image:linear-gradient(90deg,transparent calc(var(--coast-seam) - 3%),#000 calc(var(--coast-seam) + 3%));-webkit-mask-image:linear-gradient(90deg,transparent calc(var(--coast-seam) - 3%),#000 calc(var(--coast-seam) + 3%))}
}
.personal-page #coast-code{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none}
.personal-page .seascape :is(.coast-boat,.leaf-touch,.town-lights){z-index:3;pointer-events:auto}
.personal-page .water-touch{position:absolute;inset:0;width:100%;height:100%;z-index:2;background:none;border:0;padding:0;pointer-events:auto;touch-action:pan-y;-webkit-tap-highlight-color:transparent}
/* Clipped, scene-sized outlines become stray lines at the viewport edges.
   Keep keyboard focus visible at a small point inside each artwork control. */
.personal-page .seascape :is(.water-touch,.leaf-touch,.shore-accent-touch):focus-visible{outline:0;background:none;box-shadow:none}
.personal-page .seascape :is(.water-touch,.leaf-touch,.shore-accent-touch):focus-visible::after{content:"";position:absolute;left:var(--focus-x,25%);top:var(--focus-y,18%);width:28px;height:28px;transform:translate(-50%,-50%);border:2px solid var(--ink);border-radius:50%;box-shadow:0 0 0 2px var(--surface);pointer-events:none}
.personal-page .water-touch{--focus-x:55%;--focus-y:58%}
.personal-page .shore-leaf-touch{--focus-x:55%;--focus-y:60%}
.personal-page .shore-accent-touch{--focus-x:35%;--focus-y:35%}
@media(min-width:1200px){.personal-page .hero{--coast-seam:34%}}
@media(min-width:1600px){.personal-page .hero{--coast-seam:32%}html[data-night] body.theme-f.personal-page .hero-copy h1{font-size:clamp(80px,5vw,104px);line-height:1}}
@media(max-width:760px){
 html[data-night] body.theme-f.personal-page .hero-copy{padding-left:24px;background:var(--surface)!important}
 .personal-page .sea-static,.personal-page #coast-canvas{mask-image:linear-gradient(180deg,transparent,#000 48px);-webkit-mask-image:linear-gradient(180deg,transparent,#000 48px)}
}
.personal-page #profiles .social-links{display:block;width:100%}
.profile-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;list-style:none;padding:0;margin:0}
.personal-page .profile-list a{display:grid;grid-template-columns:minmax(0,1fr) 20px;gap:12px 16px;align-content:center;min-height:128px;padding:24px 0;border-top:1px solid var(--rule)}
.profile-brand{display:flex;gap:12px;align-items:center;font-size:20px;line-height:28px;font-weight:600;grid-column:1;min-width:0}
.profile-handle{grid-column:1;font-size:14px;line-height:20px;color:var(--muted);overflow-wrap:anywhere}
.profile-list .ui-arrow{grid-column:2;grid-row:1;align-self:center}
.personal-page .profile-list a::after{left:0;right:0;bottom:0;background:var(--ink)}
.personal-page .profile-list a:is(:hover,:focus-visible) .profile-brand{text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:1px}
@media(max-width:1000px){.profile-list{grid-template-columns:1fr;gap:0}.personal-page .profile-list a{min-height:104px;padding:24px 0}.profile-brand{font-size:20px}}
.product-page .product-main{min-height:80svh}
.product-availability{border-top:1px solid var(--rule);padding-top:32px;max-width:900px}
.product-availability h2{font-size:30px;line-height:36px;font-weight:500;letter-spacing:-.03em;margin:0 0 24px}
.product-availability p{color:var(--muted);font-size:18px;line-height:28px;margin:0}

@media(min-width:761px){.personal-page .shore-leaf-touch{left:22%;width:32%;top:auto;bottom:var(--coast-edge);height:28%;max-height:none;clip-path:polygon(0 25%,80% 0,100% 50%,95% 100%,0 100%)}}

html[data-night] body.theme-f.personal-page .hero-copy{pointer-events:none}
.personal-page .shore-accent-touch{position:absolute;left:4%;top:66%;width:22%;height:28%;z-index:3;pointer-events:auto;background:none;border:0;touch-action:pan-y;clip-path:polygon(0 5%,80% 0,100% 95%,0 100%)}
@media(max-width:760px){.personal-page .shore-accent-touch{display:none}}

/* Artwork gestures belong to the scene, never the browser image-drag UI. */
.personal-page .seascape :is(picture,img,canvas,svg){-webkit-user-drag:none;user-select:none}
.personal-page .seascape :is(picture,img,canvas){pointer-events:none}
.personal-page .seascape.is-water-dragging,.personal-page .seascape.is-water-dragging .water-touch{cursor:grabbing}

/* The distant painting stays small; its quiet native target is finger-sized. */
.personal-page .seascape .coast-boat-distant{width:44px;height:44px;min-width:44px;min-height:44px;touch-action:pan-y;cursor:grab;outline-offset:-5px;background:none;border:0;border-radius:50%;box-shadow:none;-webkit-tap-highlight-color:transparent}
.personal-page .seascape .coast-boat-distant::after{content:none}
.personal-page .seascape .coast-boat-distant:is(:active,.is-dragging){cursor:grabbing}
.personal-page .seascape .coast-boat-distant:focus-visible{outline:1px solid var(--ink);outline-offset:-5px;background:none;box-shadow:0 0 0 1px var(--surface)}
.personal-page .seascape .coast-boat-distant:disabled{pointer-events:none;cursor:default}
@media(max-width:760px){.personal-page .seascape .coast-boat-distant{display:none}}
