/* A Little Jazz, Please (alittlejazzplease.net): stack hero, receipt + principles sections. Generated, then safe to hand-edit. */
:root {
  /* Palette (light, analog) */
  --bg: #F1F2F9; --surface: #E0E4F3; --ink: #111524; --muted: #4F5A7D;
  --accent: #4711DA; --accent2: #B957D7; --on-accent: #FFFFFF; --line: #C9CAD3;
  --band: #D4CAEE; --band-ink: #12182B; --paper: #F5F6FA; --paper-ink: #141929; --board: #1C1E26;
  /* Type */
  --f-head: 'Bodoni Moda', Georgia, serif;
  --f-body: 'Jost', system-ui, sans-serif;
  --f-brand: 'Bodoni Moda', var(--f-head);
  --f-label: 'Jost', system-ui, sans-serif;
  --f-hand: 'Bodoni Moda', cursive;
  --f-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --head-weight: 800; --brand-weight: 800;
  --head-case: none; --head-track: -0.02em; --head-lh: 1.02;
  --em-style: normal;
  --brand-size: 1.3rem; --brand-track: 0; --brand-case: none;
  --word-size: clamp(2.4rem, 7.14vw, 5.54rem);
  /* Layout */
  --maxw: 1240px; --gutter: clamp(20px, 4vw, 48px); --radius: 10px;
  --focus: 40% 53%;
  --sec-bg: var(--bg); --m-muted: var(--muted); --m-line: var(--line); --m-card: var(--surface);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--f-body); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--f-head); font-weight: var(--head-weight); text-transform: var(--head-case); letter-spacing: var(--head-track); line-height: var(--head-lh); text-wrap: balance; }
h3 { line-height: 1.2; }
h1 { margin-bottom: 26px; }
h1 em { font-style: var(--em-style); color: var(--accent); }
.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.kicker { font: 700 .78rem/1.4 var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.lede { font-size: clamp(1.12rem, 1.5vw, 1.28rem); line-height: 1.55; max-width: 44ch; margin-bottom: 14px; }
.sub { color: var(--muted); max-width: 50ch; }
.ph { object-fit: cover; object-position: var(--focus); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 26px 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-brand); font-weight: var(--brand-weight); font-size: var(--brand-size); line-height: 1.1; letter-spacing: var(--brand-track); text-transform: var(--brand-case); }
.brand .mark { flex: none; }
.note { font: 600 .72rem/1.3 var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: right; }
.top-overlay { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 24px; padding-inline: max(var(--gutter), calc((100% - var(--maxw)) / 2)); }
.top-overlay .note { color: inherit; opacity: .85; }
.top-light { color: #fff; }
@media (max-width: 640px) { .note { display: none; } .top { grid-template-columns: 1fr auto 1fr; } }

/* Hero */
.hero-stack { padding-block: clamp(36px, 5vw, 72px) clamp(56px, 8vw, 104px); text-align: center; }
.st-head h1 { font-size: clamp(2.9rem, 6.8vw, 6.4rem); max-width: 14ch; margin-inline: auto; }
.st-media { position: relative; margin: clamp(28px, 4vw, 56px) 24px 0 0; }
.st-media::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; background: var(--accent2); border-radius: var(--radius); }
.st-media .ph { position: relative; width: 100%; aspect-ratio: 2 / 1; border-radius: var(--radius); }
.st-text { max-width: 62ch; margin: clamp(48px, 6vw, 72px) auto 0; }
.st-text .lede, .st-text .sub { margin-inline: auto; }
@media (max-width: 820px) {
  .st-media { margin-right: 14px; }
  .st-media::before { inset: 14px -14px -14px 14px; }
  .st-media .ph { aspect-ratio: 4 / 3.3; }
}

/* Sections */
.m { padding-block: clamp(56px, 8vw, 112px); }
.m-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.m-grid > .m-head { margin-bottom: 0; }
.m-head h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.m-head p { margin-top: 14px; color: var(--m-muted); max-width: 56ch; }
.tone-plain { border-top: 1px solid var(--line); }
.tone-band { background: var(--band); color: var(--band-ink); --sec-bg: var(--band); --m-card: var(--bg);
  --m-muted: color-mix(in srgb, var(--band-ink) 74%, transparent); --m-line: color-mix(in srgb, var(--band-ink) 22%, transparent); }
.tone-surface { background: var(--surface); --sec-bg: var(--surface); --m-card: var(--bg); }
.tone-accent { background: var(--accent); color: var(--on-accent); --sec-bg: var(--accent);
  --m-muted: color-mix(in srgb, var(--on-accent) 80%, transparent); --m-line: color-mix(in srgb, var(--on-accent) 25%, transparent); }
/* Section: receipt */
.m-receipt .m-grid { display: grid; grid-template-columns: 1fr minmax(280px, 400px); gap: clamp(28px, 6vw, 96px); align-items: center; }
.rc { background: var(--paper); color: var(--paper-ink); padding: 34px 28px 46px; font-family: var(--f-mono); text-transform: uppercase;
  font-size: .92rem; letter-spacing: .04em; clip-path: polygon(0.00% 0.00%, 3.85% 1.60%, 7.69% 0.00%, 11.54% 1.60%, 15.38% 0.00%, 19.23% 1.60%, 23.08% 0.00%, 26.92% 1.60%, 30.77% 0.00%, 34.62% 1.60%, 38.46% 0.00%, 42.31% 1.60%, 46.15% 0.00%, 50.00% 1.60%, 53.85% 0.00%, 57.69% 1.60%, 61.54% 0.00%, 65.38% 1.60%, 69.23% 0.00%, 73.08% 1.60%, 76.92% 0.00%, 80.77% 1.60%, 84.62% 0.00%, 88.46% 1.60%, 92.31% 0.00%, 96.15% 1.60%, 100.00% 0.00%, 100.00% 100.00%, 96.15% 98.40%, 92.31% 100.00%, 88.46% 98.40%, 84.62% 100.00%, 80.77% 98.40%, 76.92% 100.00%, 73.08% 98.40%, 69.23% 100.00%, 65.38% 98.40%, 61.54% 100.00%, 57.69% 98.40%, 53.85% 100.00%, 50.00% 98.40%, 46.15% 100.00%, 42.31% 98.40%, 38.46% 100.00%, 34.62% 98.40%, 30.77% 100.00%, 26.92% 98.40%, 23.08% 100.00%, 19.23% 98.40%, 15.38% 100.00%, 11.54% 98.40%, 7.69% 100.00%, 3.85% 98.40%, 0.00% 100.00%); box-shadow: 0 20px 40px -20px rgba(0,0,0,.4); }
.rc-name { text-align: center; font-weight: 700; font-size: 1.05rem; }
.rc-meta { text-align: center; opacity: .7; margin-bottom: 16px; font-size: .8rem; }
.rc ul { list-style: none; margin: 0; padding: 14px 0; border-block: 2px dashed color-mix(in srgb, var(--paper-ink) 40%, transparent); }
.rc li { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; }
.rc li span:last-child { text-align: right; }
.rc-total { display: flex; justify-content: space-between; gap: 16px; font-weight: 700; padding-top: 14px; }
.rc-total span:last-child { text-align: right; }
.rc-end { text-align: center; margin-top: 18px; opacity: .6; }
@media (max-width: 820px) { .m-receipt .m-grid { grid-template-columns: 1fr; } }
/* Section: principles */
.pr { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(18px, 3vw, 36px); }
.pr h3 { font-size: 1.4rem; margin-bottom: 8px; }
.pr p { color: var(--m-muted); }
.pr-mark { display: none; }
.pr-cards li { background: var(--m-card); border-radius: var(--radius); padding: 28px 26px 30px; }
.pr-lines li { border-top: 5px solid var(--accent); padding-top: 20px; }
.pr-marks .pr-mark { display: block; width: 46px; height: 46px; border-radius: 50%; margin-bottom: 16px;
  background: radial-gradient(circle, var(--sec-bg) 0 18%, var(--accent) 19% 100%); }

/* Footer */
.foot { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-block: 28px 40px; border-top: 1px solid var(--line);
  font: 600 .74rem/1.4 var(--f-label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.foot .brand { --brand-size: 1rem; color: var(--ink); }
@media (max-width: 640px) { .foot { flex-direction: column; align-items: flex-start; } }
