/* Homepage v14 (November 11, 2026). Also the base stylesheet for /book/ (book.css adds its own rules).
   Nothing here hides content without JavaScript: every section is complete and still, and the photos are a plain row
   to swipe. Scroll-linked and timed states exist only under classes home.js adds. */
@font-face{font-family:"Cormorant Garamond";src:url("/assets/fonts/cormorantgaramond.woff2") format("woff2");font-style:normal;font-weight:400 600;font-display:swap}
/* Inter is "optional" (v15): if it is not ready within the first moment, this view keeps the metric-matched fallback
   instead of swapping late. A late swap moved centred and letter-spaced lines (the preview banner, the menu, some links)
   and was the cause of the small layout shifts recorded in v14. The file is preloaded, so it is normally in time. */
@font-face{font-family:Inter;src:url("/assets/fonts/inter.woff2") format("woff2");font-style:normal;font-weight:400 600;font-display:optional}
/* Metric-matched fallbacks (measured November 6, 2026): text keeps its lines when the web fonts arrive late. */
@font-face{font-family:"Inter Fallback";src:local("Arial");size-adjust:105.96%;ascent-override:91.54%;descent-override:22.65%;line-gap-override:0%}
@font-face{font-family:"Cormorant Fallback";src:local("Georgia");size-adjust:88.85%;ascent-override:103.54%;descent-override:32.64%;line-gap-override:0%}
:root{color-scheme:light;--royal:#2348A6;--azure:#578FE8;--mist:#DCE9FA;--ivory:#F6F2E8;--ink:#172033;--white:#FFFFFF;--paper:#FFFEFA;--muted:#4B5669;--rule:#D1D7DF;--pale:#F1F5FB;--panel:#EDF2FA;--miss:#A23B36;--miss-ink:#8E2F2A;--serif:"Cormorant Garamond","Cormorant Fallback",Georgia,serif;--sans:Inter,"Inter Fallback",Arial,sans-serif;--ease:cubic-bezier(.22,1,.36,1);--pad:88px;--dusk-a:#121929;--dusk-b:#182A5C;--dusk-c:#21408F;--on-dusk:#F6F2E8;--on-dusk-soft:#D5DEEF;--t-quick:.3s;--t-move:.6s;--t-slow:.9s;--t-step:.1s;--t-light:.5s;--rise:16px;--card-border:#D8DEE7;--card-radius:16px;--card-shadow:0 1px 2px #1720330a,0 18px 40px -34px #17203366}
*{box-sizing:border-box}
html{scroll-padding-top:100px;-webkit-text-size-adjust:100%}
@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
body{margin:0;background:var(--paper);color:var(--ink);font:400 16px/1.65 var(--sans);-webkit-font-smoothing:antialiased;overflow-x:clip}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-underline-offset:.3em}
button,summary,a{-webkit-tap-highlight-color:transparent}
button{font:inherit}
p,h1,h2,h3,figure,blockquote{margin:0}
h1,h2,h3{font-family:var(--serif);font-weight:500;color:var(--royal);text-wrap:balance}
/* Two words that stay on one line, also after a heading is split into lines for its reveal (a non-breaking space does not survive the split). */
.nowrap{white-space:nowrap}
/* A sentence of a heading that moves to the next line whole when the heading does not fit on one line. */
.phrase{display:inline-block}
h1{font-size:clamp(44px,4.6vw,66px);line-height:1.05;letter-spacing:-.03em}
h2{font-size:clamp(36px,4vw,54px);line-height:1.07;letter-spacing:-.025em}
h3{font-size:27px;line-height:1.16;letter-spacing:-.01em}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--royal);outline-offset:5px;border-radius:4px}
[tabindex="-1"]:focus{outline:none}
.wrap{width:min(1120px,calc(100% - 64px));margin-inline:auto}
.visually-hidden{position:absolute!important;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;z-index:100;padding:12px 20px;background:var(--royal);color:var(--white);transform:translateY(-180%)}
.skip-link:focus{transform:none}
/* The preview banner is set in the fallback face only, so it never changes when the web font arrives. */
.preview-banner{display:none;position:relative;z-index:30;margin:0;padding:8px 16px;background:var(--ink);color:var(--white);font:600 13px/1.3 "Inter Fallback",Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;text-align:center}
.is-preview .preview-banner{display:block}
.read-progress{position:fixed;left:0;right:0;top:0;z-index:60;height:3px;pointer-events:none}
/* The reading line follows the scroll, eased (home.js sets its length at most ten times a second; it glides there). */
.read-progress span{display:block;height:100%;background:var(--azure);transform:scaleX(0);transform-origin:0 50%;will-change:transform;transition:transform .25s linear}
.icon{width:14px;height:14px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transition:transform .3s var(--ease)}
/* The primary button: its halo, lift and light sweep are in header.css, shared by every page. */
.button{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:52px;padding:13px 26px;border:1px solid var(--royal);border-radius:100px;background-color:var(--royal);color:var(--paper);font:600 15px/1.3 var(--sans);text-decoration:none;white-space:nowrap}
.cta-note{margin-top:14px;font-size:15px;line-height:1.4;color:var(--muted)}
@media(hover:hover){.button:hover .icon{transform:translate(2px,-2px)}.text-link:hover .icon-down{transform:translateY(3px)}.text-link:hover .icon:not(.icon-down){transform:translate(2px,-2px)}}
.text-link .tl-label{display:inline}
.text-link{position:relative;display:inline-flex;align-items:center;gap:9px;min-height:44px;color:var(--royal);font:500 15px/1.3 var(--sans);text-decoration:none}
.text-link:after{content:"";position:absolute;left:0;right:23px;bottom:9px;height:1px;background:currentColor;transform:scaleX(.999);transform-origin:0 50%;transition:transform .4s var(--ease)}
@media(hover:hover){.text-link:after{transform:scaleX(0)}.text-link:hover:after{transform:scaleX(1)}}
.eyebrow{font:600 11px/1.5 var(--sans);letter-spacing:.15em;text-transform:uppercase;color:var(--royal)}
/* A small label above each section heading, at every width (v14). A paragraph of several sentences carries a
   span.sent around each sentence: inline on wide screens, a block each on phones. Two older paragraphs have a phone
   twin instead (.only-phone beside .only-wide, on /book/); .only-narrow is a twin for screens under 360px. */
.sec-label{margin-bottom:14px}
.only-phone,.only-narrow{display:none}
/* Cards share one hover: a small lift and a soft Azure edge, and on desktop a tilt of at most 2 degrees toward the
   mouse pointer (home.js sets --rx and --ry). On touch, a small lift while pressed. */
.card{transform:perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transition:transform .45s var(--ease),box-shadow .45s var(--ease),border-color .3s}
@media(hover:hover){.card:hover{transform:perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(-3px);border-color:#9dbcf0;box-shadow:0 0 0 1px #578fe840,0 18px 36px -24px #2348a680}}
@media(hover:none){.card:active{transform:translateY(-2px)}}
/* Dusk bands (my experience and the closing): Ink to Royal, with a soft Azure and Mist light in the corners. The light
   stands still (it glowed in a slow loop until v12; nothing loops now except the photos). Text is Ivory. */
.dusk{position:relative;overflow:clip;background:linear-gradient(158deg,var(--dusk-a) 0%,var(--dusk-b) 58%,var(--dusk-c) 118%);color:var(--on-dusk)}
.dusk-glow{position:absolute;inset:0;z-index:0;pointer-events:none;background:radial-gradient(560px 340px at 88% 0%,#578fe847,transparent 70%),radial-gradient(460px 320px at 2% 100%,#dce9fa1c,transparent 70%)}
/* One way of moving (Lex, v20). The shared timings and the one easing curve are the tokens at the top of this file:
   --t-quick (0.3s), --t-move (0.6s), --t-slow (0.9s), --t-step (0.1s, between neighbours that arrive together),
   --t-light (0.5s, lighting and un-lighting), --rise (how far an arriving thing rises) and --ease.
   Arrive: a heading, a paragraph, a card or a picture comes in once, when it enters the screen: a short rise and a
   fade, by itself (home.js section 2 adds .a-wait to what is below the screen at the start, and .a-in when it comes
   in; --d is its turn among its neighbours). A heading, and a paragraph of "I have worked these shifts", comes in
   line by line (.a-lines: the words of each line are wrapped in .a-w for the length of the entrance, --l is the line).
   The entrance is an animation whose first frame is the hidden state, so nothing can be left hidden. */
.a-wait{opacity:0}
.a-in{animation:a-rise var(--t-move) var(--ease) var(--d,0s) both}
.a-split .a-w{display:inline-block;white-space:nowrap}
.a-lines{animation:a-fade var(--t-quick) var(--ease) var(--d,0s) both}
.a-lines .a-w{--rise:.42em;animation:a-rise var(--ld,.45s) var(--ease) calc(var(--d,0s) + var(--l,0) * var(--ls,.06s)) both}
@keyframes a-rise{from{opacity:0;transform:translateY(var(--rise))}}
@keyframes a-fade{from{opacity:0}}
.dusk h2,.dusk h3{color:var(--on-dusk)}
.dusk .sec-label{color:var(--mist)}
.dusk a:focus-visible{outline-color:var(--on-dusk)}
.dusk .cta-note{color:var(--on-dusk-soft)}

/* Sections. On wide screens one thin thread runs down the left margin, above the section colours. */
main{position:relative}
.section{position:relative;padding-block:var(--pad)}
.section>.wrap,.hero>.wrap{position:relative;z-index:2}
.section-head{max-width:700px;margin-bottom:34px}

/* 1. The first screen and the two scenes after it (v17) are in night.css. */
@keyframes mark-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes rise{from{opacity:0;transform:translateY(var(--rise))}to{opacity:1;transform:none}}
@keyframes photo-zoom{from{transform:scale(1)}to{transform:scale(1.04)}}

/* The carousel: one component, used once, for the Meet Lex photos (.car-photos, further down). A native horizontal
   scroller with scroll-snap, so it works with no script, by touch, trackpad and keyboard. Nothing else on the page is
   a carousel (Lex, v11). */
.car{position:relative}
.car-track{display:flex;gap:12px;margin:0;padding:0;list-style:none;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none}
.car-track::-webkit-scrollbar{display:none}
html:not(.js) .car-track{scrollbar-width:thin}
html:not(.js) .car-track::-webkit-scrollbar{display:block;height:6px}
.car-track:focus-visible{outline:3px solid var(--royal);outline-offset:4px;border-radius:10px}
.car-slide{flex:0 0 86%;min-width:0;scroll-snap-align:start}

/* A section whose label and heading sit at the left and whose content sits at the right (the experience and the
   rules), on the page's one grid. One column below 1000px. */
.split{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);column-gap:72px;align-items:start}
/* The experience band: its heading stands level with the middle of the story, so the band has no empty corner (v15). */
@media(min-width:1000px){.story .split{align-items:center}.story{--pad:76px}}
.split .section-head{margin-bottom:0}

.rule-mark path{stroke-dasharray:1;stroke-dashoffset:0}

/* 3. My experience, on the dark blue band (v14): the heading at the left, three paragraphs in the body type at the
   right. No light here (Lex, v20): the words themselves arrive, line by line, each paragraph as it enters the screen,
   so the story seems to be written onto the page. */
.story-text{max-width:640px}
.story-p{font-size:18px;line-height:1.65;color:var(--on-dusk)}
.story-p+.story-p{margin-top:22px}

/* 4. Three steps (v15): three rows in one pattern. Each row is one card with the same three parts: its number and name
   (with "You can stop here"), its content, and its result. On wide screens the result is a slim tinted panel at the
   right with a Royal rule; from 768px to 999px and on phones it is a band at the foot of the card. Step 1 is the
   tallest: its two lists side by side from 1180px, then one short list under the small heading "At the readout".
   On phones each step shows its opening line and its result; the supporting lists are behind one "More" button
   (shown only with JavaScript; without it everything is open). Since v19 a phone shows one step at a time behind a
   selector (phone.css, phone.js). */
.steps{background:var(--ivory)}
.steps-list{display:grid;gap:20px;margin:0;padding:0;list-style:none}
.step{position:relative;display:grid;grid-template-columns:150px minmax(0,1fr) 250px;column-gap:40px;padding:34px 34px 36px;border:1px solid var(--card-border);border-radius:var(--card-radius);background:var(--white);box-shadow:var(--card-shadow)}
.step-head{display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.step-num{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;background:var(--royal);font:600 17px/1 var(--sans);color:var(--paper)}
.step h3{font-size:38px;line-height:1.05}
.step-stop{display:inline-flex;align-items:center;gap:8px;min-height:30px;padding:4px 12px 4px 9px;border:1px solid #c5d3ee;border-radius:100px;background:var(--pale);font:600 13px/1.3 var(--sans);color:var(--royal);white-space:nowrap}
.step-stop svg{flex:none;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.step-body{min-width:0}
.step-open{max-width:640px;font:500 24px/1.32 var(--serif);letter-spacing:-.005em;color:var(--ink);text-wrap:pretty}
.step-also{max-width:600px;margin-top:16px;font-size:17px;line-height:1.55;color:var(--ink);text-wrap:pretty}
/* "See the details" (v16, every width): with JavaScript each step shows its name, its opening line and its result
   (Step 1 also "What you keep"); the lists open in place under this control, each line rising in. Without
   JavaScript everything is open and the control is not shown. */
.step-keep-block{margin-top:22px}
.step-more{display:none}
.js .step-more{display:inline-flex;align-items:center;gap:10px;min-height:44px;margin-top:16px;padding:0 4px 0 0;border:0;background:none;font:600 15px/1.3 var(--sans);color:var(--royal);cursor:pointer}
.js .step-more:after{content:"";width:8px;height:8px;margin:-4px 0 0 2px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg);transition:transform var(--t-quick) var(--ease)}
.js .step-more[aria-expanded="true"]:after{margin-top:4px;transform:rotate(-135deg)}
@media(hover:hover){.js .step-more:hover .step-more-t{text-decoration:underline;text-underline-offset:.3em}}
.js .step-extra{display:none}
.js .step.is-open .step-extra{display:block}
/* Closing: the lines fade, then the panel goes and what is below glides up (home.js). */
.js .step.is-closing .step-extra{opacity:0;transition:opacity .15s var(--ease)}
@media(prefers-reduced-motion:no-preference){
  .js .step.is-open .step-extra :is(h4,li){animation:rise var(--t-move) var(--ease) both}
  .js .step.is-open .step-extra li:nth-child(2){animation-delay:calc(var(--t-step) * 1)}
  .js .step.is-open .step-extra li:nth-child(3){animation-delay:calc(var(--t-step) * 2)}
  .js .step.is-open .step-extra li:nth-child(4){animation-delay:calc(var(--t-step) * 3)}
  .js .step.is-open .step-extra .step-col+.step-col :is(h4,li){animation-delay:var(--t-step)}
}
.step-extra{margin-top:18px}
.step-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:34px}
.step h4{margin:0 0 6px;font:600 12px/1.4 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:var(--royal)}
.step-ul{margin:0;padding:0;list-style:none}
.step-ul li{position:relative;padding:11px 0 11px 26px;border-top:1px solid #e4e8ee;font-size:16px;line-height:1.55;color:var(--ink);text-wrap:pretty}
.step-ul li:before{content:"";position:absolute;left:2px;top:22px;width:11px;height:2px;border-radius:1px;background:var(--azure)}
.step-keep li:before{top:17px;width:12px;height:6px;border:solid var(--royal);border-width:0 0 2px 2px;border-radius:0;background:none;transform:rotate(-45deg)}
/* The result: a slim tinted panel with a Royal rule. It lights (its rule and edge brighten) when the margin line
   meets it (home.js adds .is-met; see the signature line). */
.step-result{position:relative;align-self:start;padding:20px 22px 22px;border-left:3px solid var(--royal);border-radius:0 12px 12px 0;background:var(--panel);transition:box-shadow var(--t-slow) var(--ease),background-color var(--t-slow) var(--ease)}
.step-result-label{margin-bottom:8px;font:600 12px/1.4 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--royal)}
.step-result-text{font:500 24px/1.2 var(--serif);letter-spacing:-.01em;color:var(--royal);text-wrap:balance;font-variant-numeric:lining-nums}
.step-result-text .sent{display:block}
.step-result-text .sent+.sent{margin-top:10px;font-size:19px;line-height:1.3;color:var(--ink)}
@media(prefers-reduced-motion:no-preference){
}
/* On wide screens each result sits against the card's right edge, where the signature line meets it. */
@media(min-width:1000px){
  .step{padding-right:0}
  .step-result{border-radius:0}
}
/* From 1000px to 1179px the content column is too narrow for two lists side by side: one under the other. */
@media(min-width:1000px) and (max-width:1179px){
  .step{grid-template-columns:150px minmax(0,1fr) 210px;column-gap:28px;padding:30px 0 32px 28px}
  .step h3{font-size:34px}
  .step-cols{grid-template-columns:minmax(0,1fr);gap:24px}
  .step-result-text{font-size:22px}
}
/* Below 1000px each card is one column: the number, name and marker on one line, the content, and the result as a
   band at the foot of the card. */
@media(max-width:999px){
  .step{grid-template-columns:minmax(0,1fr);padding:28px 28px 0}
  .step-head{flex-direction:row;flex-wrap:wrap;align-items:center;gap:10px 14px;margin-bottom:18px}
  .step-head .step-stop{margin-left:auto}
  .step h3{font-size:34px}
  .step-result{align-self:stretch;margin:26px -28px 0;padding:20px 28px 24px;border-left:0;border-top:3px solid var(--royal);border-radius:0 0 15px 15px}
}

/* 5. Rules for anything I build (v14): a short, plain list. Each rule's mark draws as the rule comes into view. */
.rules-list{margin:0;padding:0;list-style:none;border-top:1px solid var(--rule)}
.rules-list li{display:grid;grid-template-columns:24px minmax(0,1fr);gap:16px;padding:17px 0;border-bottom:1px solid var(--rule);font-size:18px;line-height:1.5;color:var(--ink)}
.rule-mark{width:24px;height:24px;margin-top:2px;fill:none;stroke:var(--royal);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* 7. Meet Lex. The photo carousel is centered in its column. With home.js it stacks the three photos and crossfades to
   the next every 5 seconds, looping; the current photo zooms by at most 4 percent. It pauses on hover, on keyboard
   focus, while a finger is on it and by its pause button; the dots show the position and can be tapped. Without the
   script it is a plain row to swipe; with reduced motion it stands still. Every photo has a caption on its foot. */
.about-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);grid-template-areas:"photos head" "photos copy";grid-template-rows:auto 1fr;column-gap:70px;align-items:start}
.about-head{grid-area:head;margin-bottom:22px}
.about-copy{grid-area:copy}
.car-photos{grid-area:photos;justify-self:center;width:380px;max-width:100%}
.photo-slide{flex:0 0 88%}
.photo-slide figure{position:relative;margin:0;overflow:hidden;border-radius:14px;background:var(--mist)}
.photo-slide picture{display:block}
.photo-slide img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover}
/* Every caption is the same: one box height (two lines), text set on its foot, the same gradient, the same type. */
.photo-slide figcaption{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:flex-end;height:100px;padding:0 18px 16px;background:linear-gradient(#12192900,#121929d9 42%,#121929f2);font:500 15px/1.4 var(--sans);color:var(--on-dusk);text-wrap:balance}
.car.is-fade .car-track{display:grid;overflow:hidden;border-radius:14px;touch-action:pan-y}
.car.is-fade .car-slide{grid-area:1/1;opacity:0;visibility:hidden;transition:opacity .9s ease,visibility 0s .9s}
.car.is-fade .car-slide.is-current{opacity:1;visibility:visible;transition:opacity .9s ease}
.js .car-photos{padding-bottom:48px}
.ph-ui{position:absolute;left:0;right:0;bottom:0;display:flex;justify-content:center;gap:8px}
.ph-dot{position:relative;flex:none;width:44px;height:44px;padding:0;border:0;border-radius:8px;background:none;cursor:pointer}
.ph-dot:before{content:"";position:absolute;left:50%;top:50%;width:8px;height:8px;margin:-4px 0 0 -4px;border-radius:50%;background:#aab5c8;transition:background-color .3s,transform .3s var(--ease)}
.ph-dot[aria-current="true"]:before{background:var(--royal);transform:scale(1.5)}
.ph-toggle{position:absolute;right:8px;top:8px;z-index:2;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:10px;background:#121929b3;box-shadow:0 0 0 1px #ffffff66;color:var(--white);cursor:pointer}
.ph-toggle svg{width:16px;height:16px;fill:currentColor}
.ph-toggle:focus-visible{outline:3px solid var(--white);outline-offset:2px}
.ph-toggle .ph-play,.ph-toggle[aria-pressed="true"] .ph-pause{display:none}
.ph-toggle[aria-pressed="true"] .ph-play{display:block}
@media(prefers-reduced-motion:no-preference){
  .car.is-fade.is-zoom :is(.car-slide.is-current,.car-slide.is-leaving) img{animation:photo-zoom 6.5s ease-out both}
  .car.is-fade.is-held .car-slide.is-current img{animation-play-state:paused}
}
.about-bio{max-width:520px;font-size:18px;line-height:1.6;color:var(--ink)}
.credentials,.cert-list{text-wrap:balance;margin:0;padding:2px 0 2px 18px;list-style:none;border-left:2px solid var(--azure);line-height:1.7;color:var(--muted)}
.about-bio+.about-bio{margin-top:16px}
/* The booking link under the bio (v16): the primary way on from Meet Lex. */
.about-book{margin-top:12px;font-weight:600}
.credentials{margin-top:20px}
.cert-title{margin:20px 0 8px;font:600 12px/1.4 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:var(--royal)}
.cert-list{margin-bottom:12px}

/* 8. The closing band (dusk): the line, the bright button, the quiet note and the email. No picture (Lex, v12): the
   button is the brightest thing in the band. */
.season-line{margin-bottom:16px;font:500 23px/1.3 var(--serif);letter-spacing:-.005em;color:var(--mist)}
/* The closing button's halo completes when the light arrives at the button, the last stop (home.js sets --halo to 1
   then, and back to 0 when the reader scrolls back above it): a soft change by opacity, on one pseudo-element that
   lies over the button's ordinary halo (header.css), so the button is never without a halo. Without the script, or
   with reduced motion, the halo is simply at full. */
.contact-book:after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:0 0 0 3px #578fe866,0 4px 42px 10px #578fe8e6;opacity:var(--halo,1);pointer-events:none;transition:opacity var(--t-slow) var(--ease)}
.contact-lead{max-width:500px;margin:20px 0 28px;font-size:18px;color:var(--on-dusk)}
.contact-action{display:flex}
.contact-alt{max-width:470px;margin-top:22px;color:var(--on-dusk-soft)}
.contact-alt a{color:var(--on-dusk)}

/* Footer */
.footer{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:16px 40px;padding-block:30px 36px}
.footer-brand{display:flex;align-items:center;min-height:44px;color:var(--royal);text-decoration:none}
.footer-brand-text{font:600 26px/1.1 var(--serif);letter-spacing:-.02em}
.footer-brand-text>span{display:block;margin-top:5px;font:500 11px/1.2 var(--sans);letter-spacing:.14em;text-transform:uppercase}
.footer nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px 26px}
.footer nav a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;font-size:13px;color:var(--muted);text-decoration:none}
@media(hover:hover){.footer nav a:hover{color:var(--royal);text-decoration:underline}}
/* The last row (v17): the footer line, and beside it the LinkedIn and Instagram icons (header.css). */
.footer-end{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 24px}
.footer-bottom{margin:0;font-size:13px;line-height:1.5;color:var(--muted)}

/* The small light of /book/ (book.js): one bright dot with a short fading tail, once, on load. (The homepage's light
   is a different thing since v20: night.css.) */
.lt{position:absolute;left:0;top:0;z-index:1;width:0;height:0;pointer-events:none}
.lt i{position:absolute;left:-6px;top:-6px;width:12px;height:12px;border-radius:50%;opacity:0;will-change:transform,opacity}
.lt .lt-core{background:#fff;box-shadow:0 0 0 2px #8FB4EE,0 0 14px 5px #578fe8cc,0 0 34px 10px #578fe84d}
.lt .lt-tail{background:#DCE9FA;box-shadow:0 0 10px 3px #578fe880}
/* Light up (Lex, v20). The stop the reader is at is fully lit (.is-lit): a soft glow behind or around it and a lit
   edge, never over its text. Stops already passed stay softly lit (.is-passed: the same layer, fainter); nothing
   blinks off. Lighting and un-lighting are always a soft change (--t-light), by opacity. What has been reached keeps
   its drawn marks (.is-reached); until then the rule marks wait undrawn (only while the light runs: html.lt-on).
   "I have worked these shifts" is not a stop and has no light of any kind. */
.step-result,.demo,.rules-list,.car-photos{position:relative}
.step-result:after,.demo:after{content:"";position:absolute;inset:-1px;border-radius:inherit;box-shadow:0 0 0 1.5px #578fe8,0 0 34px 4px #578fe859;opacity:0;pointer-events:none;transition:opacity var(--t-light) var(--ease)}
.rules-list:before{content:"";position:absolute;inset:-18px -28px;z-index:-1;border-radius:24px;background:radial-gradient(closest-side,#dce9fa,#dce9fa00);opacity:0;transition:opacity var(--t-light) var(--ease)}
.car-photos:before{content:"";position:absolute;inset:0 0 0 0;border-radius:14px;box-shadow:0 0 0 1.5px #578fe8,0 0 44px 8px #578fe866;opacity:0;pointer-events:none;transition:opacity var(--t-light) var(--ease)}
.js .car-photos:before{bottom:48px}
:is(.step-result,.demo).is-lit:after,.rules-list.is-lit:before,.car-photos.is-lit:before{opacity:1}
:is(.step-result,.demo).is-passed:after,.rules-list.is-passed:before,.car-photos.is-passed:before{opacity:.42}
@media(prefers-reduced-motion:no-preference){
  .lt-on .rules-list:not(.is-reached) .rule-mark{opacity:.22}
  .rule-mark{transition:opacity var(--t-move) var(--ease)}
  .lt-on .rules-list.is-reached .rule-mark path{animation:mark-draw var(--t-slow) var(--ease) .15s backwards}
  .lt-on .rules-list.is-reached li:nth-child(2) .rule-mark path{animation-delay:.27s}
  .lt-on .rules-list.is-reached li:nth-child(3) .rule-mark path{animation-delay:.39s}
  .lt-on .rules-list.is-reached li:nth-child(4) .rule-mark path{animation-delay:.51s}
}

/* Wide tablets and small laptops */
@media(max-width:1100px){
  :root{--pad:72px}
  .about-grid{column-gap:45px}
  .split{column-gap:48px}
}
@media(max-width:1023px){
  .car-photos{width:300px}
}
/* Below 1000px the three steps are one column, each card full width, with its number beside its name; the path runs
   down the cards' left edge, whose corners are squared for it. The experience and the rules are one column too. */
/* Certifications that take two lines keep a little air between them. */
@media(min-width:768px){.cert-list li+li{margin-top:8px}}
@media(max-width:999px){
  .split{display:block}
  .split .section-head{margin-bottom:30px}
  .story-text,.rules-list{max-width:700px}
}
@media(max-width:899px){
  /* The six footer links stay on one line beside the wordmark. */
  .footer{column-gap:24px}
  .footer nav{gap:8px 10px}
}

/* Phones (Lex, v13, November 11, 2026; every v14 section follows the same rules): the same design, made for a thumb.
   Space and separation win over page length; there is no height limit. The minimums, measured on every section by
   tools/phone-layout.cjs: section padding 64px top and bottom and 24px at the sides; 24px under a section heading;
   28px between blocks; 16px between paragraphs and between stacked cards; 20px inside a card; list rows with 14px
   above and below and a divider; body text 17px on 1.6; small print 14px or more (uppercase labels 12px or more);
   tap targets 44px high and 12px apart. Every section is its own band, with a small label and its heading. A
   paragraph of several sentences is set one sentence to a block (.sent), so that no run of text is longer than four
   lines unless it is a single sentence (withdrawn in v19 for "I have worked these shifts", the steps and Meet Lex,
   where a paragraph flows again: phone.css). Every card is one column, full width. */
@media(max-width:767px){
  :root{--pad:64px}
  html{scroll-padding-top:80px}
  body{font-size:17px;line-height:1.6}
  .wrap{width:calc(100% - 48px)}
  h1{font-size:40px;line-height:1.06}
  h2{font-size:32px;line-height:1.1}
  h3{font-size:24px}
  .eyebrow{font-size:12px;letter-spacing:.12em}
  .sec-label{margin-bottom:12px}
  /* 26px under a section heading: a heading that has been split into lines for its reveal can be a pixel taller. */
  .section-head,.split .section-head{margin-bottom:26px}
  .only-wide{display:none}
  .only-phone,.sent{display:block}
  .sent{text-wrap:balance}
  .sent+.sent{margin-top:16px}
  .cta-note{margin-top:16px;font-size:16px}
  /* 3. My experience: one block, one sentence to a line group, 28px between the three paragraphs. */
  .story-p{font-size:17px;line-height:1.6}
  .story-p+.story-p{margin-top:28px}
  /* 4. The three steps: three cards. Each shows its opening line and its result; "More" opens the rest. */
  .steps-list{gap:16px}
  .step{padding:22px 20px 0;border-radius:14px}
  /* The number and name on one line, the marker under them, the same on all three cards. */
  .step-head{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;margin-bottom:16px}
  .step-head .step-stop{grid-column:1/-1;justify-self:start;margin-left:0}
  .step-num{width:34px;height:34px;font-size:15px}
  .step h3{font-size:28px}
  .step-stop{font-size:14px}
  .step-open{font-size:20px;line-height:1.6}
  .step-also{margin-top:16px;line-height:1.6}
  .js .step-more{font-size:17px}
  .step-keep-block{margin-top:16px}
  .step-extra{margin-top:12px}
  .step-cols{grid-template-columns:minmax(0,1fr);gap:24px}
    .step h4{margin-bottom:4px}
  .step-ul li{padding:14px 0 14px 26px;font-size:17px;line-height:1.6}
  .step-ul li:before{top:27px}
  .step-keep li:before{top:21px}
  .step-result{margin:22px -20px 0;padding:18px 20px 20px;border-radius:0 0 13px 13px}
  .step-result-text{font-size:23px;line-height:1.22}
  .step-result-text .sent+.sent{margin-top:8px;font-size:20px}
  /* 5. The rules: rows with a divider. */
  .rules-list li{gap:14px;padding:14px 0;font-size:17px;line-height:1.6}
  .rules-list:before{inset:-14px -16px}
  .rules-list .sent+.sent{margin-top:4px}
  .rule-mark{margin-top:3px}
  /* 7. Meet Lex: the heading, the photos, the bio (in the body type), then the degree and the certifications, each
     on its own card. */
  .about-grid{display:block}
  .about-head{margin-bottom:26px}
  .car-photos{width:min(100%,380px);margin:0 auto 28px}
  .ph-ui{gap:12px}
  .ph-dot:before{width:10px;height:10px;margin:-5px 0 0 -5px;background:#7f8ba3}
  .ph-dot[aria-current="true"]:before{background:var(--royal)}
  .photo-slide figcaption{height:92px;padding:0 16px 14px;font-size:15px;line-height:1.4}
  .about-bio{font-size:17px;line-height:1.6}
  .about-book{margin-top:28px}
  .credentials,.cert-list{padding:6px 20px;border:1px solid var(--card-border);border-radius:var(--card-radius);background:var(--white);box-shadow:var(--card-shadow);line-height:1.5;color:var(--ink)}
  .credentials li,.cert-list li{padding:14px 0}
  .cert-list li+li{border-top:1px solid #e4e8ee}
  .credentials{margin-top:28px}
  .cert-title{margin:28px 0 12px}
  .cert-list{margin-bottom:28px}
  .about .text-link{font-size:16px}
  /* 8. The closing band: room around the button. */
  .season-line{margin-bottom:16px;font-size:21px}
  .contact-lead{margin:26px 0 28px;font-size:17px}
  .contact .cta-note{margin-top:16px}
  .contact-alt{margin-top:28px}
  /* Footer: clear of the band above it; the links 44px high and well apart. */
  .footer{grid-template-columns:1fr;gap:16px;padding-block:44px 40px}
  .footer-brand-text>span{font-size:12px}
  .footer .fn-wide{display:none}
  .footer nav{justify-content:flex-start;gap:0 28px}
  .footer nav a{font-size:15px}
  .footer-bottom{font-size:14px}
}
/* On the narrowest phones the closing band's email line is set one sentence to a block (its twin, .only-narrow). */
@media(max-width:359px){
  .only-from-360{display:none}
  .only-narrow{display:block}
  .photo-slide figcaption{padding:0 12px 12px;font-size:14px}
  h1{font-size:36px}
  h2{font-size:30px}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition-duration:0s!important;transition-delay:0s!important;animation-duration:0s!important;animation-delay:0s!important}.photo-slide img{animation:none!important}}
