/* Agent Intelligence site styles, built from the Agent Intelligence design system (tokens.json + components). */
@font-face { font-family: "TAN Waverly"; src: url("/assets/37251c498f8b09f4e06a25403deb6974.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Japandi"; src: url("/assets/0f13f4db3bb7ca5394b2d889b60b075e.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Krona One"; src: url("/assets/6a42babc2ecfef10201c5b2783ab0245.woff") format("woff"); font-weight: 400; font-display: swap; }

:root, [data-theme="cream"] {
  --surface: #f1ece1; --surface-paper: #e7e1d4; --surface-field: #ffffff;
  --ink: #141414; --ink-muted: #5c574f; --ink-on-field: #141414;
  --brand: #1f5c87; --on-brand: #f1ece1; --campaign-blue: #1f5c87; --monogram-blue: #4f80b8; --highlight: #e2f35c;
  --line: #d6cebf; --line-strong: #7d766a; --focus: #1f5c87;
}
[data-theme="blue"] {
  --surface: #1f5c87; --ink: #f1ece1; --ink-muted: #c9d6e0; --brand: #f1ece1; --on-brand: #1f5c87;
  --line: rgba(241, 236, 225, 0.28); --line-strong: #c9d6e0; --focus: #f1ece1;
}
:root {
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 80px; --space-9: 120px;
  --radius-sm: 4px; --radius-pill: 999px; --container-max: 1200px; --measure: 640px; --tilt-min: 3deg; --tilt-max: 5deg;
  --font-display: "TAN Waverly", "Playfair Display", Georgia, serif;
  --font-sans: "Japandi", "Archivo", system-ui, sans-serif;
  --font-label: "Krona One", "Archivo", system-ui, sans-serif;
}

.pg { background: var(--surface); color: var(--ink); font-family: var(--font-sans); font-weight: 700; font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.pg *, .pg *::before, .pg *::after { box-sizing: border-box; }
.pg img { max-width: 100%; }
.band { background: var(--surface); color: var(--ink); padding: var(--space-9) var(--space-8); }
.band--tight { padding-top: var(--space-8); padding-bottom: var(--space-8); }
.wrap { max-width: var(--container-max); margin: 0 auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type */
.kicker { font-family: var(--font-label); font-weight: 400; font-size: 13px; line-height: 1.3; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin: 0 0 36px; }
.display { font-family: var(--font-display); font-weight: 400; color: var(--ink); margin: 0; padding-top: .06em; text-wrap: balance; }
.display-xl { font-size: clamp(56px, 7vw, 96px); line-height: 1.2; letter-spacing: -0.01em; }
.display-lg { font-size: clamp(46px, 5.4vw, 72px); line-height: 1.28; letter-spacing: -0.01em; }
.display-md { font-size: clamp(38px, 4vw, 52px); line-height: 1.28; }
.display-sm { font-size: clamp(28px, 2.6vw, 34px); line-height: 1.25; }
.display + p, .display + .body, .display + form, .display + div { margin-top: 36px; }
.support { font-size: 22px; line-height: 1.45; margin: 36px 0 0; max-width: var(--measure); color: var(--ink); }
.body { font-size: 18px; line-height: 1.6; margin: 0 0 1em; max-width: var(--measure); }
.caption { font-size: 15px; line-height: 1.4; color: var(--ink-muted); margin: 0; }
.em { text-decoration: underline; text-decoration-thickness: .055em; text-underline-offset: .12em; text-decoration-skip-ink: none; }

/* Links, buttons, pills */
.link { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; font-weight: 700; }
.link::after { content: " \2192"; display: inline-block; margin-left: .25em; text-decoration: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 28px; border: 1.5px solid var(--brand); border-radius: var(--radius-sm); background: var(--brand); color: var(--on-brand); font-family: var(--font-label); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 12px; }
.btn:focus-visible, .link:focus-visible, .field:focus-visible, .nav a:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.pill { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border: 1px solid var(--ink); border-radius: var(--radius-pill); font-family: var(--font-label); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.pill--solid { background: var(--ink); color: var(--surface); }
.pill--hl { background: var(--highlight); border-color: var(--highlight); color: #141414; }

/* Nav */
.nav { display: flex; align-items: center; gap: var(--space-6); padding: var(--space-4) var(--space-8); border-bottom: 1px solid var(--line); background: var(--surface); }
.nav__brand { display: flex; align-items: center; gap: var(--space-3); margin-right: auto; color: var(--ink); text-decoration: none; }
.nav__brand img { height: 30px; width: auto; display: block; }
.nav__name { font-family: var(--font-label); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.nav__links { display: flex; gap: var(--space-5); list-style: none; margin: 0; padding: 0; }
.nav__links a { font-family: var(--font-label); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 1.5px solid transparent; }
.nav__links a:hover { border-bottom-color: var(--ink); }

/* Subscribe */
.sub { max-width: 560px; }
.sub__row { display: flex; gap: var(--space-3); }
.field { flex: 1; min-width: 0; height: 56px; padding: 0 18px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface-field); color: var(--ink-on-field); font-family: var(--font-sans); font-weight: 700; font-size: 18px; }
.field::placeholder { color: #5c574f; }
.sub .btn { height: 56px; }
.sub__proof { margin: var(--space-3) 0 0; font-size: 15px; line-height: 1.4; color: var(--ink-muted); }

/* Proof bar */
.proof { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); padding: var(--space-4) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); list-style: none; margin: 0; }
.proof li { font-family: var(--font-label); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.proof li + li::before { content: "\00B7"; margin-right: var(--space-5); color: var(--ink-muted); }

/* Collage pieces */
.cut { --tilt: calc(var(--tilt-min) * -1); display: block; padding: var(--space-2); background: #ffffff; clip-path: polygon(1.2% 0.6%, 38% 0, 71% 1.1%, 99.2% 0.2%, 100% 34%, 98.9% 67%, 99.6% 99.1%, 62% 100%, 27% 98.9%, 0.4% 99.6%, 0 61%, 1.1% 28%); transform: rotate(var(--tilt)); margin: 0; }
.cut img { display: block; width: 100%; height: 100%; object-fit: cover; clip-path: polygon(1.2% 0.6%, 38% 0, 71% 1.1%, 99.2% 0.2%, 100% 34%, 98.9% 67%, 99.6% 99.1%, 62% 100%, 27% 98.9%, 0.4% 99.6%, 0 61%, 1.1% 28%); }
.cut--r { --tilt: var(--tilt-max); }
.cut--flat { --tilt: 0deg; }
/* Silhouette cut-outs (transparent images): white keyline traced around the figure, zero blur. Anchor them to the bottom edge of a blue band so the straight crop disappears. */
.sil { margin: 0; pointer-events: none; }
.sil img { display: block; width: 100%; height: auto; }

/* Textures: clouds and tape, from the course promos */
.tex-clouds { background: linear-gradient(rgba(52,72,92,.42), rgba(52,72,92,.42)), #3d5872 url("/assets/7ffe802761c752b86efa7921fc9fc838.jpg") center / cover no-repeat; }
.torn { clip-path: polygon(0% 1.6%, 6% 0.4%, 13% 1.9%, 21% 0.2%, 29% 1.4%, 37% 0.5%, 46% 2%, 54% 0.3%, 62% 1.5%, 71% 0.4%, 79% 1.8%, 88% 0.6%, 95% 1.7%, 100% 0.5%, 99.3% 14%, 100% 31%, 98.9% 48%, 99.8% 66%, 98.7% 83%, 100% 99%, 93% 98.2%, 85% 99.7%, 77% 98.4%, 68% 99.6%, 59% 98.1%, 51% 99.8%, 42% 98.5%, 33% 99.7%, 24% 98.3%, 15% 99.6%, 7% 98.4%, 0% 99.5%, 0.9% 82%, 0% 64%, 1.2% 47%, 0.2% 29%, 1.1% 13%); }
.cover-ink { background: #141414; }
.tape { position: absolute; width: 132px; height: auto; z-index: 3; pointer-events: none; }

/* Tape highlights behind key words, from the promos */
.hl-paper { display: inline-block; background: #bcc6cf url("/assets/7c92cacdbb0458e6a2f07125f72552ab.png") 0 0 / 240px 240px; padding: .16em .18em .08em; margin: -.1em -.04em 0; line-height: 1.1; transform: rotate(-1.2deg); clip-path: polygon(2% 4%, 20% 0, 46% 3%, 71% 0, 97% 2%, 100% 30%, 98% 62%, 100% 96%, 74% 100%, 49% 97%, 23% 100%, 1% 97%, 3% 66%, 0 33%); }
.hl-blue { background: #1f5c87; color: #f1ece1; padding: .04em .28em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Graph-paper scrap */
.grid-paper { background-color: #f6f3ec; background-image: linear-gradient(#c9d6e0 1px, transparent 1px), linear-gradient(90deg, #c9d6e0 1px, transparent 1px); background-size: 14px 14px; }

/* File-folder card: stacked tabs and sheets behind a program card */
.folder { position: relative; padding-top: 56px; margin: 0 20px 20px 0; }
.folder__tab { position: absolute; width: 220px; height: 40px; clip-path: polygon(0 0, 78% 0, 100% 100%, 0 100%); }
.folder__sheet { position: absolute; border: 1.5px solid #141414; background: #f1ece1; }
.folder .prog { position: relative; z-index: 2; border: 1.5px solid #141414; border-radius: 0; height: 100%; }
.cursor { position: absolute; width: 44px; height: auto; z-index: 3; transform: rotate(-8deg); pointer-events: none; image-rendering: pixelated; }
.sil--tilt { transform: rotate(calc(var(--tilt-min) * -1)); }
.sil-panel { position: relative; background-color: #3f5a74; width: 100%; max-width: 440px; height: 480px; justify-self: end; transform: rotate(calc(var(--tilt-min) * -1)); }
.sil-panel .sil { position: absolute; left: 6%; bottom: 0; width: 88%; }
.paper { position: relative; background-color: #e7e1d4; color: #141414; padding: 56px var(--space-7); clip-path: polygon(0.0% 6.8px, 2.78% 7.8px, 5.56% 2.9px, 8.33% 9.0px, 11.11% 3.0px, 13.89% 6.5px, 16.67% 2.2px, 19.44% 7.2px, 22.22% 2.6px, 25.0% 6.8px, 27.78% 6.9px, 30.56% 7.2px, 33.33% 4.8px, 36.11% 8.0px, 38.89% 8.9px, 41.67% 2.4px, 44.44% 5.4px, 47.22% 8.7px, 50.0% 7.0px, 52.78% 4.8px, 55.56% 3.8px, 58.33% 8.6px, 61.11% 2.1px, 63.89% 7.2px, 66.67% 7.8px, 69.44% 2.7px, 72.22% 4.0px, 75.0% 3.8px, 77.78% 5.6px, 80.56% 4.3px, 83.33% 8.2px, 86.11% 8.4px, 88.89% 3.9px, 91.67% 8.2px, 94.44% 2.0px, 97.22% 2.2px, 100.0% 6.5px, 100.0% calc(100% - 1.9px), 97.22% calc(100% - 4.3px), 94.44% calc(100% - 3.4px), 91.67% calc(100% - 8.1px), 88.89% calc(100% - 4.8px), 86.11% calc(100% - 5.8px), 83.33% calc(100% - 2.9px), 80.56% calc(100% - 3.4px), 77.78% calc(100% - 7.7px), 75.0% calc(100% - 5.0px), 72.22% calc(100% - 4.5px), 69.44% calc(100% - 7.5px), 66.67% calc(100% - 4.4px), 63.89% calc(100% - 6.4px), 61.11% calc(100% - 6.3px), 58.33% calc(100% - 3.5px), 55.56% calc(100% - 6.2px), 52.78% calc(100% - 3.3px), 50.0% calc(100% - 5.5px), 47.22% calc(100% - 7.2px), 44.44% calc(100% - 9.0px), 41.67% calc(100% - 5.3px), 38.89% calc(100% - 2.5px), 36.11% calc(100% - 8.8px), 33.33% calc(100% - 6.5px), 30.56% calc(100% - 5.1px), 27.78% calc(100% - 2.6px), 25.0% calc(100% - 2.7px), 22.22% calc(100% - 5.2px), 19.44% calc(100% - 2.2px), 16.67% calc(100% - 8.4px), 13.89% calc(100% - 7.1px), 11.11% calc(100% - 3.5px), 8.33% calc(100% - 7.9px), 5.56% calc(100% - 8.9px), 2.78% calc(100% - 7.6px), 0.0% calc(100% - 7.5px)); }
.grain { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.07 0 0 0 0 0.05 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Grids */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-8); align-items: center; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }

/* Three ways in */
.way { display: flex; flex-direction: column; gap: var(--space-4); padding-top: var(--space-5); border-top: 1.5px solid var(--ink); }
.way h3 { margin: 0; }
.way p { margin: 0; font-size: 18px; line-height: 1.55; max-width: 34ch; }

/* Issue cards (newsletter) */
.issue { display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-6); min-height: 280px; padding: var(--space-6); background: var(--surface-paper); color: #141414; text-decoration: none; border-radius: 0; }
.issue h3 { margin: 0; font-family: var(--font-sans); font-weight: 700; font-size: 24px; line-height: 1.3; }
.issue:hover h3 { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.issue--blue { background: #1f5c87; color: #f1ece1; }
.issue--ink { background: #141414; color: #f1ece1; }
.issue .tag { font-family: var(--font-label); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

/* Program card */
.prog { display: grid; gap: var(--space-4); padding: var(--space-6); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); }
.prog__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.prog__dates { font-family: var(--font-label); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.prog__title { font-family: var(--font-sans); font-weight: 700; font-size: 26px; line-height: 1.25; margin: 0; }
.prog__line { font-size: 18px; line-height: 1.5; margin: 0; max-width: 46ch; }
.prog__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--line); margin-top: var(--space-2); }
.prog__price { font-family: var(--font-label); font-size: 20px; display: block; }
.prog__where { font-size: 17px; color: var(--ink-muted); display: block; margin-top: 2px; }

/* Testimonials */
.quote { margin: 0; }
.quote blockquote { margin: 0; font-family: var(--font-sans); font-weight: 700; font-size: 22px; line-height: 1.45; color: var(--ink); max-width: 36ch; }
.quote figcaption { margin-top: var(--space-4); font-family: var(--font-label); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.vid { position: relative; aspect-ratio: 9 / 16; margin: 0; border: 1.5px dashed var(--line-strong); display: flex; flex-direction: column; justify-content: space-between; padding: var(--space-4); background: transparent; }
.vid__play { width: 48px; height: 48px; border-radius: var(--radius-pill); background: var(--ink); border: 0; position: relative; cursor: pointer; }
.vid__play::after { content: ""; position: absolute; left: 19px; top: 15px; border-left: 14px solid var(--surface); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.vid figcaption { font-family: var(--font-label); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5; color: var(--ink-muted); }
.vid--img { border: 0; padding: 0; overflow: hidden; background: #141414; }
.vid--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.vid--img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,20,20,.78), rgba(20,20,20,0) 42%); pointer-events: none; }
.vid--img .vid__play { position: absolute; left: var(--space-4); top: var(--space-4); z-index: 2; background: #f1ece1; }
.vid--img .vid__play::after { border-left-color: #141414; }
.vid--img figcaption { position: absolute; left: var(--space-4); right: var(--space-4); bottom: var(--space-4); z-index: 2; color: #f1ece1; }
.ig { display: block; aspect-ratio: 4 / 5; overflow: hidden; }
.ig img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Footer */
.foot { border-top: 1px solid var(--line); }
.foot__links { display: flex; flex-wrap: wrap; gap: var(--space-5); list-style: none; margin: 0; padding: 0; }
.foot__links a { font-family: var(--font-label); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); text-decoration: none; }

/* Phone width */
@media (max-width: 900px) {
  .band { padding: var(--space-8) var(--space-4); }
  .nav { padding: var(--space-4); gap: var(--space-4); }
  .nav__links { display: none; }
  .split, .three { grid-template-columns: minmax(0, 1fr); gap: var(--space-7); }
  .four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sub__row { flex-direction: column; }
  .sub .btn { width: 100%; }
  .hide-sm { display: none; }
}

/* Collage scraps: layered paper bits behind cut-outs */
.scrap { position: absolute; pointer-events: none; display: block; }
.scrap--blue { background: url("/assets/7c92cacdbb0458e6a2f07125f72552ab.png") 0 0 / 240px 240px, #3f5a74; }
.scrap--sky { background: url("/assets/7c92cacdbb0458e6a2f07125f72552ab.png") 0 0 / 240px 240px, #7d93a8; }
.scrap--paper { background: #e7e1d4; }
.scrap--cream { background: #fbf8f2; }
.scrap--ink { background: #141414; }
.scrap--halftone { background: #d9d3c7 radial-gradient(circle, #141414 1.3px, transparent 1.7px) 0 0 / 7px 7px; }
.scrap--halftone-blue { background: #7d93a8 radial-gradient(circle, #141414 1.3px, transparent 1.7px) 0 0 / 7px 7px; }
.scrap--lines { background: repeating-linear-gradient(90deg, #e7e1d4 0 13px, #cfc7b8 13px 14px); }
.scrap--grid { background-color: #fbf8f2; background-image: linear-gradient(#141414 1px, transparent 1px), linear-gradient(90deg, #141414 1px, transparent 1px); background-size: 18px 18px; }
img.scrap { height: auto; }
.sil--stack { position: relative; }
.sil--stack > img:not(.scrap) { position: relative; z-index: 2; }

/* Solid, pixel-grain paper slabs with a hard drop shadow */
.slab { position: absolute; pointer-events: none; display: block; filter: drop-shadow(9px 12px 0 rgba(20,20,20,.2)) drop-shadow(0 16px 22px rgba(20,20,20,.22)); }
.slab > i { position: absolute; inset: 0; display: block; background-image: url("/assets/7c92cacdbb0458e6a2f07125f72552ab.png"); background-size: 240px 240px; image-rendering: pixelated; }
.slab--navy > i { background-color: #34495d; }
.slab--sky > i { background-color: #7d93a8; }
.slab--stone > i { background-color: #b9b2a6; }
.slab--cream > i { background-color: #e7e1d4; }
.slab--ink > i { background-color: #2a2622; }
/* Muted markers */
img.scrap[src*="d2e5c14f10236984865ad69db8ab9193"] { opacity: .75; }
img.scrap[src*="e308fc24998c541065c9a92100944289"] { opacity: .7; }


/* Patterned papers: palette colors, one minimal pattern each, soft grain */
.pat-blue-lines { background: url("/assets/7c92cacdbb0458e6a2f07125f72552ab.png") 0 0 / 240px 240px, repeating-linear-gradient(0deg, transparent 0 13px, rgba(52,73,93,.34) 13px 14px), #bcc6cf; }
.pat-sky-dots { background: url("/assets/7c92cacdbb0458e6a2f07125f72552ab.png") 0 0 / 240px 240px, radial-gradient(circle, rgba(241,236,225,.55) 1.5px, transparent 2px) 0 0 / 11px 11px, #6f869b; }
.pat-stone-diag { background: url("/assets/7c92cacdbb0458e6a2f07125f72552ab.png") 0 0 / 240px 240px, repeating-linear-gradient(45deg, transparent 0 10px, rgba(20,20,20,.16) 10px 11px), #b9b2a6; }
.pat-cream-grid { background: url("/assets/7c92cacdbb0458e6a2f07125f72552ab.png") 0 0 / 240px 240px, linear-gradient(rgba(31,92,135,.22) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(90deg, rgba(31,92,135,.22) 1px, transparent 1px) 0 0 / 22px 22px, #e7e1d4; }
.pat-navy-pin { background: url("/assets/7c92cacdbb0458e6a2f07125f72552ab.png") 0 0 / 240px 240px, repeating-linear-gradient(90deg, transparent 0 13px, rgba(241,236,225,.16) 13px 14px), #34495d; }

/* Small pop of color: mustard paper, used sparingly (one small scrap per collage) */
.scrap--mustard { background: url("/assets/7c92cacdbb0458e6a2f07125f72552ab.png") 0 0 / 240px 240px, #d9b13f; }

/* Two background tones: warm near-white for "lifted" bands and boxes, beige for the base */
[data-theme="light"] { --surface: #faf8f3; }
.prog { background: #fbf9f4; }

/* Cleaner line breaks: no one-word last lines in copy, balanced headings */
.pg p, .pg li, .pg blockquote, .pg figcaption { text-wrap: pretty; }
.pg h1, .pg h2, .pg h3, .prog__title, .issue h3 { text-wrap: balance; }
.nowrap { white-space: nowrap; }

@media (max-width: 600px) {
  .nav { padding-left: 20px; padding-right: 20px; gap: 12px; }
  .nav__name { display: none; }
}

/* ---- Live-site additions ---- */
html { scroll-behavior: smooth; }
body { margin: 0; background: #f1ece1; }
a { color: #1f5c87; } a:hover { color: #141414; }
.sub--embed { min-height: 64px; }
.sub--embed iframe { max-width: 100%; }
[data-countdown][hidden] { display: none !important; }
.pill--soft { border-color: transparent; background: #e7e1d4; }
.pill--soft:hover { background: #d6cebf; }
.foot__right { width: fit-content; max-width: 100%; }
@media (max-width: 900px) {
  .nav { flex-wrap: wrap; }
  .nav__links { display: flex; order: 3; width: 100%; overflow-x: auto; gap: 20px; padding-top: 4px; }
  .nav__links a { white-space: nowrap; }
  .pg section[style*="padding: 120px 80px"], .pg section[style*="padding: 112px 80px"], .pg section[style*="padding: 96px 80px"] { padding-left: 20px !important; padding-right: 20px !important; }
  .archive-grid { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (max-width: 600px) {
  .pg h1.display[style*="4.6vw"] { font-size: 31px !important; }
  .pg h2.display[style*="4.4vw"] { font-size: 36px !important; }
  .pg .paper[style*="padding: 80px 64px 72px"] { padding: 44px 24px 40px !important; }
  .pg div[style*="padding: 104px 64px 88px 80px"] { padding: 64px 20px 56px !important; }
  .pg div[style*="flex: 0 1 520px"] { margin-top: 56px; }
  .pg .tex-clouds[style*="min-height: 560px"] { min-height: 400px !important; }
  .pg .tex-clouds[style*="min-height: 560px"] > * { zoom: .6; }
}
@media (min-width: 601px) and (max-width: 1000px) {
  .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
