/* Monica Elaina Kingsley, personal site. Light only by design.
   One colour mix at a time (data-signal on <html>): a main colour for buttons and links, plus two livelier companions for tiles and highlights.
   Radius system: 10px (chips, inputs), 18px (panels), 28px (big tiles and cards), 999px (buttons, pills). */

@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: light;
  /* colour mix: Fruit punch (default) */
  --bg: #FFF8F2; --ink: #1B1530; --mut: #4D4560; --line: #E6DCD3;
  --a: #6D3BF2; --a2: #FF5A4E; --a3: #FFC83D; --soft: #EFE7FF; --on2: #1B1530;
  /* names the rest of the stylesheet uses */
  --paper: var(--bg);
  --paper-2: var(--soft);
  --surface: #FFFFFF;
  --ink-2: var(--mut);
  --muted: var(--mut);
  --line-2: color-mix(in srgb, var(--line) 62%, var(--ink));
  --signal: var(--a);
  --signal-ink: color-mix(in srgb, var(--a) 76%, #000);
  --signal-wash: var(--soft);
  --signal-mid: color-mix(in srgb, var(--a) 38%, var(--bg));
  --on-signal: #FFFFFF;
  --r-s: 10px;
  --r-m: 18px;
  --r-l: 28px;
  --r-pill: 999px;
  --font-display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(20px, 4vw, 56px);
  --wrap: 1360px;
  --nav-h: 76px;
  --shadow: 0 1px 0 rgba(27, 21, 48, 0.03), 0 14px 32px -24px rgba(60, 40, 110, 0.28);
}
[data-signal="lagoon"] { --bg: #F3FBF9; --ink: #0D2A33; --mut: #41606A; --line: #CFE6E1; --a: #00806E; --a2: #FF4F9A; --a3: #FFB703; --soft: #D8F3EC; --on2: #0D2A33; }
[data-signal="electric"] { --bg: #F6F8FF; --ink: #0A0F2C; --mut: #464C6B; --line: #D9DFF5; --a: #2F54EB; --a2: #00D1B2; --a3: #FF7A59; --soft: #E4E9FF; --on2: #0A0F2C; }
[data-signal="orchard"] { --bg: #F7FAF1; --ink: #14240F; --mut: #4B5E44; --line: #DCE8CF; --a: #1B7F37; --a2: #D6246E; --a3: #FFB000; --soft: #E3F3D6; --on2: #FFFFFF; }
[data-signal="neon"] { --bg: #F5F5F7; --ink: #111114; --mut: #55555F; --line: #DEDEE4; --a: #5B3DF5; --a2: #B6F23A; --a3: #FF5CA8; --soft: #E8E4FF; --on2: #111114; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.6; font-feature-settings: "ss01", "cv11"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
::selection { background: var(--a3); color: #1B1530; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { display: block; }
img, canvas { max-width: 100%; }
:focus-visible { outline: 3px solid var(--a); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-pill); transition: top 0.2s var(--ease); }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ---------- type ---------- */
.eyebrow { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mut); font-weight: 500; }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--mut); max-width: 58ch; line-height: 1.55; }
h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 6vw, 88px); line-height: 0.96; letter-spacing: -0.04em; text-wrap: balance; }
h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 26px; border-radius: var(--r-pill); font-weight: 600; font-size: 16px; line-height: 1; white-space: nowrap; border: 2px solid transparent; transition: background-color 0.2s, border-color 0.2s, color 0.2s, filter 0.2s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--a); color: var(--on-signal); }
.btn-primary:hover { filter: brightness(0.88); }
.btn-ghost { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn:active { opacity: 0.9; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 0 32px; font-size: 18px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 40; height: var(--nav-h); background: var(--bg); border-bottom: 2px solid var(--line); }
.nav-in { height: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 800; font-size: 25px; letter-spacing: -0.03em; line-height: 1; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--a); color: #fff; font-size: 23px; font-weight: 800; flex: none; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r-pill); font-size: 15px; font-weight: 600; color: var(--ink); transition: background-color 0.2s; }
.nav-links a:hover, .nav-links a.is-here { background: var(--soft); }
.nav-end { display: flex; align-items: center; gap: 10px; }

/* ---------- layout ---------- */
main { display: block; }
.sec, .hero-in, .focus { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sec { padding-top: clamp(72px, 9vw, 140px); }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(28px, 3.6vw, 48px); }
.print-head { display: none; }

/* ---------- hero ---------- */
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); padding-top: clamp(48px, 8vw, 104px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero.has-photo .hero-in { grid-template-columns: minmax(0, 1fr) minmax(220px, 320px); align-items: end; }
.hero-copy { display: grid; gap: clamp(20px, 3vw, 28px); align-content: start; }
.headline { font-family: var(--font-display); font-weight: 800; font-size: clamp(46px, 9.4vw, 152px); line-height: 0.96; letter-spacing: -0.045em; display: grid; text-wrap: balance; }
.headline .line { display: block; }
.headline mark { background: linear-gradient(transparent 60%, var(--a3) 60%); color: inherit; padding: 0 0.06em; }
.headline .acc { color: var(--a); font-style: normal; }
.hero-row { display: flex; flex-wrap: wrap; gap: 28px 64px; align-items: flex-end; justify-content: space-between; margin-top: clamp(4px, 1.5vw, 16px); }
.hero-sub { font-size: clamp(19px, 2vw, 26px); line-height: 1.4; color: var(--mut); max-width: 44ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.glance { margin-top: 4px; }
.glance dl { display: flex; flex-wrap: wrap; gap: 14px 44px; }
.glance dt { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mut); margin-bottom: 2px; }
.glance dd { font-size: 16px; line-height: 1.45; color: var(--ink); max-width: 36ch; }
.hero-photo { width: 100%; max-width: 320px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-l); border: 2px solid var(--ink); justify-self: end; }

/* ---------- what I do: tiles of different sizes and colours ---------- */
.focus { padding-bottom: clamp(24px, 4vw, 48px); }
.wall { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.tile { grid-column: span 4; min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-l); transition: transform 0.25s var(--ease); }
.tile-1 { grid-column: span 7; min-height: 380px; }
.tile-2 { grid-column: span 5; min-height: 380px; }
.tile:hover { transform: translateY(-6px) rotate(-0.4deg); }
.tile-k { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.tile-t { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3vw, 42px); letter-spacing: -0.03em; line-height: 1.02; text-wrap: balance; }
.tile-1 .tile-t { font-size: clamp(34px, 4.6vw, 66px); letter-spacing: -0.035em; line-height: 1; }
.tile-2 .tile-t { font-size: clamp(30px, 3.6vw, 52px); letter-spacing: -0.035em; line-height: 1; }
.tile-b { font-size: 17px; line-height: 1.45; }
.tone-accent { background: var(--a); color: #fff; }
.tone-ink { background: var(--ink); color: #fff; }
.tone-ink .tile-k { color: var(--a3); }
.tone-sun { background: var(--a3); color: #1B1530; }
.tone-pop { background: var(--a2); color: var(--on2); }
.tone-paper { background: #fff; color: var(--ink); border: 2px solid var(--ink); }
.tone-paper .tile-k { color: var(--a); }
.tone-paper .tile-b { color: var(--mut); }

/* ---------- experience ---------- */
.th-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.th-chip { min-height: 44px; display: inline-flex; align-items: center; padding: 0 20px; border-radius: var(--r-pill); border: 2px solid var(--ink); font-weight: 600; font-size: 16px; transition: background-color 0.2s, color 0.2s; }
.th-chip:hover { background: var(--soft); }
.th-chip.is-on { background: var(--ink); color: var(--bg); }
.th-hint { font-family: var(--font-mono); font-size: 13.5px; color: var(--mut); margin-bottom: 22px; }
.exp-list { border-bottom: 2px solid var(--ink); }
.chapter { border-top: 2px solid var(--ink); transition: opacity 0.25s; scroll-margin-top: calc(var(--nav-h) + 8px); }
.chapter.is-dim { opacity: 0.28; }
.ch-sum { list-style: none; display: flex; align-items: center; gap: clamp(12px, 3vw, 36px); padding: 22px 0; cursor: pointer; flex-wrap: wrap; }
.ch-sum::-webkit-details-marker { display: none; }
.ch-chip { width: 16px; height: 16px; border-radius: 5px; flex: none; background: var(--a); }
.chapter:nth-child(3n+2) .ch-chip { background: var(--a2); }
.chapter:nth-child(3n) .ch-chip { background: var(--a3); }
.when { font-family: var(--font-mono); font-size: 14.5px; color: var(--mut); width: 150px; flex: none; }
.org-big { flex: 1 1 260px; font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 5.4vw, 76px); letter-spacing: -0.035em; line-height: 1; transition: color 0.2s; }
.ch-sum:hover .org-big { color: var(--a); }
.plus { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); flex: none; transition: transform 0.35s var(--ease), background-color 0.2s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.ch-d[open] .plus { transform: rotate(45deg); background: var(--soft); }
.ch-sum:focus-visible { outline-offset: 4px; border-radius: 10px; }
.more-close { display: none; }
.ch-d[open] .more-close { display: inline; }
.ch-d[open] .more-open { display: none; }
.ch-body { display: grid; gap: 14px; padding: 0 0 clamp(28px, 3.4vw, 44px); margin-left: calc(16px + 150px + clamp(24px, 6vw, 72px)); max-width: 880px; }
.role { font-weight: 650; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.3; }
.org { font-size: 17px; color: var(--mut); }
.org .place { margin-left: 10px; font-size: 15px; }
.sum { font-size: 18.5px; line-height: 1.55; max-width: 62ch; }
.bul { display: grid; gap: 14px; margin-top: 8px; max-width: 72ch; }
.bul li { position: relative; padding-left: 24px; font-size: 17px; line-height: 1.6; color: var(--mut); }
.bul li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 10px; border-radius: 3px; background: var(--a2); }
.hl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.hl-chips li { padding: 8px 14px; border-radius: var(--r-pill); background: var(--a3); color: #1B1530; font-size: 14.5px; line-height: 1.3; }
.hl-chips strong { font-weight: 700; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tags li { padding: 6px 12px; border-radius: var(--r-pill); background: var(--soft); font-family: var(--font-mono); font-size: 13px; color: var(--ink); }

/* ---------- skills ---------- */
.sk-grid { display: grid; grid-template-columns: minmax(230px, 300px) minmax(0, 1fr) minmax(240px, 330px); gap: clamp(24px, 3.5vw, 64px); align-items: start; }
.sk-tabs { display: grid; gap: 6px; }
.sk-tab { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; padding: 10px 18px; border-radius: var(--r-pill); border: 2px solid var(--ink); text-align: left; font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; transition: background-color 0.2s, color 0.2s; }
.sk-tab:hover { background: var(--soft); }
.sk-tab[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.sk-n { font-family: var(--font-mono); font-size: 12px; opacity: 0.75; }
.sk-ptitle { display: none; font-size: 22px; margin-bottom: 14px; }
.sk-panel + .sk-panel { margin-top: 28px; }
.js .sk-panel + .sk-panel { margin-top: 0; }
.js .sk-panel[hidden] { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: var(--r-s); border: 2px solid var(--line); background: var(--surface); font-weight: 600; font-size: 16px; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.chip.has-use { border-color: var(--line-2); }
.chip:hover { border-color: var(--a); }
.chip[aria-pressed="true"] { background: var(--a); border-color: var(--a); color: var(--on-signal); }
.chip:active { opacity: 0.9; }
.sk-used { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 14px; padding: 24px; border-radius: var(--r-l); background: var(--soft); min-height: 160px; align-content: start; }
.sk-used h3 { font-size: 22px; }
.sk-used .sk-used-empty { color: var(--mut); font-size: 15px; }
.sk-used ol { display: grid; gap: 6px; }
.sk-used a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: var(--r-m); background: #fff; font-weight: 600; font-size: 15px; transition: background-color 0.2s, color 0.2s; }
.sk-used a:hover { background: var(--a); color: #fff; }
.sk-used .yr { font-family: var(--font-mono); font-size: 12.5px; font-weight: 400; opacity: 0.8; }

/* ---------- education ---------- */
.edu-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 72px); }
.edu-list li { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 6px solid var(--a); }
.edu-list li:nth-child(2) { border-top-color: var(--a2); }
.edu-list li:nth-child(3) { border-top-color: var(--a3); }
.edu-years { font-family: var(--font-mono); font-size: 13px; color: var(--mut); }
.edu-list h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; }
.edu-school { color: var(--mut); font-size: 17px; }
.edu-note { font-family: var(--font-mono); font-size: 13px; color: var(--mut); }

/* ---------- contact ---------- */
.contact { padding-bottom: clamp(72px, 9vw, 130px); }
.contact-in { display: grid; gap: 18px; padding-top: clamp(32px, 4vw, 56px); border-top: 2px solid var(--ink); justify-items: start; }
.avail { font-family: var(--font-mono); font-size: 13.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mut); }
.contact-h { font-size: clamp(20px, 2vw, 28px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; max-width: 40ch; }
.mail-big { display: block; max-width: 100%; font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 7vw, 112px); letter-spacing: -0.045em; line-height: 1; color: var(--a); word-break: break-word; background: linear-gradient(transparent 88%, var(--a3) 88%); transition: filter 0.2s; }
.mail-big:hover { filter: brightness(0.85); }
.contact-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 10px; }
.mail-plain { font-family: var(--font-mono); font-size: 15px; }
/* social and web links: round icon buttons, outlined, filled with the main colour on hover */
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.soc { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--ink); color: var(--ink); background: transparent; cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.25s var(--ease); }
.soc svg { width: 22px; height: 22px; }
.soc:hover { background: var(--a); border-color: var(--a); color: #fff; transform: translateY(-2px); }
.soc:focus-visible { outline: 3px solid var(--a); outline-offset: 3px; }
.socials-contact { margin-top: 6px; }
.post-share { display: flex; flex-wrap: wrap; gap: 24px 56px; padding-top: 8px; }
.share-t { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mut); margin-bottom: 10px; }
/* CV download page */
.cvpage { max-width: 640px; margin: 0 auto; display: grid; gap: 28px; }
.cv-form { display: grid; gap: 18px; }
.cv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.cv-done { display: grid; gap: 14px; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-l); background: var(--a3); color: #1B1530; }
.cv-done h2 { font-size: clamp(28px, 4vw, 44px); }
.cv-done .muted { color: #1B1530; }
.muted { color: var(--mut); font-size: 14px; }

/* the name, very large, at the top of the page */
.signoff { max-width: var(--wrap); margin: 0 auto; padding: clamp(28px, 4.5vw, 64px) var(--gutter) 0; overflow: hidden; }
.signoff + .hero .hero-in { padding-top: clamp(28px, 4vw, 56px); }
.signoff-name { display: grid; font-family: var(--font-display); font-weight: 800; font-size: clamp(50px, 13.4vw, 214px); line-height: 0.9; letter-spacing: -0.045em; text-transform: uppercase; }
.so-line { display: block; width: fit-content; max-width: 100%; }
.so-b { color: var(--a); }
.so-c { background: linear-gradient(transparent 62%, var(--a3) 62%); }
.foot { max-width: var(--wrap); margin: 0 auto; padding: 28px var(--gutter) 44px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; border-top: 2px solid var(--ink); font-family: var(--font-mono); font-size: 13px; color: var(--mut); }
.ts { min-height: 0; }
.book-h { font-size: 18px; margin-top: 4px; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.about-text { display: grid; gap: 22px; max-width: 64ch; align-content: start; }
.about-lead { font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
.about-body { display: grid; gap: 16px; color: var(--mut); font-size: 18px; line-height: 1.65; }
.beyond { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(20px, 3vw, 48px); margin-top: clamp(36px, 5vw, 72px); }
.beyond li { padding-top: 18px; border-top: 6px solid var(--a2); display: grid; gap: 8px; align-content: start; }
.beyond li:nth-child(2n) { border-top-color: var(--a3); }
.beyond li:nth-child(3n) { border-top-color: var(--a); }
.beyond h3 { font-size: 22px; }
.beyond p { color: var(--mut); font-size: 16px; }

/* ---------- mentoring and coaching ---------- */
.coach-card { background: var(--a3); color: #1B1530; border-radius: var(--r-l); padding: clamp(24px, 4.5vw, 64px); }
.coach-card .lead, .coach-card .session p, .coach-card .session .meta, .coach-card .covers li { color: #1B1530; }
.coach-card .session { border-top: 3px solid #1B1530; }
.coach-card .covers li::before { background: #1B1530; }
.coach-card .sec-head h2 { font-size: clamp(34px, 5vw, 72px); }
.coach-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.sessions { display: grid; gap: 28px; }
.session { padding-top: 20px; border-top: 6px solid var(--a2); display: grid; gap: 8px; }
.session:nth-child(2n) { border-top-color: var(--a3); }
.session:nth-child(3n) { border-top-color: var(--a); }
.session h3 { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.1; }
.session .who { font-weight: 600; font-size: 16px; }
.session p { color: var(--ink); }
.session .meta { display: flex; gap: 18px; font-family: var(--font-mono); font-size: 13px; color: var(--mut); }
.covers { margin-top: 26px; display: grid; gap: 10px; }
.covers li { position: relative; padding-left: 24px; color: var(--ink); }
.covers li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 10px; border-radius: 3px; background: var(--a2); }
.aud-note { margin-top: 26px; padding: 14px 18px; border-radius: var(--r-m); background: #fff; font-size: 15px; color: var(--ink); }
.book { position: sticky; top: calc(var(--nav-h) + 24px); }
.book-panel { display: grid; gap: 24px; padding: clamp(22px, 2.6vw, 36px); border-radius: var(--r-l); background: var(--surface); box-shadow: var(--shadow); }
.book-step { display: grid; gap: 12px; }
.book-step h3 { font-size: 18px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px; border-radius: var(--r-pill); background: var(--soft); width: fit-content; max-width: 100%; }
.seg-btn { min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); font-size: 15px; font-weight: 600; color: var(--ink); transition: background-color 0.2s, color 0.2s; }
.seg-btn[aria-checked="true"] { background: var(--ink); color: #fff; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.day { flex: none; scroll-snap-align: start; display: grid; gap: 2px; min-width: 96px; min-height: 44px; padding: 10px 14px; border-radius: var(--r-m); border: 2px solid var(--line); background: var(--surface); text-align: left; font-size: 15px; font-weight: 600; transition: background-color 0.2s, border-color 0.2s, transform 0.25s var(--ease); }
.day small { font-family: var(--font-mono); font-size: 12px; font-weight: 400; color: var(--mut); }
.day:hover { border-color: var(--a); transform: translateY(-2px); }
.day[aria-pressed="true"] { background: var(--a); border-color: var(--a); color: var(--on-signal); }
.day[aria-pressed="true"] small { color: inherit; opacity: 0.9; }
.times { display: flex; flex-wrap: wrap; gap: 8px; }
.time { min-height: 44px; padding: 0 16px; border-radius: var(--r-pill); border: 2px solid var(--line); background: var(--surface); font-family: var(--font-mono); font-size: 14px; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.time:hover { border-color: var(--a); }
.time[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.book-note { font-size: 14px; color: var(--mut); }
.book-form { display: grid; gap: 16px; padding-top: 22px; border-top: 2px solid var(--line); }
.picked { font-size: 16px; }
.fld { display: grid; gap: 6px; font-size: 14px; color: var(--ink); font-weight: 600; }
.fld input, .fld select, .fld textarea { font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); padding: 12px 14px; border-radius: var(--r-s); border: 2px solid var(--line); background: var(--surface); min-height: 48px; width: 100%; }
.fld textarea { resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 2px solid var(--a); outline-offset: 1px; border-color: var(--a); }
.chk { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink); }
.chk input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--a); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.book-msg.err { color: #A12A0C; font-size: 14.5px; min-height: 1.2em; }
.book-done { gap: 16px; }
.book-done h3 { font-size: 26px; }
.book-done .ref code { font-family: var(--font-mono); background: var(--soft); padding: 3px 9px; border-radius: 6px; }

/* ---------- writing (home section, blog index, posts) ---------- */
.writing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); }
.wcard a { display: grid; gap: 16px; height: 100%; align-content: start; }
.wbody { display: grid; gap: 12px; align-content: start; }
.wcard .wcover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-l); border: 2px solid var(--ink); }
.wcard h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.1; letter-spacing: -0.025em; transition: color 0.2s; }
.wcard a:hover h3 { color: var(--a); }
.wcard .wsum { color: var(--mut); font-size: 16px; }
.wmeta { display: flex; gap: 16px; font-family: var(--font-mono); font-size: 13px; color: var(--mut); }
.wcard.is-feature { grid-column: span 2; }
.wcard.is-feature h3 { font-size: clamp(30px, 3.4vw, 48px); letter-spacing: -0.035em; }
.wcard.is-feature .wsum { font-size: 18px; max-width: 56ch; }
.writing-more { margin-top: clamp(24px, 3vw, 40px); }
.blog-grid { margin-top: 8px; }
.sub-main { max-width: var(--wrap); margin: 0 auto; padding: clamp(40px, 6vw, 96px) var(--gutter) clamp(72px, 8vw, 128px); min-height: calc(100dvh - var(--nav-h) - 140px); }
.sub-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 4vw, 64px); max-width: 70ch; }
.sub-title, .post-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(42px, 7vw, 108px); line-height: 0.96; letter-spacing: -0.045em; text-wrap: balance; }
.sub-title { background: linear-gradient(transparent 62%, var(--a3) 62%); width: fit-content; max-width: 100%; }
.post { max-width: 760px; margin: 0 auto; display: grid; gap: clamp(22px, 3vw, 40px); }
.post .back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--mut); width: max-content; }
.post .back svg { width: 16px; height: 16px; transform: scaleX(-1); }
.post .back:hover { color: var(--a); }
.post-head { display: grid; gap: 18px; }
.post-title { font-size: clamp(36px, 5vw, 68px); line-height: 1; }
.post-cover { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: var(--r-l); border: 2px solid var(--ink); }
.toc { padding: 20px 24px; border-radius: var(--r-l); background: var(--soft); }
.toc ol { display: grid; gap: 6px; counter-reset: t; }
.toc li { counter-increment: t; display: flex; gap: 12px; font-size: 15.5px; font-weight: 600; }
.toc li::before { content: counter(t); font-family: var(--font-mono); font-size: 12.5px; color: var(--mut); min-width: 1.4em; padding-top: 2px; font-weight: 400; }
.toc a:hover { color: var(--a); }
.prose { font-size: 19px; line-height: 1.75; color: var(--ink); }
.prose > * + * { margin-top: 1.3em; }
.prose h2, .prose h3, .prose h4 { font-family: var(--font-display); color: var(--ink); letter-spacing: -0.025em; line-height: 1.12; margin-top: 2em; scroll-margin-top: calc(var(--nav-h) + 16px); }
.prose h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; }
.prose h3 { font-size: clamp(23px, 2.4vw, 30px); font-weight: 700; }
.prose h4 { font-size: 20px; font-weight: 700; }
.prose a { color: var(--a); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose strong { font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.4em; display: grid; gap: 0.5em; }
.prose ul { list-style: square; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--a2); }
.prose blockquote { margin-left: 0; padding: 18px 0 0; border-top: 6px solid var(--a3); color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 1.2em; line-height: 1.45; }
.prose code { font-family: var(--font-mono); font-size: 0.86em; background: var(--soft); padding: 2px 7px; border-radius: 6px; color: var(--ink); }
.prose pre { overflow: auto; padding: 18px 22px; border-radius: var(--r-m); background: var(--ink); color: #F2EFFA; font-size: 15px; line-height: 1.6; }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose hr { border: 0; border-top: 2px solid var(--ink); margin: 2.4em 0; }
.prose img { max-width: 100%; height: auto; border-radius: var(--r-m); border: 2px solid var(--ink); }
.prose figure { margin-left: 0; margin-right: 0; }
.prose figcaption { margin-top: 10px; font-size: 14px; color: var(--mut); }
.post-foot { display: flex; align-items: center; gap: 16px; padding-top: 24px; border-top: 2px solid var(--ink); }
.copied-note { font-size: 14px; color: var(--a); font-weight: 600; }
.post-nav { max-width: 760px; margin: clamp(40px, 5vw, 72px) auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-nav a { display: grid; gap: 6px; padding: 18px 22px; border-radius: var(--r-l); background: var(--soft); transition: background-color 0.2s, transform 0.25s var(--ease); }
.post-nav a:hover { background: var(--a3); color: #1B1530; transform: translateY(-2px); }
.post-nav small { font-family: var(--font-mono); font-size: 12px; color: inherit; opacity: 0.8; letter-spacing: 0.06em; text-transform: uppercase; }
.post-nav span { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.25; }
.bstatus { max-width: 720px; margin: 0 auto; display: grid; gap: 22px; }
.bstatus .sub-title { font-size: clamp(32px, 4.2vw, 56px); }
.bpill { width: max-content; padding: 8px 16px; border-radius: var(--r-pill); font-weight: 700; font-size: 15px; background: var(--soft); color: var(--ink); }
.bpill.is-confirmed { background: var(--a); color: var(--on-signal); }
.bpill.is-pending { background: var(--a3); color: #1B1530; }
.bpill.is-declined, .bpill.is-cancelled { background: #F3E4DF; color: #7A2410; }
.bfacts { display: grid; gap: 14px; }
.bfacts div { display: grid; gap: 4px; padding: 14px 0; border-top: 2px solid var(--line); }
.bfacts dt { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mut); }
.bfacts dd { margin: 0; font-size: 18px; word-break: break-word; }
.bfacts code { font-family: var(--font-mono); background: var(--soft); padding: 3px 9px; border-radius: 6px; }
.bactions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- focus flash (used when a link jumps to a role) ---------- */
.flash { animation: flash 1.4s var(--ease); }
@keyframes flash { 0% { box-shadow: 0 0 0 0 var(--signal-mid); } 30% { box-shadow: 0 0 0 8px var(--soft); } 100% { box-shadow: 0 0 0 0 transparent; } }

/* ---------- 404 ---------- */
.nf-in { min-height: 100dvh; display: grid; place-content: center; gap: 20px; padding: var(--gutter); max-width: 720px; margin: 0 auto; }
.nf-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 8vw, 96px); line-height: 0.98; letter-spacing: -0.045em; }

/* ---------- preview mode (CMS) ---------- */
[data-preview="1"] [data-f] { cursor: pointer; }
[data-preview="1"] [data-f]:hover { outline: 2px dashed var(--a); outline-offset: 3px; }
[data-preview="1"] .cms-hit { outline: 3px solid var(--a); outline-offset: 4px; border-radius: 6px; animation: flash 1.4s var(--ease); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .hero.has-photo .hero-in { grid-template-columns: minmax(0, 1fr); }
  .hero-photo { justify-self: start; max-width: 260px; }
  .sk-grid { grid-template-columns: minmax(0, 1fr); }
  .sk-tabs { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 6px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .sk-tab { flex: none; scroll-snap-align: start; white-space: nowrap; }
  .sk-used { position: static; }
  .coach-grid { grid-template-columns: minmax(0, 1fr); }
  .book { position: static; }
  .writing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --nav-h: 118px; }
  .nav { height: auto; }
  .brand { font-size: 22px; }
  .brand-mark { width: 38px; height: 38px; font-size: 21px; }
  .nav-in { height: auto; flex-wrap: wrap; row-gap: 2px; padding-top: 8px; padding-bottom: 4px; }
  .nav-links { order: 3; width: 100%; display: flex; overflow-x: auto; gap: 2px; scrollbar-width: none; margin-inline: -14px; padding-inline: 14px; mask-image: linear-gradient(90deg, #000 90%, transparent); }
  .nav-links::-webkit-scrollbar { display: none; }
  .sk-tabs { mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .tile, .tile-1, .tile-2 { grid-column: span 12; min-height: 0; }
  .tile-1, .tile-2 { min-height: 300px; }
  .edu-list { grid-template-columns: minmax(0, 1fr); }
  .ch-body { margin-left: 0; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .brand { font-size: 20px; gap: 10px; }
  .nav-end .btn { padding: 0 16px; }
  .when { width: 100%; order: 3; }
  .org-big { flex-basis: 60%; }
  .writing-grid { grid-template-columns: minmax(0, 1fr); }
  .wcard.is-feature { grid-column: auto; }
  .post-nav { grid-template-columns: minmax(0, 1fr); }
  .btn-lg { min-height: 54px; padding: 0 26px; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
  .tile:hover { transform: none; }
}

/* ---------- print: one clean CV ---------- */
@media print {
  @page { margin: 14mm 14mm 16mm; }
  html, body { background: #fff; }
  body { font-size: 10pt; line-height: 1.45; color: #000; }
  .nav, .skip, .hero, .focus, .signoff, .socials, .th-bar, .th-hint, .sk-tabs, .sk-used, .contact-row, .mail-big, .contact-h, .foot, .coaching, .plus, .ch-chip { display: none !important; }
  .about-grid { display: block; }
  .about-body { font-size: 10pt; }
  .beyond { grid-template-columns: repeat(2, 1fr); margin-top: 8pt; }
  .print-head { display: block; margin-bottom: 14pt; }
  .print-head .ph-name { font-family: var(--font-display); font-size: 24pt; font-weight: 800; letter-spacing: -0.02em; }
  .print-head p { color: #333; }
  .sec { padding: 0; max-width: none; }
  .sec-head { margin: 12pt 0 6pt; gap: 4pt; }
  h2 { font-size: 15pt; letter-spacing: 0; line-height: 1.2; }
  .lead { display: none; }
  .exp-list { border: 0; }
  .chapter { border-top: 0.5pt solid #bbb; opacity: 1 !important; break-inside: avoid-page; }
  .ch-sum { padding: 8pt 0 2pt; gap: 12pt; }
  .when { width: auto; font-size: 9pt; }
  .org-big { font-size: 12pt; letter-spacing: 0; flex: none; }
  .ch-body { margin: 0; gap: 4pt; padding-bottom: 8pt; max-width: none; }
  .role { font-size: 10.5pt; }
  .org, .sum { font-size: 10pt; }
  .bul { margin-top: 2pt; gap: 3pt; }
  .bul li { font-size: 9.5pt; color: #111; break-inside: avoid; padding-left: 12pt; }
  .bul li::before { width: 5pt; height: 5pt; top: 5pt; background: #444; }
  .hl-chips li { background: none; padding: 0 8pt 0 0; font-size: 9pt; }
  .tags li { background: none; padding: 0 6pt 0 0; font-size: 8.5pt; }
  details.ch-d::details-content { content-visibility: visible !important; display: block !important; height: auto !important; }
  .sk-panels { display: block; }
  .sk-panel[hidden] { display: block !important; }
  .sk-ptitle { display: block; font-size: 10.5pt; margin: 6pt 0 2pt; }
  .chips { gap: 0 6pt; }
  .chip { border: 0; padding: 0; min-height: 0; font-size: 9.5pt; background: none; }
  .chip::after { content: ","; }
  .edu-list { display: block; }
  .edu-list li { border: 0; padding: 4pt 0; }
  .contact { padding: 0; }
  .contact-in { padding: 0; border: 0; }
  .avail { font-size: 10pt; text-transform: none; letter-spacing: 0; }
  a { color: #000; }
}
