/* Jim Leslie design system — compiled tokens.
   Generated from the design system's tokens.json. Every value below comes from that
   file; nothing here is invented. Load this sheet first, then components/bundle.css,
   then components/bundle.js. DM Sans is self-hosted, so no stylesheet makes a webfont
   request. Regenerate rather than hand-edit. */

@font-face {
  font-family: "DM Sans";
  src: url(/media/01a15c7a-a8b7-74fd-83a3-76a69925b8bd) format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "DM Sans";
  src: url(/media/01a15c7a-a973-74da-a833-cb6d5688a99e) format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

:root {
  /* type families */
  --font-sans: "DM Sans", Arial, sans-serif;

  /* color */
  --ink: #181b1c;
  --ink-raised: #242929;
  --ink-scrim: #181b1c55;
  --ink-veil: #181b1ccc;
  --ink-grain: #ffffff0f;
  --paper: #ffffff;
  --warm-white: #f7f6f2;
  --surface: #eaece7;
  --copper: #c49770;
  --copper-deep: #805632;
  --copper-light: #d6aa83;
  --copper-wash: #c4977026;
  --muted: #555d59;
  --on-dark: #c5cbc7;
  --line: #d4d9d3;
  --dark-line: #424847;
  --focus: #3984be;
  --signature-blue: #075be2;
  --field-border: #79817e;
  --field-placeholder: #aeb7b2;
  --danger: #a33b2a;
  --danger-on-dark: #e08a76;
  --success: #1a6470;
  --success-on-dark: #79c3d1;
  --code-surface: #dfe4dc;
  --code-ink: #27312c;

  /* spacing */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 72px;
  --space-7: 104px;

  /* radius */
  --radius: 3px;
  --radius-sm: 2px;
  --radius-round: 50%;

  /* layout */
  --content-max: 1200px;
  --content-inset: 88%;
  --measure: 65ch;
  --measure-article: 720px;
  --hairline: 1px;
  --accent-rule: 3px;
}

/* ---------- type scale ----------
   Seventeen styles, applied by class alongside the component classes in
   bundle.css. Sizes that scale carry a clamp whose floor is the mobile size
   named in tokens.json. */

/* Display */
.headline {
  font-size: clamp(42px, 7.1vw, 86px);
  line-height: 1.02;
  font-weight: 1000;
  letter-spacing: -0.055em;
}
.section-heading {
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.02;
  font-weight: 1000;
  letter-spacing: -0.055em;
}

/* Headings */
.article-heading {
  font-size: clamp(25px, 3vw, 30px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.card-heading {
  font-size: clamp(21px, 2.2vw, 24px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.035em;
}

/* Text */
.article-lead {
  font-size: clamp(21px, 2.1vw, 25px);
  line-height: 1.55;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.deck {
  font-size: clamp(19px, 1.9vw, 21px);
  line-height: 1.6;
  font-weight: 400;
}
.lead {
  font-size: 19px;
  line-height: 1.6;
  font-weight: 400;
}
.body-article {
  font-size: clamp(17px, 1.7vw, 19px);
  line-height: 1.8;
  font-weight: 400;
}
.body {
  font-size: clamp(16px, 1.4vw, 17px);
  line-height: 1.6;
  font-weight: 400;
}
.body-small {
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
}
.body-fine {
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
}

/* Labels */
.eyebrow {
  font-size: 11px;
  line-height: 1.5;
  font-weight: 800;
  letter-spacing: 0.19em;
}
.button-label {
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.cta-label {
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.19em;
}
.label {
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.tag {
  font-size: 10px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.12em;
}
.caption {
  font-size: 11px;
  line-height: 1.5;
  font-weight: 400;
}

/* ---------- measures and the uppercase utility ----------
   Headlines are set uppercase in CSS rather than typed in capitals, so the
   source text stays sentence case for screen readers and for copy edits. */
.upper { text-transform: uppercase; }
.measure { max-width: var(--measure); }
.measure-article { max-width: var(--measure-article); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 60;
  background: var(--copper); color: var(--ink); padding: 14px 20px;
}
.skip:focus { left: var(--space-3); top: var(--space-3); }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* DM Sans is self-hosted: tokens.css declares @font-face from tokens.json
   type.fonts, so there is no webfont request from this sheet. */

/* Jim Leslie — component layer. Load after the compiled tokens.css.
   Type sizes, weights, tracking, leading, colors, spacing, radii and shadows
   live in tokens.json and reach this sheet only as var(). Apply a type style
   by its class (body, lead, eyebrow, card-heading, ...) alongside these. */

*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
a, button { cursor: pointer; }
button { border: 0; }
h1, h2, h3, p, figure, dl, dd, fieldset { margin: 0; }
fieldset { border: 0; padding: 0; min-inline-size: 0; }
p + p { margin-top: 18px; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[type="checkbox"]:focus-visible,
[type="radio"]:focus-visible {
  outline: var(--accent-rule) solid var(--focus);
  outline-offset: 5px;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ---------- grounds ---------- */

.wrap { width: min(var(--content-max), var(--content-inset)); margin-inline: auto; }
.section { padding-block: var(--space-7); }
.dark { background: var(--ink); color: var(--paper); }
.dark p { color: var(--on-dark); }
.raised { background: var(--ink-raised); color: var(--paper); }
.raised p { color: var(--on-dark); }
.surface-panel { background: var(--surface); }
.warm-surface { background: var(--warm-white); }
.muted-text { color: var(--muted); }
.accent { color: var(--copper); }
.rule { border-top: var(--hairline) solid var(--line); }
.dark .rule, .raised .rule { border-color: var(--dark-line); }

@media (max-width: 650px) {
  .section { padding-block: 64px; }
}

/* ---------- labels ---------- */

.eyebrow {
  display: block;
  text-transform: uppercase;
  color: var(--copper-deep);
  margin-bottom: var(--space-3);
}
.dark .eyebrow,
.raised .eyebrow { color: var(--copper); }

.tag {
  display: inline-block;
  text-transform: uppercase;
  border: var(--hairline) solid currentColor;
  padding: 5px var(--space-1);
}

.label { text-transform: uppercase; }
.caption { color: var(--muted); }
.dark .caption, .raised .caption { color: var(--on-dark); }

/* ---------- actions ---------- */

.actions { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; margin-top: 28px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  min-height: 50px;
  padding: 15px 22px;
  background: var(--copper);
  color: var(--ink);
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background .18s;
}
.button:hover { background: var(--copper-light); }
.button:active { background: var(--copper-deep); color: var(--paper); }
.button.secondary { background: transparent; border: var(--hairline) solid currentColor; color: inherit; }
.button.secondary:hover { background: var(--copper-wash); }
.button:disabled,
.button[aria-disabled="true"] { opacity: .5; cursor: not-allowed; background: var(--copper); }
.button[aria-busy="true"] { opacity: .7; cursor: progress; }
.button.block { width: 100%; }

.textlink {
  display: inline-block;
  border-bottom: var(--hairline) solid var(--copper);
  padding-block: var(--space-1);
  min-height: 40px;
}
.textlink:hover { color: var(--copper-deep); }
.dark .textlink:hover, .raised .textlink:hover { color: var(--copper); }

/* ---------- header and footer ---------- */

.logo { display: inline-flex; align-items: center; line-height: 1; padding-block: var(--space-1); flex-shrink: 0; }
.logo img { width: 205px; height: auto; display: block; }

.header { background: var(--ink); color: var(--paper); border-bottom: var(--hairline) solid var(--dark-line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 94px; }
.nav { display: flex; align-items: center; gap: 27px; }
.nav a { padding-block: 12px; }
.nav .nav-cta { border-bottom: var(--hairline) solid var(--copper); }
.menu-toggle { display: none; background: transparent; color: inherit; padding: 12px; border: var(--hairline) solid var(--dark-line); }

.footer { padding-block: var(--space-7); background: var(--ink); color: var(--paper); border-top: var(--hairline) solid var(--dark-line); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.5fr; gap: var(--space-6) var(--space-4); }
.footer-brand img { width: 205px; height: auto; }
.footer-brand p { color: var(--on-dark); margin-top: var(--space-3); max-width: 34ch; }
.footer-social { display: flex; flex-wrap: wrap; gap: 4px; margin-top: var(--space-3); margin-left: -12px; }
.footer-social a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--on-dark);
}
.footer-social a:hover { color: var(--copper); }
.footer-social svg { width: 20px; height: 20px; display: block; }

.footer-social img { width: 20px; height: 20px; display: block; }
.footer-col > h3 { color: var(--copper); text-transform: uppercase; margin-bottom: var(--space-3); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a { display: block; padding-block: 11px; text-transform: uppercase; }
.footer-col a:hover { color: var(--copper); }
.footer-feature { border-left: var(--accent-rule) solid var(--copper); padding-left: var(--space-3); align-self: start; }
.footer-feature > span { display: block; color: var(--copper); text-transform: uppercase; margin-bottom: var(--space-2); }
.footer-feature h3 { margin-bottom: var(--space-3); }
.footer-bottom {
  border-top: var(--hairline) solid var(--dark-line);
  padding-top: var(--space-3);
  margin-top: var(--space-6);
  color: var(--on-dark);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.footer-legal { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.footer-legal a { text-transform: uppercase; }
.footer-legal a:hover { color: var(--copper); }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 650px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 650px) {
  .header-row { min-height: 80px; flex-wrap: wrap; gap: 0; }
  .logo img { width: 174px; }
  .menu-toggle { display: block; }
  .nav { display: none; flex-direction: column; align-items: stretch; width: 100%; padding: 15px 0 25px; gap: 6px; }
  .nav.open { display: flex; }
  .nav a { padding-block: 12px; }
}

/* ---------- hero ---------- */

.hero { display: grid; grid-template-columns: 1.15fr 1fr; max-width: 1440px; margin-inline: auto; background: var(--ink); color: var(--paper); }
.hero-copy { padding: 70px 0 74px max(6vw, 35px); position: relative; z-index: 1; }
.hero-copy h1 { max-width: 700px; }
.hero-copy p { max-width: 405px; margin-top: 30px; color: var(--on-dark); }
.hero-photo { position: relative; min-height: 640px; overflow: hidden; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--ink), transparent 16%),
    linear-gradient(0deg, var(--ink-scrim), transparent 35%);
}

@media (max-width: 650px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 44px 6%; }
  .hero-photo { height: 420px; min-height: 0; }
  .hero-photo::after { background: linear-gradient(0deg, var(--ink-scrim), transparent 30%); }
}

/* ---------- splits and rows ---------- */

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 8%; }
.split h2 { max-width: 620px; }
.parallel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.parallel.pairs { grid-template-columns: repeat(2, 1fr); }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 42px; }

@media (max-width: 900px) { .split { gap: 40px; } .parallel { gap: 25px; } }
@media (max-width: 650px) { .split, .parallel, .parallel.pairs { grid-template-columns: 1fr; gap: 35px; } }

.proof-item h3 { margin-bottom: 12px; }
.proof-item p { color: var(--muted); }
@media (max-width: 650px) { .proof-item { border-top: var(--hairline) solid var(--line); padding-top: var(--space-3); } }

.principle { border-top: var(--accent-rule) solid var(--copper); padding-top: 22px; }
.principle .number { display: block; color: var(--copper-deep); margin-bottom: var(--space-3); }
.principle h3 { margin-bottom: 15px; }
.principle p { color: var(--muted); }

.article-card { border-top: var(--hairline) solid var(--line); padding-top: 22px; }
.article-card h3 { margin-block: 18px; }
.article-card p { color: var(--muted); }

.insight-item { display: grid; grid-template-columns: 1.25fr 1fr; gap: 8%; padding-block: 45px; border-top: var(--hairline) solid var(--line); }
.insight-item h2 a:hover { color: var(--copper-deep); }
.insight-item p { color: var(--muted); margin-bottom: var(--space-3); }
@media (max-width: 750px) { .insight-item { grid-template-columns: 1fr; gap: var(--space-3); } }

.venture { display: grid; grid-template-columns: 1fr 1.4fr .8fr; gap: 26px; border-top: var(--hairline) solid var(--line); padding-block: 26px; align-items: start; }
.venture p { color: var(--muted); }
@media (max-width: 650px) { .venture { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- workshops ---------- */

.workshop-row { display: grid; grid-template-columns: .7fr 1.65fr .9fr; gap: 35px; padding-block: 35px; border-top: var(--hairline) solid var(--line); }
.workshop-date strong { display: block; font-size: 22px; line-height: 1.25; margin-top: 15px; }
.workshop-row h3 { margin-bottom: 18px; }
.workshop-row p { color: var(--muted); }
.workshop-meta { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 25px; }
.workshop-meta dd { margin-top: 5px; color: var(--muted); }
.workshop-action { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); }
.workshop-action .button { white-space: normal; text-align: left; }
.workshop-action small { color: var(--muted); }
.workshop-filters { display: flex; flex-wrap: wrap; gap: 12px; }
.workshop-filters button {
  padding: 13px 22px;
  background: transparent;
  border: var(--hairline) solid var(--field-border);
  color: var(--ink);
  border-radius: var(--radius);
  min-height: 48px;
}
.workshop-filters button:hover { background: var(--copper-wash); }
.workshop-filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (max-width: 750px) {
  .workshop-row { grid-template-columns: 1fr; gap: var(--space-3); }
  .workshop-action .button { width: 100%; text-align: center; }
}

/* ---------- quotes, notes, samples ---------- */

.quote { padding-block: 26px; border-top: var(--hairline) solid var(--dark-line); }
.quote footer { color: var(--on-dark); margin-top: 14px; }

.note { padding: 18px 22px; border-left: var(--accent-rule) solid var(--copper); background: var(--surface); margin-block: 25px; }
.dark .note, .raised .note { background: var(--ink-raised); color: var(--on-dark); }

.sample { border-left: var(--accent-rule) solid var(--copper); padding: 10px 0 10px 30px; margin-top: 35px; }

.empty-state { padding: 30px; background: var(--surface); margin-top: 15px; }
.empty-state p { margin-top: 12px; }

.panel-card { padding: 30px; background: var(--surface); }
.panel-card li { margin-block: var(--space-1); }

.article-cta { padding: 35px; background: var(--warm-white); border-top: var(--accent-rule) solid var(--copper); }

/* ---------- slide-over panel ---------- */

.panel { position: fixed; inset: 0; z-index: 40; }
.panel[hidden] { display: none; }
.panel-scrim {
  position: absolute;
  inset: 0;
  background: var(--ink-veil);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .24s ease;
  z-index: 40;
}
.slide-over {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(470px, 100%);
  padding: var(--space-6) 44px var(--space-6);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--ink);
  color: var(--paper);
  transform: translateX(100%);
  transition: transform .28s ease;
  z-index: 41;
}
.panel.is-open .panel-scrim { opacity: 1; }
.panel.is-open .slide-over { transform: none; }
.slide-over p { color: var(--on-dark); }
.slide-over .panel-mark { width: 215px; height: auto; margin-bottom: var(--space-3); }
.slide-over .panel-rule { width: 92px; height: var(--accent-rule); background: var(--copper); margin-bottom: var(--space-3); }
.slide-over h2 { text-transform: none; margin-bottom: var(--space-3); }
.slide-over .field-group { margin-top: var(--space-5); }
.slide-over .form-consent { text-align: center; margin-top: var(--space-5); }
.slide-over .form-consent a { border-bottom: var(--hairline) solid currentColor; }
.slide-over .button { margin-top: var(--space-3); }
.panel-close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: inherit;
  border: var(--hairline) solid var(--dark-line);
  border-radius: var(--radius-round);
  font-size: 20px;
  line-height: 1;
}
.panel-close:hover { border-color: var(--copper); color: var(--copper); }
@media (max-width: 650px) { .slide-over { padding: var(--space-6) 7%; } }
@media (prefers-reduced-motion: reduce) {
  .slide-over { transition: none; }
  .panel-scrim { transition: none; }
}

/* ---------- forms ----------
   One field shape across every ground. A panel sets the ground; the field
   inherits it. Every state that carries meaning carries a word as well as a
   color, so none of it depends on seeing the difference between two hues. */

.form-panel {
  padding: 36px;
  background: var(--warm-white);
  border-top: var(--accent-rule) solid var(--copper);
}
.form-panel.on-dark-ground { background: var(--ink-raised); color: var(--paper); }
.form-panel > h3 { margin-bottom: var(--space-3); }
.form-panel > p { color: var(--muted); margin-bottom: var(--space-4); }
.form-panel.on-dark-ground > p { color: var(--on-dark); }

.field-group { display: grid; gap: var(--space-3); }
.field-group.pairs { grid-template-columns: 1fr 1fr; }
@media (max-width: 650px) { .field-group.pairs { grid-template-columns: 1fr; } }

.field { display: block; }
.field > .field-label { display: block; margin-bottom: var(--space-1); }
.field > .field-hint { display: block; margin-top: var(--space-1); color: var(--muted); }
:is(.on-dark-ground, .slide-over) .field > .field-hint { color: var(--on-dark); }

/* Text-like controls only. A checkbox or radio is also an <input> and also
   matches :read-only, so every rule below excludes those two types by hand
   and the choice controls are styled separately further down. */

.field input:not([type="checkbox"]):not([type="radio"]),
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  padding: 14px;
  min-height: 52px;
  background-color: var(--paper);
  color: var(--ink);
  border: var(--hairline) solid var(--field-border);
  border-radius: var(--radius);
  transition: border-color .18s;
}
.field input:not([type="checkbox"]):not([type="radio"])::placeholder,
.field textarea::placeholder { color: var(--muted); }
.field input:not([type="checkbox"]):not([type="radio"]):hover,
.field select:hover,
.field textarea:hover { border-color: var(--ink); }
.field textarea { resize: vertical; min-height: 160px; line-height: 1.6; }
/* The chevron is the glyph-set chevron-down. A background-image cannot read a
   custom property, so the stroke is written out: ink here, on-dark below. */
.field select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23181b1c' stroke-width='1.75' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M5 9L12 16L19 9'/%3E%3C/svg%3E");
  background-position: calc(100% - 15px) center;
  background-size: 18px 18px;
  background-repeat: no-repeat;
}
:is(.on-dark-ground, .slide-over) .field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c5cbc7' stroke-width='1.75' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M5 9L12 16L19 9'/%3E%3C/svg%3E");
}

:is(.on-dark-ground, .slide-over) .field input:not([type="checkbox"]):not([type="radio"]),
:is(.on-dark-ground, .slide-over) .field select,
:is(.on-dark-ground, .slide-over) .field textarea { background-color: transparent; color: inherit; }
:is(.on-dark-ground, .slide-over) .field input:not([type="checkbox"]):not([type="radio"])::placeholder,
:is(.on-dark-ground, .slide-over) .field textarea::placeholder { color: var(--field-placeholder); }
:is(.on-dark-ground, .slide-over) .field input:not([type="checkbox"]):not([type="radio"]):hover,
:is(.on-dark-ground, .slide-over) .field select:hover,
:is(.on-dark-ground, .slide-over) .field textarea:hover { border-color: var(--copper); }

.field input:not([type="checkbox"]):not([type="radio"]):disabled,
.field select:disabled,
.field textarea:disabled {
  background-color: var(--surface);
  color: var(--muted);
  border-color: var(--line);
  cursor: not-allowed;
}
.field input:not([type="checkbox"]):not([type="radio"]):read-only:not(:disabled),
.field textarea:read-only:not(:disabled) { background-color: var(--surface); border-style: dashed; }

.field.is-invalid input:not([type="checkbox"]):not([type="radio"]),
.field.is-invalid select,
.field.is-invalid textarea { border-color: var(--danger); border-width: 2px; }
:is(.on-dark-ground, .slide-over) .field.is-invalid input:not([type="checkbox"]):not([type="radio"]),
:is(.on-dark-ground, .slide-over) .field.is-invalid select,
:is(.on-dark-ground, .slide-over) .field.is-invalid textarea { border-color: var(--danger-on-dark); }

.field-error { display: block; margin-top: var(--space-1); color: var(--danger); font-weight: 700; }
:is(.on-dark-ground, .slide-over) .field-error { color: var(--danger-on-dark); }
.field-success { display: block; margin-top: var(--space-1); color: var(--success); font-weight: 700; }
:is(.on-dark-ground, .slide-over) .field-success { color: var(--success-on-dark); }

/* Floating labels. The label starts in the field and rises on focus or once
   there is a value, so a compact panel keeps a real label rather than relying
   on a placeholder that vanishes the moment someone types. The control needs
   placeholder=" " for :placeholder-shown to work, and the label follows it in
   source order. */

.field.floating { position: relative; }
.field.floating > input,
.field.floating > select,
.field.floating > textarea { padding: 24px 15px 10px; }
.field.floating > .field-label {
  position: absolute;
  left: 16px;
  top: 19px;
  margin: 0;
  color: var(--muted);
  pointer-events: none;
  transform-origin: left top;
  transition: transform .16s ease, color .16s ease;
}
:is(.on-dark-ground, .slide-over) .field.floating > .field-label { color: var(--field-placeholder); }
.field.floating > input:focus + .field-label,
.field.floating > textarea:focus + .field-label,
.field.floating > input:not(:placeholder-shown) + .field-label,
.field.floating > textarea:not(:placeholder-shown) + .field-label,
.field.floating.raised > .field-label { transform: translateY(-12px) scale(.8); color: var(--copper); }
.field.floating.is-invalid > .field-label { color: var(--danger); }
:is(.on-dark-ground, .slide-over) .field.floating.is-invalid > .field-label { color: var(--danger-on-dark); }

/* Choice controls. Fixed 22px box, never stretched by the text-field rules. */

.choice { display: flex; align-items: flex-start; gap: var(--space-2); padding-block: var(--space-1); cursor: pointer; }
.choice input[type="checkbox"],
.choice input[type="radio"] {
  appearance: none;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  margin: 0;
  padding: 0;
  background: var(--paper);
  border: var(--hairline) solid var(--field-border);
  border-style: solid;
  border-radius: var(--radius);
  cursor: pointer;
}
.choice input[type="radio"] { border-radius: var(--radius-round); }
.choice input[type="checkbox"]:hover,
.choice input[type="radio"]:hover { border-color: var(--ink); }
.choice input[type="checkbox"]:checked,
.choice input[type="radio"]:checked { background-color: var(--copper); border-color: var(--copper-deep); }
/* The tick is a mask so its colour stays the ink token rather than a literal. */
.choice input[type="checkbox"]:checked {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Crect width='22' height='22' fill='%23fff'/%3E%3Cpath d='M5.5 11.3l3.6 3.6 7.2-7.4' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='square'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Crect width='22' height='22' fill='%23fff'/%3E%3Cpath d='M5.5 11.3l3.6 3.6 7.2-7.4' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='square'/%3E%3C/svg%3E");
  -webkit-mask-size: 22px 22px;
  mask-size: 22px 22px;
}
.choice input[type="radio"]:checked { box-shadow: inset 0 0 0 4px var(--paper); }
.choice input[type="checkbox"]:disabled,
.choice input[type="radio"]:disabled { background-color: var(--surface); border-color: var(--line); cursor: not-allowed; }
:is(.on-dark-ground, .slide-over) .choice input[type="checkbox"],
:is(.on-dark-ground, .slide-over) .choice input[type="radio"] { background-color: transparent; }
:is(.on-dark-ground, .slide-over) .choice input[type="checkbox"]:hover,
:is(.on-dark-ground, .slide-over) .choice input[type="radio"]:hover { border-color: var(--copper); }
:is(.on-dark-ground, .slide-over) .choice input[type="checkbox"]:checked,
:is(.on-dark-ground, .slide-over) .choice input[type="radio"]:checked { background-color: var(--copper); }
:is(.on-dark-ground, .slide-over) .choice input[type="radio"]:checked { box-shadow: inset 0 0 0 4px var(--ink-raised); }

.form-legend { display: block; margin-bottom: var(--space-2); color: var(--copper-deep); text-transform: uppercase; }
:is(.on-dark-ground, .slide-over) .form-legend { color: var(--copper); }

.form-actions { margin-top: var(--space-4); }
.form-consent { margin-top: var(--space-3); color: var(--muted); }
:is(.on-dark-ground, .slide-over) .form-consent { color: var(--on-dark); }

.form-status { display: block; margin-top: var(--space-3); min-height: 18px; font-weight: 700; }
.form-status.is-error { color: var(--danger); }
.form-status.is-success { color: var(--success); }
:is(.on-dark-ground, .slide-over) .form-status.is-error { color: var(--danger-on-dark); }
:is(.on-dark-ground, .slide-over) .form-status.is-success { color: var(--success-on-dark); }

.form-placeholder {
  border: var(--hairline) dashed var(--copper-deep);
  padding: 30px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  min-width: 0;
}
.form-placeholder p { margin: 0; }
.form-placeholder small { color: var(--muted); }
.dark .form-placeholder,
.raised .form-placeholder { border-color: var(--copper); }
.dark .form-placeholder small,
.raised .form-placeholder small { color: var(--on-dark); }
.placeholder-label { text-transform: uppercase; }

/* ---------- glyphs ----------
   One 24-unit grid, 1.75 stroke, square caps and mitred joins, drawn in
   currentColor so a glyph takes the colour of the text it sits in. Square
   caps are deliberate: nothing in this brand has a rounded corner. */

.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.14em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
.icon.solid { fill: currentColor; stroke: none; }
.icon.brand { fill: currentColor; stroke: none; }
.icon-16 { width: 16px; height: 16px; }
.icon-20 { width: 20px; height: 20px; }
.icon-24 { width: 24px; height: 24px; }
.icon-28 { width: 28px; height: 28px; }

/* ---------- editorial devices ----------
   The three moves that carry the clean editorial feel: a headline that drops
   to a quiet tone mid-sentence, an eyebrow that opens with a rule, and an
   optional grain that gives a large dark field depth without a gradient. */

.quiet { color: var(--muted); }
.dark .quiet, .raised .quiet, .slide-over .quiet { color: var(--on-dark); }

.eyebrow.ruled { display: flex; align-items: center; gap: 14px; }
.eyebrow.ruled::before {
  content: '';
  flex: 0 0 auto;
  width: 40px;
  height: var(--accent-rule);
  background: currentColor;
}

.grain {
  background-image: radial-gradient(var(--ink-grain) 1px, transparent 1px);
  background-size: 4px 4px;
}

/* ---------- statement block ---------- */

.statement { text-align: center; padding-block: var(--space-7); }
.statement .eyebrow.ruled { justify-content: center; }
.statement h1, .statement h2 { margin-inline: auto; }
.statement > p { margin-inline: auto; max-width: 52ch; }
.statement .statement-sub { display: block; margin-top: var(--space-3); color: var(--muted); text-transform: uppercase; }
.dark .statement .statement-sub, .raised .statement .statement-sub { color: var(--on-dark); }
.statement .actions { justify-content: center; margin-top: var(--space-5); }
.statement .figure-row { display: flex; justify-content: center; gap: 2px; margin-top: var(--space-4); }
.statement .figure-row img { height: 128px; width: auto; }
@media (max-width: 650px) { .statement .figure-row img { height: 84px; } }

/* ---------- full-bleed split ---------- */

.split-feature { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.split-feature > figure { margin: 0; position: relative; min-height: 560px; }
.split-feature > figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
.split-feature-body { padding: var(--space-7) var(--space-6); align-self: center; }
.split-feature-body > p { max-width: 54ch; }
@media (max-width: 900px) {
  .split-feature { grid-template-columns: 1fr; }
  .split-feature > figure { min-height: 360px; }
  .split-feature-body { padding: var(--space-6) 6%; }
}

/* ---------- article furniture ---------- */

.article-header { padding: 45px 0 70px; }
.article-header h1 { max-width: 1000px; }
.article-deck { max-width: 780px; margin-top: 25px; }
.article-signoff { margin: var(--space-3) 0 var(--space-5); }
.article-signoff img { width: 205px; height: auto; }
.next-article { margin-top: var(--space-5); padding-top: 30px; border-top: var(--hairline) solid var(--line); }
.next-article > a { display: block; font-weight: 800; }
.next-article > a:hover { color: var(--copper-deep); }

.sample-label { display: block; text-transform: uppercase; color: var(--muted); margin-bottom: var(--space-2); }

.filter-status { color: var(--muted); margin-top: 15px; }

.inquiry-path { padding-block: var(--space-3); border-top: var(--hairline) solid var(--line); }
.inquiry-path h2 { margin-bottom: 12px; }
.inquiry-path p { color: var(--muted); }

/* ---------- documentation table ---------- */

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; border-bottom: var(--hairline) solid var(--line); padding: var(--space-2) 12px; vertical-align: top; }
th { text-transform: uppercase; }
code { background: var(--code-surface); color: var(--code-ink); padding: 3px 6px; border-radius: var(--radius-sm); }

/* ---------- disclosure ---------- */

.faq details { padding-block: 12px; border-top: var(--hairline) solid var(--line); }
.faq summary { font-weight: 700; cursor: pointer; padding-block: 10px; }
.faq p { padding-bottom: var(--space-3); }

/* ---------- article ---------- */

.article-layout { display: grid; grid-template-columns: 230px minmax(0, var(--measure-article)); gap: 8%; padding: 70px 0 90px; }
.article-toc a { display: block; padding-block: 10px; border-bottom: var(--hairline) solid var(--line); }
.article-toc a:hover { color: var(--copper-deep); }
.article-body section { margin-bottom: 45px; scroll-margin-top: 30px; }
.article-body h2 { margin-bottom: 22px; }
.article-body p { margin: 0 0 var(--space-3); }
.author-line { display: flex; align-items: center; gap: var(--space-2); margin-top: 30px; color: var(--on-dark); }
.author-line img { width: 48px; height: 48px; object-fit: cover; object-position: 50% 10%; border-radius: var(--radius-round); }
@media (max-width: 750px) {
  .article-layout { grid-template-columns: 1fr; padding: 40px 0 60px; gap: 35px; }
  .article-toc { background: var(--warm-white); padding: 25px; }
}

/* Jim Leslie — consumer layer.
   Everything the design system provides lives in tokens.css and bundle.css.
   This sheet holds only the handful of rules a consuming site has to supply
   itself: spacing between two elements the system does not pair, and a few
   colour assignments the component READMEs specify in prose but the bundle
   does not ship. Nothing here invents a value; every colour and space is a
   token. Load it last. */

/* A section introduction sitting directly under its headline. The system
   spaces a heading from its content block, not from a sibling paragraph. */
.section-intro { margin-top: var(--space-3); }
.section-lede { margin-top: var(--space-3); max-width: var(--measure); }

/* VentureRow: "a label in copper-deep" (components/VentureRow). */
.venture > .label { color: var(--copper-deep); }

/* WorkshopRow metadata terms, per components/WorkshopRow. */
.workshop-meta dt { color: var(--copper-deep); }

/* ArticleLayout contents rail: the rail needs a heading of its own so the
   list of links reads as navigation. */
.toc-label { display: block; margin-bottom: var(--space-1); color: var(--muted); }

/* The testimonial inside a SplitFeature body, which the bleed does not space. */
.split-feature-body .quote { margin-top: var(--space-5); }

/* PrincipleCard rows and venture lists carry their own rules, so the list
   that holds them only needs clearance from the heading above it. */
.list-stack { margin-top: var(--space-5); }

/* A pair of plain prose blocks in `parallel pairs`, each closing with a link. */
.pair-block h2 { margin-bottom: var(--space-2); }
.pair-block .textlink { margin-top: var(--space-3); }

/* Hero actions sit under the supporting line rather than a heading. */
.hero-copy .actions { margin-top: var(--space-4); }

/* Inquiry list spacing on the contact page. */
.inquiry-list { margin-top: var(--space-4); }

/* The draft marker used while article copy is in editorial review. Remove the
   markup, not this rule, once the pieces are approved. */
.draft-flag { display: inline-block; margin-left: var(--space-1); color: var(--copper-deep); }
.dark .draft-flag, .raised .draft-flag { color: var(--copper); }

/* ---- contrast and spacing corrections ----
   The bundle scopes its dark-ground overrides to .dark, .raised and
   .slide-over. The header, footer and hero paint an ink ground of their own
   without those classes, so `quiet` text inside them has to be reassigned to
   on-dark or it drops to muted on ink, well under the contrast floor. */
.footer .quiet,
.hero .quiet { color: var(--on-dark); }

/* The head-row is a two-item flex row with no stacking rule of its own. */
@media (max-width: 650px) {
  .head-row { flex-direction: column; align-items: flex-start; gap: var(--space-3); }
}

/* A category tag above a row title needs clearance the row does not set. */
.insight-item .tag { margin-bottom: var(--space-2); }

/* A sample label following a section headline. */
h2 + .sample-label { margin-top: var(--space-3); }

/* ---- layout additions ----
   The hero runs the full viewport width here rather than the system's 1440px
   cap, so the portrait panel meets the edge of the screen on a wide display. */
.hero { max-width: none; }

/* An inline photograph inside a reading section, for the pages that do not get
   the page's one full bleed. No border, no radius, no shadow, per the system:
   a photograph separates by being a photograph. */
.inline-figure { margin: 0; }
.inline-figure img { width: 100%; height: auto; }
.inline-figure figcaption { margin-top: var(--space-2); color: var(--muted); }
@media (max-width: 650px) { .inline-figure { margin-top: var(--space-4); } }

/* Sections no longer open with an eyebrow, so a headline sits at the top of its
   block and its supporting line needs the clearance the eyebrow used to carry. */
.section > .wrap > h1 + .lead,
.section > .wrap > h2 + .lead { margin-top: var(--space-3); }

/* A numbered stage block carries a little more weight than a principle card,
   because the row under the hero is doing real work rather than supporting a
   headline above it. The rule and the number are the system's; only the size of
   the gap between them changes. */
.principle.stage { padding-top: 26px; }
.principle.stage .number { margin-bottom: var(--space-4); }
.principle.stage h3 { margin-bottom: var(--space-2); }

/* A supplied quote on a light ground. The system's Quote is drawn for a dark
   section, where the attribution reads `on-dark`; on paper or warm-white that
   drops far below the contrast floor, so both the rule and the attribution are
   reassigned to their light-ground tokens. */
.section:not(.dark):not(.raised) .quote { border-top-color: var(--line); }
.section:not(.dark):not(.raised) .quote footer { color: var(--muted); }

/* ---- hero band ----
   The ink ground runs the full viewport width while the headline, the promise
   and the photograph stay boxed to the page measure, so the hero lines up with
   every section below it instead of floating wider than the rest of the page. */
.hero-band { background: var(--ink); }
.hero { width: min(var(--content-max), var(--content-inset)); margin-inline: auto; }
.hero-copy { padding: 76px var(--space-6) 80px 0; }
@media (max-width: 650px) { .hero-copy { padding: 44px 0 40px; } }

/* ---- headline measure ----
   Heavy uppercase at this weight needs room to wrap or it stacks into a narrow
   column and reads cramped. Hand breaks stay only in the hero; everywhere else
   a headline wraps inside a measure wide enough to carry it. */
.section-heading { max-width: 24ch; }
.split-feature-body .section-heading { max-width: 30ch; }
.statement .section-heading { max-width: 26ch; margin-inline: auto; }
.head-row .section-heading { max-width: 20ch; }
@media (max-width: 900px) { .section-heading { max-width: 22ch; } }

/* ---- insight card ----
   The library rows carry a photograph, so the system's two-column row becomes
   three: the card image, the title, then the summary and its link. It collapses
   to one column on the same breakpoint the component already uses. */
.insight-item { grid-template-columns: 220px 1.1fr 1fr; gap: 5%; align-items: start; }
.insight-item .insight-thumb { margin: 0; }
.insight-item .insight-thumb img { width: 100%; height: auto; }
@media (max-width: 1000px) { .insight-item { grid-template-columns: 170px 1.1fr 1fr; } }
@media (max-width: 750px) {
  .insight-item { grid-template-columns: 1fr; gap: var(--space-3); }
  .insight-item .insight-thumb { max-width: 320px; }
}

/* ---- boxed content inside full-bleed blocks ----
   A split-feature paints its ground edge to edge, but the text inside it
   should line up with the page measure like every other section. The inset
   is the same gutter .wrap leaves on either side of the content column. */
:root { --page-inset: calc((100vw - min(var(--content-max), 88vw)) / 2); }
.split-feature > .split-feature-body:first-child { padding-left: max(var(--space-6), var(--page-inset)); }
.split-feature > .split-feature-body:last-child { padding-right: max(var(--space-6), var(--page-inset)); }
@media (max-width: 900px) {
  .split-feature > .split-feature-body:first-child,
  .split-feature > .split-feature-body:last-child { padding-inline: 6%; }
}

/* ---- photograph fades ----
   The hero portrait and the About portrait fade into the ink ground on both
   sides so the photograph sits in the page rather than on it. */
.hero-photo img {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 80%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 80%, transparent 100%);
}
.split-feature.fade-ground { background: var(--ink); }
.split-feature > figure.fade img {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 18%, #000 82%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 18%, #000 82%, transparent 100%);
}
@media (max-width: 900px) {
  .hero-photo img, .split-feature > figure.fade img {
    -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
  }
}

/* A placeholder figure beside a reading block, awaiting a supplied photograph. */
.inline-figure .caption { display: block; margin-top: var(--space-2); color: var(--muted); }
.dark .inline-figure .caption { color: var(--on-dark); }

/* Keep the two halves of a split-feature at half width each. A heavy
   uppercase headline otherwise pushes its column wide and crushes the photo. */
.split-feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 900px) { .split-feature { grid-template-columns: 1fr; } }

/* A page headline inside a half-width split-feature body gets one size down,
   or a long uppercase line stacks one word per row. */
.split-feature-body .headline { font-size: clamp(40px, 4.4vw, 64px); }
.split .headline { font-size: clamp(40px, 4.4vw, 64px); max-width: 16ch; }

/* Added for Front Door. The article paragraphs lose their class (the richtext
   sanitizer drops it), so the same declarations hang off the container. */
.article-prose > p {
  font-size: clamp(17px, 1.7vw, 19px);
  line-height: 1.8;
  font-weight: 400;
}

/* What /fd.js puts in place of a form on success. */
[data-fd-form-success] { display: block; font-weight: 700; color: var(--success); }
.on-dark-ground [data-fd-form-success],
.slide-over [data-fd-form-success] { color: var(--success-on-dark); }
