@font-face{font-family:"Bricolage Grotesque"; font-style:normal; font-weight:400 800; font-display:swap; src:url("/assets/fonts/bricolage-grotesque-latin-b7df9761.woff2") format("woff2")}
@font-face{font-family:"Inter"; font-style:normal; font-weight:100 900; font-display:swap; src:url("/assets/fonts/inter-latin-65850a37.woff2") format("woff2")}
@font-face{font-family:"JetBrains Mono"; font-style:normal; font-weight:400 800; font-display:swap; src:url("/assets/fonts/jetbrains-mono-latin-570751c5.woff2") format("woff2")}
/* ============================================================
   TOKENS: inherited from the Almost a Lab design system
   ============================================================ */
:root{
  color-scheme: dark;
  --bg:#0a0a0a;
  --surface:#101014;
  --raised:#17171c;
  --text:#f0f0f0;
  --muted:#9a9aa4;          /* 7.1:1 on --bg */
  --accent:#d1ff4c;         /* 17.1:1 on --bg */
  --accent-hover:#dcff70;
  --on-accent:#0a0a0a;      /* text on lime */
  --text-strong:#fff;
  --danger:#ff8a80;         /* 8.3:1 on --surface */
  --scrollbar:#2a2a30;
  --line:rgba(240,240,240,.10);
  --line-strong:rgba(240,240,240,.20);

  --display:"Bricolage Grotesque",system-ui,sans-serif;
  --sans:"Inter",system-ui,sans-serif;
  --mono:"JetBrains Mono",ui-monospace,monospace;

  --r-sm:8px; --r-md:14px; --r-lg:20px;   /* concentric: inner = outer - padding */
  --ease:cubic-bezier(.16,1,.3,1);
  --pad:clamp(20px,5vw,40px);
  --card-pad:clamp(20px,3.2vw,26px);   /* one inset for every bordered card */
  /* Type ramp beyond the named roles (see DESIGN.md Typography). Anything smaller
     than --fs-label breaks the 12px floor. */
  --fs-label:.75rem;                          /* 12px: years, numbers, captions */
  --fs-sm:.875rem;                            /* 14px: card copy, captions, notes */
  --fs-md:.95rem;                             /* 15.2px: secondary prose, buttons */
  --fs-title-lg:clamp(1.2rem,3.2vw,1.5rem);   /* large card titles */
  --fs-statement:clamp(1.7rem,5.4vw,2.7rem);  /* footer line, menu pages */
  /* Tracking tightens as size grows, one step per role (see DESIGN.md). */
  --track-display:-.045em;     /* the name */
  --track-statement:-.03em;    /* footer line, menu pages */
  --track-title:-.02em;        /* section titles and every card or row title */
  --track-label:.01em;         /* small Inter labels */
  --track-mono:.08em;          /* JetBrains Mono labels and numbers */
}

*,*::before,*::after{box-sizing:border-box}
/* The UA's `[hidden]{display:none}` is not an author rule, so any author
   `display:` beats it. That silently unhid the brief dialog's success panel,
   which put an "Open the calendar" button on screen before the form was
   submitted. Make hidden mean hidden. */
[hidden]{display:none !important}
html{-webkit-text-size-adjust:100%}
body{
  margin:0; background:var(--bg); color:var(--text);
  font-family:var(--sans); font-size:16px; line-height:1.6;
  overflow-wrap:break-word; /* long URLs and the email break at 200% text instead of widening the page */
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}
img{max-width:100%; height:auto; display:block}
a{color:inherit; text-decoration:none}

/* Grain + lime bloom, purely decorative */
body{position:relative}
body::before{
  content:""; position:absolute; top:0; left:0; right:0; height:min(1100px,120vh);
  z-index:0; pointer-events:none;
  background:
    radial-gradient(70ch 50ch at 78% -8%, color-mix(in srgb,var(--accent) 10%,transparent), transparent 62%),
    radial-gradient(50ch 40ch at 4% 4%, color-mix(in srgb,var(--accent) 4.5%,transparent), transparent 60%);
}

/* flow-root keeps the header's top margin inside the wrapper. Without it the
   margin collapsed through body, moved the body (and its lime bloom) 10px down,
   and left a bare black strip across the top of the screen. */
.wrap{display:flow-root; position:relative; z-index:1; max-width:940px; margin:0 auto;
  padding:0 max(var(--pad), env(safe-area-inset-left)) 0 max(var(--pad), env(safe-area-inset-right))}

/* Focus: visible on every interactive element */
a:focus-visible,button:focus-visible{
  outline:2px solid var(--accent); outline-offset:3px; border-radius:var(--r-sm);
}

/* ============================================================
   SECTION HEADS
   ============================================================ */
.sec{padding:clamp(52px,9vw,88px) 0; border-top:1px solid var(--line)}
.sec-head{display:flex; align-items:baseline; gap:14px; margin-bottom:26px; flex-wrap:wrap}
.sec-head h2{
  font-family:var(--display); font-size:clamp(1.4rem,3.4vw,1.9rem);
  font-weight:600; letter-spacing:var(--track-title); margin:0;
}
.sec-num{
  font-family:var(--mono); font-size:var(--fs-label); color:var(--accent);
  letter-spacing:var(--track-mono); font-variant-numeric:tabular-nums;
}
.sec-note{font-family:var(--sans); font-size:var(--fs-label); color:var(--muted); letter-spacing:var(--track-label); margin-left:auto; font-weight:500}

/* ============================================================
   HERO
   ============================================================ */
.hero{padding:clamp(30px,7vw,58px) 0 clamp(44px,7vw,72px)}
.topbar{display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:22px 0 12px; margin:0 0 calc(clamp(34px,7vw,66px) - 12px)}   /* the top space is padding, not margin, so the bar does not jump when it sticks */
/* The way back, in plain sight on a desktop: the same three links the home page carries by its monogram.
   Phones keep the Menu button, which lists them all. */
.pagenav{display:none}
@media(min-width:960px){   /* the same width at which the home page shows its links */
  .pagenav{display:flex; align-items:center; gap:4px; margin:0 auto 0 4px}
  .pagenav a{display:inline-flex; align-items:center; min-height:40px; padding:0 14px; border-radius:var(--r-lg); font-size:var(--fs-sm); font-weight:500; color:var(--muted); transition:color .15s ease-out, background-color .15s ease-out}
  .pagenav a[aria-current]{color:var(--text)}
  .pagenav a:focus-visible{outline:2px solid var(--text-strong); outline-offset:2px}
  @media (hover:hover){ .pagenav a:hover{color:var(--text); background:rgba(240,240,240,.06)} }
}
.topbar{position:sticky; top:0; z-index:50; transition:background-color .2s ease-out, box-shadow .2s ease-out}
.sec[id]{scroll-margin-top:84px}   /* a jump to #kit or #awards lands under the pinned header otherwise */
/* Without JS the Menu cannot open, so the button goes and the three links show at every width. */
html:not(.js) .menu-btn{display:none}
html:not(.js) .pagenav,html:not(.js) body.home .topnav{display:flex; align-items:center; gap:4px; pointer-events:auto}
html:not(.js) .pagenav a{display:inline-flex; align-items:center; min-height:44px; padding:0 10px; font-size:var(--fs-sm); font-weight:500; color:var(--muted)}
/* One bar on every page, always in reach: clear over the top of the page, solid with a hairline once the page has
   moved under it (site.js sets .pinned). The 100vmax shadow paints it edge to edge; the clip keeps that to the bar. */
.topbar.pinned{background-color:var(--bg); box-shadow:0 0 0 100vmax var(--bg); clip-path:inset(0 -100vmax -1px)}
.topbar.pinned::after{content:""; position:absolute; left:0; right:0; bottom:-1px; height:1px; border-image:conic-gradient(var(--line) 0 0) fill 0 / 0 / 0 100vmax}   /* the hairline under the bar, edge to edge like the home page's */
@media(prefers-reduced-motion:reduce){ .topbar{transition:none} }
/* The monogram alone is the mark; the link is named by its aria-label. 44px
   square keeps the home target tappable now that it has no text beside it. */
.mark{display:flex; align-items:center; min-height:44px; min-width:44px}
.mark img{width:28px; height:auto; filter:invert(1)}

.status{display:inline-flex; align-items:center; gap:8px; font-family:var(--sans); font-size:var(--fs-label); letter-spacing:var(--track-label); color:var(--muted); white-space:nowrap; font-weight:500}
/* Below this the status pill and the menu button fight for the same row and the
   text wraps into itself. It reappears inside the menu instead. */
@media(max-width:719px){ .topbar .status{display:none} }
.menu-status{display:inline-flex; align-items:center; gap:8px; margin-bottom:22px;
  font-family:var(--sans); font-size:var(--fs-label); letter-spacing:var(--track-label); color:var(--muted); font-weight:500}

.dot{width:6px; height:6px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 0 color-mix(in srgb,var(--accent) 50%,transparent); animation:pulse 2.6s infinite}
@keyframes pulse{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--accent) 45%,transparent)}70%{box-shadow:0 0 0 7px color-mix(in srgb,var(--accent) 0%,transparent)}100%{box-shadow:0 0 0 0 color-mix(in srgb,var(--accent) 0%,transparent)}}

.hero-grid{display:grid; grid-template-columns:1fr; gap:clamp(28px,5vw,52px); align-items:center}
@media(min-width:820px){.hero-grid{grid-template-columns:1.12fr .88fr}}

.eyebrow{font-family:var(--sans); font-size:var(--fs-label); letter-spacing:var(--track-label); color:var(--accent); margin:0 0 16px; font-weight:500}
h1{
  font-family:var(--display); font-weight:700;
  font-size:clamp(3.1rem,11.5vw,6.4rem); line-height:.92; letter-spacing:var(--track-display);
  margin:0 0 20px;
}
/* A single unbreakable word ("Braeden") at 200% text size came out 379px wide
   on a 375px phone. Capping the floor by viewport keeps it inside the screen;
   at default text size min() still picks 3.1rem, so nothing changes there. */
h1{font-size:clamp(min(3.1rem,20vw),11.5vw,6.4rem)}
h1 .ln{display:block; overflow:hidden; padding-bottom:.04em}
h1 .ln > i{display:block; font-style:normal}
/* Masked line reveal: cancel the generic fade, slide each line up instead */
.js h1.rv{opacity:1; transform:none}
.js h1.rv .ln > i{transform:translateY(104%)}
.js h1.rv.in .ln > i{transform:none; transition:transform .85s var(--ease)}
.js h1.rv.in .ln:nth-child(2) > i{transition-delay:.09s}
.role{font-size:clamp(1.02rem,2.4vw,1.22rem); color:var(--text); margin:0 0 10px; font-weight:500}
.role b{color:var(--accent); font-weight:600}
.bio{color:var(--muted); max-width:46ch; margin:0 0 16px; font-size:1rem}

.chips{display:flex; flex-wrap:wrap; gap:10px}
.chip{
  display:inline-flex; align-items:center; gap:9px;
  min-height:46px; padding:0 17px; border-radius:999px;
  border:1px solid var(--line-strong); background:var(--surface);
  font-size:var(--fs-sm); font-weight:500; cursor:pointer;
  transition:background .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease), transform .12s var(--ease);
}
.chip svg{width:16px; height:16px; flex:none}
@media (hover:hover){ .chip:hover{background:var(--raised); border-color:var(--line-strong); color:var(--text-strong)} }
.chip:active{transform:scale(.96)}
.chip.primary{background:var(--accent); color:var(--on-accent); border-color:var(--accent); font-weight:600}
@media (hover:hover){ .chip.primary:hover{background:var(--accent-hover); color:var(--on-accent)} }

.portrait{position:relative; border-radius:var(--r-lg); overflow:hidden; box-shadow:inset 0 0 0 1px var(--line)}
.portrait img{width:100%; aspect-ratio:4/5; object-fit:cover; object-position:50% 12%; filter:grayscale(1) contrast(1.06)}
.portrait::after{content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 55%,color-mix(in srgb,var(--bg) 55%,transparent))}
@media(max-width:819px){
  /* Cap the width too, or the square grows with the column: at 819px it hit
     739x739 and pushed the link index 1.42 viewports down, which is the exact
     scroll cost the 1:1 crop below was chosen to avoid. Phones are unaffected
     (the portrait is 335px at 375px wide), so this only bites the tablet band. */
  .portrait{border-radius:var(--r-md); max-width:420px}
  /* Square, not 4:3. The source is a 4:5 portrait, so a landscape frame left
     dead black either side and shrank the face. Full 4:5 would be truest but
     adds ~400px of scroll between the CTAs and the link index, which is the one
     thing a link-in-bio cannot afford on its primary surface. */
  .portrait img{aspect-ratio:1/1}
}

/* ============================================================
   VENTURES
   ============================================================ */
.ventures{display:grid; grid-template-columns:1fr; gap:14px}
@media(min-width:760px){.ventures{grid-template-columns:1fr 1fr}}
.venture{
  position:relative; display:flex; flex-direction:column; gap:12px;
  padding:var(--card-pad); border:1px solid var(--line); border-radius:var(--r-lg);
  background:var(--surface); overflow:hidden; cursor:pointer;
  transition:border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
@media (hover:hover){ .venture:hover{border-color:color-mix(in srgb,var(--accent) 42%,transparent); background:var(--raised); transform:translateY(-3px)} }
.venture:active{transform:translateY(-1px) scale(.995)}
.v-top{display:flex; align-items:center; justify-content:space-between; gap:12px}
.v-tag{font-family:var(--sans); font-size:var(--fs-label); letter-spacing:var(--track-label); color:var(--muted); font-weight:500}   /* a category: grey, and no pill */
.v-name{font-family:var(--display); font-size:var(--fs-title-lg); font-weight:600; letter-spacing:var(--track-title); margin:0}
.v-desc{color:var(--muted); font-size:var(--fs-md); margin:0; line-height:1.55}
.v-meta{font-family:var(--sans); font-size:var(--fs-label); color:var(--muted); letter-spacing:var(--track-label); margin-top:2px; font-weight:500}
.arrow{width:19px; height:19px; color:var(--muted); flex:none; transition:transform .3s var(--ease), color .3s var(--ease)}
@media (hover:hover){ .venture:hover .arrow{transform:translate(3px,-3px); color:var(--accent)} }

/* ============================================================
   LINK INDEX: the signature lime wipe
   ============================================================ */
.rows{border-top:1px solid var(--line)}
.row{
  position:relative; display:flex; align-items:center; gap:16px;
  min-height:64px; padding:16px 18px; border-bottom:1px solid var(--line);
  overflow:hidden; cursor:pointer; isolation:isolate;
}
.row::before{
  content:""; position:absolute; inset:0; background:var(--accent); z-index:-1;
  transform:scaleX(0); transform-origin:left;
  transition:transform .44s var(--ease);
}
.row:focus-visible::before{transform:scaleX(1)}
@media (hover:hover){ .row:hover::before{transform:scaleX(1)} }
.row:focus-visible{outline:2px solid var(--bg); outline-offset:-3px}
.r-num{
  font-family:var(--mono); font-size:var(--fs-label); color:var(--muted);
  font-variant-numeric:tabular-nums; flex:none; width:26px;
  transition:color .3s var(--ease);
}
.r-icon{width:19px; height:19px; flex:none; color:var(--muted); transition:color .3s var(--ease)}
.r-label{font-size:1.02rem; font-weight:500; transition:color .3s var(--ease)}
.r-val{
  margin-left:auto; font-family:var(--mono); font-size:var(--fs-label); color:var(--muted);
  transition:color .3s var(--ease); white-space:nowrap;
  overflow:hidden; text-overflow:ellipsis; max-width:42vw;
}
.r-go{width:16px; height:16px; flex:none; color:var(--muted); transition:transform .3s var(--ease), color .3s var(--ease)}
.row:focus-visible .r-num,.row:focus-visible .r-icon,.row:focus-visible .r-label,
.row:focus-visible .r-val,.row:focus-visible .r-go{color:var(--bg)}
@media (hover:hover){ .row:hover .r-num,.row:hover .r-icon,.row:hover .r-label,.row:hover .r-val,.row:hover .r-go{color:var(--bg)} }
.row:focus-visible .r-go{transform:translateX(3px)}
@media (hover:hover){ .row:hover .r-go{transform:translateX(3px)} }
.row{transition:transform .12s var(--ease)}
.row:active{transform:scale(.994)}
@media(max-width:560px){ .r-val{display:none} .r-label{flex:1} }

/* ============================================================
   PRESS
   ============================================================ */
.press{display:grid; gap:12px}
.item{
  display:flex; align-items:flex-start; gap:18px;
  padding:var(--card-pad); border:1px solid var(--line); border-radius:var(--r-md);
  background:var(--surface); cursor:pointer;
  transition:border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
@media (hover:hover){ .item:hover{border-color:color-mix(in srgb,var(--accent) 40%,transparent); background:var(--raised); transform:translateX(4px)} }
.item:active{transform:translateX(2px) scale(.995)}
.i-year{font-family:var(--mono); font-size:var(--fs-label); color:var(--muted); flex:none; padding-top:3px; font-variant-numeric:tabular-nums}
.i-body{flex:1; min-width:0}
.i-outlet{font-family:var(--sans); font-size:var(--fs-label); letter-spacing:var(--track-label); color:var(--muted); display:block; margin-bottom:6px; font-weight:500}
.i-title{font-size:1rem; font-weight:500; margin:0 0 5px; line-height:1.42}
.i-sub{font-size:var(--fs-sm); color:var(--muted); margin:0; max-width:52ch}   /* ch undercounts Inter: 52ch is ~75 characters */
.item .arrow{align-self:center}

/* ============================================================
   CLIENT LOGO WALL
   ============================================================ */
.logos{padding:6px 0 0; display:flex; flex-direction:column; align-items:center; gap:clamp(18px,3.4vw,34px)}
/* Measured, not calculated. The artwork's own maximum alpha is about .44, so
   the filter never produces white: at opacity(.42) the brightest logo pixel
   rendered at 53 on a bg of 10, which is 1.6:1, under the 3:1 floor for
   meaningful non-text content. The .72 hover lift was the only thing that ever
   cleared it, and a phone has no hover. .85 measures 3.2:1, and the wall still
   sits far below the 17:1 body text. */
.logos img{
  height:auto;
  filter:brightness(0) invert(1) opacity(.85);
  transition:filter .45s var(--ease);
}
.logos .lr1{width:100%}
.logos .lr2{width:56%}
@media (hover:hover){ .logos:hover img{filter:brightness(0) invert(1) opacity(1)} }
@media(max-width:560px){ .logos{gap:16px} .logos .lr2{width:72%} }

/* ============================================================
   FOOTER
   ============================================================ */
footer{border-top:1px solid var(--line); padding:clamp(44px,7vw,64px) 0 46px}
.f-cta{font-family:var(--display); font-size:var(--fs-statement); font-weight:600; letter-spacing:var(--track-statement); line-height:1.1; margin:0 0 12px; max-width:15ch; text-wrap:balance}
/* 15ch is 270px on a phone, narrow enough that balance broke the line into four
   and stranded "almost" on its own. 17ch is still inside the column and holds
   it to three. */
@media(max-width:560px){ .f-cta{max-width:17ch} }
/* inline-block + padding gives a 44px tap target; the negative margin keeps
   the text where it was, and the underline is redrawn at the old baseline. */
.f-cta a{position:relative; display:inline-block; padding:8px 0; margin:-8px 0; transition:color .25s var(--ease)}
.f-cta a::after{content:""; position:absolute; left:0; right:0; bottom:8px; height:2px;
  background:color-mix(in srgb,var(--accent) 35%,transparent); transition:background .25s var(--ease)}
@media (hover:hover){ .f-cta a:hover{color:var(--accent)} }
@media (hover:hover){ .f-cta a:hover::after{background:var(--accent)} }
.f-sub{color:var(--muted); margin:0 0 32px; max-width:44ch}
.f-bot{display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap;
  font-family:var(--mono); font-size:var(--fs-label); color:var(--muted); letter-spacing:var(--track-mono)}
.f-bot a{display:inline-flex; align-items:center; min-height:44px}
@media (hover:hover){ .f-bot a:hover{color:var(--accent)} }

/* ============================================================
   ENTRANCE: only applied when JS is present
   ============================================================ */
.js .rv{opacity:0; transform:translateY(16px)}
.js .rv.in{opacity:1; transform:none; transition:opacity .7s var(--ease), transform .7s var(--ease)}
.js .rv.in{transition-delay:var(--d,0ms)}

/* ============================================================
   CREDENTIALS GRID (speaking, teaching, advising)
   ============================================================ */
.creds{display:grid; grid-template-columns:1fr; gap:12px}
@media(min-width:600px){
  .creds{grid-template-columns:1fr 1fr}
  /* five cards in two columns leaves the last one beside a hole */
  .creds > :last-child:nth-child(odd){grid-column:1 / -1}
}
@media(min-width:900px){
  .creds{grid-template-columns:repeat(3,1fr)}
  .creds > :last-child:nth-child(odd){grid-column:auto}
  /* and in three columns the fifth card leaves the hole instead */
  .creds > :last-child:nth-child(3n+2){grid-column:span 2}
}

/* ============================================================
   PRINCIPLES: how I work
   ============================================================ */
.principles{display:grid; grid-template-columns:1fr; gap:0}
@media(min-width:760px){.principles{grid-template-columns:repeat(3,1fr); gap:0}}
.pr{padding:22px 0 22px 20px; border-top:1px solid var(--line); border-left:2px solid var(--line-strong)}
@media(min-width:760px){
  .pr{border-top:0; border-left:2px solid var(--line-strong); padding:4px 26px 4px 20px}
}
.pr h3{
  font-family:var(--display); font-size:var(--fs-title-lg); font-weight:600;
  letter-spacing:var(--track-title); margin:0 0 8px; text-wrap:balance;
}
.pr p{color:var(--muted); font-size:var(--fs-sm); margin:0; line-height:1.55}
.cred{
  padding:var(--card-pad); border:1px solid var(--line); border-radius:var(--r-md);
  background:var(--surface); transition:border-color .3s var(--ease), background .3s var(--ease);
}
/* No :hover here. Every card on this site that lights its border lime on hover
   (.feat, .venture, .bridge) is a link; these are plain divs with nowhere to go,
   so the same treatment promised a click that does nothing. */
.c-tag{font-family:var(--sans); font-size:var(--fs-label); letter-spacing:var(--track-label); color:var(--muted); display:block; margin-bottom:10px; font-weight:500}
.c-title{font-family:var(--display); font-size:1.02rem; font-weight:600; letter-spacing:var(--track-title); margin:0 0 5px; text-wrap:balance}
/* No min-height. It reserved a second line to align titles across the row, but
   every title is one line, so all it produced was ~28px of dead air under each. */
.c-sub{font-size:var(--fs-sm); color:var(--muted); margin:0; line-height:1.5}

/* Location strip */
.places{display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; margin:0 0 18px;
  font-family:var(--sans); font-size:var(--fs-label); letter-spacing:var(--track-label); font-weight:500; color:var(--muted)}
/* The separator leads the word it belongs to rather than being its own flex
   item, so a wrap can never strand a slash at the end of a line. It did on a
   375px screen: "BARCELONA /" then "SERVING EMEA". */
.places span + span::before{content:"/"; color:var(--line-strong); margin-right:14px}

/* ============================================================
   PRIVATE FLAG banner (injected server-side by functions/_middleware.js)
   ============================================================ */
.private-flag{
  display:flex; align-items:center; gap:12px; flex-wrap:wrap;
  padding:13px 18px; border-bottom:1px solid var(--line);
  background:color-mix(in srgb,var(--accent) 5%,transparent);
  font-size:var(--fs-sm); color:var(--muted);
}
.pf-tag{
  font-family:var(--sans); font-size:var(--fs-label); letter-spacing:var(--track-label); font-weight:500; color:var(--accent);
  border:1px solid color-mix(in srgb,var(--accent) 35%,transparent); padding:4px 9px; border-radius:999px; flex:none;
}

/* ============================================================
   FEATURED LINKS  (add a card by copying one <a class="feat">)
   ============================================================ */
.feats{display:grid; grid-template-columns:1fr; gap:12px}
@media(min-width:680px){
  .feats{grid-template-columns:1fr 1fr}
  /* an odd final card would otherwise sit alone beside dead space */
  .feats > :last-child:nth-child(odd){grid-column:1 / -1}
}
.feat{
  position:relative; display:flex; flex-direction:column; gap:9px; padding:var(--card-pad);
  border:1px solid var(--line); border-radius:var(--r-md); background:var(--surface);
  cursor:pointer; overflow:hidden;
  transition:border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
@media (hover:hover){ .feat:hover{border-color:color-mix(in srgb,var(--accent) 42%,transparent); background:var(--raised); transform:translateY(-3px)} }
.feat:active{transform:translateY(-1px) scale(.995)}
.f-top{display:flex; align-items:center; justify-content:space-between; gap:12px}
.f-kind{font-family:var(--sans); font-size:var(--fs-label); letter-spacing:var(--track-label); color:var(--muted); font-weight:500}
.f-title{font-family:var(--display); font-size:1.1rem; font-weight:600; letter-spacing:var(--track-title); margin:0; text-wrap:balance}
.f-desc{color:var(--muted); font-size:var(--fs-sm); margin:0; line-height:1.55}
/* margin-top:auto pins the source to the card floor. Without it a short
   description floated it up: in row one the two source lines sat 45px apart. */
.f-src{font-family:var(--mono); font-size:var(--fs-label); color:var(--muted); letter-spacing:var(--track-mono); margin-top:auto; padding-top:2px}

/* ============================================================
   ABOUT
   ============================================================ */
.about{max-width:64ch}
.about p{color:var(--muted); font-size:1.02rem; line-height:1.72; margin:0 0 18px}
.about p:last-child{margin-bottom:0}
.about strong{color:var(--text); font-weight:600}
.about a{color:var(--accent); border-bottom:1px solid color-mix(in srgb,var(--accent) 30%,transparent); transition:border-color .2s var(--ease)}
@media (hover:hover){ .about a:hover{border-color:var(--accent)} }

/* ============================================================
   AWARDS
   ============================================================ */
.awards{border-top:1px solid var(--line)}
.aw{display:flex; align-items:baseline; gap:18px; padding:17px 4px; border-bottom:1px solid var(--line); flex-wrap:wrap}
.aw-year{font-family:var(--mono); font-size:var(--fs-label); color:var(--muted); font-variant-numeric:tabular-nums; flex:none; width:44px}
.aw-body{flex:1; min-width:220px}
.aw-name{font-size:1rem; font-weight:500; margin:0 0 3px; color:var(--text)}
.aw-org{display:block; font-family:var(--sans); font-size:var(--fs-label); line-height:1.5; color:var(--muted); letter-spacing:var(--track-label); font-weight:500}
.aw-rank{
  font-family:var(--sans); font-size:var(--fs-label); letter-spacing:var(--track-label); flex:none;
  padding:4px 10px; border-radius:999px; border:1px solid var(--line-strong); color:var(--muted);
; font-weight:500}
.aw-rank.gold{color:var(--accent); border-color:color-mix(in srgb,var(--accent) 40%,transparent)}   /* .gold is any win: Gold, Silver, Bronze, Winner, Selected, First place */
@media(max-width:560px){ .aw-year{width:100%} .aw-rank{margin-top:4px; max-width:100%} }
/* Two lists, never one: Braeden's own awards, then the agency's. Each group has a title, and an agency row is a
   link to the agency's awards page, which holds every result and its source. */
.aw-h{font-family:var(--display); font-size:1.02rem; font-weight:600; letter-spacing:var(--track-title); margin:28px 4px 12px}
.aw-h:first-of-type{margin-top:20px}
a.aw{cursor:pointer}
.aw .arrow{align-self:center}
@media (hover:hover){ a.aw:hover .aw-name{color:var(--accent)} a.aw:hover .arrow{transform:translate(3px,-3px); color:var(--accent)} }
a.aw:focus-visible{outline-offset:-2px}
.aw-name{transition:color .2s var(--ease)}
.aw-more{margin:16px 4px 0; max-width:64ch; font-size:var(--fs-sm); line-height:1.6; color:var(--muted)}
.aw-more a{color:var(--accent); border-bottom:1px solid color-mix(in srgb,var(--accent) 30%,transparent)}
@media(max-width:560px){ .aw .arrow{width:15px; height:15px; margin-left:-6px} }   /* beside the result, so a row that leaves the site says so */
@media(min-width:561px){ div.aw > .aw-rank{margin-right:37px} }   /* an unlinked row keeps the arrow's slot, so the results share one lane down both lists */

/* ============================================================
   FAQ  (native details, so answers stay in the HTML for crawlers)
   ============================================================ */
.faq{border-top:1px solid var(--line)}
.qa{border-bottom:1px solid var(--line)}
.qa summary{
  list-style:none; cursor:pointer; display:flex; align-items:center; gap:16px;
  padding:19px 4px; min-height:44px;
  font-size:1.01rem; font-weight:500; color:var(--text);
}
.qa summary::-webkit-details-marker{display:none}
@media (hover:hover){ .qa summary:hover{color:var(--accent)} }
.qa summary:focus-visible{outline:2px solid var(--accent); outline-offset:-2px; border-radius:var(--r-sm)}
.qa .plus,.fold .plus{
  margin-left:auto; flex:none; width:15px; height:15px; position:relative;
  transition:transform .32s var(--ease);
}
.qa .plus::before,.qa .plus::after,.fold .plus::before,.fold .plus::after{
  content:""; position:absolute; background:var(--accent); border-radius:2px;
}
.qa .plus::before,.fold .plus::before{left:0; right:0; top:6.5px; height:2px}
.qa .plus::after,.fold .plus::after{top:0; bottom:0; left:6.5px; width:2px; transition:opacity .32s var(--ease), transform .32s var(--ease)}
.qa[open] .plus::after,.fold[open] .plus::after{opacity:0; transform:rotate(90deg)}
.qa .ans{padding:0 4px 22px; color:var(--muted); font-size:var(--fs-md); line-height:1.68; max-width:66ch}
.qa .ans p{margin:0 0 12px}
.qa .ans p:last-child{margin:0}
.qa .ans a{color:var(--accent); border-bottom:1px solid color-mix(in srgb,var(--accent) 30%,transparent)}

/* ============================================================
   FOLD  (collapsed long lists; content stays in the DOM so crawlers
   and the Markdown route still see every row)
   ============================================================ */
.fold{border-top:1px solid var(--line)}
.fold>summary{
  list-style:none; cursor:pointer; display:flex; align-items:center; gap:18px;
  padding:20px 4px; min-height:44px;
  color:var(--muted); font-size:var(--fs-md); line-height:1.55;
  transition:color .2s var(--ease);
}
.fold>summary::-webkit-details-marker{display:none}
.fold .fold-txt{max-width:64ch}
@media (hover:hover){ .fold>summary:hover{color:var(--text)} }
.fold>summary:focus-visible{outline:2px solid var(--accent); outline-offset:-2px; border-radius:var(--r-sm)}
.fold[open]>summary{color:var(--text); border-bottom:1px solid var(--line)}
.fold .awards,.fold .press{padding-top:2px}
.fold .awards:last-of-type .aw:last-child{border-bottom:none}
@media(max-width:560px){ .fold>summary{font-size:var(--fs-sm); gap:12px} }

/* ============================================================
   COMPANY TOOLTIPS
   The two green company names in the hero are real links first. On a
   pointer device they also type out what the place is and what I do
   there. Touch devices get none of it: a hover cannot be dismissed with
   a finger, so the tap stays a plain navigation.

   The bubble text is injected from data-tip rather than living in the
   markup, so it never reaches the Markdown route and is never read
   twice by a screen reader.
   ============================================================ */
.role a.co{
  color:var(--accent); font-weight:600; text-decoration:none;
  border-bottom:1px solid color-mix(in srgb,var(--accent) 30%,transparent);
  transition:border-color .2s var(--ease);
}
@media (hover:hover){ .role a.co:hover{border-bottom-color:var(--accent)} }
.role a.co:focus-visible{outline:2px solid var(--accent); outline-offset:3px; border-radius:2px}

/* Skip link: off-screen until keyboard focus lands on it */
.skip{position:absolute; top:12px; left:12px; z-index:80; padding:10px 16px; min-height:44px;
  display:inline-flex; align-items:center; border-radius:999px;
  background:var(--accent); color:var(--bg); font-weight:600; font-size:var(--fs-sm);
  transform:translateY(-200%); transition:transform .2s var(--ease)}
.skip:focus-visible{transform:none}

/* Under-construction note */
.wip{
  display:flex; align-items:flex-start; gap:13px; flex-wrap:wrap;
  padding:15px 18px; margin-top:26px;
  border:1px solid var(--line); border-radius:var(--r-md);
  font-size:var(--fs-sm); color:var(--muted); max-width:60ch;
}
.wip b{font-family:var(--sans); font-size:var(--fs-label); letter-spacing:var(--track-label); font-weight:500; color:var(--muted);
  border:1px solid var(--line-strong); padding:4px 9px; border-radius:999px; flex:none}


/* ============================================================
   NAV + MENU
   ============================================================ */
.navwrap{display:flex; align-items:center; gap:14px}
.menu-btn{
  display:inline-flex; align-items:center; gap:10px; min-height:44px; padding:0 15px;
  background:var(--surface); border:1px solid var(--line-strong); border-radius:999px;
  color:var(--text); font-family:var(--sans); font-size:var(--fs-label); letter-spacing:var(--track-label); font-weight:500;
  cursor:pointer; transition:background .22s var(--ease), border-color .22s var(--ease), transform .12s var(--ease);
}
@media (hover:hover){ .menu-btn:hover{background:var(--raised); border-color:color-mix(in srgb,var(--accent) 40%,transparent)} }
.menu-btn:active{transform:scale(.96)}
.bars{width:15px; height:11px; position:relative; flex:none}
.bars i{position:absolute; left:0; right:0; height:2px; background:var(--accent); border-radius:2px;
  transition:transform .3s var(--ease), opacity .2s var(--ease)}
.bars i:nth-child(1){top:0} .bars i:nth-child(2){top:4.5px} .bars i:nth-child(3){top:9px}
body.menu-open .bars i:nth-child(1){transform:translateY(4.5px) rotate(45deg)}
body.menu-open .bars i:nth-child(2){opacity:0}
body.menu-open .bars i:nth-child(3){transform:translateY(-4.5px) rotate(-45deg)}

/* The menu is the Menu button, grown: the panel is clipped to the button's own rectangle (site.js measures it into
   --mt/--mr/--mb/--ml) and opens out from there to the full screen, then closes back into it. Nothing fades over the
   page and nothing blurs, so it reads as one surface. Close sits exactly where Menu was. */
.menu{
  position:fixed; inset:0; z-index:60; background:var(--surface);
  display:flex; flex-direction:column; justify-content:center;
  padding:var(--pad); visibility:hidden;
  clip-path:inset(var(--mt,0px) var(--mr,0px) var(--mb,100%) var(--ml,100%) round 22px);
  transition:clip-path .34s cubic-bezier(.4,0,.2,1), visibility 0s .34s;
}
/* Visibility flips instantly on open (the delay above only holds it for the
   close), so site.js can move focus into the menu on the same tick. */
body.menu-open .menu{visibility:visible; clip-path:inset(0px 0px 0px 0px round 0px); transition:clip-path .52s cubic-bezier(.32,.72,0,1), visibility 0s}   /* slower off the mark than --ease, so the eye catches it leaving the button */
.menu.no-anim{transition:none !important}
/* What is inside arrives once there is room for it, and leaves before the panel has closed around it. */
.menu-inner,.menu-close{opacity:0; transition:opacity .12s linear}
body.menu-open .menu-inner,body.menu-open .menu-close{opacity:1; transition:opacity .3s var(--ease) .16s}
@media(prefers-reduced-motion:reduce){
  .menu,body.menu-open .menu{clip-path:none; transition:none}
  .menu-inner,.menu-close,body.menu-open .menu-inner,body.menu-open .menu-close{transition:none}
}
.menu-inner{max-width:940px; margin:0 auto; width:100%}

/* Explicit exit. The toggle button sits under the overlay (z-index 60 vs the
   page's 1), so its bars-to-X animation was never visible and there was no
   obvious way out. */
.menu-close{
  position:absolute; top:max(22px, env(safe-area-inset-top)); right:max(var(--pad), env(safe-area-inset-right));
  display:inline-flex; align-items:center; gap:10px;
  min-height:44px; padding:0 16px; border-radius:999px;
  background:var(--surface); border:1px solid var(--line-strong); color:var(--text);
  font-family:var(--sans); font-size:var(--fs-label); letter-spacing:var(--track-label); font-weight:500; cursor:pointer;   /* same label face as Menu */
  transition:background .22s var(--ease), border-color .22s var(--ease), transform .12s var(--ease);
}
@media (hover:hover){ .menu-close:hover{background:var(--raised); border-color:color-mix(in srgb,var(--accent) 45%,transparent); color:var(--accent)} }
.menu-close:active{transform:scale(.96)}
.menu-close svg{width:13px; height:13px}
.menu a{
  display:flex; align-items:baseline; gap:18px; padding:14px 0;
  border-bottom:1px solid var(--line);
  font-family:var(--display); font-size:var(--fs-statement); font-weight:600;
  letter-spacing:var(--track-statement); color:var(--text);
  transform:translateY(14px); opacity:0;
  transition:color .22s var(--ease), transform .5s var(--ease), opacity .5s var(--ease);
}
body.menu-open .menu a{transform:none; opacity:1}
@media (hover:hover){ .menu a:hover{color:var(--accent)} }
.menu a[aria-current="page"]{color:var(--accent)}
.menu a[aria-current="page"] span{color:var(--accent)}
.menu a[aria-current="page"]::after{content:"CURRENT"; margin-left:auto; font-family:var(--mono); font-size:var(--fs-label); letter-spacing:var(--track-mono); color:var(--muted); align-self:center}
.menu a span{font-family:var(--mono); font-size:var(--fs-label); letter-spacing:var(--track-mono); color:var(--muted); flex:none; width:34px}
@media (hover:hover){ .menu a:hover span{color:var(--accent)} }
.menu-foot{margin-top:30px; font-family:var(--sans); font-size:var(--fs-label); color:var(--muted); letter-spacing:var(--track-label); font-weight:500}
.menu-foot a{display:inline; border:0; padding:0; font-family:var(--mono); font-size:var(--fs-label);
  font-weight:400; letter-spacing:var(--track-mono); transform:none; opacity:1; color:var(--accent)}

/* Six entries now. On a short screen (a small phone, or any phone on its side) the list no longer fits centred:
   it starts under Close, tightens, and scrolls if it still has to. */
@media(max-height:620px){
  .menu{justify-content:flex-start; padding-top:76px; overflow-y:auto; overscroll-behavior:contain}
  .menu a{padding:9px 0}
  .menu-status{margin-bottom:12px}
  .menu-foot{margin-top:18px}
}

/* "Read more" bridge from the link hub to the about page */
.bridge{
  display:flex; align-items:center; gap:18px; flex-wrap:wrap;
  padding:var(--card-pad); border:1px solid var(--line); border-radius:var(--r-lg);
  background:var(--surface); cursor:pointer;
  transition:border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
@media (hover:hover){ .bridge:hover{border-color:color-mix(in srgb,var(--accent) 42%,transparent); background:var(--raised); transform:translateY(-3px)} }
.bridge:active{transform:translateY(-1px) scale(.995)}
.br-body{flex:1; min-width:240px}
.br-title{font-family:var(--display); font-size:var(--fs-title-lg); font-weight:600;
  letter-spacing:var(--track-title); margin:0 0 6px}
.br-desc{color:var(--muted); font-size:var(--fs-md); margin:0; line-height:1.55}
.br-go{flex:none; width:22px; height:22px; color:var(--accent); transition:transform .3s var(--ease)}
@media (hover:hover){ .bridge:hover .br-go{transform:translateX(4px)} }

@media(prefers-reduced-motion:reduce){
  .menu a{transform:none !important; opacity:1 !important}
}

/* Micro-label floor. These mono labels rendered between 9.9px and 11.5px, under
   the 12px minimum for label text, and the previous rule only applied below
   560px so tablet and desktop never got it. 0.75rem = 12px at every width.
   New small labels join this list: the brief dialog, badges and menu captions
   all slipped under 12px by being added after it. */
.f-kind,.c-tag,.v-tag,.sec-num,.aw-rank,.pf-tag,
.f-src,.i-outlet,.aw-org,.v-meta,.status,.menu-status,.menu-foot,.menu-foot a,
.sec-note,.r-val,.r-num,.f-bot,.f-bot a,.i-year,.aw-year,.eyebrow,
.menu a[aria-current="page"]::after,
.menu a span,.wip b,
.tk-when,.tk-src,.run-list,.run figcaption,.wall figcaption,.wall-grid span,.kit dt{
  font-size:var(--fs-label);
}
/* 4px of padding left this at 27px tall, under the 44px floor, on the one
   contact link inside the menu. Same trick as .f-cta a: pad to the target and
   pull the margin back so the line sits where it did. */
@media(max-width:560px){ .menu-foot a{display:inline-block; padding:13px 0; margin:-13px 0} }


/* ============================================================
   TRACK RECORD: the career spine. Roles and what was shipped in each,
   deliberately excluding awards and press so it does not restate them.
   ============================================================ */
.track{border-top:1px solid var(--line)}
.tr{display:flex; align-items:baseline; gap:20px; padding:18px 4px;
    border-bottom:1px solid var(--line); flex-wrap:wrap}
.tr-when{font-family:var(--mono); font-size:var(--fs-label); color:var(--muted);
    font-variant-numeric:tabular-nums; flex:none; width:96px; letter-spacing:var(--track-mono)}
.tr-body{flex:1; min-width:230px}
.tr-role{font-size:1.02rem; font-weight:500; margin:0 0 4px; color:var(--text)}
.tr-role b{color:var(--muted); font-weight:400}
.tr-did{font-size:var(--fs-sm); color:var(--muted); margin:0; line-height:1.55; max-width:62ch}
.tr-now{font-family:var(--sans); font-size:var(--fs-label); letter-spacing:var(--track-label); color:var(--muted);
    border:1px solid var(--line-strong); padding:3px 8px; border-radius:999px; flex:none; align-self:center; font-weight:500}   /* a state, not a result: grey */
@media(max-width:560px){ .tr-when{width:100%} }

/* ============================================================
   BRIEF DIALOG
   The gate in front of the calendar. Native <dialog> so the modal
   semantics, focus trap, Esc-to-close and inert background come from the
   platform rather than from us.
   ============================================================ */
.brief{
  border:1px solid var(--line-strong); border-radius:var(--r-lg);
  background:var(--surface); color:var(--text);
  padding:0; width:min(520px, calc(100vw - 32px)); max-height:min(88svh, 780px);
  overflow:auto; overscroll-behavior:contain;
}
.brief::backdrop{background:color-mix(in srgb,var(--bg) 72%,transparent); backdrop-filter:blur(4px)}
.brief-in{padding:clamp(20px,4vw,30px); display:flex; flex-direction:column; gap:18px}
.brief-head{display:flex; align-items:flex-start; justify-content:space-between; gap:16px}
.brief-title{font-family:var(--display); font-size:1.35rem; font-weight:600; letter-spacing:var(--track-title); line-height:1.2; margin:0}
.brief-sub{font-size:var(--fs-sm); color:var(--muted); margin:8px 0 0; line-height:1.5}
.brief-x{background:none; border:none; color:var(--muted); cursor:pointer;
  padding:6px; margin:-6px -6px 0 0; border-radius:var(--r-sm); flex:none; line-height:0}
.brief-x svg{width:20px; height:20px}
@media (hover:hover){ .brief-x:hover{color:var(--text)} }

.brief-field{display:flex; flex-direction:column; gap:7px}
.brief-field label{font-family:var(--sans); font-size:var(--fs-sm); letter-spacing:var(--track-label); color:var(--text); font-weight:500}
.brief-field input,.brief-field select,.brief-field textarea{
  width:100%; min-height:46px; padding:11px 13px;
  background:var(--bg); color:var(--text);
  border:1px solid var(--line-strong); border-radius:var(--r-sm);
  font-family:var(--sans); font-size:16px; line-height:1.4;
}
.brief-field textarea{min-height:88px; resize:vertical}
.brief-field select{appearance:none; cursor:pointer; padding-right:38px;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23d1ff4c' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>");
  background-repeat:no-repeat; background-position:right 13px center}
.brief-field input:focus-visible,.brief-field select:focus-visible,.brief-field textarea:focus-visible{
  outline:2px solid var(--accent); outline-offset:2px; border-color:transparent}
.brief-opt{color:var(--muted); text-transform:none; letter-spacing:0; font-size:var(--fs-label); font-weight:400}

.brief-send{
  display:flex; align-items:center; justify-content:center; gap:10px;
  width:100%; min-height:50px; border:none; border-radius:999px;
  background:var(--accent); color:var(--on-accent); cursor:pointer;
  font-family:var(--sans); font-size:var(--fs-md); font-weight:600;
  transition:background .22s var(--ease), transform .12s var(--ease);
}
@media (hover:hover){ .brief-send:hover:not(:disabled){background:var(--accent-hover)} }
.brief-send:active:not(:disabled){transform:scale(.98)}
.brief-send:disabled{opacity:.55; cursor:progress}
.brief-err{color:var(--danger); font-size:var(--fs-sm); margin:0; line-height:1.5}
.brief-note{font-family:var(--sans); font-size:var(--fs-label); letter-spacing:var(--track-label);
  color:var(--muted); margin:0; text-align:center; font-weight:500}

/* Success state: swapped in once the brief is saved. Relies on the global
   [hidden] rule above; this display:flex would otherwise override it. */
.brief-done{display:flex; flex-direction:column; gap:16px; text-align:center; align-items:center}
.brief-tick{width:52px; height:52px; border-radius:999px; display:grid; place-items:center;
  background:color-mix(in srgb,var(--accent) 14%,transparent); border:1px solid color-mix(in srgb,var(--accent) 40%,transparent); color:var(--accent)}
.brief-tick svg{width:26px; height:26px}

@media(max-width:480px){
  .brief{width:100vw; max-width:100vw; max-height:92svh; border-radius:var(--r-lg) var(--r-lg) 0 0;
    margin:auto auto 0; }
}

/* Polish */
::selection{background:var(--accent); color:var(--on-accent)}
h1,.f-cta,.v-name,.i-title{text-wrap:balance}
.qa summary,.aw-name,.tr-did{text-wrap:pretty}
#yr{font-variant-numeric:tabular-nums}
html{scroll-behavior:smooth; scrollbar-color:var(--scrollbar) var(--bg)}

@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important}
  .js .rv{opacity:1 !important; transform:none !important}
  .js h1.rv .ln > i{transform:none !important}
  .dot{animation:none}
  html{scroll-behavior:auto}
}


/* ============================================================
   POSTER HERO
   The face is how someone who just met Braeden recognises him, so on phones
   the portrait leads, full bleed, with the name set across its lower edge.
   Desktop keeps the two columns: name and copy left, portrait right.
   ============================================================ */
.hero-grid{grid-template-areas:"poster" "copy"}
.hero-grid > h1{grid-area:poster; align-self:end; position:relative; z-index:2; margin:0}
.hero-grid > .portrait{grid-area:poster}
.hero-copy{grid-area:copy}

@media(max-width:819px){
  /* The speaking page only (the one page with a poster now that the home page is
     the card): the poster sits right under the top bar. The about page's text
     hero keeps its normal padding. */
  .speaking .topbar{margin-bottom:2px}   /* 12px padding + 2px = the poster's 14px */
  .speaking .hero{padding-top:0}
  .hero-grid{gap:22px}
  .hero-grid > .portrait{
    /* Out to the screen edge by exactly the .wrap padding. 50vw would count the
       scrollbar and overflow wherever one is visible. */
    margin-left:calc(-1 * max(var(--pad), env(safe-area-inset-left)));
    margin-right:calc(-1 * max(var(--pad), env(safe-area-inset-right)));
    max-width:none; border-radius:0; box-shadow:none;
    height:min(125vw, 60svh);   /* short phones: leave the role lines above the bar */
  }
  .hero-grid > .portrait img{height:100%; aspect-ratio:auto; object-position:50% 18%}
    /* Fade the photo itself at the top, so the page's lime bloom shows through
     instead of a hard edge under the top bar. */
  .hero-grid > .portrait{-webkit-mask-image:linear-gradient(180deg,transparent 0,var(--bg) 20%);
    mask-image:linear-gradient(180deg,transparent 0,var(--bg) 20%)}
  /* Melt into the page so the name reads on the photo, not on a box */
  .hero-grid > .portrait::after{background:linear-gradient(180deg,transparent 42%,
    color-mix(in srgb,var(--bg) 72%,transparent) 76%,var(--bg) 100%)}
  .hero-grid > h1{font-size:clamp(min(3.1rem,20vw),21vw,6.4rem); margin-bottom:-.08em}
}
@media(min-width:820px){
  .hero-grid{grid-template-areas:"name poster" "copy poster"; grid-template-rows:auto 1fr; row-gap:24px}
  .hero-grid > h1{grid-area:name}
  .hero-copy{align-self:start}
}

/* The slogan: lime, but never mistakable for the lime links above it. It is
   italic, carries no underline, and the colour moves: a slow shine runs through
   the accent and a cooler turn of it, derived from --accent so the palette gains
   nothing new. Browsers without relative colour or text clipping get plain lime. */
.tagline{margin:2px 0 16px; font-family:var(--sans); font-style:italic; font-weight:500;
  font-size:clamp(1rem,2.2vw,1.12rem); letter-spacing:-.005em; color:var(--accent)}
@supports (color:oklch(from red l c h)) and ((-webkit-background-clip:text) or (background-clip:text)){
  .tagline{
    display:inline-block;   /* shrink the gradient to the words, not the column */
    background-image:linear-gradient(100deg,
      var(--accent) 0%,
      oklch(from var(--accent) l c calc(h + 42)) 22%,
      color-mix(in oklch,var(--accent) 55%,var(--text-strong)) 38%,
      var(--accent) 52%,
      oklch(from var(--accent) l c calc(h + 42)) 74%,
      var(--accent) 100%);
    background-size:220% 100%;
    -webkit-background-clip:text; background-clip:text;
    -webkit-text-fill-color:transparent; color:transparent;
    animation:tagline-shine 9s ease-in-out infinite alternate;
  }
  /* Drop shadow: a blurred copy of the same gradient on the same clock, set
     just below the words, so the shadow takes whichever colour is passing. A
     text-shadow cannot do this: it paints over clipped text in one colour. */
  .tagline{position:relative; isolation:isolate}
  .tagline::before{
    content:attr(data-text); position:absolute; inset:0; z-index:-1;
    background:inherit; background-size:220% 100%;
    -webkit-background-clip:text; background-clip:text;
    -webkit-text-fill-color:transparent; color:transparent;
    transform:translateY(2px); filter:blur(2.5px); opacity:.32; pointer-events:none;
    animation:inherit;
  }
}
@keyframes tagline-shine{from{background-position:0% 50%} to{background-position:100% 50%}}
/* Reduced motion: the global rule already stops it; hold a lime-forward frame */
@media(prefers-reduced-motion:reduce){ .tagline,.tagline::before{animation:none; background-position:0% 50%} }

/* Individual recognition, not agency awards: the claims are Braeden's own. */
.proof{display:flex; flex-direction:column; gap:3px; margin:0 0 16px; font-size:var(--fs-sm); color:var(--text); font-weight:500}   /* the evidence reads at the level of the roles */
.proof span{position:relative; padding-left:17px}
.proof span::before{content:""; position:absolute; left:0; top:.72em; width:9px; height:2px; background:var(--line-strong)}

/* Phone action bar. Replaces the hero chips below 560px so the three actions
   exist once on screen, and always within thumb reach. */
.actbar{display:none}
@media(max-width:560px){
  .hero .chips{display:none}
  .lost .hero .chips{display:flex}   /* the 404 page keeps its ways out on screen */
  .actbar{
    position:fixed; left:0; right:0; bottom:0; z-index:40; display:flex; gap:8px;
    padding:10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    background:color-mix(in srgb,var(--bg) 88%,transparent);
    backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
    border-top:1px solid var(--line);
  }
  body{padding-bottom:calc(70px + env(safe-area-inset-bottom))}
  /* Content fades into the bar instead of being sliced through a line of text */
  .actbar::before{content:""; position:absolute; left:0; right:0; bottom:100%; height:28px; pointer-events:none;
    background:linear-gradient(to bottom, transparent, var(--bg))}
}
.ab-book{flex:1; display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:48px;
  border-radius:999px; background:var(--accent); color:var(--on-accent); font-weight:600; font-size:var(--fs-md);
  transition:background .22s var(--ease), transform .12s var(--ease)}
@media (hover:hover){ .ab-book:hover{background:var(--accent-hover)} }
.ab-book:active,.ab-icon:active{transform:scale(.96)}
.ab-icon{flex:none; width:48px; height:48px; display:grid; place-items:center; border-radius:999px;
  background:var(--surface); border:1px solid var(--line-strong); color:var(--text);
  transition:transform .12s var(--ease)}
.ab-book svg,.ab-icon svg{width:18px; height:18px; flex:none}

/* Optional brief fields, folded */
.brief-more summary{display:flex; align-items:center; gap:10px; min-height:44px; cursor:pointer; list-style:none;
  font-size:var(--fs-sm); font-weight:500; color:var(--text); border-radius:var(--r-sm)}
.brief-more summary::-webkit-details-marker{display:none}
.brief-more summary::before{content:""; width:7px; height:7px; flex:none; margin:0 2px 0 3px;
  border-right:1.5px solid var(--accent); border-bottom:1.5px solid var(--accent);
  transform:rotate(-45deg); transition:transform .2s var(--ease)}
.brief-more[open] summary::before{transform:rotate(45deg)}
.brief-more summary:focus-visible{outline:2px solid var(--accent); outline-offset:2px}
.brief-more-in{display:flex; flex-direction:column; gap:16px; padding-top:10px}

/* Private hero card (injected by _middleware.js with the token). Hidden on
   phones, where the action bar carries the same actions. While it is present,
   Book a call steps down so one lime button leads: Save my contact. */
.pcard{padding:var(--card-pad); border-radius:var(--r-md);
  border:1px solid color-mix(in srgb,var(--accent) 30%,transparent);
  background:color-mix(in srgb,var(--accent) 5%,transparent)}
.pc-head{display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin:0 0 14px; font-size:var(--fs-sm); color:var(--muted)}
.pcard ~ .chips{display:none}   /* the private card carries Save, WhatsApp and Book as one row */
.pc-head a{color:var(--text); border-bottom:1px solid var(--line-strong)}
@media(max-width:560px){
  /* Phones: the bar carries the actions; the card's head line stays as a label,
     moved up under the slogan so the first screen says this link is private. */
  .pcard{padding:0; border:0; background:none; border-radius:0}
  .pcard .chips{display:none}
  .pc-head{margin:0}
  .hero-copy{display:flex; flex-direction:column; align-items:flex-start}
  .hero-copy > *{order:3}
  .hero-copy > .role{order:0}
  .hero-copy > .tagline{order:1}
  .hero-copy > .pcard{order:2}
}
/* Phones: a Private link tag in the header, where the status pill sits on
   desktop, so the first screen always says it (injected with the token). */
.tb-private{display:none}
@media(max-width:560px){ .tb-private{display:inline-flex; align-items:center} }
/* Desktop card: one row of three. Secondary chips drop their icons and some padding. */
.pcard .chips{gap:8px}
.pcard .chip{padding:0 14px}
.pcard .chip:not(.primary) svg{display:none}

/* Touch press feedback. Hover styles only apply where hover exists, so a tap
   no longer leaves a row or card stuck lit; instead the fill shows while the
   finger is down. site.js registers a touchstart listener so iOS applies
   :active at all. */
@media (hover:none){
  .row:active::before{transform:scaleX(1); transition-duration:.14s}
  .row:active .r-num,.row:active .r-icon,.row:active .r-label,.row:active .r-val,.row:active .r-go{color:var(--bg)}
  .feat:active,.venture:active,.item:active,.bridge:active{
    border-color:color-mix(in srgb,var(--accent) 42%,transparent); background:var(--raised)}
  a.aw:active .aw-name,.tk-src:active{color:var(--accent)}
  .chip:active{background:var(--raised)}
  .chip.primary:active,.ab-book:active{background:var(--accent-hover)}
  .ab-icon:active,.menu-btn:active{background:var(--raised)}
  .menu a:active,.menu a:active span,.f-cta a:active,.f-bot a:active{color:var(--accent)}
  .row,.feat,.venture,.item,.bridge,.chip,.ab-book,.ab-icon,.menu a{-webkit-tap-highlight-color:transparent}
}

/* Hero copy rhythm, judged by the space you see between the letters: about
   12px inside a pair (roles + slogan, bio + places) and 23px between groups
   (titles, proof, story, actions). The margins below are those targets minus
   the empty leading each item carries, measured from rendered pixels. */
.hero-copy{--g-role:6px; --g-tag:13px; --g-proof:15px; --g-bio:5px; --g-places:20px}
@media(max-width:560px){ .hero-copy{--g-role:8px; --g-tag:12px; --g-proof:12px} }   /* proof wraps to three lines here */
/* --g-tag is 3px under the group step on purpose: the slogan's glow and italic
   carry weight below the letters, so its gap measures 20 to look like 23. */
.hero-copy > .role{margin-bottom:var(--g-role); line-height:1.5}
.hero-copy > .tagline{margin:0 0 var(--g-tag); line-height:1.35}
.hero-copy > .proof{margin-bottom:var(--g-proof); line-height:1.5}
.hero-copy > .bio{margin-bottom:var(--g-bio); line-height:1.5}
.hero-copy > .places,.hero-copy > .pcard{margin-bottom:var(--g-places)}

/* Phones: size the poster to the screen so the first screen ends on the slogan,
   just above the action bar: face, name, roles, "Rewriting advertising", then
   the proof starts below the fold instead of a line being sliced by it.
   The 270px is everything under the poster (header, roles, slogan, bar and
   18px of air), measured on six phones at 268-271px; narrow phones wrap the
   second role line and need 293px. svh assumes the browser toolbar is showing,
   so the fold never lands behind it. */
@media(max-width:560px){
  .hero-grid > .portrait{height:max(260px, calc(100vh - 270px)); height:max(260px, calc(100svh - 270px))}
}
@media(max-width:359px){
  .hero-grid > .portrait{height:max(260px, calc(100vh - 293px)); height:max(260px, calc(100svh - 293px))}
}


/* ============================================================
   SPEAKING  (/speaking, and the pointer to it on /about)
   The poster hero above carries the face and the name. Below it, a session is
   one <article class="talk">: when, who hosted it, the title, what happened,
   and whatever proof exists (a facts line, the run of show, the students' wall,
   a source link). Every part after the description is optional, so a stage talk
   is four lines and a workshop carries its whole plan.
   TO ADD A SESSION: copy one <article class="talk"> in speaking.html, newest first.
   ============================================================ */
/* The name is the poster; what the page is about rides under it, inside the same heading. */
h1 .h1-sub{display:block; margin-top:.5em; font-size:var(--fs-statement); font-weight:600; line-height:1.1; letter-spacing:var(--track-statement)}
.js h1.rv .h1-sub{opacity:0}
.js h1.rv.in .h1-sub{opacity:1; transition:opacity .7s var(--ease) .24s}
.speaking .hero-copy{--g-role:15px}   /* no slogan under the roles here, so the next group starts a full step down */
/* The speaking poster is a photograph of a session, not the face: a school sees the room first. It is wide,
   so the name sits beside it on a desktop and under it on a phone, and the caption says where and when. */
.speaking .hero-grid > .stage{margin-top:0; margin-bottom:0; height:auto}
.speaking .hero-grid > .stage img{display:block; height:auto; aspect-ratio:4/3; object-position:50% 50%}
.speaking .hero-grid > .stage::after{background:linear-gradient(180deg,transparent 62%,color-mix(in srgb,var(--bg) 78%,transparent))}
.stage figcaption{position:absolute; z-index:1; left:16px; right:16px; bottom:12px; font-family:var(--mono); font-size:var(--fs-label); letter-spacing:var(--track-mono); line-height:1.4; color:var(--text)}
@media(max-width:959px){
  /* Stacked until there is room for the name beside it: photograph, name, copy. */
  .speaking .hero-grid{grid-template-columns:1fr; grid-template-rows:auto; grid-template-areas:"poster" "name" "copy"; gap:20px}
  .speaking .hero-grid > h1{grid-area:name; margin:0; font-size:clamp(2.6rem,15vw,4.8rem)}
  .speaking .hero-grid > .stage img{aspect-ratio:16/9; object-position:50% 58%}
}
@media(max-width:819px){
  .speaking .hero-grid > .stage img{aspect-ratio:5/4; object-position:56% 50%}
  .speaking .stage figcaption{left:max(var(--pad), env(safe-area-inset-left)); right:max(var(--pad), env(safe-area-inset-right))}
}
@media(min-width:820px){ .speaking .hero-grid > .stage{margin-left:0; margin-right:0} }
@media(min-width:960px){
  /* The one page whose hero runs the full frame: the photograph takes the width the reading column leaves empty. */
  body.speaking:not(.home) .wrap > main{max-width:none}   /* :not(.home) only to outrank the frame rule further down */
  body.speaking .wrap > main > :not(.hero){max-width:860px}
}
@media(min-width:960px){
  .speaking .hero-grid{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); column-gap:clamp(40px,4.5vw,72px)}
  .speaking .hero-grid > h1{font-size:clamp(3.6rem,7vw,6.5rem)}   /* the name never outgrows its column */
  .speaking .hero-grid > .stage{align-self:center}
}

.talks{display:block}
/* Each talk opens with a band: the date in Paper White, then the host and format. The band is the marker between
   talks. One column here; on a desktop the title moves into
   the rail (see RAIL AND BODY at the foot of this file). */
.talk{display:grid; grid-template-columns:minmax(0,1fr); padding:0 0 clamp(48px,7vw,80px)}
.talk:last-child{padding-bottom:0}
.tk-band{display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 20px; padding:11px 16px;
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r-sm)}
.tk-band{margin:0 -16px 24px; scroll-margin-top:96px}
.tk-head{display:contents}   /* one column: the title, facts and source link flow with everything else */
.tk-head .tk-src{order:99}   /* and the source link still closes the talk */
/* The sessions at a glance: a ledger like the track record and the awards, each row a jump to its band. */
.tk-index{margin:0 0 40px; border-top:1px solid var(--line)}
.tk-index a{display:grid; grid-template-columns:104px minmax(0,1fr) auto; align-items:baseline; gap:2px 20px; padding:15px 4px; border-bottom:1px solid var(--line)}
.ti-when{font-family:var(--mono); font-size:var(--fs-label); letter-spacing:var(--track-mono); color:var(--muted); font-variant-numeric:tabular-nums}
.ti-title{font-size:1rem; font-weight:500; color:var(--text); transition:color .2s var(--ease)}
.ti-host{font-size:var(--fs-sm); color:var(--muted)}
@media (hover:hover){ .tk-index a:hover .ti-title{color:var(--accent)} }
.tk-index a:active .ti-title{color:var(--accent)}
.tk-index a:focus-visible{outline:2px solid var(--accent); outline-offset:-2px; border-radius:var(--r-sm)}
@media(max-width:679px){
  .tk-index a{grid-template-columns:96px minmax(0,1fr)}
  .ti-host{grid-column:2}
}
.tk-when{margin:0; font-family:var(--mono); letter-spacing:var(--track-mono); line-height:1.6; color:var(--text); font-variant-numeric:tabular-nums}
.tk-host{margin:0; font-family:var(--sans); font-size:var(--fs-sm); letter-spacing:var(--track-label); font-weight:500; line-height:1.6; color:var(--muted)}   /* host, then the format: a category, so grey */
.tk-title{margin:0; font-family:var(--display); font-size:var(--fs-title-lg); font-weight:600; letter-spacing:var(--track-title); line-height:1.2; text-wrap:balance}
.tk-desc{margin:10px 0 0; max-width:62ch; font-size:var(--fs-md); line-height:1.62; color:var(--muted); text-wrap:pretty}
/* What can be counted, in one line. The count that is the result takes the lamp. */
/* Two photographs of the session, kept small and side by side so they never weigh against the wall below. They sit
   under the description, inside the talk's card. */
.tk-shots{display:grid; grid-template-columns:1fr 1fr; gap:8px; max-width:420px; margin:24px 0 0}
.tk-shots img{display:block; width:100%; height:auto; aspect-ratio:4/5; object-fit:cover; border-radius:var(--r-sm); filter:grayscale(1) contrast(1.06); outline:1px solid var(--line); outline-offset:-1px}
.tk-shots figcaption{grid-column:1 / -1; margin-top:4px}
/* Every caption in a session or under a product shot is one style. */
.tk-shots figcaption,.tool-shot figcaption,.tk-said figcaption,.run figcaption,.wall figcaption{font-family:var(--sans); font-size:var(--fs-label); letter-spacing:var(--track-label); font-weight:500; line-height:1.6; color:var(--muted)}
/* The teaching tool's own screen: a product shot, so it keeps its colour like the students' wall. */
.tool-shot{margin:0 0 24px}
.tool-shot img{display:block; width:100%; height:auto; border-radius:var(--r-md); outline:1px solid var(--line); outline-offset:-1px}
.tool-shot figcaption{margin-top:12px}
/* What the hosts said, in their own public words. No rule down the side: the quotation marks and the name do the work. */
.tk-said{margin:24px 0 0}
.tk-said ul{display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)); gap:18px 28px; margin:0; padding:0; list-style:none}
.tk-said blockquote{margin:0 0 8px; font-size:var(--fs-md); line-height:1.5; color:var(--text); text-wrap:pretty}
.tk-said blockquote::before{content:"\201C"} .tk-said blockquote::after{content:"\201D"}
.tk-said p{margin:0; font-size:var(--fs-label); letter-spacing:var(--track-label); line-height:1.5; color:var(--muted)}
.tk-said p b{display:block; font-size:var(--fs-sm); font-weight:600; color:var(--text)}
.tk-said figcaption{margin-top:12px}
.tk-facts{display:flex; flex-wrap:wrap; align-items:baseline; gap:6px 26px; margin:16px 0 0; padding:0; list-style:none; font-size:var(--fs-md); color:var(--muted)}
.tk-facts b{margin-right:3px; font-family:var(--display); font-size:1.2rem; font-weight:600; letter-spacing:var(--track-title); color:var(--text); font-variant-numeric:tabular-nums}
.tk-facts .win b{color:var(--accent)}

/* Run of show: the session's minutes, to scale. The bright part is where the room builds, which is the point of
   showing it. The bar is drawn from the list under it (--m is the minutes) and hidden from screen readers. */
.run{margin:24px 0 0; max-width:62ch}
.run figcaption{margin-bottom:8px}
.run-bar{display:flex; gap:3px; height:8px}
.run-bar i{flex:var(--m) 1 0; border-radius:2px; background:var(--line-strong)}
.run-bar i.on{background:var(--text)}   /* white, not lime: the lamp in a session is the result, and this is the plan */
.run-list{display:flex; flex-wrap:wrap; gap:4px 18px; margin:11px 0 0; padding:0; list-style:none;
  font-family:var(--sans); letter-spacing:var(--track-label); font-weight:500; line-height:1.6; color:var(--muted)}
.run-list b{margin-right:2px; font-family:var(--mono); font-weight:400; letter-spacing:var(--track-mono); color:var(--text); font-variant-numeric:tabular-nums}
.run-list .on{color:var(--text)}

/* The wall: sites students published in the session. Lit screens in a dark room. */
.wall{margin:24px 0 0}
.wall-grid{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px 12px; margin:0; padding:0; list-style:none}
.wall-grid li{display:flex; flex-direction:column; gap:7px; min-width:0}
.wall-grid img{width:100%; aspect-ratio:16/10; object-fit:cover; border-radius:var(--r-sm); outline:1px solid var(--line); outline-offset:-1px}
.wall-grid span{overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-family:var(--sans); letter-spacing:var(--track-label); font-weight:500; color:var(--muted)}
.wall figcaption{margin-top:12px; max-width:62ch}
@media(max-width:899px){ .wall-grid{grid-template-columns:repeat(3,minmax(0,1fr))} }
@media(max-width:679px){
  /* Phones: one row to swipe, run out to the screen edge like the poster, so the tile the edge cuts says there are more. */
  .wall-grid{--bleed:var(--pad); grid-template-columns:none; grid-auto-flow:column; grid-auto-columns:min(70vw,250px);
    margin:0 calc(-1 * var(--bleed)); padding:0 var(--bleed); overflow-x:auto; overscroll-behavior-x:contain;
    scroll-snap-type:x proximity; scroll-padding-inline:var(--bleed); scrollbar-width:none}
  .wall-grid::-webkit-scrollbar{display:none}
  .wall-grid li{scroll-snap-align:start}
}

/* Where the claim can be checked. The address is mono because it is one. */
.tk-src{display:inline-flex; align-items:center; gap:7px; justify-self:start; min-height:44px; margin:6px 0 -12px;
  font-family:var(--mono); letter-spacing:var(--track-mono); color:var(--muted); transition:color .2s var(--ease)}
.tk-src svg{width:14px; height:14px; flex:none; transition:transform .3s var(--ease)}
@media (hover:hover){ .tk-src:hover{color:var(--accent)} .tk-src:hover svg{transform:translate(2px,-2px)} }

/* For organisers: a plain two-column list of what they will ask for. */
.kit{margin:0; border-top:1px solid var(--line)}
.kit > div{display:flex; align-items:baseline; flex-wrap:wrap; gap:6px 20px; padding:17px 4px; border-bottom:1px solid var(--line)}
.kit dt{flex:none; width:104px; font-family:var(--sans); letter-spacing:var(--track-label); font-weight:500; color:var(--muted)}
.kit dd{flex:1; min-width:230px; max-width:62ch; margin:0; font-size:var(--fs-md); line-height:1.62; text-wrap:pretty}
.kit dd a{color:var(--accent); border-bottom:1px solid color-mix(in srgb,var(--accent) 30%,transparent); transition:border-color .2s var(--ease)}
@media (hover:hover){ .kit dd a:hover{border-color:var(--accent)} }
.kit dd a{position:relative}
.kit dd a::after{content:""; position:absolute; inset:-11px -4px}   /* a 44px target without moving the line */
@media(max-width:560px){ .kit dt{width:100%} }

.about + .bridge{margin-top:26px}
.pr h3,.c-title{line-height:1.2}   /* titles that wrap were set at the body's 1.6 */
@media(min-width:760px){ .speaking .pr h3{min-height:2.4em} }   /* two of the three wrap: keep the copy under them level */
.bio a{color:var(--accent); border-bottom:1px solid color-mix(in srgb,var(--accent) 30%,transparent)}   /* a link in the hero line is not told by colour alone */   /* the pointer to /speaking under the paragraph on /about */


/* ============================================================
   HOME: THE LANYARD CARD
   Everything below is scoped to body.home, so /about and the 404 page keep
   the rules above untouched. Ported from the reference build in
   prototypes/lanyard-archive/v14-site, with its option panel and the options
   it switched off removed and each surviving value written directly.

   Priorities on a phone, in order: the card (as large as the screen allows),
   the slogan as its caption, then the contact bar. Those fill the first
   screen exactly; icons, Where I build, Work and the closing line follow.
   One dark look by choice, as everywhere on this site.
   ============================================================ */
#svh{position:fixed; top:0; left:0; width:0; height:100vh; height:100svh; visibility:hidden; pointer-events:none}
body.home{padding-bottom:calc(70px + env(safe-area-inset-bottom,0px))}
body.home::before{display:none}
body.home .wrap{max-width:430px; padding:0}
body.home .sr{position:absolute; width:1px; height:1px; margin:0; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap}
body.home .links > h2{position:absolute; width:1px; height:1px; margin:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap}
body.home .sec{padding:0; border:0}
body.home .lede,body.home .deskacts,body.home .deckidx,body.home .topnav,body.home .scrollcue{display:none}

/* Header: monogram and About float over the top of the card. */
body.home .top{position:fixed; top:0; left:50%; width:100%; max-width:430px; transform:translateX(-50%); z-index:50; display:flex; justify-content:space-between; align-items:center; pointer-events:none;
  padding:22px max(20px,env(safe-area-inset-right,0px)) 12px max(20px,env(safe-area-inset-left,0px)); transition:background-color .2s ease-out, box-shadow .2s ease-out}
body.home .top.is-over{background:var(--bg); box-shadow:0 1px 0 var(--line)}   /* solid once the card has scrolled under it, as on every page */
body.home .top a{pointer-events:auto; display:flex; align-items:center; min-width:44px; min-height:44px}
body.home .top-r{display:flex; align-items:center; gap:10px}
body.home .top-r .tb-private{display:inline-flex}
body.home .top .menu-btn{pointer-events:auto; margin-left:10px}
body.home .top-r{margin-left:auto}

/* The stage holds the flat badge (always) and the 3D canvas (once it mounts). */
body.home .stage{position:relative; height:60vh; min-height:360px; overflow:hidden; margin-bottom:calc(var(--slack,0px) / 3)}
@media (max-width:959.98px){
  html:has(body.home),body.home{overflow-x:clip}   /* 100vw counts a classic scrollbar; never let that scroll sideways */
  body.home .face .ffoot{border-top-color:transparent}
  body.home .first .tagline{position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap}   /* it is on the card here */
  body.home .stage #lanyard{bottom:-44px}                                 /* room under the stage, so a swinging card is never cut off above the slogan */
  body.home .stage.is-3d{overflow:visible}
  body.home .stage{width:100vw; margin-left:calc(50% - 50vw); min-height:0}   /* the card swings across the whole screen, not a 430px column (tablets, phones on their side) */
  @media (max-width:380px){ body.home .top .tb-private{display:none} }   /* no room beside the strap; the bar already says Save contact */
}
/* Phones before layout() runs: a close default for the stage height (no shift), and with JavaScript off the whole rig, which nothing scales. */
@media(max-width:959px){
  body.home .stage{height:min(calc(min(100vw,430px) * 1.6727 + 22px), calc(100svh - 137px - env(safe-area-inset-bottom,0px)))}
  html:not(.js) body.home .stage{height:623px}
}
body.home #lanyard{position:absolute; inset:0}
body.home .lanyard-canvas{display:block; width:100%; height:100%}
html.js body.home .stage:not(.no3d) .rig{visibility:hidden}   /* scripts on: no flat badge first. It shows only if the 3D card cannot (no3d) */
body.home .stage.is-3d .rig{animation:none; transform:none}   /* still while the 3D card is on its way, so the hand-over is in place; it only sways as the fallback */
body.home .stage.is-3d.live .rig{visibility:hidden; transition:visibility 0s .3s}   /* gone once the canvas has faded in over it */
body.home .stage .lanyard-canvas{opacity:0; transition:opacity .4s ease-out}
body.home .stage.live .lanyard-canvas{opacity:1}
body.home .flip{position:absolute; left:50%; bottom:8px; transform:translateX(-50%); z-index:4; padding:8px 14px; border:0; border-radius:999px;
  background:var(--raised); color:var(--text); font:500 13px var(--sans); opacity:0; pointer-events:none}
body.home .flip:focus-visible{opacity:1; pointer-events:auto}
body.home .flip span:not(:empty)::before{content:" \00b7  "}
body.home .stage:not(.is-3d) .flip{display:none}

/* The flat badge, in the badge's own units (256 wide, 432 tall), swaying on its strap. */
body.home .face{position:relative; width:256px; height:432px; border-radius:20px; overflow:hidden; background:#d1ff4c; color:#0a0a0a; font-family:var(--sans); text-align:left}
body.home .face .slot{position:absolute; z-index:3; left:50%; top:15px; width:54px; height:12px; margin-left:-27px; border-radius:6px; background:#0a0a0a}
body.home .face .fimg{position:absolute; inset:0; display:block}
body.home .face .fimg img{position:absolute; display:block; max-width:none; left:-19px; top:18px; width:300px; filter:grayscale(1) contrast(1.08)}
body.home .face .fimg::after{content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 326px,#0b0b0b 350px)}
body.home .face .fnm{position:absolute; z-index:2; left:20px; bottom:94px; margin:0; font-family:var(--display); font-weight:800; font-size:52px; line-height:.86; letter-spacing:-.05em; color:#d1ff4c}
body.home .face .fslo{position:absolute; z-index:2; left:20px; bottom:73px; font:italic 500 13px/1 var(--sans); letter-spacing:-.005em; white-space:nowrap; color:#d1ff4c;
  background:linear-gradient(90deg,#d1ff4c,#00ffc8 42%,#e5ffac 72%,#d1ff4c); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
  filter:drop-shadow(0 2px 2.5px rgba(0,255,200,.3))}   /* phones: the slogan rides on the card, in the headline's gradient, where the rule was */
body.home .ffoot{position:absolute; z-index:2; left:20px; right:20px; bottom:0; height:72px; padding-top:13px; display:flex; flex-direction:column; gap:5px;
  border-top:1px solid rgba(240,240,240,.2); font-size:10px; line-height:1; letter-spacing:0; color:#f0f0f0; white-space:nowrap}
body.home .ffoot .fr{display:flex; align-items:center; height:19px}
body.home .ffoot .fm{flex:none; display:flex; align-items:center; width:17px; height:19px; margin-right:6px}
body.home .ffoot b{font-weight:600}
body.home .ffoot i{margin-left:auto; font-style:normal; font-size:9.5px; font-weight:400; color:#b4b4be}
body.home .mk{display:block; flex:none; max-width:none}
body.home .ffoot .m-lab{width:16.7px; height:17px}
body.home .ffoot .m-ai{width:auto; height:12px}
body.home .rig{position:absolute; left:50%; top:0; width:280px; height:623px; margin-left:-140px; transform-origin:50% 0; transform:rotate(2.2deg); animation:card-sway 7s ease-in-out infinite alternate}
@keyframes card-sway{from{transform:rotate(2.2deg)}to{transform:rotate(-1.4deg)}}
body.home .strap{position:absolute; left:50%; top:-24px; width:40px; height:148px; margin-left:-20px; background:linear-gradient(180deg,#b9b9c0,#e9e9ee 45%);
  box-shadow:inset 3px 0 0 #e9e9ee, inset 4px 0 0 rgba(10,10,10,.16), inset -3px 0 0 #e9e9ee, inset -4px 0 0 rgba(10,10,10,.16)}
body.home .clamp{position:absolute; left:50%; top:116px; width:50px; height:26px; margin-left:-25px; border-radius:6px; background:linear-gradient(180deg,#b4b8c0,#6f747d 58%,#9a9fa8);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45), 0 2px 6px rgba(0,0,0,.45)}
body.home .ring{position:absolute; left:50%; top:136px; width:22px; height:34px; margin-left:-11px; border-radius:11px; box-shadow:inset 0 0 0 3px #a9adb5, 0 1px 3px rgba(0,0,0,.4)}
body.home .rig .face{position:absolute; left:12px; top:150px; transform:scale(1.09375); transform-origin:50% 0; box-shadow:0 28px 56px rgba(0,0,0,.55)}

/* The flip hint: a small mark on the card's corner with a touch ring. It shows once, briefly, and goes for good at the first touch. */
body.home .fliphint{position:absolute; z-index:3; width:34px; height:34px; border-radius:50%; display:grid; place-items:center; background:rgba(10,10,10,.86); color:var(--accent);
  pointer-events:none; opacity:0; scale:.8; transition:opacity .4s ease-out, scale .4s cubic-bezier(.2,0,0,1)}
body.home .fliphint svg{width:16px; height:16px}
body.home .fliphint::before{content:""; position:absolute; inset:0; border-radius:50%; box-shadow:0 0 0 1.5px rgba(10,10,10,.55); opacity:0}
body.home .fliphint.on{opacity:1; scale:1}
body.home .fliphint.on::before{animation:touchring 1.5s cubic-bezier(.2,0,0,1) .3s 3}
@keyframes touchring{0%{opacity:.9; scale:1}100%{opacity:0; scale:2.1}}
body.home .stage:not(.is-3d) .fliphint{display:none}

/* Under the card: the slogan. Spare height (--slack, set by site.js) becomes breathing room, never a cramped strip. */
body.home .first{display:flex; flex-direction:column; align-items:center; padding:10px max(var(--pad),env(safe-area-inset-right,0px)) 8px max(var(--pad),env(safe-area-inset-left,0px))}
body.home .tagline{margin:0; text-align:center; font-size:18px; line-height:25px}
body.home .more{display:flex; flex-direction:column; padding:8px max(var(--pad),env(safe-area-inset-right,0px)) 56px max(var(--pad),env(safe-area-inset-left,0px))}
body.home .wrap[data-fold=card] .stage{margin-bottom:calc(var(--slack,0px) / 2)}
body.home .wrap[data-fold=card] .first{margin-bottom:calc(24px + var(--slack,0px) / 2)}
body.home .wrap[data-fold=links] .first{margin-bottom:calc(var(--slack,0px) / 3)}
body.home .wrap[data-fold=links] .icons{margin-bottom:calc(var(--slack,0px) / 3)}

/* Links: an icon row. The labels and values stay in the HTML for screen readers and the Markdown route. */
body.home .icons{display:grid; grid-template-columns:repeat(5,1fr); justify-items:center; align-items:center; padding:4px 8px 0; border:0}   /* five across; on a private link the flag starts the second row */
body.home .icons .row{flex:none; width:48px; height:48px; min-height:0; padding:0; gap:0; border:0; border-radius:50%; display:flex; align-items:center; justify-content:center; overflow:visible; color:#9a9aa4}
body.home .icons .row::before,body.home .icons .r-num,body.home .icons .r-val,body.home .icons .r-go{display:none}
body.home .icons .r-icon{width:24px; height:24px; color:inherit}
body.home .icons .r-label{position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap}
body.home .icons .row:focus-visible{outline:2px solid var(--accent); outline-offset:2px}
body.home .icons .row:focus-visible .r-icon{color:var(--text)}
@media (hover:hover){ body.home .icons .row:hover .r-icon{color:var(--text)} }
body.home .icons .row:active{transform:scale(.96)}
/* The private link's extra rows (Save my contact, WhatsApp, Phone) follow a small tag. */
body.home .icons .private-flag{padding:0 4px; border:0; background:none; flex:none; grid-column:span 2; margin:0}
body.home .icons .private-flag > span:not(.pf-tag){display:none}

/* Section titles */
body.home .where h2,body.home .work h2{margin:0 0 16px; font-family:var(--display); font-size:clamp(1.4rem,3.4vw,1.9rem); font-weight:600; line-height:1.1; letter-spacing:var(--track-title)}   /* the Headline step, as the section titles on every other page */
body.home .where,body.home .work{margin-top:56px}

/* Work: the live cards, in the card's own surface. */
body.home .feat{padding:20px; border:0; border-radius:20px; background:var(--surface); box-shadow:inset 0 0 0 1px rgba(240,240,240,.08)}
body.home .f-src{color:var(--muted); font-weight:500}
body.home .f-title{font-size:20px; font-weight:700; line-height:1.15}
body.home .f-desc{color:var(--muted); line-height:1.5}
body.home .feats{grid-template-columns:1fr; gap:12px}

/* Where I build: the two rows from the badge's footer, each opening to a line about the place and the role. */
body.home .where-list{border-radius:20px; background:var(--surface); box-shadow:inset 0 0 0 1px rgba(240,240,240,.08); overflow:hidden}
body.home .wco + .wco{border-top:1px solid rgba(240,240,240,.08)}
body.home .wco-row{display:flex; align-items:center; gap:14px; width:100%; min-height:72px; padding:14px 16px 14px 18px; border:0; background:none; color:var(--text); font:inherit; text-align:left; cursor:pointer}
body.home .wco-row:focus-visible{outline:2px solid var(--text-strong); outline-offset:-3px; border-radius:20px}
body.home .wslot{flex:none; width:32px; height:32px; display:grid; place-items:center}
body.home .wslot .m-lab{width:27.6px; height:28px}
body.home .wslot .m-ai{width:auto; height:19px}
body.home .wtx{flex:1; min-width:0}
body.home .wtx b{display:block; font-size:16px; font-weight:600; line-height:1.25}
body.home .wtx span{display:block; margin-top:2px; font-size:13px; line-height:1.4; color:var(--muted)}
body.home .wco-row > svg{flex:none; width:18px; height:18px; color:var(--muted); transition:rotate .28s cubic-bezier(.2,0,0,1)}
body.home .wco.on .wco-row > svg{rotate:180deg}
body.home .wco-more{display:grid; grid-template-rows:0fr; transition:grid-template-rows .28s cubic-bezier(.2,0,0,1)}
body.home .wco.on .wco-more{grid-template-rows:1fr}
body.home .wco-more > div{min-height:0; overflow:hidden; visibility:hidden; transition:visibility 0s .28s}
body.home .wco.on .wco-more > div{visibility:visible; transition-delay:0s}
body.home .wtip{position:relative; margin:0 18px 0 64px; font:400 12.5px/1.65 var(--mono); color:#d6d6dc}
body.home .wtip .ghost{display:block; visibility:hidden}
body.home .wtip .live{position:absolute; inset:0}
body.home .wtip .caret{display:inline-block; width:7px; height:1.02em; margin-left:2px; background:var(--accent); vertical-align:-2px; animation:wblink 1s steps(1) infinite}
@keyframes wblink{0%,50%{opacity:1}51%,100%{opacity:0}}
html:not(.js) body.home .wco-more{grid-template-rows:1fr}
html:not(.js) body.home .wco-more > div{visibility:visible}
html:not(.js) body.home .wtip .ghost{visibility:visible}
html:not(.js) body.home .wtip .live{display:none}
body.home .wco-more a{display:inline-flex; align-items:center; gap:6px; min-height:44px; margin:2px 0 8px 64px; color:var(--accent); font-size:13.5px; font-weight:600}
body.home .wco-more a svg{width:14px; height:14px}

/* The way to About closes the page: one large line that is the link, its arrow riding right behind the words. */
body.home .bridge{display:flex; flex-direction:column; align-items:flex-start; flex-wrap:nowrap; gap:0; margin-top:72px; padding:28px 0 0; border:0; border-top:1px solid rgba(240,240,240,.12); border-radius:0; background:none; transition:none}
body.home .bridge:active,body.home .bridge:hover{transform:none; background:none; border-top-color:rgba(240,240,240,.12)}
body.home .br-desc{order:-1; max-width:34em; margin:0 0 14px; font-size:15px; line-height:1.5; color:var(--muted); text-wrap:pretty}
body.home .br-title{display:flex; align-items:center; gap:14px; margin:0; font-size:clamp(34px,5.2vw,72px); font-weight:800; letter-spacing:-.03em; line-height:1}
body.home .br-title i{flex:none; display:grid; place-items:center; width:.82em; height:.82em; border-radius:50%; background:var(--accent); color:#0a0a0a; transition:translate .2s cubic-bezier(.2,0,0,1)}
body.home .br-title i svg{width:52%; height:52%; color:#0a0a0a}
body.home .bridge:active i{translate:4px 0}
body.home .bridge:focus-visible{outline:2px solid var(--text-strong); outline-offset:8px}
@media (hover:hover){ body.home .bridge:hover i{translate:6px 0} }

body.home footer{padding-left:max(var(--pad),env(safe-area-inset-left,0px)); padding-right:max(var(--pad),env(safe-area-inset-right,0px))}

/* The phone bar: the site's own .actbar, kept below 960px and held to the phone column. At rest the first screen simply ends on it;
   content fades into it once the page has scrolled (.is-over, set by site.js). */
body.home .actbar{position:fixed; left:50%; right:auto; bottom:0; z-index:40; width:100%; max-width:430px; transform:translateX(-50%); display:flex; gap:8px;
  padding:10px max(16px,env(safe-area-inset-right,0px)) calc(10px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px));
  background:color-mix(in srgb,var(--bg) 96%,transparent); border-top:1px solid rgba(240,240,240,.1)}
body.home .actbar::before{content:""; position:absolute; left:0; right:0; bottom:100%; height:28px; pointer-events:none; background:linear-gradient(to bottom,transparent,var(--bg)); opacity:0; transition:opacity .2s ease-out}
body.home .actbar.is-over::before{opacity:1}

@media (prefers-reduced-motion:reduce){
  body.home .rig{animation:none}
  body.home .stage .lanyard-canvas,body.home .stage.is-3d.live .rig,body.home .deckidx{transition:none}
  body.home .deckidx button svg{scale:1; filter:none; transition:none}
  body.home .tagline{animation:none}
  body.home .fliphint{transition:none}
  body.home .fliphint.on::before{animation:none}
  body.home .wco-more,body.home .wco-row > svg,body.home .br-title i{transition:none}
  body.home .wtip .caret{animation:none}
}

/* ----- One frame for every page on a desktop: the same side margins and the same header position as the home page.
   The other pages keep their reading width inside it, set from the same left edge. ----- */
@media (min-width:960px){
  body:not(.home){--pad:clamp(40px,5.5vw,96px); --edge:calc(max(0px,(100vw - 1560px) / 2) + var(--pad))}
  body:not(.home) .wrap{max-width:none; padding-left:var(--edge); padding-right:var(--edge)}
  body:not(.home) .wrap > main{max-width:860px}
  body:not(.home) .topbar{padding-top:14px}   /* the monogram at the same height as on the home page */
}

/* ----- desktop (960px and up): the whole first screen is the card's frame. It hangs right of centre with room to swing; the words sit on the left. ----- */
@media (min-width:960px){
  body.home .face .fslo{display:none}
  body.home{--pad:clamp(40px,5.5vw,96px); --edge:calc(max(0px,(100vw - 1560px) / 2) + var(--pad)); padding-bottom:0}   /* content never runs wider than 1560 */
  body.home .wrap{max-width:none}
  body.home main{display:grid; grid-template-columns:minmax(0,1.08fr) minmax(0,1fr)}
  body.home footer{padding-left:var(--edge); padding-right:var(--edge)}
  /* A real header: the sections, and a way to book that follows you down the page. */
  body.home .top{left:0; right:0; width:auto; max-width:none; transform:none; height:72px; padding:0 var(--edge); pointer-events:auto}
  body.home .top-r{display:none}
  body.home .topnav{flex:1; display:flex; align-items:center; gap:4px; margin-left:20px}   /* 16px gap + 4px, as .topbar and .pagenav give the other pages */   /* links sit by the monogram: the strap hangs through the right of the header */
  body.home .topnav a{min-height:40px; padding:0 14px; border-radius:var(--r-lg); justify-content:center; font-size:var(--fs-sm); font-weight:500; color:var(--muted); transition:color .15s ease-out, background-color .15s ease-out}
  body.home .topnav a:focus-visible,body.home .deckidx button:focus-visible,body.home .deskacts a:focus-visible{outline:2px solid var(--text-strong); outline-offset:2px}
  body.home .topnav a[aria-current]{color:var(--text)}
  @media (hover:hover){ body.home .topnav a:hover{color:var(--text); background:rgba(240,240,240,.06)} }
  body.home .where,body.home .work{scroll-margin-top:104px}
  body.home .rig{left:calc((100% - min(100%,1560px)) / 2 + .755 * min(100%,1560px))}   /* the flat badge hangs where the 3D card does */
  body.home .stage{grid-column:1 / -1; grid-row:1; height:100vh; height:100svh; min-height:660px; margin:0 !important}   /* one screen tall, always. On screens taller than 1080 the composition keeps its size (site.js box) and gets more room */
  /* The way down: a quiet cue at the foot of the first screen, on the page's left edge. */
  body.home .scrollcue{position:absolute; z-index:3; left:var(--edge); bottom:20px; display:inline-flex; align-items:center; gap:10px; min-height:44px; padding-right:12px; font-size:13.5px; font-weight:500; color:var(--muted); transition:color .15s ease-out}
  body.home .scrollcue svg{width:16px; height:16px; transition:translate .2s cubic-bezier(.2,0,0,1)}
  body.home .scrollcue:focus-visible{outline:2px solid var(--text-strong); outline-offset:4px; border-radius:8px}
  @media (hover:hover){ body.home .scrollcue:hover{color:var(--text)} body.home .scrollcue:hover svg{translate:0 3px} }
  body.home .scrollcue:active svg{translate:0 3px}
  @media (max-height:819.98px){ body.home .scrollcue{display:none} }   /* no room under the index on a short window */
  body.home .first{grid-column:1; grid-row:1; z-index:2; align-self:center; align-items:flex-start; margin:0 !important; padding:72px 0 0 var(--edge) !important; pointer-events:none}
  body.home .first > *{pointer-events:auto}
  body.home .first .tagline{max-width:7.4em; text-align:left; font-size:min(clamp(56px,6.2vw,104px),12.5vh); line-height:1; letter-spacing:-.035em; padding:0 .08em .12em 0}
  body.home .first .tagline::before{transform:translateY(7px); filter:blur(11px); opacity:.3}
  body.home .lede{text-wrap:pretty; display:block; margin:20px 0 0; font-size:clamp(18px,1.45vw,21px); line-height:1.45; color:var(--muted)}
  body.home .deskacts{display:flex; flex-wrap:wrap; align-items:center; gap:16px 22px; margin-top:32px}
  body.home .deskacts .ab-book{flex:none; min-height:52px; padding:0 26px; font-size:16px}
  body.home .deskacts .pcard ~ .ab-book{display:none}   /* the private card takes the action row's place */
  body.home .deskacts .pcard ~ .icons .private-flag,body.home .deskacts .pcard ~ .icons .private-flag ~ .row{display:none}   /* the private card already carries these */
  body.home .first:has(.pcard){align-self:start; padding-top:104px !important}   /* a taller column grows down, never up under the header */
  body.home .deskacts .icons{display:flex; flex-wrap:nowrap; gap:2px; margin:0 !important; padding:0 !important}
  /* The card's pages, listed: each row says what is on it and turns the card to it. */
  body.home .stage.is-3d ~ .first .deckidx{display:block; width:min(100%,500px); margin-top:clamp(28px,5vh,52px)}
  body.home .deckidx{opacity:0; transition:opacity .28s ease-out}   /* the rows arrive with the card: their room is kept, so nothing moves when they do */
  body.home .deckidx.on{opacity:1}
  body.home .deckidx div{min-height:210px}
  @media (hover:hover) and (pointer:fine){ body.home .deckidx div{min-height:252px} }   /* a sixth row: the QR page */
  body.home .deckidx p{margin:0 0 8px; font-size:13px; font-weight:500; color:var(--muted)}
  body.home .deckidx button{position:relative; display:grid; grid-template-columns:88px 1fr 16px; align-items:center; gap:12px; width:100%; min-height:42px; padding:0 12px 0 16px; border:0; border-radius:10px;
    background:none; color:var(--muted); font:400 15px/1.2 var(--sans); text-align:left; cursor:pointer; transition:background-color .15s ease-out, color .15s ease-out, transform .15s ease-out}
  body.home .deckidx button::before{content:""; position:absolute; left:0; top:9px; bottom:9px; width:2px; border-radius:1px; background:rgba(240,240,240,.14); transition:background-color .15s ease-out}
  body.home .deckidx button b{font-weight:600; color:var(--text)}
  body.home .deckidx button span{overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-variant-numeric:tabular-nums}
  body.home .deckidx button svg{width:16px; height:16px; opacity:0; scale:.25; filter:blur(4px); transition:opacity .2s cubic-bezier(.2,0,0,1), scale .2s cubic-bezier(.2,0,0,1), filter .2s cubic-bezier(.2,0,0,1)}   /* the arrow arrives, it does not blink on */
  body.home .deckidx button[aria-pressed=true]{background:rgba(240,240,240,.06); color:var(--text)}
  body.home .deckidx button[aria-pressed=true]::before{background:var(--accent)}
  body.home .deckidx button[data-page=gold] b{color:#e2b54e}
  body.home .deckidx button:active{transform:scale(.99)}
  @media (hover:hover){ body.home .deckidx button:hover{background:rgba(240,240,240,.05); color:var(--text)} body.home .deckidx button:hover svg{opacity:.7; scale:1; filter:none} }
  @media (max-height:760px){ body.home .deckidx button{min-height:40px} body.home .deckidx div{min-height:200px} body.home .deskacts{margin-top:24px} }
  @media (max-height:760px) and (hover:hover) and (pointer:fine){ body.home .deckidx div{min-height:240px} }
  body.home .actbar{display:none}
  body.home .more{grid-column:1 / -1; padding:8px var(--edge) 120px}
  body.home .f-desc{font-size:16px}
  body.home .f-title{font-size:22px}
  body.home .where{margin-top:72px}
  body.home .work{margin-top:96px}
  body.home .bridge{margin-top:120px; padding-top:36px}
  body.home .br-desc{font-size:17px}
  body.home .where h2,body.home .work h2{margin-bottom:24px}
  /* Both rows stay open, side by side. */
  body.home .where-list{display:grid; grid-template-columns:1fr 1fr; gap:16px; border-radius:0; background:none; box-shadow:none; overflow:visible}
  body.home .wco{border-radius:20px; background:var(--surface); box-shadow:inset 0 0 0 1px rgba(240,240,240,.08)}
  body.home .wco + .wco{border-top:0}
  body.home .wco-row{cursor:default; padding:22px 24px 10px}
  body.home .wco-row > svg{display:none}
  body.home .wco .wco-more{grid-template-rows:1fr}
  body.home .wco .wco-more > div{visibility:visible}
  body.home .wtip{margin:0 24px 0 70px; font-size:14px}
  body.home .wco-more a{margin:4px 0 14px 70px}
  body.home .feats{display:grid; grid-template-columns:1fr 1fr; gap:16px}
  body.home .feat{padding:28px}
}


/* ============================================================
   RAIL AND BODY  (desktop, every page)
   One seam runs down the page. Left of it, the rail names the thing: a section's number, title and note, or a talk's
   title and figures, held in view while its content scrolls. Right of it, the body holds the thing itself. The
   columns are the speaking hero's own (name | photograph), so the seam is the photograph's left edge.
   Below 1240px the head sits above its content in the single reading column, as it always did.
   ============================================================ */
@media(min-width:1240px){
  body{--rail-cols:minmax(0,.8fr) minmax(0,1.2fr); --rail-gap:clamp(40px,4.5vw,72px)}
  body:not(.home) .wrap > main{max-width:none}
  body:not(.home) .wrap > main > .sec{max-width:none; display:grid; grid-template-columns:var(--rail-cols); column-gap:var(--rail-gap); align-items:start}
  .sec > *{grid-column:2; min-width:0}
  .sec > .sec-head{grid-column:1; grid-row:1 / span 8; display:block; margin:0; position:sticky; top:104px}
  .sec > .sec-head .sec-num{display:block; margin-bottom:10px}
  .sec > .sec-head .sec-note{display:block; margin:10px 0 0}
  /* Sessions: the head and the index share the first row; the talks then run the full width, each with its own rail. */
  .sec[data-wide] > .sec-head{grid-row:1; position:static}
  .sec[data-wide] > .talks{grid-column:1 / -1; margin-top:16px}
  .talk{grid-template-columns:var(--rail-cols); column-gap:var(--rail-gap)}
  .talk > *{grid-column:2; min-width:0}
  .talk > .tk-band{grid-column:1 / -1}
  .talk > .tk-head{display:block; grid-column:1; grid-row:2 / span 12; align-self:start; position:sticky; top:104px}
  .talk > .tk-desc{margin-top:0}
  /* The home page's two sections take the same rail. */
  body.home .where,body.home .work{display:grid; grid-template-columns:var(--rail-cols); column-gap:var(--rail-gap); align-items:start; padding-top:clamp(52px,9vw,88px); border-top:1px solid var(--line)}
  body.home .where > h2,body.home .work > h2{position:sticky; top:104px; margin:0}
}
@media(min-width:1240px) and (max-width:1359px){ .sec > .creds{grid-template-columns:1fr} }   /* three cards do not fit the body until it is wider */
