/* =====================================================================
   WORDS ON PAPER FRONT PAGE (desk-home.php), served as /welcome/style.css
   The hero and intro carry their own styles from the landing design.
   This file holds the fonts and everything below the intro.
   Sections: fonts, base, eyebrow and headings, strip, the desk,
   revision, our thinking (night accent), keeping, questions, start,
   footer, small screens.
   ===================================================================== */

@font-face{font-family:'Bodoni Moda';font-style:normal;font-weight:400 800;font-display:swap;src:url('/fonts/bodoni-moda-normal-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Bodoni Moda';font-style:normal;font-weight:400 800;font-display:swap;src:url('/fonts/bodoni-moda-normal-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Bodoni Moda';font-style:italic;font-weight:400 800;font-display:swap;src:url('/fonts/bodoni-moda-italic-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Bodoni Moda';font-style:italic;font-weight:400 800;font-display:swap;src:url('/fonts/bodoni-moda-italic-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:400 700;font-display:swap;src:url('/fonts/instrument-sans-normal-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:400 700;font-display:swap;src:url('/fonts/instrument-sans-normal-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

/* ---------- Base ---------- */
:root{--ink:#2e1a26;--ink-soft:#4a3b42;--muted:#6e5b66;--grey:#e4e1de;--blush:#f1e9e2;--light:#f8f4f0;--orange:#d9541c;--orange-hover:#c24814;--night:#0a1322;--night-text:#f3ece3;--night-soft:#b9b2aa;--line:rgba(46,26,38,.17);--line-strong:rgba(46,26,38,.3);--chapter:#e9e3df;--tag:#f6d3bf;--button-text:#fff8f2;--display:'Bodoni Moda','Didot','Bodoni 72',Georgia,serif;--ui:'Instrument Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,sans-serif}
body.welcome{font-family:var(--ui);color:var(--ink);background:var(--grey);-webkit-font-smoothing:antialiased}
.skip-link{position:absolute;left:-999px;top:8px;background:var(--night);color:var(--night-text);padding:10px 16px;border-radius:999px;z-index:10}
.skip-link:focus{left:16px}
a:focus-visible,summary:focus-visible{outline:2px solid var(--orange);outline-offset:3px}
.welcome-more{font-size:17px;line-height:1.6}
.welcome-more section{padding:clamp(72px,9vw,128px) clamp(20px,6vw,96px)}
.welcome-more h2{font-family:var(--display);font-weight:700;font-size:clamp(36px,4.2vw,62px);line-height:1.04;letter-spacing:-.022em;margin:0 0 22px;color:var(--ink);text-wrap:balance}

.welcome-more h3{font-family:var(--display);font-weight:700;font-size:24px;line-height:1.15;letter-spacing:-.01em;margin:0 0 8px}
.welcome-more p{margin:0 0 14px;color:var(--ink-soft);max-width:60ch}
.eyebrow{font-size:11px;letter-spacing:.24em;font-weight:500;color:var(--muted);margin:0 0 18px!important}
.eyebrow::before{content:'';display:block;width:28px;height:2px;background:var(--orange);margin-bottom:16px}
.full-stop{color:var(--orange)}
.button{display:inline-block;background:var(--orange);color:var(--button-text)!important;padding:14px 28px;border-radius:999px;font-weight:500}
.button:hover{background:var(--orange-hover)}
.home-actions{display:flex;flex-wrap:wrap;align-items:center;gap:28px;margin-top:30px}
.home-actions a:not(.button){border-bottom:2px solid var(--orange);padding-bottom:4px}
.small-note{font-size:13px;color:var(--muted)!important;margin-top:18px!important}

/* ---------- Strip ---------- */
.home-strip{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 48px;padding:22px 24px;background:var(--night);color:var(--night-text);font-size:12px;letter-spacing:.22em;text-transform:uppercase}
.home-strip span:last-child{color:var(--orange)}

/* ---------- The desk ---------- */
.home-workspace{background:var(--grey)}
.section-intro{max-width:720px;margin-bottom:56px}
.workspace-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:clamp(32px,6vw,96px);align-items:start}
.plan-preview{background:var(--light);border:1px solid var(--line);border-radius:6px;padding:26px;scroll-margin-top:24px}
.plan-heading{display:flex;justify-content:space-between;font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--muted);padding-bottom:18px;border-bottom:1px solid var(--line);margin-bottom:22px}
.mini-board{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.mini-chapter{background:var(--chapter);border-radius:4px;padding:16px}
.mini-number{font-size:11px;letter-spacing:.18em;color:var(--orange)}
.mini-chapter h3{font-size:20px;margin:6px 0 14px}
.mini-scene{background:var(--light);border:1px solid var(--line);border-radius:4px;padding:12px 14px;margin-bottom:10px;font-size:14px}
.mini-scene strong{display:block;font-size:13px;margin-bottom:4px}
.mini-scene p{font-size:14px;line-height:1.45;margin:0 0 8px;color:var(--ink)}
.mini-scene span{display:inline-block;font-size:11px;background:var(--tag);color:var(--ink);border-radius:999px;padding:2px 10px}
.muted-scene{opacity:.62}
.mini-add{font-size:13px;color:var(--muted);border:1px dashed var(--line-strong);border-radius:4px;padding:10px 12px;margin:0!important}
.preview-caption{font-size:12px;color:var(--muted)!important;margin:16px 0 0!important}
.workspace-copy article{padding:0 0 30px;margin:0 0 30px;border-bottom:1px solid var(--line)}
.workspace-copy article:last-child{border-bottom:0}
.feature-number{display:block;font-size:11px;letter-spacing:.22em;color:var(--orange);margin-bottom:12px}

/* ---------- Revision ---------- */
.home-revision{background:var(--blush);text-align:center}
.home-revision h2,.home-revision p{margin-left:auto;margin-right:auto}
.home-revision .eyebrow::before{margin-left:auto;margin-right:auto}
.home-revision>a{display:inline-block;margin-top:18px;border-bottom:2px solid var(--orange);padding-bottom:4px}

/* ---------- Our thinking: the night accent from the dark landing ---------- */
.home-philosophy{background:var(--night);color:var(--night-text);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:clamp(32px,6vw,96px)}
.home-philosophy h2{color:var(--night-text)}
.home-philosophy .eyebrow{color:var(--night-soft)}
.home-philosophy p{color:var(--night-soft)}
.philosophy-lead{font-family:var(--display);font-style:italic;font-weight:600;font-size:clamp(24px,2.4vw,32px);line-height:1.25;color:var(--night-text)!important;margin-bottom:26px!important}
.philosophy-signoff{color:var(--orange)!important;font-weight:500;margin-top:24px!important}

/* ---------- Keeping ---------- */
.home-keeping{background:var(--grey);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,6vw,96px);align-items:start}
.save-layers{list-style:none;margin:0;padding:0}
.save-layers li{display:flex;gap:22px;padding:24px 0;border-top:1px solid var(--line)}
.save-layers li:last-child{border-bottom:1px solid var(--line)}
.save-layers li>span{font-family:var(--display);font-weight:700;font-size:28px;color:var(--orange);line-height:1;min-width:44px}
.save-layers p{margin:0;font-size:15px}

/* ---------- Questions ---------- */
.home-faq{background:var(--blush)}
.home-faq details{max-width:820px;border-top:1px solid var(--line);padding:22px 0}
.home-faq details:last-of-type{border-bottom:1px solid var(--line)}
.home-faq summary{font-family:var(--display);font-weight:700;font-size:23px;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:20px}
.home-faq summary::-webkit-details-marker{display:none}
.home-faq summary::after{content:'+';font-family:var(--ui);font-weight:400;color:var(--orange);font-size:26px;line-height:1}
.home-faq details[open] summary::after{content:'−'}
.home-faq details p{margin:14px 0 0}

/* ---------- Start ---------- */
.home-start{background:var(--grey);text-align:center}
.home-start h2,.home-start p{margin-left:auto;margin-right:auto}
.home-start .eyebrow::before{margin-left:auto;margin-right:auto}
.home-start .home-actions{justify-content:center}

/* ---------- Footer ---------- */
.home-footer{background:var(--night);color:var(--night-soft);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;padding:40px clamp(20px,6vw,96px);font-size:14px}
.home-footer .brand{font-family:var(--display);font-weight:700;font-size:24px;color:var(--night-text)}
.home-footer .brand em{color:var(--orange)}
.home-footer p{margin:0}
.home-footer nav{display:flex;gap:28px}
.home-footer a{color:var(--night-text)}
.home-footer a:hover{color:var(--orange)}

/* ---------- Day and night ---------- */
/* Only one hero shows. Below the hero, night swaps the palette for the dark landing's,
   and the two night-blue bands (our thinking, footer, strip) turn to warm paper,
   so each mode keeps one section in the other mode's colours as its accent. */
html[data-mode="night"] .day-hero{display:none}
html:not([data-mode="night"]) .night-hero{display:none}
html,body{margin:0;padding:0}
*{box-sizing:border-box}
a{color:var(--ink);text-decoration:none}
a:hover{color:var(--orange)}
html{background:var(--grey)}
html[data-mode="night"]{--ink:#f4efe6;--ink-soft:#d6d0c5;--muted:#b9b3a8;--grey:#060a12;--blush:#0b1019;--light:#111724;--orange:#f26a2e;--orange-hover:#ff7d45;--night:#f1e9e2;--night-text:#2e1a26;--night-soft:#4a3b42;--line:rgba(236,229,216,.14);--line-strong:rgba(236,229,216,.3);--chapter:#0b1019;--tag:rgba(242,106,46,.28);--button-text:#0b1019}
html[data-mode="night"] .home-philosophy .philosophy-signoff{color:#c24814!important}

/* The switch, bottom right */
.mode-switch{position:fixed;right:20px;bottom:20px;z-index:20;display:flex;gap:2px;padding:4px;border:1px solid var(--line-strong);border-radius:999px;background:color-mix(in srgb,var(--grey) 86%,transparent);backdrop-filter:blur(8px);cursor:pointer;font:500 11px var(--ui);letter-spacing:.18em;text-transform:uppercase}
.mode-switch span{padding:8px 14px;border-radius:999px;color:var(--muted)}
html:not([data-mode="night"]) .mode-switch-day,html[data-mode="night"] .mode-switch-night{background:var(--orange);color:var(--button-text)}
.mode-switch:focus-visible{outline:2px solid var(--orange);outline-offset:3px}

/* ---------- Small screens ---------- */
@media(max-width:860px){
 .workspace-layout,.home-philosophy,.home-keeping{grid-template-columns:1fr}
 .mini-board{grid-template-columns:1fr}
 .home-strip{gap:10px 24px;font-size:11px}
}

/* ---------- Bodoni weight ----------
   Bodoni Moda changes its hairlines with size. Left to the browser, large
   headlines get the display cut, whose thin strokes almost vanish. The landing
   hero turns that off; this does the same everywhere on these pages. */
*{font-optical-sizing:none!important}  /* !important because older rules use the "font" shorthand, which quietly turns it back on */
