/* Shared editorial palette and the single-screen welcome. */
:root{--paper:#f7f5ef;--ink:#142f43;--quiet:#586b75;--ember:#b95825;--line:#d9ded9;--blue:#175b84}
body{background:var(--paper);color:var(--ink)}
body.home-screen{overflow:auto;background:var(--paper)}
a,button,input,textarea,select{touch-action:manipulation}
:focus-visible{outline:3px solid #c66b36;outline-offset:5px}
.editorial-home{width:min(1440px,100%);height:100svh;min-height:680px;margin:auto;padding:0 clamp(24px,6vw,96px);display:grid;grid-template-rows:90px minmax(0,1fr) 64px;background:var(--paper);color:var(--ink)}
.editorial-header{display:flex;justify-content:space-between;align-items:center;gap:30px;border-bottom:1px solid var(--line)}
.editorial-header .jonathan-wordmark{font-size:21px;color:var(--ink);font-weight:700;letter-spacing:-.055em}
.editorial-header .name-dot{display:none}
.editorial-header nav{display:flex;align-items:center;gap:30px}
.editorial-header nav a,.nav-contact{font:inherit;font-size:13px;font-weight:600;color:var(--quiet);text-decoration:none;background:none;border:0;min-height:44px;display:flex;align-items:center;padding:5px 0;cursor:pointer}
.editorial-header nav a:hover,.nav-contact:hover{color:var(--ember)}
.editorial-main{display:grid;grid-template-rows:minmax(300px,1fr) auto;min-height:0}
.editorial-hero{display:grid;grid-template-columns:1.08fr 1fr;align-items:center;gap:30px;min-height:0;padding:14px 0}
.editorial-welcome{max-width:540px;position:relative;z-index:1}
.editorial-greeting{color:var(--ember);font-size:14px;letter-spacing:.02em;margin:0 0 17px}
.editorial-welcome h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(44px,4.8vw,72px);line-height:1.05;letter-spacing:-.055em;margin:0 0 20px;text-wrap:balance}
.editorial-lead{max-width:430px;color:var(--quiet);font-size:15px;line-height:1.8;margin:0 0 13px}
.editorial-text-link{font-size:12px;color:var(--ink);text-underline-offset:5px;text-decoration-color:#b8c5c9;display:inline-flex;align-items:center;min-height:40px;gap:20px}
.editorial-text-link::after{content:'↗';color:var(--ember)}
.editorial-ribbon{position:relative;height:100%;min-height:0;display:grid;place-items:center;isolation:isolate}
.editorial-ribbon img{position:absolute;inset:0;width:100%;height:100%;max-height:100%;min-height:0;object-fit:contain;filter:drop-shadow(0 18px 24px #1c55790d)}
.editorial-ribbon img.original-ribbon{border-radius:50%;mask-image:radial-gradient(ellipse,#000 38%,transparent 70%)}
.editorial-ribbon.is-moving img{animation:ribbon-float 18s ease-in-out infinite;transform-origin:50% 50%}
@keyframes ribbon-float{0%,100%{transform:translateY(2px) rotate(-2deg) scale(.98)}50%{transform:translateY(-8px) rotate(2deg) scale(1.015)}}
.ribbon-motion{position:absolute;bottom:4px;right:8px;font:inherit;font-size:10px;color:var(--quiet);border:0;background:transparent;padding:9px;min-height:36px;cursor:pointer}
.editorial-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);color:var(--quiet);font-size:10px;letter-spacing:.02em}
.editorial-footer nav{display:flex;align-items:center;gap:25px}
.editorial-footer a,.editorial-footer button{font:inherit;color:var(--quiet);text-decoration:none;min-height:40px;display:flex;align-items:center}
.editorial-footer a:hover,.editorial-footer button:hover{color:var(--ember)}
.editorial-footer .easter-egg{padding:0;width:32px;opacity:.85}
.easter-egg img{transition:transform .4s ease}.easter-egg:hover img{transform:rotate(18deg) scale(1.08)}
.header,.footer{border-color:var(--line)}
.header .brand{font-size:21px;font-weight:700;letter-spacing:-.055em}
.header .nav{gap:22px}.header .nav a{font-size:13px}
.card,.experience-card,.verify-card,.subscription-card,.update-entry{background:#fffefa;border-color:var(--line);box-shadow:none;border-radius:14px}
.button,.welcome-cta{background:var(--ink);color:#fffdf7;border-color:var(--ink);box-shadow:none}
.button:hover,.welcome-cta:hover{background:#224c65;color:white}
.button-secondary{background:transparent;border-color:#becacb;color:var(--ink)}
.button-quiet,.text-link{color:var(--blue)}
.muted,.small.muted{color:var(--quiet)}
.workspace-banner{background:transparent;border:0;padding:28px 0 36px;border-bottom:1px solid var(--line);box-shadow:none}
.workspace-banner h1{font-family:Georgia,serif;font-weight:400;letter-spacing:-.04em}
.workspace-banner p{color:var(--quiet)}
.experience-page{background:var(--paper)}
.experience-page h1{font-family:Georgia,serif;font-weight:400}
dialog.auth-dialog{background:#fbfaf6;border-color:var(--line);box-shadow:0 25px 100px #152e4333;border-radius:16px}
.auth-pane h2{font-family:Georgia,serif;font-weight:400;letter-spacing:-.04em}
.auth-form .welcome-cta,.auth-pane>.welcome-cta{background:var(--ink);border-color:var(--ink);color:white}
.auth-tab.active{background:#e5ece9;color:var(--ink)}
.owner-shell .sidebar{background:#132d40;color:#f7f5ef}.sidebar .brand{color:#fff}.sidebar .side-nav button{color:#c4d4dc}.sidebar .side-nav button.active{background:#274a60;color:#fff}.sidebar .muted{color:#bbccd5}
.owner-main{background:var(--paper)}.owner-top h1{font-family:Georgia,serif;font-weight:400}.owner-top .eyebrow{color:var(--ember)}
.editorial-owner-shortcut{padding:23px 28px;border:1px solid var(--line);border-radius:12px;background:#fffefa;display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:25px}
.editorial-owner-shortcut h2{font-family:Georgia,serif;font-size:25px;font-weight:400;margin-bottom:6px}
.editorial-owner-shortcut p{font-size:13px;color:var(--quiet)}
@media(min-width:1000px) and (min-height:900px){.editorial-home{grid-template-rows:104px minmax(0,1fr) 76px}.editorial-main{padding-bottom:20px}.editorial-welcome h1{font-size:76px}.editorial-ribbon img{max-height:570px}}
@media(max-width:760px){
 .editorial-home{padding:0 24px;min-height:740px;height:100svh;grid-template-rows:82px minmax(0,1fr) 62px}
 .editorial-header{gap:12px;flex-wrap:wrap;align-content:center;row-gap:4px}
 .editorial-header .jonathan-wordmark{font-size:19px}.editorial-header nav{gap:22px;width:100%;justify-content:space-between}
 .editorial-header nav a,.nav-contact{min-height:30px;font-size:11px}
 .editorial-main{grid-template-rows:minmax(310px,1fr) auto}
 .editorial-hero{gap:0;grid-template-columns:1fr;position:relative;isolation:isolate;padding:24px 0}
 .editorial-welcome{max-width:390px}.editorial-welcome h1{font-size:46px;max-width:330px;letter-spacing:-.055em}
 .editorial-lead{font-size:13px;line-height:1.7;max-width:330px}.editorial-greeting{font-size:12px;margin-bottom:12px}
 .editorial-ribbon{position:absolute;z-index:0;right:0;top:0;width:130px;height:130px;opacity:1;pointer-events:none}
 .editorial-home .journal-feature-links{gap:10px 18px}.editorial-home .journal-feature-links a,.editorial-home .journal-feature-links button{font-size:12px;min-height:36px;display:flex;align-items:center}
 .ribbon-motion{display:none}.editorial-footer{font-size:9px;gap:10px}.editorial-footer>p{display:none}.editorial-footer nav{width:100%;justify-content:space-between;gap:12px}
 .editorial-owner-shortcut{align-items:flex-start;flex-direction:column}.header .nav{gap:12px;flex-wrap:wrap}.header .nav a{font-size:12px}
}
@media(max-width:380px){.editorial-home{padding:0 20px;min-height:780px}.editorial-welcome h1{font-size:41px}}
@media(prefers-reduced-motion:reduce){.editorial-ribbon.is-moving img{animation:none}.ribbon-motion{display:none}.easter-egg img{transition:none}}
