/* lizlindain.com — one stylesheet.
   Type and color follow apple.com: one sans-serif family (San Francisco on Apple devices, the system face
   elsewhere), hierarchy by weight and size rather than by typeface, a neutral white / #f5f5f7 / black band
   rhythm with a single blue accent, and ease-out motion that is triggered, never busy.
   Order: tokens, base, type, masthead, hero, bands and tiles, sections, forms, footer, résumé, motion, print. */

:root {
  color-scheme: light;
  /* Typefaces: Newsreader (variable optical size) for display and prose, Libre Franklin for labels and
     controls, the system mono for times. Self-hosted subsets in src/assets/fonts; metric-matched fallbacks
     come from the manifest so nothing shifts while they load. */
  --serif: "Newsreader", "Newsreader Fallback", Georgia, "Times New Roman", serif;
  --sans: "Libre Franklin", "Libre Franklin Fallback", Arial, Helvetica, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --font: var(--serif);

  /* Color roles (apple.com light). */
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-tile: #ffffff;
  --fg: #1d1d1f;
  --fg-2: #6e6e73;
  --fg-3: #86868b;
  --rule: #d2d2d7;
  --rule-soft: #e8e8ed;
  --link: #0066cc;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --focus: rgba(0, 125, 250, .6);
  --hl: rgba(0, 113, 227, .12);
  --shadow: 0 2px 8px rgba(0, 0, 0, .04), 0 12px 32px rgba(0, 0, 0, .08);
  --nav-bg: rgba(255, 255, 255, .72);
  --fill: var(--bg-alt);

  /* Outlet marks, mapped to the system palette. */
  --pub-parade: #ff3b30; --pub-athlon: #007aff; --pub-moveonup: #ff9500; --pub-guardian: #5856d6; --pub-insider: #30b0c7;
  --pub-substack: #ff6b00; --pub-wsn: #af52de; --pub-glitter: #ff2d55; --pub-hercampus: #34c759; --pub-vocal: #8e8e93; --pub-sheknows: #ffcc00;
  /* NYU violet, for the class year in the title line. */
  --nyu: #57068c;

  /* Type scale (apple.com): size / line-height / tracking. */
  --t-display: clamp(3rem, 1.6rem + 5.5vw, 5rem);              /* 48 → 80  headline-super */
  --t-h1: clamp(2.5rem, 1.5rem + 3.8vw, 4rem);                 /* 40 → 64  headline-elevated */
  --t-h2: clamp(2rem, 1.3rem + 2.6vw, 3rem);                   /* 32 → 48  headline */
  --t-h3: clamp(1.75rem, 1.45rem + 1.2vw, 2.5rem);             /* 28 → 40  headline-reduced */
  --t-eyebrow: clamp(1.1875rem, 1.14rem + .2vw, 1.3125rem);    /* 19 → 21  eyebrow */
  --t-intro: clamp(1.1875rem, 1.14rem + .2vw, 1.3125rem);      /* 19 → 21  intro */
  --t-intro-elevated: clamp(1.3125rem, 1.1rem + .9vw, 1.75rem);/* 21 → 28  intro-elevated */
  --t-tile: clamp(1.3125rem, 1.2rem + .5vw, 1.5rem);           /* 21 → 24  tile headline */
  --t-body: 1.0625rem;                                          /* 17       body */
  --t-body-reduced: .875rem;                                    /* 14       body-reduced */
  --t-caption: .75rem;                                          /* 12       caption */

  /* Rhythm. */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 40px; --s7: 64px; --s8: 96px;
  --section-y: clamp(4.5rem, 3rem + 6vw, 9.5rem);
  --wrap: 61.25rem;        /* 980px, apple.com's content measure */
  --wrap-wide: 87.5rem;    /* 1400px, for the lead-story gallery */
  --narrow: 42.5rem;       /* 680px, a text measure */
  --gutter: max(20px, 5.5vw);
  --nav-h: 64px;
  --radius: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.32, .72, 0, 1);
  --ease-std: cubic-bezier(.4, 0, .6, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  interpolate-size: allow-keywords;
}
@media (min-width: 735px) { :root { --gutter: 32px; } }
@media (min-width: 1069px) { :root { --gutter: 40px; } }

/* Dark (apple.com dark roles). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #000000; --bg-alt: #161617; --bg-tile: #1d1d1f; --fg: #f5f5f7; --fg-2: #a1a1a6; --fg-3: #86868b;
    --rule: #424245; --rule-soft: #2c2c2e; --link: #2997ff; --focus: rgba(41, 151, 255, .7); --hl: rgba(41, 151, 255, .18);
    --shadow: 0 2px 8px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .5); --nav-bg: rgba(0, 0, 0, .72);
    --pub-parade: #ff453a; --pub-athlon: #0a84ff; --pub-moveonup: #ff9f0a; --pub-guardian: #5e5ce6; --pub-insider: #40c8e0;
    --pub-substack: #ff7d1a; --pub-wsn: #bf5af2; --pub-glitter: #ff375f; --pub-hercampus: #30d158; --pub-vocal: #98989d; --pub-sheknows: #ffd60a;
    --nyu: #ab82c5;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000000; --bg-alt: #161617; --bg-tile: #1d1d1f; --fg: #f5f5f7; --fg-2: #a1a1a6; --fg-3: #86868b;
  --rule: #424245; --rule-soft: #2c2c2e; --link: #2997ff; --focus: rgba(41, 151, 255, .7); --hl: rgba(41, 151, 255, .18);
  --shadow: 0 2px 8px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .5); --nav-bg: rgba(0, 0, 0, .72);
  --pub-parade: #ff453a; --pub-athlon: #0a84ff; --pub-moveonup: #ff9f0a; --pub-guardian: #5e5ce6; --pub-insider: #40c8e0;
  --pub-substack: #ff7d1a; --pub-wsn: #bf5af2; --pub-glitter: #ff375f; --pub-hercampus: #30d158; --pub-vocal: #98989d; --pub-sheknows: #ffd60a;
  --nyu: #ab82c5;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--serif);
  font-size: var(--t-body);
  line-height: 1.47059;
  letter-spacing: 0;
  font-weight: 400;
  font-optical-sizing: auto;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .14em; }
:focus-visible { outline: 4px solid var(--focus); outline-offset: 1px; border-radius: 6px; }
img { max-width: 100%; height: auto; }
abbr[title] { text-decoration: none; border-bottom: 1px dashed currentColor; cursor: help; }
sup { line-height: 0; }
time { font-variant-numeric: tabular-nums; }
em { font-style: italic; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--s4); top: -100px; z-index: 60; background: var(--fg); color: var(--bg); padding: .6rem 1rem; border-radius: 980px; font-family: var(--sans); font-size: var(--t-body-reduced); font-weight: 600; }
.skip:focus { top: var(--s3); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }
.center { text-align: center; }
.section { padding-block: var(--section-y); position: relative; }
/* The bands run white, gray, white, gray down the page. --fill is the quiet fill for chips, menus and
   row hovers: gray on a white band, white on a gray one. */
.section-alt { background: var(--bg-alt); --fill: var(--bg); }
.page-pad { padding-block: var(--section-y); }

/* ---------- type ---------- */
.name { font-family: var(--serif); font-size: var(--t-display); line-height: 1.0; letter-spacing: -.02em; font-weight: 400; margin: 0 0 .25em; text-wrap: balance; }
.h1 { font-family: var(--serif); font-size: var(--t-h1); line-height: 1.04; letter-spacing: -.015em; font-weight: 400; margin: .15em 0 .35em; text-wrap: balance; }
.h2 { font-family: var(--serif); font-size: var(--t-h2); line-height: 1.08; letter-spacing: -.01em; font-weight: 400; margin: 0 0 .35em; text-wrap: balance; }
.h3 { font-family: var(--serif); font-size: var(--t-h3); line-height: 1.1; letter-spacing: -.01em; font-weight: 400; margin: 0 0 .35em; text-wrap: balance; }
.eyebrow { font-family: var(--sans); font-size: var(--t-eyebrow); line-height: 1.19048; letter-spacing: .011em; font-weight: 600; margin: 0; }
.deck { font-family: var(--serif); font-size: var(--t-intro); line-height: 1.4; letter-spacing: 0; font-weight: 400; max-width: 34em; margin: 0 0 var(--s5); text-wrap: pretty; }
.label { font-family: var(--sans); font-size: var(--t-caption); line-height: 1.33337; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: var(--fg-2); margin: 0; }
.small { font-family: var(--sans); font-size: var(--t-caption); line-height: 1.33337; letter-spacing: -.01em; color: var(--fg-2); }
.section-head { margin-bottom: clamp(2rem, 1.5rem + 2.5vw, 3.5rem); }
.section-head-center { text-align: center; }
.section-head-center .section-dek { margin-inline: auto; }
.section-head-row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s5); }
.section-dek { font-family: var(--sans); font-size: var(--t-intro); line-height: 1.4; letter-spacing: 0; color: var(--fg-2); max-width: 36em; margin: 0; text-wrap: pretty; }
.count { font-family: var(--mono); font-variant-numeric: tabular-nums; font-weight: 500; opacity: .7; }

/* "More" links: Apple's blue text with a chevron that nudges on hover. */
.link-more { display: inline-flex; align-items: center; gap: .35em; color: var(--link); font-family: var(--sans); font-size: var(--t-body); line-height: 1.17648; letter-spacing: 0; font-weight: 400; text-decoration: none; }
.link-more .chev { width: .45em; height: .75em; transition: transform .3s var(--ease); flex: none; }
.link-more:hover { text-decoration: underline; }
.link-more:hover .chev, .tile:hover .link-more .chev { transform: translateX(3px); }
.chev-left { transform: scaleX(-1); }

/* Buttons: the pill. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .3em; min-height: 44px; padding: 11px 22px; border-radius: 980px; background: var(--accent); color: #fff; font-family: var(--sans); font-weight: 500; font-size: var(--t-body); line-height: 1.17648; letter-spacing: 0; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .25s var(--ease-std), transform .25s var(--ease), color .25s, border-color .25s; }
.btn:hover { background: var(--accent-hover); text-decoration: none; }
.btn:active { transform: scale(.97); }
.btn-quiet { background: transparent; color: var(--link); border-color: var(--link); }
.btn-quiet:hover { background: var(--link); color: #fff; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* Tiles: Apple's rounded cards. */
.tile { background: var(--bg-tile); border-radius: var(--radius); }
a.tile { color: var(--fg); text-decoration: none; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); will-change: transform; }
a.tile:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow); }
a.tile:active { transform: translateY(-1px) scale(.995); }
.section:not(.section-alt) .tile { background: var(--bg-alt); }

/* ---------- masthead ---------- */
/* The blur lives on a pseudo-element: a backdrop-filter on the bar itself would make it the containing
   block for the fixed-position mobile menu. */
.masthead { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid transparent; transition: border-color .3s; }
.masthead::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--nav-bg); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.masthead.is-stuck { border-bottom-color: var(--rule-soft); }
.masthead-row { display: flex; align-items: center; gap: var(--s4); min-height: var(--nav-h); }
.brand { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; letter-spacing: -.01em; color: var(--fg); text-decoration: none; white-space: nowrap; }
.brand:hover { text-decoration: none; opacity: .7; }
.nav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--s6); }
.nav-list a { position: relative; display: inline-block; padding: .75rem 0; color: var(--fg); font-family: var(--sans); font-size: .9375rem; letter-spacing: 0; line-height: 1; text-decoration: none; opacity: .88; transition: opacity .2s; }
.nav-list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-list a:hover, .nav-list a[aria-current] { opacity: 1; }
.nav-list a:hover::after, .nav-list a[aria-current]::after { transform: scaleX(1); }
.nav-foot { display: none; }
.masthead-tools { display: flex; align-items: center; gap: var(--s5); margin-left: auto; }
.nav + .masthead-tools { margin-left: 0; }
@media (max-width: 734px) { .nav + .masthead-tools { margin-left: auto; } }
.masthead-email { font-family: var(--mono); font-size: var(--t-body-reduced); letter-spacing: 0; color: var(--fg); text-decoration: none; opacity: .88; padding: .6rem 0; font-variant-numeric: tabular-nums; }
.masthead-email:hover { opacity: 1; text-decoration: underline; }

/* Theme switch: a 44 × 24 track with a sliding thumb. */
.theme { appearance: none; border: 0; background: transparent; padding: 10px 0; cursor: pointer; color: var(--fg); display: inline-flex; }
.theme-track { position: relative; width: 44px; height: 24px; border-radius: 980px; background: var(--rule); display: block; transition: background-color .3s var(--ease-std); }
.theme-icon { position: absolute; top: 50%; transform: translateY(-50%); color: var(--fg); opacity: .8; transition: opacity .3s; }
.theme-sun { left: 6px; }
.theme-moon { right: 6px; }
.theme-thumb { position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .35s var(--ease); }
.theme[aria-checked="true"] .theme-thumb { transform: translateX(20px); }
.theme[aria-checked="true"] .theme-sun, .theme:not([aria-checked="true"]) .theme-moon { opacity: .35; }
.theme:hover .theme-track { background: var(--fg-3); }
html.no-js .theme { display: none; }

/* Menu button: two bars that fold into a cross (mobile only). */
.menu-btn { display: none; appearance: none; border: 0; background: transparent; width: 40px; height: 40px; margin-right: -10px; padding: 0; position: relative; cursor: pointer; color: var(--fg); }
.menu-bar { position: absolute; left: 11px; width: 18px; height: 1.5px; background: currentColor; border-radius: 1px; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-bar:nth-child(1) { top: 16px; }
.menu-bar:nth-child(2) { top: 23px; }
.menu-btn[aria-expanded="true"] .menu-bar:nth-child(1) { top: 19.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bar:nth-child(2) { top: 19.5px; transform: rotate(-45deg); }
@media (max-width: 1180px) { .masthead-email { display: none; } }
@media (max-width: 734px) {
  html:not(.no-js) .menu-btn { display: block; }
  html:not(.no-js) .nav { position: fixed; inset: var(--nav-h) 0 0 0; background: var(--bg); padding: var(--s5) var(--gutter) var(--s6); margin: 0; overflow: auto; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s .4s; z-index: 39; }
  html.menu-open .nav { visibility: visible; opacity: 1; transform: none; transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s; }
  html.menu-open { overflow: hidden; }
  html.menu-open .masthead { border-bottom-color: var(--rule-soft); }
  html.menu-open .masthead::before { background: var(--bg); }
  html:not(.no-js) .nav-list { flex-direction: column; gap: 0; }
  html:not(.no-js) .nav-list li { border-bottom: 1px solid var(--rule-soft); opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  html.menu-open .nav-list li { opacity: 1; transform: none; transition-delay: calc(60ms + var(--i, 0) * 45ms); }
  html:not(.no-js) .nav-list a { display: block; font-family: var(--serif); font-size: var(--t-h3); font-weight: 400; letter-spacing: -.01em; padding: .55em 0; opacity: 1; }
  html:not(.no-js) .nav-list a::after { display: none; }
  html:not(.no-js) .nav-foot { display: block; margin: var(--s5) 0 0; font-family: var(--sans); font-size: var(--t-body); opacity: 0; transition: opacity .5s var(--ease); }
  html.menu-open .nav-foot { opacity: 1; transition-delay: calc(60ms + var(--i, 0) * 45ms); }
  html.no-js .nav-list { gap: var(--s3); }
  html.no-js .nav-list li:nth-child(n+3) { display: none; }
}

/* ---------- hero: text on the left, the Latest card (or a portrait) on the right ---------- */
.hero { display: grid; gap: var(--s6); align-items: start; padding-block: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(3rem, 2rem + 4vw, 6rem); }
/* The text column is kept wide enough for the title line to sit on one line at full width. */
@media (min-width: 900px) { .hero { grid-template-columns: minmax(0, 1fr) minmax(17rem, 21rem); gap: 4.5rem; align-items: center; } }
.hero-inner { display: flex; flex-direction: column; align-items: flex-start; text-align: left; container: hero / inline-size; }
.dateline { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5em; margin: 0 0 var(--s5); font-family: var(--mono); font-size: var(--t-caption); line-height: 1.33337; letter-spacing: .02em; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.dateline-place { color: var(--fg); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
[data-clock] { display: inline-block; min-width: 27ch; text-align: left; }
/* The clock is a button: click it to see the time where you are instead of where she is. */
.dateline-clock { appearance: none; border: 0; padding: 0 .1em; margin: 0 -.1em; background: none; font: inherit; letter-spacing: inherit; color: inherit; cursor: pointer; border-radius: 4px; border-bottom: 1px dashed transparent; transition: color .25s, border-color .25s; }
.dateline-clock:hover, .dateline-clock[aria-pressed="true"] { color: var(--fg); border-bottom-color: var(--fg-3); }
.dateline-clock:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
html.no-js .dateline-clock { pointer-events: none; }
.dateline-clock.is-swapping time { animation: tz-swap .4s var(--ease); }
/* The name's letters lift a touch under the pointer. */
.name-word { display: inline-block; white-space: nowrap; }
.ch { display: inline-block; transition: transform .45s var(--ease), color .3s; }
.ch:hover { transform: translateY(-.07em); color: var(--link); transition-duration: .2s; }
.live-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.live-dot::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); opacity: 0; }
/* The two title lines under the name. The first, the stronger, says what she does; the second gives
   the school and class year and the pronouns. A hairline separates the facts of a line. Where the
   column is too narrow for both jobs on one line, each takes a line of its own and the hairline goes. */
.hero-eyebrow { display: grid; justify-items: start; gap: .5em; margin: 0 0 var(--s5); }
.eb { display: flex; flex-wrap: wrap; align-items: center; row-gap: .3em; }
.eb-jobs { color: var(--fg); font-size: min(var(--t-eyebrow), 1.3125rem); }
.eb-facts { color: var(--fg-2); font-size: var(--t-body); }
.eb-seg { white-space: nowrap; }
/* The pronouns, here and in the résumé header: italic, at regular weight. */
.pron { font-style: italic; font-weight: 400; }
.eb-seg + .eb-seg { margin-left: .5em; padding-left: .5em; border-left: 1px solid var(--rule); }
@container hero (max-width: 22.5rem) {
  .eb-jobs .eb-seg { flex-basis: 100%; }
  .eb-jobs .eb-seg + .eb-seg { margin-left: 0; padding-left: 0; border-left: 0; }
}
/* The school: its mark and its color, linked to the degree on the résumé. A small card spells the
   degree out under the pointer. */
.alma { position: relative; display: inline-block; color: var(--nyu); text-decoration: none; border-radius: 6px; }
.alma:hover { text-decoration: none; }
.alma-mark { width: 1.06em; height: 1.06em; margin-right: .36em; vertical-align: -.2em; border-radius: .1em; transition: transform .5s var(--spring); }
.alma:hover .alma-mark, .alma:focus-visible .alma-mark { transform: rotate(-6deg) scale(1.14); }
.alma-tip { position: absolute; left: 0; top: calc(100% + 8px); z-index: 3; width: max-content; max-width: min(21rem, calc(100vw - 2 * var(--gutter))); padding: 8px 12px; border-radius: 10px; background: var(--fg); color: var(--bg); font-size: var(--t-caption); font-weight: 400; line-height: 1.4; letter-spacing: 0; white-space: normal; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .18s, transform .25s var(--ease); }
.alma-tip span { display: block; }
.alma-tip span:first-child { font-weight: 600; }
.alma:hover .alma-tip, .alma:focus-visible .alma-tip { opacity: 1; transform: none; }
.hero .deck { font-size: var(--t-intro-elevated); line-height: 1.3; letter-spacing: 0; max-width: 26em; }
.hero .deck em { font-style: italic; }
/* Typewriter: the name, eyebrow and deck type in sequence. Each character appears at its --t, with a
   caret that travels with the typing and then blinks a few times at the end. Everything is in the
   layout from the start, so nothing reflows. */
.hero .c { position: relative; }
.hero .c::after { content: ""; position: absolute; left: 100%; top: .12em; bottom: .02em; width: .07em; background: var(--link); opacity: 0; pointer-events: none; }
/* The letters of the gradient phrase must not be positioned: WebKit (Safari, and every browser on an
   iPhone) leaves positioned children out of background-clip: text, so they would be transparent. They
   go without the travelling caret, which would need the positioning; the phrase is wiped in instead. */
.hero .gradient-text .c { position: static; }
.hero .gradient-text .c::after { content: none; }
.hero .caret { display: inline-block; width: .07em; height: .95em; margin-left: .04em; vertical-align: -.08em; background: var(--link); opacity: 0; }
/* The Clips button: it never moves or resizes. On hover it lights up instead: an accent glow, a
   specular highlight under the pointer (--px/--py from main.js) and a sheen that sweeps across on
   arrival and on hover (.shine); a ring expands from it on press (.is-pressed). */
.btn-hero { position: relative; isolation: isolate; overflow: hidden; padding-inline: 24px 20px; box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 0 0 0 transparent; transition: background-color .25s var(--ease-std), box-shadow .5s var(--ease); }
.btn-hero::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: radial-gradient(120px circle at var(--px, 50%) var(--py, 50%), rgba(255, 255, 255, .32), rgba(255, 255, 255, 0) 70%); opacity: 0; transition: opacity .45s var(--ease); pointer-events: none; z-index: -1; }
.btn-hero::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: linear-gradient(110deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .45) 50%, rgba(255, 255, 255, 0) 62%); transform: translateX(-120%); pointer-events: none; z-index: -1; }
.btn-hero:hover { box-shadow: 0 2px 4px rgba(0, 0, 0, .08), 0 14px 32px -10px rgba(0, 113, 227, .65); }
.btn-hero:hover::before { opacity: 1; }
.btn-hero:active { transform: none; }
.btn-hero.shine::after { animation: sheen .9s var(--ease) both; }
.btn-hero.is-pressed { animation: press-ring .6s var(--ease-std) both; }
.btn-hero:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.btn-chev { width: .45em; height: .75em; flex: none; margin-left: .1em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); margin: var(--s2) 0 0; }
.hero-actions .link-more { font-size: var(--t-intro); }
/* The byline photo: a small round portrait beside the two title lines, as a news byline has one.
   It is a casual picture, so it stays small; a larger portrait goes in profile.json "portrait". */
.hero-eyebrow.has-photo { grid-template-columns: auto minmax(0, 1fr); column-gap: .875rem; align-items: center; }
.hero-eyebrow.has-photo > .eb { grid-column: 2; }
.hero-photo { grid-column: 1; grid-row: 1 / span 2; display: block; width: 3.75rem; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; background: var(--bg-alt); box-shadow: 0 0 0 1px var(--rule); }
.portrait { margin: 0; }
.portrait img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg, 28px); }
.portrait figcaption { margin-top: var(--s3); }

/* The Latest card: a vertical stack of the three newest clips. */
.latest { margin: 0; padding: var(--s5); display: flex; flex-direction: column; gap: var(--s4); background: var(--bg-alt); }
/* Pointer tilt and a spotlight that follows the cursor; main.js sets --rx/--ry/--mx/--my. */
[data-tilt] { position: relative; transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .7s var(--ease), box-shadow .7s var(--ease); will-change: transform; }
[data-tilt].is-live { transition: transform .15s linear, box-shadow .7s var(--ease); box-shadow: var(--shadow); }
.latest::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), var(--hl), transparent 72%); opacity: 0; transition: opacity .6s var(--ease); }
.latest.is-live::after { opacity: 1; }
.latest > * { position: relative; z-index: 1; }
.latest-head { margin: 0; align-items: center; }
.latest-all { font-size: var(--t-body-reduced); }
.latest-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; flex: 1; }
.latest-item + .latest-item { border-top: 1px solid var(--rule); }
.latest-link { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s4) var(--s3); margin-inline: calc(-1 * var(--s3)); border-radius: var(--radius-sm); color: var(--fg); text-decoration: none; transition: background-color .35s var(--ease-std), transform .35s var(--ease); }
.latest-item:first-child .latest-link { padding-top: var(--s2); margin-top: calc(-1 * var(--s2)); }
.latest-item:last-child .latest-link { padding-bottom: var(--s2); margin-bottom: calc(-1 * var(--s2)); }
.latest-link:hover, .latest-link:focus-visible { text-decoration: none; background: var(--bg-tile); }
.latest-link:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.latest-link:hover .latest-title { color: var(--link); }
.latest-title { transition: color .3s var(--ease-std); }
.latest-link:hover .chev, .latest-link:focus-visible .chev { transform: translateX(3px); }
.latest-link .dot { transition: transform .35s var(--ease); }
.latest-link:hover .dot { transform: scale(1.4); }
.latest-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5em .9em; }
.latest-date { font-family: var(--mono); font-size: var(--t-caption); color: var(--fg-2); letter-spacing: 0; }
.latest-title { font-family: var(--serif); font-size: var(--t-eyebrow); line-height: 1.3; font-weight: 400; letter-spacing: 0; text-wrap: pretty; }
.latest-cta { font-size: var(--t-body-reduced); }

/* Outlet marks. */
.outlet { display: inline-flex; align-items: center; gap: .45em; font-family: var(--sans); font-size: var(--t-caption); line-height: 1.33337; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: var(--fg-2); text-decoration: none; }
a.outlet:hover { color: var(--fg); text-decoration: none; }
.dot { width: 7px; height: 7px; background: var(--pub-c, var(--fg-3)); display: inline-block; border-radius: 50%; flex: none; }
[data-pub="parade"] { --pub-c: var(--pub-parade); }
[data-pub="sheknows"] { --pub-c: var(--pub-sheknows); }
[data-pub="athlon"] { --pub-c: var(--pub-athlon); }
[data-pub="moveonup"] { --pub-c: var(--pub-moveonup); }
[data-pub="guardian"] { --pub-c: var(--pub-guardian); }
[data-pub="insider"] { --pub-c: var(--pub-insider); }
[data-pub="substack"] { --pub-c: var(--pub-substack); }
[data-pub="wsn"] { --pub-c: var(--pub-wsn); }
[data-pub="glitter"] { --pub-c: var(--pub-glitter); }
[data-pub="hercampus"] { --pub-c: var(--pub-hercampus); }
[data-pub="vocal"] { --pub-c: var(--pub-vocal); }

/* ---------- three to start with: a gallery ---------- */
.gallery { position: relative; max-width: var(--wrap-wide); margin-inline: auto; }
.gallery-track { list-style: none; margin: 0; padding: 0 var(--gutter); display: flex; gap: var(--s4); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.gallery-track::-webkit-scrollbar { display: none; }
.sleeve { flex: 0 0 min(84vw, 26rem); scroll-snap-align: start; display: flex; }
.sleeve-link { padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem); gap: var(--s3); height: 100%; min-height: 24rem; width: 100%; }
.sleeve-kind { color: var(--fg-2); }
.sleeve-outlet { font-family: var(--serif); font-size: var(--t-h3); line-height: 1.05; font-weight: 400; letter-spacing: -.02em; margin: var(--s3) 0 var(--s4); text-wrap: balance; color: var(--fg); }
@supports (background: color-mix(in srgb, red, blue)) and ((-webkit-background-clip: text) or (background-clip: text)) {
  .sleeve-outlet { background: linear-gradient(135deg, var(--fg), color-mix(in srgb, var(--fg) 55%, var(--pub-c, var(--fg)))); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.sleeve-title { font-family: var(--serif); font-size: var(--t-tile); line-height: 1.25; font-weight: 400; letter-spacing: 0; text-wrap: pretty; }
.sleeve-note { font-family: var(--sans); font-size: var(--t-body-reduced); line-height: 1.5; letter-spacing: 0; color: var(--fg-2); margin-top: var(--s1); }
.sleeve-cta { margin-top: auto; padding-top: var(--s4); }
.gallery-nav { display: flex; justify-content: flex-end; gap: var(--s3); padding: var(--s5) var(--gutter) 0; }
.gallery-nav[hidden] { display: none; }
.paddle { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--bg-alt); color: var(--fg); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .2s, opacity .2s, transform .2s var(--ease); }
.section-alt .paddle { background: var(--bg); }
.paddle .chev { width: 9px; height: 14px; }
.paddle:hover { background: var(--rule); }
.paddle:active { transform: scale(.94); }
.paddle[disabled] { opacity: .3; cursor: default; }
@media (min-width: 900px) {
  .gallery-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); overflow: visible; padding-inline: var(--gutter); }
  .sleeve { flex: none; }
  .gallery-nav { display: none; }
}

/* ---------- clips ---------- */
.filters { display: grid; gap: var(--s4); margin-bottom: var(--s6); align-items: center; }
@media (min-width: 735px) { .filters { grid-template-columns: minmax(0, 1fr) auto; } }
.chips-wrap { position: relative; min-width: 0; }
.chips { border: 0; margin: 0 -6px; padding: 6px; min-width: 0; display: flex; gap: var(--s2); overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); }
.chips::-webkit-scrollbar { display: none; }
.chips label { position: relative; flex: 0 0 auto; scroll-snap-align: start; min-height: 40px; display: inline-flex; align-items: center; gap: .45em; padding: 0 1rem; border-radius: 980px; font-family: var(--sans); font-size: var(--t-body-reduced); letter-spacing: 0; font-weight: 500; cursor: pointer; background: var(--fill); color: var(--fg); white-space: nowrap; transition: background-color .3s var(--ease-std), color .3s var(--ease-std), transform .3s var(--ease); }
.chips input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chips label:hover { background: var(--rule-soft); }
.chips label:active { transform: scale(.97); }
.chips label:has(input:checked) { background: var(--fg); color: var(--bg); }
.chips label:has(input:focus-visible) { outline: 4px solid var(--focus); outline-offset: 1px; }
.chips label:last-child { margin-right: 32px; }
.outlet-filter { display: block; }
.select { position: relative; display: inline-block; }
.select::after { content: ""; position: absolute; right: 14px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--fg-2); border-bottom: 1.5px solid var(--fg-2); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
select { appearance: none; -webkit-appearance: none; font: inherit; font-family: var(--sans); font-size: var(--t-body-reduced); letter-spacing: 0; min-height: 40px; padding: 0 2.4rem 0 1rem; border: 0; border-radius: 980px; background: var(--fill); color: var(--fg); max-width: 100%; cursor: pointer; transition: background-color .3s var(--ease-std); }
select:hover { background: var(--rule-soft); }
.clips { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-soft); }
.clip { position: relative; display: grid; gap: var(--s1) var(--s5); padding: var(--s3) var(--s4); margin-inline: calc(-1 * var(--s4)); border-bottom: 1px solid var(--rule-soft); border-radius: 0; content-visibility: auto; contain-intrinsic-size: auto 100px; transition: background-color .3s var(--ease-std); }
.clip[data-row-link] { cursor: pointer; }
.clip:hover { background: var(--fill); }
/* On the gray band the softest hairline disappears, so the rows take the next one up. */
.section-alt .clips, .section-alt .clip { border-color: var(--rule); }
@media (min-width: 735px) {
  .clip { grid-template-columns: 11rem minmax(0, 1fr) 1.5rem; }
  .clip-head { grid-row: 1 / span 4; flex-direction: column; align-items: flex-start !important; padding-top: .35em; }
  .clip-title, .clip-meta, .clip-note { grid-column: 2; }
  .clip-chevron { grid-column: 3; grid-row: 1 / span 4; align-self: center; }
}
.clip-head { margin: 0; display: flex; flex-wrap: wrap; gap: .4em .8em; align-items: center; }
.clip-date { font-family: var(--mono); font-size: var(--t-caption); letter-spacing: 0; color: var(--fg-2); }
.pin { font-family: var(--sans); font-size: var(--t-caption); letter-spacing: .06em; text-transform: uppercase; color: var(--link); font-weight: 600; }
.clip-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.3; letter-spacing: 0; text-wrap: pretty; }
.clip-title a { color: var(--fg); text-decoration: none; }
.clip-title a:hover { text-decoration: underline; text-underline-offset: .12em; }
.clip-meta { margin: 0; font-family: var(--sans); font-size: var(--t-body-reduced); letter-spacing: 0; color: var(--fg-2); }
.clip-chevron { display: none; color: var(--fg-3); opacity: 0; transform: translateX(-6px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.clip:hover .clip-chevron, .clip:focus-within .clip-chevron { opacity: 1; transform: none; }
@media (min-width: 735px) { .clip-chevron { display: inline-flex; } }
.clip-note { font-family: var(--sans); font-size: var(--t-body-reduced); letter-spacing: 0; color: var(--fg-2); margin-top: var(--s1); }
.clip-note summary { cursor: pointer; color: var(--link); font-weight: 400; width: max-content; min-height: 24px; display: inline-flex; align-items: center; gap: .4em; list-style: none; }
.clip-note summary::-webkit-details-marker { display: none; }
.clip-note summary::before { content: "+"; display: inline-block; width: 1em; text-align: center; font-weight: 400; transition: transform .35s var(--ease); }
.clip-note[open] summary::before { transform: rotate(45deg); }
.clip-note p { margin: .35rem 0 0; max-width: 60ch; line-height: 1.42859; color: var(--fg); }
.show-all { margin: var(--s6) 0 0; text-align: center; }
.archives { margin: var(--s6) auto 0; max-width: 70ch; text-align: center; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }

/* Disclosures animate open where the browser can interpolate to auto. */
details::details-content { height: 0; overflow: clip; transition: height .45s var(--ease), content-visibility .45s allow-discrete; }
details[open]::details-content { height: auto; }

/* ---------- timeline ---------- */
.story-grid { display: grid; gap: var(--s6); align-items: start; }
@media (min-width: 1069px) { .story-grid { grid-template-columns: minmax(0, 1fr) 22rem; gap: var(--s7); } }
.entries { list-style: none; margin: 0; padding: 0 0 0 var(--s6); position: relative; }
.entries::before { content: ""; position: absolute; left: 5px; top: .6em; bottom: 0; width: 1px; background: var(--rule); transform-origin: top; }
.entry { position: relative; padding: 0 0 clamp(2rem, 1.5rem + 2vw, 3rem); }
.entry::before { content: ""; position: absolute; left: calc(-1 * var(--s6)); top: .55em; width: 11px; height: 11px; border-radius: 50%; background: var(--fg); box-shadow: 0 0 0 4px var(--bg); }
.place { font-family: var(--serif); font-size: var(--t-h3); line-height: 1.1; font-weight: 400; letter-spacing: -.01em; margin: 0 0 .35em; color: var(--fg); }
/* Each entry is a paragraph of her own, so it is set a step under the intro size for a longer line. */
.entry-text { margin: 0; font-family: var(--serif); font-size: clamp(1.0625rem, 1.02rem + .2vw, 1.1875rem); line-height: 1.5; letter-spacing: 0; color: var(--fg-2); max-width: 36em; text-wrap: pretty; }
.src { margin-left: .05em; }
.src a { font-family: var(--sans); font-size: .62em; font-weight: 600; line-height: 1; text-decoration: none; color: var(--link); padding: .25em .35em; border-radius: 4px; transition: background-color .2s; }
.src a:hover, .src a:focus-visible { background: var(--hl); }
.entry-open::before { background: var(--bg); border: 1.5px dashed var(--fg-3); }
.sources { align-self: start; padding: 1.25rem var(--s5); }
/* The rail follows the reader and never scrolls inside itself. Where it fits the window it is pinned
   under the masthead; where it is taller than the window it scrolls with the page until its foot
   comes into view and is pinned by that instead. main.js keeps --rail-h at the rail's height, and sets
   --rail-top for a moment when a lit source would otherwise sit under the masthead. Without script
   the rail is not pinned at all. */
@media (min-width: 1069px) {
  html:not(.no-js) .sources { position: sticky; top: var(--rail-top, min(calc(var(--nav-h) + var(--s4)), calc(100vh - var(--rail-h, 0px) - var(--s4)))); }
  .src-head { justify-content: space-between; }
}
@media (min-width: 1069px) and (prefers-reduced-motion: no-preference) { html:not(.no-js) .sources { transition: top .3s var(--ease-std); } }
.sources .label { margin: 0 0 var(--s3); }
.sources-list { list-style: none; margin: 0; padding: 0; font-family: var(--sans); font-size: var(--t-body-reduced); letter-spacing: 0; line-height: 1.4; }
.source { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: .05rem .25rem; padding: .35rem .5rem; margin: 0 -.5rem; border-top: 1px solid var(--rule-soft); border-radius: 8px; scroll-margin-top: calc(var(--nav-h) + var(--s4)); transition: background-color .25s var(--ease-std); }
.source:first-child { border-top: 0; }
.source > * { min-width: 0; }
.src-n { font-family: var(--mono); color: var(--fg-3); grid-row: 1 / span 2; font-variant-numeric: tabular-nums; }
/* Who, then when (or what): side by side, and in the rail at opposite ends of the line. The second
   drops under a name too long to share the line. */
.src-head { grid-column: 2; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .6rem; }
.src-who, .src-date, .src-what { white-space: nowrap; }
.src-date { font-family: var(--mono); color: var(--fg-3); font-size: var(--t-caption); }
.src-what { color: var(--fg-2); }
.src-detail { color: var(--fg-2); display: block; grid-column: 2; }
/* In the rail, with a pointer, a headline takes one line; it opens in full when its source is lit from
   a footnote, pointed at, focused or jumped to. Elsewhere (stacked, touch, print) it is always in full. */
@media screen and (min-width: 1069px) and (hover: hover) {
  .src-detail { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .source.is-lit .src-detail, .source.is-cur .src-detail, .source:hover .src-detail, .source:focus-within .src-detail, .source:target .src-detail { white-space: normal; }
}
.source.is-lit, .source.is-cur, .source:target { background: var(--hl); }
.pull { margin: clamp(3rem, 2rem + 5vw, 7rem) auto 0; padding: 0; max-width: 24ch; text-align: center; }
.pull-text { font-family: var(--serif); font-size: var(--t-h2); line-height: 1.12; letter-spacing: -.01em; font-weight: 400; margin: 0 0 .5em; text-wrap: balance; }
.pull cite { font-style: normal; font-family: var(--sans); font-size: var(--t-body-reduced); letter-spacing: 0; color: var(--fg-2); }
.pull cite a { color: inherit; }
/* Words light up as the sentence scrolls in (scroll-driven where supported, triggered elsewhere). */
.w { display: inline-block; color: var(--fg-3); }

/* ---------- newsletter ---------- */
.nl-name { margin-bottom: .3em; }
/* “love, liz” in its gradient is always italic, as she signs it: in the intro, the newsletter's name,
   Datelines, the sign-off and the résumé. Only the small capital outlet labels keep it upright. */
.gradient-text { display: inline-block; padding-inline: .05em; color: #bf5af2; font-style: italic; }
.outlet .gradient-text { font-style: normal; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .gradient-text { background: linear-gradient(90deg, #ff375f, #bf5af2 50%, #0a84ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.posts { list-style: none; margin: 0 0 var(--s5); padding: var(--s2) var(--s5); }
.posts li + li { border-top: 1px solid var(--rule-soft); }
.posts a { display: grid; grid-template-columns: minmax(0, 1fr) auto 10px; align-items: center; gap: var(--s4); padding: var(--s4) 0; color: var(--fg); text-decoration: none; }
.posts a:hover { text-decoration: none; }
.posts a:hover .post-title { text-decoration: underline; text-underline-offset: .12em; }
.post-title { font-family: var(--serif); font-size: var(--t-eyebrow); font-weight: 400; letter-spacing: 0; line-height: 1.3; text-wrap: pretty; }
.post-date { font-family: var(--mono); font-size: var(--t-caption); color: var(--fg-2); letter-spacing: 0; white-space: nowrap; }
.posts .chev { color: var(--fg-3); width: 8px; height: 13px; transition: transform .3s var(--ease); }
.posts a:hover .chev { transform: translateX(3px); color: var(--link); }
@media (max-width: 479px) { .posts a { grid-template-columns: minmax(0, 1fr) 10px; } .post-date { grid-column: 1; grid-row: 2; } }

/* ---------- contact ---------- */
.email-big { margin: 0 0 var(--s5); }
.email-big a { font-family: var(--serif); font-size: var(--t-intro-elevated); line-height: 1.14; letter-spacing: -.01em; color: var(--link); text-decoration: none; overflow-wrap: anywhere; }
.email-big a:hover { text-decoration: underline; }
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); font-family: var(--sans); font-size: var(--t-body-reduced); letter-spacing: 0; }
.social a { color: var(--fg); display: inline-block; padding: .3rem 0; }
/* Icon buttons: a 44px circle, the mark inside, the label as a tooltip and for assistive tech. */
.social-icons { gap: var(--s3); }
.social-icons a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; color: var(--fg); background: var(--fill); text-decoration: none; transition: background-color .25s var(--ease-std), color .25s, transform .3s var(--ease); }
.social-icons a:hover { background: var(--fg); color: var(--bg); transform: translateY(-2px); }
.social-icons a:active { transform: scale(.95); }
.social-icons .icon { width: 20px; height: 20px; display: block; }
.social-contact { justify-content: center; }
.form { display: grid; gap: var(--s4); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); }
.field-row { display: grid; gap: var(--s4); }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { position: relative; display: block; }
.field input, .field textarea { font: inherit; font-family: var(--sans); font-size: var(--t-body); letter-spacing: 0; width: 100%; min-height: 56px; padding: 26px 16px 9px; border: 1px solid var(--fg-3); border-radius: var(--radius-sm); background: var(--bg); color: var(--fg); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 10rem; resize: vertical; padding-top: 28px; line-height: 1.42859; }
.field input:hover, .field textarea:hover { border-color: var(--fg-2); }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px var(--focus); }
.field label { position: absolute; left: 17px; top: 18px; color: var(--fg-2); font-family: var(--sans); font-size: var(--t-body); letter-spacing: 0; line-height: 1.2; pointer-events: none; transform-origin: left top; transition: transform .2s var(--ease), color .2s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.7); }
.field input:focus + label, .field textarea:focus + label { color: var(--accent); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #e30000; }
.field.is-invalid label { color: #e30000; }
.field-count { position: absolute; right: 14px; bottom: 10px; color: var(--fg-3); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); margin: var(--s2) 0 0; }
.form-status { font-family: var(--sans); font-size: var(--t-body-reduced); letter-spacing: 0; color: var(--fg-2); }
.form-status.is-error { color: #e30000; }
.form-fallback { margin: 0; }
/* Notices for the no-JavaScript form path: the function redirects to #sent-ok or #sent-fail. */
.notice { display: none; font-family: var(--sans); font-size: var(--t-body-reduced); margin: 0 0 var(--s4); padding: var(--s3) var(--s4); border: 1px solid var(--rule); border-radius: var(--radius-sm); background: var(--bg-tile); scroll-margin-top: calc(var(--nav-h) + var(--s5)); }
.notice:target { display: block; }
.notice[hidden] { display: none; }
.signoff { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: var(--t-h3); line-height: 1.1; margin: var(--s7) 0 0; letter-spacing: -.01em; text-align: center; color: var(--fg); }
/* The postscript: the page signs off like a letter, then adds what she does off the clock. Each line
   leads with a small mark in one of the three colors of the sign-off's gradient; the mark moves under
   the pointer (the plane leaves and comes back, the bars play, the steam rises), and once on arrival
   on a touch screen. The lines are text, not links. */
.ps { margin: var(--s4) auto 0; max-width: 36em; text-align: center; font-family: var(--serif); font-size: var(--t-intro); line-height: 1.75; letter-spacing: 0; color: var(--fg); }
.ps-label { font-style: italic; color: var(--fg-2); margin-right: .35em; }
.ps-item { display: inline-block; max-width: 100%; margin-inline: .4em; cursor: default; }
.ps-mark { display: inline-block; width: 1.05em; height: 1.05em; margin-right: .4em; vertical-align: -.16em; fill: currentColor; overflow: hidden; }
.ps-plane { color: #ff375f; }
.ps-bars { color: #bf5af2; }
.ps-cup { color: #0a84ff; }
.ps-bar { transform-box: fill-box; transform-origin: 50% 100%; }
.ps-steam, .ps-line { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- colophon ---------- */
.colophon { background: var(--bg-alt); border-top: 1px solid var(--rule-soft); padding: var(--s6) 0; font-family: var(--sans); font-size: var(--t-body-reduced); letter-spacing: 0; color: var(--fg-2); }
.colophon-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s4) var(--s5); }
.colophon-legal { margin: 0; display: flex; align-items: center; justify-content: center; gap: var(--s3); white-space: nowrap; }
.colophon-legal a { color: var(--fg-2); }
.colophon-legal a:hover { color: var(--fg); }
.colophon-sep { color: var(--rule); }
.colophon-id { margin: 0; }
.colophon-id a { color: var(--fg-2); }
.colophon-id a:hover { color: var(--fg); }
.social-footer { justify-self: end; justify-content: flex-end; gap: var(--s1); }
.social-footer a { width: 40px; height: 40px; background: transparent; color: var(--fg-2); }
.social-footer a:hover { background: var(--bg); color: var(--fg); }
@media (max-width: 734px) {
  .colophon-row { grid-template-columns: 1fr auto; }
  .colophon-legal { grid-column: 1 / -1; order: 1; }
}
@media (max-width: 479px) {
  .colophon-row { grid-template-columns: 1fr; justify-items: start; }
  .social-footer { justify-self: start; justify-content: flex-start; }
  .colophon-legal { justify-self: center; }
}

/* ---------- the logo row: where she's worked ---------- */
/* Each logo file is used as a mask over the text color, so every mark is one gray, whatever color it
   was published in, and follows the theme. The marks are not links. Under the pointer each takes its
   brand color (--brand-l in the light theme, --brand-d in the dark one; a mark with neither turns to
   full ink) and its caption appears. The build gives each mark its proportions (--ar) and a width
   factor (--w, the square root of the proportions), so a long wordmark and a square mark cover about
   the same area. */
.logos-band { padding-block: clamp(3rem, 2.25rem + 3.2vw, 5rem) clamp(3.75rem, 3rem + 3.2vw, 5.75rem); }
.logos-wrap { max-width: 72rem; }
.logos-label { text-align: center; margin: 0 0 clamp(1.75rem, 1.25rem + 2vw, 2.75rem); }
.logos { --logo-k: clamp(46px, 39px + 1.9vw, 60px); --logo-row: clamp(2.75rem, 2.25rem + 2vw, 3.5rem); list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--logo-row) clamp(1.75rem, .9rem + 3.6vw, 3.75rem); }
.logo { display: flex; max-width: 100%; }
.logo-break { display: none; }
/* Two even rows where there is room for them. The break is an empty line, so it gives back the gap it adds. */
@media (min-width: 1069px) { .logo-break { display: block; flex-basis: 100%; height: 0; margin-top: calc(-1 * var(--logo-row)); } }
.logo-box { position: relative; display: flex; align-items: center; justify-content: center; min-height: 44px; max-width: 100%; color: var(--fg-2); cursor: default; transition: color .35s var(--ease-std), transform .45s var(--ease); }
.logo-box:hover { color: var(--brand-l, var(--fg)); transform: translateY(-2px); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-box:hover { color: var(--brand-d, var(--brand-l, var(--fg))); } }
:root[data-theme="dark"] .logo-box:hover { color: var(--brand-d, var(--brand-l, var(--fg))); }
.logo-mark { display: block; width: calc(var(--logo-k) * var(--w)); max-width: 100%; aspect-ratio: var(--ar); background: currentColor; -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
/* A company without a logo file: its name, set in type. */
.logo-type { font-family: var(--sans); font-size: calc(var(--logo-k) * .37); font-weight: 700; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.logo-cap { position: absolute; left: 50%; top: calc(100% + 1px); width: max-content; max-width: 14rem; font-family: var(--sans); font-size: var(--t-caption); line-height: 1.33337; letter-spacing: 0; text-align: center; color: var(--fg-2); opacity: 0; transform: translate(-50%, -4px); pointer-events: none; transition: opacity .3s var(--ease-std), transform .45s var(--ease); }
.logo-name { display: block; color: var(--fg); font-weight: 600; }
.logo-when { display: block; }
.logo-cap-typed .logo-name { display: none; }
.logo-box:hover .logo-cap { opacity: 1; transform: translate(-50%, 0); }
/* Without masks there is nothing to draw the marks with: show the names instead. */
@supports not ((mask-image: none) or (-webkit-mask-image: none)) {
  .logo-mark { display: none; }
  .logo-cap { position: static; width: auto; opacity: 1; transform: none; }
}

/* ---------- terms and disclaimer ---------- */
.legal-page { padding-block: clamp(3rem, 2rem + 4vw, 5rem) var(--section-y); }
.legal-head { margin-bottom: var(--s6); }
.legal-head .deck { color: var(--fg-2); }
.legal-section { padding: var(--s5) 0; border-top: 1px solid var(--rule-soft); }
.legal-section .h3 { font-size: var(--t-tile); margin-bottom: .5em; }
.legal-section p { margin: 0 0 1em; max-width: 64ch; color: var(--fg); }
.legal-section p:last-child { margin-bottom: 0; }
.legal .small { margin-top: var(--s5); }

/* ---------- résumé ---------- */
.resume-page { padding-block: clamp(3rem, 2rem + 4vw, 5rem) var(--section-y); }
.resume-head { margin-bottom: var(--s6); }
.resume-head .deck { margin-bottom: var(--s3); color: var(--fg-2); }
.resume-head .eyebrow { color: var(--fg-2); }
.resume-links { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); font-family: var(--sans); font-size: var(--t-body); margin: 0 0 var(--s5); }
.resume-section { padding: var(--s5) 0 var(--s4); border-top: 1px solid var(--rule-soft); }
.resume-section > .label { margin-bottom: var(--s4); }
.role { display: grid; gap: var(--s1) var(--s5); padding: var(--s3) 0; }
@media (min-width: 735px) {
  .role { grid-template-columns: 10rem minmax(0, 1fr); }
  .role-dates { grid-column: 1; grid-row: 1 / span 2; }
  .role-title, .role-summary { grid-column: 2; }
}
.role-title { margin: 0; font-family: var(--serif); font-size: var(--t-tile); font-weight: 400; line-height: 1.3; letter-spacing: 0; }
.role-org a { color: var(--fg); }
.role-dates { margin: 0; font-family: var(--mono); font-size: var(--t-caption); letter-spacing: 0; color: var(--fg-2); padding-top: .4em; font-variant-numeric: tabular-nums; }
.role-summary { margin: 0; font-family: var(--sans); font-size: var(--t-body-reduced); line-height: 1.5; max-width: 64ch; color: var(--fg-2); }
.resume-list { padding-left: 1.2em; margin: 0; font-family: var(--sans); font-size: var(--t-body-reduced); line-height: 1.5; }
.resume-list li { margin-bottom: .5em; }
.resume-list strong { font-weight: 600; }
.skills { margin: 0; }
.skills div { display: grid; gap: var(--s1) var(--s5); padding: var(--s2) 0; }
@media (min-width: 735px) { .skills div { grid-template-columns: 10rem minmax(0, 1fr); } }
.skills dt { font-family: var(--sans); font-size: var(--t-caption); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: var(--fg-2); padding-top: .35em; }
.skills dd { margin: 0; font-family: var(--sans); font-size: var(--t-body-reduced); line-height: 1.5; }

/* ---------- motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes rise-sm { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes drawY { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 113, 227, .45); } 70% { box-shadow: 0 0 0 9px rgba(0, 113, 227, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 113, 227, 0); } }
@keyframes hero-out { to { opacity: 0; transform: translateY(-48px) scale(.96); } }
@keyframes portrait-drift { to { transform: translateY(-40px); } }
@keyframes ink { to { color: var(--fg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }
@keyframes sheen { from { transform: translateX(-120%); } to { transform: translateX(120%); } }
@keyframes press-ring { from { box-shadow: 0 2px 4px rgba(0, 0, 0, .08), 0 0 0 0 rgba(0, 113, 227, .45); } to { box-shadow: 0 2px 4px rgba(0, 0, 0, .08), 0 0 0 18px rgba(0, 113, 227, 0); } }
@keyframes ripple { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.6); opacity: 0; } }
@keyframes typed { from { opacity: 0; } to { opacity: 1; } }
/* The hairlines of the title line arrive with the fact they introduce; the school's mark lands like a stamp.
   Both park their end state before the last frame, so a delayed run cannot stall a hair short of it. */
@keyframes rule-in { from { border-left-color: transparent; } 90%, to { border-left-color: var(--rule); } }
@keyframes photo-in { from { opacity: 0; transform: scale(.7); } 90%, to { opacity: 1; transform: none; } }
@keyframes stamp { from { transform: scale(.3) rotate(-14deg); } 90%, to { transform: none; } }
/* Linear, not stepped: a stepped wipe can stall one step short of its end and clip the last glyph. The
   end state leaves slack on every side for italic overhangs. */
@keyframes wipe { from { clip-path: inset(-.2em 100% -.2em -.1em); } to { clip-path: inset(-.2em -.3em -.2em -.1em); } }
@keyframes caret-pass { 0%, 90%, 100% { opacity: 0; } 2%, 88% { opacity: 1; } }
/* Postscript marks. Each ends where it started, with the end state parked before 100%. */
@keyframes ps-fly { 0% { transform: none; animation-timing-function: cubic-bezier(.5, 0, .9, .5); } 38% { transform: translate(22px, -22px); } 38.01% { transform: translate(-22px, 22px); animation-timing-function: cubic-bezier(.1, .5, .3, 1); } 88%, 100% { transform: none; } }
@keyframes ps-play { 0%, 100% { transform: none; } 50% { transform: scaleY(.35); } }
@keyframes ps-steam { 0% { opacity: 1; transform: none; } 42% { opacity: 0; transform: translateY(-3px); } 42.01% { opacity: 0; transform: translateY(2.5px); } 90%, 100% { opacity: 1; transform: none; } }
@keyframes caret-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes tz-swap { 0% { opacity: 1; transform: translateY(0); } 45% { opacity: 0; transform: translateY(-.5em); } 55% { opacity: 0; transform: translateY(.5em); } 100% { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  .live-dot { animation: pulse 2s var(--ease-std) infinite; }
  .live-dot::before { animation: ripple 2s var(--ease-std) infinite; }
  /* Entrances on load: the hero and the résumé head stagger in. */
  .hero-inner > *, .resume-head > *, .legal-head > * { animation: rise .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms); }
  .hero-card { animation: rise 1s var(--ease) .3s both; }
  /* The name, eyebrow and deck are typed instead of risen; the buttons wait for the typing to end. */
  .hero-inner > .name, .hero-inner > .hero-eyebrow, .hero-inner > .hero-deck { animation: none; }
  .hero-inner > .hero-actions { animation-delay: calc(var(--type-start, 400ms) + var(--after, 0ms)); }
  /* A 30 ms linear fade rather than a 1 ms step: a stepped keyframe can land a hair short of its end and stay invisible. */
  .hero .c { opacity: 0; animation: typed 30ms linear both; animation-delay: calc(var(--type-start, 400ms) + var(--t, 0ms)); }
  .hero .c::after { animation: caret-pass var(--d, 16ms) linear both; animation-delay: calc(var(--type-start, 400ms) + var(--t, 0ms)); }
  .hero .eb-seg + .eb-seg { animation: rule-in 60ms linear both; animation-delay: calc(var(--type-start, 400ms) + var(--t, 0ms)); }
  .hero .alma-mark { animation: stamp .55s var(--spring) both; animation-delay: calc(var(--type-start, 400ms) + var(--t, 0ms)); }
  .hero-photo { animation: photo-in .6s var(--ease) both; animation-delay: calc(var(--type-start, 400ms) + var(--t, 0ms)); }
  .hero .gradient-text .c { opacity: 1; animation: none; }
  .hero .gradient-text { animation: wipe calc(var(--len, 9) * 10ms) linear both; animation-delay: calc(var(--type-start, 400ms) + var(--t, 0ms)); }
  .hero .caret { animation: caret-blink 1s step-end 4; animation-delay: calc(var(--type-start, 400ms) + var(--t, 0ms)); }
  .latest-item { animation: rise-sm .8s var(--ease) both; animation-delay: calc(650ms + var(--i, 0) * 130ms); }
  /* Triggered reveals. html.io is set before first paint when IntersectionObserver exists; main.js adds
     .in as things scroll into view. If main.js never runs, the safety animation shows everything anyway. */
  html.io .reveal { opacity: 0; transform: translateY(24px); animation: rise .8s var(--ease) 2.5s both; }
  html.io.io-live .reveal { animation: none; }
  html.io .reveal.in { animation: rise .8s var(--ease) both; animation-delay: calc(min(var(--i, 0), 8) * 70ms); }
  @media (hover: hover) {
    .ps-item:hover .ps-fly { animation: ps-fly 1.1s linear; }
    .ps-item:hover .ps-bar { animation: ps-play .9s var(--ease-std) infinite; animation-delay: calc(var(--b, 0) * -.31s); }
    .ps-item:hover .ps-steam { animation: ps-steam 1.6s var(--ease-std) infinite; animation-delay: calc(var(--b, 0) * .45s); }
  }
  @media (hover: none) {
    html.io .ps.in .ps-fly { animation: ps-fly 1.1s linear .7s; }
    html.io .ps.in .ps-bar { animation: ps-play .9s var(--ease-std) 3; animation-delay: calc(1.5s + var(--b, 0) * .12s); }
    html.io .ps.in .ps-steam { animation: ps-steam 1.6s var(--ease-std) 2; animation-delay: calc(3.4s + var(--b, 0) * .45s); }
  }
  html.io .entries::before { transform: scaleY(0); }
  html.io .entries.in::before { animation: drawY 1.6s var(--ease) both; }
  /* Words: triggered fallback. */
  html.io .w { transition: color .6s var(--ease-std); transition-delay: calc(var(--i, 0) * 90ms); }
  html.io .in .w, html.io .in.w { color: var(--fg); }
  /* Scroll-driven layers where the browser has them: the hero recedes as you scroll,
     the timeline draws itself, and the words of a pulled line light up one by one. */
  @supports (animation-timeline: view()) {
    html:not(.no-js) .hero-inner { animation: hero-out linear both; animation-timeline: scroll(root); animation-range: 0 80vh; }
    html:not(.no-js) .hero-card { animation: portrait-drift linear both; animation-timeline: scroll(root); animation-range: 0 120vh; }
    html.io .entries::before, html.io .entries.in::before { animation: drawY linear both; animation-timeline: view(); animation-range: cover 0% cover 70%; }
    html.io .pull, html.io .words { view-timeline: --words block; }
    html.io .pull .w, html.io .words .w { transition: none; color: var(--fg-3); animation: ink linear both; animation-timeline: --words; animation-range: entry calc(40% + var(--i, 0) * (45% / var(--n, 4))) entry calc(70% + var(--i, 0) * (45% / var(--n, 4))); }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .hero-inner, .hero-card, .ch, .hero .c, .latest-item, .alma-mark, .hero-photo { opacity: 1; transform: none; filter: none; }
  .hero .caret, .hero .c::after, .live-dot::before, .btn-hero::before, .btn-hero::after { display: none; }
  .hero .gradient-text { clip-path: none; }
  [data-tilt] { transform: none; }
  .latest::after { display: none; }
  .w { color: var(--fg); }
}

/* ---------- print ---------- */
@media print {
  @page { size: auto; margin: .6in; }
  html:root:not(.print-never) { color-scheme: light; --bg: #fff; --bg-alt: #fff; --bg-tile: #fff; --fg: #000; --fg-2: #444; --fg-3: #666; --link: #000; --rule: #bbb; --rule-soft: #ccc; --hl: transparent; }
  html { font-size: 13px; }
  .masthead, .theme, .no-print, .colophon, .skip, .social-icons, .hero-actions, .chips, .outlet-filter, .show-all, .form, .signoff, .ps, .notice, .gallery-nav, .clip-chevron { display: none !important; }
  .reveal, .hero-inner, .hero-inner > *, .resume-head > *, .legal-head > *, .hero-card, .entries::before, .w, .ch, .hero .c, .latest-item, .hero-photo, [data-tilt] { animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; color: inherit; }
  .hero .caret, .hero .c::after, .live-dot::before, .alma-tip { display: none; }
  .eb-seg + .eb-seg, .alma-mark { animation: none !important; }
  .alma, .logo-box { color: #000; }
  .logos-band { break-inside: avoid; }
  .logo-cap { display: none; }
  .latest::after { display: none; }
  .clip { content-visibility: visible; }
  .tile { border: 1px solid #ccc; }
  body { background: #fff; color: #000; font-size: 10.5pt; font-family: var(--sans); }
  a { color: #000; text-decoration: none; }
  .resume-links a[data-short]::after { content: " (" attr(data-short) ")"; font-size: 9pt; }
  .role, .clip, .skills div, .resume-list li { break-inside: avoid; }
  .resume-section > .label { break-after: avoid; }
  .role, .skills div { grid-template-columns: 9rem minmax(0, 1fr); }
  .role-dates { grid-column: 1; grid-row: 1 / span 2; }
  .role-title, .role-summary { grid-column: 2; }
  .wrap { padding: 0; max-width: none; }
  .h1 { font-size: 20pt; margin: 0 0 .2em; }
  .deck { font-size: 12pt; }
  .resume-section { padding: .5em 0; }
  .role { padding: .3em 0; }
  .resume-page { padding: 0; }
}
