/* ives-yim.org.uk, design v4 (September 2026)
   Navy, gold and ivory, Source Serif 4 for display and reading, Source Sans 3 for interface. */

/* Fonts are self-hosted (SIL Open Font License, see fonts/OFL-LICENSE.txt): no requests to Google. */
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/source-serif-4-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/source-serif-4-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/source-serif-4-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/source-serif-4-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/source-sans-3-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/source-sans-3-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/source-sans-3-latin-700-normal.woff2) format("woff2"); }

:root {
  --navy: #1F3358;
  --navy-deep: #16264A;
  --navy-line: #3A4E78;
  --gold: #C9A227;
  --ivory: #F7F5F0;
  --sand: #EDE9E0;
  --paper: #FFFFFF;
  --ink: #1B2433;
  --body: #26303F;
  --text-2: #3A4454;
  --muted: #545E6E;
  --rule: #DDD8CC;
  --on-navy: #F4F1EA;
  --on-navy-2: #D6DCE7;
  --on-navy-3: #C8D0DE;
  --accent: var(--gold);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 1200px;
  --gutter: 24px;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  margin: 0; font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy);
}
.on-navy .eyebrow, .eyebrow.gold { color: var(--gold); }
.display { font-family: var(--serif); font-weight: 500; color: var(--navy-deep); line-height: 1.12; margin: 0; }
h1, h2, h3 { color: var(--navy-deep); }

/* Buttons */
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 600; font-size: 17px; line-height: 1.2;
  text-decoration: none; padding: 15px 26px; border-radius: 6px; border: 1px solid transparent; text-align: center;
}
.btn:hover { text-decoration: none; }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: #D8B23A; color: var(--navy-deep); }
.btn-ghost { border-color: #8C9AB3; color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-sm { font-size: 15px; padding: 10px 16px; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* Header */
.site-header { background: var(--navy); color: var(--on-navy); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; padding-bottom: 22px; }
.brand { display: flex; flex-direction: column; gap: 1px; text-decoration: none; color: var(--on-navy); }
.brand:hover { color: #fff; }
.brand-name { font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.2; }
.brand-role { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-navy-3); }
.primary-nav { display: flex; align-items: center; gap: 28px; font-size: 16px; }
.primary-nav a { color: var(--on-navy); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--gold); }
.primary-nav a.btn { padding: 11px 18px; border-bottom: 0; color: var(--navy-deep); }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary {
  list-style: none; cursor: pointer; width: 44px; height: 44px; border: 1px solid #5A6C8F; border-radius: 6px;
  display: flex; align-items: center; justify-content: center; color: var(--on-navy);
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav {
  position: absolute; right: 0; top: 52px; z-index: 20; width: 240px; background: var(--navy-deep);
  border: 1px solid var(--navy-line); border-radius: var(--radius); padding: 8px; display: flex; flex-direction: column;
}
.mobile-menu nav a { color: var(--on-navy); text-decoration: none; padding: 12px 14px; border-radius: 6px; }
.mobile-menu nav a[aria-current="page"] { background: var(--navy); }
.mobile-menu nav a.btn { margin-top: 6px; color: var(--navy-deep); }

.nav-beta { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy-deep);
  background: var(--gold); border-radius: 3px; padding: 1px 5px; margin-left: 4px; vertical-align: 2px; }
.hero-aside { margin: 4px 0 0; font-size: 17px; color: var(--on-navy-2); }
.hero-aside a { color: #fff; }

/* Home hero */
.hero { background: var(--navy); color: var(--on-navy); }
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; padding-top: 72px; padding-bottom: 104px; }
.hero-copy { grid-column: span 8; display: flex; flex-direction: column; gap: 26px; }
.hero h1 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 5.2vw, 68px); line-height: 1.06; letter-spacing: -0.01em; color: #fff; }
.hero .lede { margin: 0; font-size: 21px; line-height: 1.5; color: var(--on-navy-2); max-width: 700px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.hero-photo { grid-column: 10 / span 3; display: flex; justify-content: flex-end; }
.hero-photo img { width: 300px; height: 360px; object-fit: cover; object-position: center 20%; border-radius: 8px; border: 1px solid var(--navy-line); }

/* Proof strip */
.proof-strip { background: var(--paper); border-bottom: 1px solid var(--rule); }
.proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof-item { padding: 32px 24px; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--rule); }
.proof-item:first-child { border-left: 0; padding-left: 0; }
.proof-item strong { font-family: var(--serif); font-size: 25px; font-weight: 600; color: var(--navy); line-height: 1.2; }
.proof-item span { font-size: 16px; color: var(--muted); line-height: 1.45; }

/* Sections */
.section { padding: 104px 0; }
.section-sand { background: var(--sand); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head > div { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.section-head h2 { font-size: clamp(32px, 3.4vw, 46px); }

/* Service cards */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.card {
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 30px;
  display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink);
  transition: border-color 0.15s;
}
a.card:hover { border-color: var(--navy); color: var(--ink); text-decoration: none; }
.card h3, .card .card-title { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 25px; line-height: 1.2; color: var(--navy-deep); }
.card p { margin: 0; font-size: 17px; line-height: 1.55; color: #454F5F; }
.card .card-foot { margin-top: auto; font-size: 15px; color: var(--muted); }
.card-feature { grid-row: span 2; background: var(--navy); border-color: var(--navy); color: var(--on-navy); padding: 40px; gap: 20px; }
a.card-feature:hover { border-color: var(--gold); color: var(--on-navy); }
.card-feature .card-title { color: #fff; font-size: 34px; line-height: 1.15; }
.card-feature p { color: var(--on-navy-2); font-size: 18px; }
.card-feature ul { list-style: none; margin: auto 0 0; padding: 22px 0 0; border-top: 1px solid var(--navy-line); display: flex; flex-direction: column; gap: 8px; font-size: 16px; color: var(--on-navy); }
.card-feature .go { font-weight: 600; color: var(--gold); }

.sectors { margin: 32px 0 0; font-size: 16px; color: var(--muted); line-height: 1.7; }
.sectors strong { color: var(--ink); }

/* Case study */
.case-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 40px; align-items: center; }
.case-copy { grid-column: span 5; display: flex; flex-direction: column; gap: 20px; }
.case-copy h2 { font-size: clamp(30px, 3vw, 42px); line-height: 1.15; }
.case-copy p { margin: 0; font-size: 19px; line-height: 1.6; color: var(--text-2); }
.stat-grid { grid-column: 7 / span 6; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.stat { background: var(--paper); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.stat strong { font-family: var(--serif); font-weight: 500; font-size: 48px; line-height: 1; color: var(--navy); }
.stat span { font-size: 16px; color: #454F5F; }

/* Writing teaser */
.writing-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.writing-feature { grid-column: span 6; padding: 44px; gap: 16px; }
.writing-feature .card-title { font-size: 40px; line-height: 1.1; }
.writing-feature .sub { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--muted); }
.series-cards { grid-column: span 6; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.series-card { border-top: 3px solid var(--navy); border-radius: 0 0 var(--radius) var(--radius); padding: 24px; gap: 8px; }
.series-card .card-title { font-size: 23px; }
.series-card p { font-size: 16px; color: var(--muted); }

/* Closing band */
.cta-band { background: var(--navy-deep); color: var(--on-navy); padding: 88px 0; }
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 48px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 14px; font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.15; color: #fff; }
.cta-band p { margin: 0; font-size: 20px; color: var(--on-navy-2); max-width: 720px; }
.cta-band .actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-end; }
.cta-band .actions a:not(.btn) { color: var(--on-navy); }

/* Footer */
.site-footer { padding: 36px 0 44px; font-size: 15px; color: var(--muted); }
.site-footer .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

.page-hero .feed-link { color: #fff; white-space: nowrap; }

/* Inner page hero */
.page-hero { background: var(--navy); color: var(--on-navy); }
.page-hero .container { padding-top: 56px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 16px; }
.page-hero h1 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 4.4vw, 56px); line-height: 1.08; color: #fff; }
.page-hero .lede { margin: 0; font-size: 20px; line-height: 1.5; color: var(--on-navy-2); max-width: 760px; }
.page-hero.with-photo .container { flex-direction: row; align-items: center; gap: 36px; }
.page-hero.with-photo img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; object-position: center 50%; border: 1px solid var(--navy-line); flex-shrink: 0; }
.page-hero.with-photo .text { display: flex; flex-direction: column; gap: 14px; }

/* Prose pages (services, about, contact) */
.prose-wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding-top: 64px; padding-bottom: 88px; }
.prose { grid-column: 3 / span 8; font-size: 19px; line-height: 1.65; color: var(--body); }
.prose h2 { font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 1.2; margin: 56px 0 16px; }
.prose h3 { font-family: var(--sans); font-weight: 600; font-size: 21px; margin: 32px 0 8px; }
.prose p { margin: 0 0 18px; }
.prose ul { padding-left: 1.2em; margin: 0 0 18px; }
.prose li { margin-bottom: 8px; }
.prose > :first-child { margin-top: 0; }
.prose .offer { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 32px 36px 16px; margin: 0 0 24px; scroll-margin-top: 24px; }
.prose .offer:first-of-type { margin-top: 40px; }
.prose .offer h3 { margin: 0 0 8px; font-family: var(--serif); font-weight: 500; font-size: 28px; color: var(--navy-deep); }
.prose .offer .for { font-size: 16px; color: var(--muted); margin-bottom: 16px; }
.prose .offer#workshop { background: var(--navy); border-color: var(--navy); color: var(--on-navy-2); }
.prose .offer#workshop h3 { color: #fff; }
.prose .offer#workshop .for { color: var(--on-navy-3); }
.prose .offer#workshop a { color: #fff; }
.prose .offer#workshop strong { color: #fff; }
.callout, .cta { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 26px 30px; margin: 40px 0 0; }
.callout p:last-child, .cta p:last-child { margin-bottom: 0; }
.timeline { list-style: none; padding: 0 !important; margin: 0 0 24px; }
.timeline li { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 18px 0; margin: 0; border-top: 1px solid var(--rule); }
.timeline li:last-child { border-bottom: 1px solid var(--rule); }
.timeline .when { font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); padding-top: 3px; }
.timeline .what strong { display: block; font-size: 18px; color: var(--ink); margin-bottom: 4px; }
.timeline .what p { margin: 0; font-size: 17px; color: var(--text-2); }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); margin: 8px 0 40px; }
.contact-grid .card { padding: 26px; }
.contact-grid .card .label { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.contact-grid .card a, .contact-grid .card .value { font-size: 19px; font-weight: 600; color: var(--navy-deep); word-break: break-word; }

/* Article pages */
.article-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; padding-top: 64px; padding-bottom: 72px; }
.article-rail { grid-column: span 3; position: sticky; top: 24px; display: flex; flex-direction: column; gap: 32px; padding-top: 6px; }
.rail-label { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.toc { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.35; border-left: 2px solid var(--rule); padding-left: 14px; }
.toc a { color: #454F5F; text-decoration: none; }
.toc a:hover { color: var(--navy-deep); text-decoration: underline; }
.share { display: flex; gap: 10px; }
.share a { width: 44px; height: 44px; border: 1px solid #C9C3B5; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--navy); }
.share a:hover { border-color: var(--navy); }
article.post { grid-column: 4 / span 6; min-width: 0; }
.post .kicker { margin: 0 0 16px; font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); }
.post .kicker a { text-decoration: none; }
.post h1 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4.2vw, 56px); line-height: 1.07; letter-spacing: -0.01em; color: var(--navy-deep); }
.post .standfirst { margin: 18px 0 0; font-family: var(--serif); font-style: italic; font-size: 23px; line-height: 1.4; color: var(--muted); }
.byline { display: flex; align-items: center; gap: 14px; margin: 30px 0 36px; padding: 16px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.35; }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: center 50%; }
.byline strong { display: block; color: var(--ink); }
.byline span { color: var(--muted); }
.post .body { font-family: var(--serif); font-size: 20px; line-height: 1.7; color: var(--body); }
.post .body p { margin: 0 0 22px; }
.post .body h2 { font-family: var(--sans); font-weight: 600; font-size: 28px; line-height: 1.25; margin: 48px 0 16px; scroll-margin-top: 24px; color: var(--navy-deep); }
.post .body h3 { font-family: var(--sans); font-weight: 600; font-size: 22px; line-height: 1.3; margin: 36px 0 12px; scroll-margin-top: 24px; color: var(--navy-deep); }
.post .body ul, .post .body ol { padding-left: 1.3em; margin: 0 0 22px; }
.post .body li { margin-bottom: 10px; }
.post .body blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); font-style: italic; color: var(--text-2); }
.post .body hr { border: 0; border-top: 1px solid var(--rule); margin: 40px 0; }
.post .body img { max-width: 100%; height: auto; }
.post .body strong { color: var(--ink); }
.post .body table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-family: var(--sans); font-size: 16px; line-height: 1.5; }
.post .body th, .post .body td { text-align: left; vertical-align: top; padding: 10px 12px; border-top: 1px solid var(--rule); }
.post .body th { font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--rule); }
.table-scroll { overflow-x: auto; margin: 0 0 24px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); }
.table-scroll table { margin: 0; }
.post .body .bio { font-size: 17px; font-style: italic; color: var(--muted); }
.article-notes { margin-top: 32px; font-size: 14px; color: var(--muted); }
.article-notes p { margin: 0 0 6px; }
.author-box { margin-top: 48px; padding: 30px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); display: flex; gap: 22px; align-items: flex-start; }
.author-box img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: center 50%; flex-shrink: 0; }
.author-box .name { font-family: var(--serif); font-size: 22px; color: var(--navy-deep); margin: 0 0 8px; }
.author-box p { margin: 0 0 12px; font-size: 17px; line-height: 1.55; color: var(--text-2); }
.author-box .links { display: flex; gap: 20px; font-size: 16px; font-weight: 600; flex-wrap: wrap; }
.article-side { grid-column: 10 / span 3; position: sticky; top: 24px; padding-top: 6px; }
.side-cta { background: var(--navy); color: var(--on-navy); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.side-cta .eyebrow { font-size: 13px; }
.side-cta .title { font-family: var(--serif); font-size: 23px; line-height: 1.25; color: #fff; margin: 0; }
.side-cta p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--on-navy-2); }
.side-cta .btn { align-self: flex-start; }
.more-band { background: var(--sand); padding: 72px 0 80px; }
.more-band h2 { margin: 0 0 26px; font-family: var(--serif); font-weight: 500; font-size: 32px; }
.more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.more-grid .card { border: 0; padding: 26px; gap: 8px; }
.more-grid .card .meta { font-size: 14px; color: var(--muted); }
.more-grid .card .card-title { font-size: 22px; line-height: 1.25; }

/* Writing index */
.writing-index { padding-top: 56px; padding-bottom: 88px; }
.writing-index > h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3vw, 40px); margin: 0 0 12px; scroll-margin-top: 24px; }
.writing-index > p.intro { margin: 0 0 32px; font-size: 19px; color: var(--text-2); max-width: 780px; }
.start-card { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: var(--navy); color: var(--on-navy); border-radius: var(--radius); padding: 36px 40px; text-decoration: none; margin-bottom: 48px; }
.start-card:hover { color: var(--on-navy); text-decoration: none; outline: 2px solid var(--gold); }
.start-card .title { font-family: var(--serif); font-size: 36px; line-height: 1.1; color: #fff; margin: 6px 0; display: block; }
.start-card .sub { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--on-navy-2); }
.series-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); margin-bottom: 80px; }
.series-block { background: var(--paper); border: 1px solid var(--rule); border-top: 3px solid var(--navy); border-radius: 0 0 var(--radius) var(--radius); padding: 28px 30px 18px; scroll-margin-top: 24px; }
.series-block h3 { margin: 0 0 6px; font-family: var(--serif); font-weight: 500; font-size: 26px; }
.series-block .blurb { margin: 0 0 14px; font-size: 16px; color: var(--muted); }
.post-list { list-style: none; margin: 0; padding: 0; }
.post-list li { border-top: 1px solid var(--rule); }
.post-list a { display: flex; gap: 14px; padding: 11px 0; text-decoration: none; color: var(--ink); font-size: 17px; line-height: 1.4; }
.post-list a:hover { color: var(--navy); text-decoration: underline; }
.post-list .n { color: var(--muted); font-size: 14px; min-width: 26px; padding-top: 2px; font-variant-numeric: tabular-nums; }
.theme-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px var(--gutter); }
.theme-grid h3 { margin: 0 0 8px; font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); }
.archive { margin: 56px 0 0; border-top: 1px solid var(--rule); padding-top: 24px; }
.archive summary { cursor: pointer; font-weight: 600; color: var(--navy-deep); font-size: 17px; }
.archive .intro { margin: 12px 0 8px; font-size: 16px; color: var(--muted); }
.disclosure { margin: 64px 0 0; padding: 22px 26px; border-left: 3px solid var(--gold); background: var(--paper); border-radius: 0 var(--radius) var(--radius) 0; font-size: 16px; color: var(--text-2); font-style: italic; }

/* Responsive */
@media (max-width: 1080px) {
  .article-grid { grid-template-columns: 1fr; }
  .article-rail { display: none; }
  article.post { grid-column: 1; max-width: 720px; margin: 0 auto; width: 100%; }
  .article-side { grid-column: 1; position: static; max-width: 720px; margin: 40px auto 0; width: 100%; }
  .prose { grid-column: 1 / -1; max-width: 760px; margin: 0 auto; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-feature { grid-row: auto; grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .primary-nav { display: none; }
  .mobile-menu { display: block; }
}
@media (max-width: 860px) {
  .mobile-menu { display: block; }
  .hero-grid { padding-top: 32px; padding-bottom: 56px; row-gap: 28px; }
  .hero-copy { grid-column: 1 / -1; order: 2; }
  .hero-photo { grid-column: 1 / -1; order: 1; justify-content: flex-start; }
  .hero-photo img { width: 96px; height: 96px; border-radius: 50%; }
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-item { padding: 20px 12px 20px 0; border-left: 0; border-top: 1px solid var(--rule); }
  .proof-item:nth-child(-n+2) { border-top: 0; }
  .proof-item strong { font-size: 20px; }
  .proof-item span { font-size: 14px; }
  .section { padding: 64px 0; }
  .service-grid, .writing-grid, .series-cards, .more-grid, .series-grid, .theme-grid, .contact-grid { grid-template-columns: 1fr; }
  .writing-feature, .series-cards { grid-column: 1 / -1; }
  .writing-feature { padding: 28px; }
  .writing-feature .card-title { font-size: 30px; }
  .case-copy, .stat-grid { grid-column: 1 / -1; }
  .stat strong { font-size: 36px; }
  .cta-band { padding: 56px 0; }
  .cta-band .actions { align-items: stretch; width: 100%; }
  .page-hero.with-photo .container { flex-direction: column; align-items: flex-start; }
  .page-hero.with-photo img { width: 96px; height: 96px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .start-card { grid-template-columns: 1fr; padding: 28px; }
  .start-card .title { font-size: 28px; }
  .author-box { flex-direction: column; }
  .post .body { font-size: 19px; }
}
@media (max-width: 480px) {
  :root { --gutter: 20px; }
  body { font-size: 17px; }
  .hero-actions .btn { width: 100%; }
  .card, .card-feature { padding: 22px; }
  .card-feature .card-title { font-size: 27px; }
  .prose { font-size: 18px; }
  .prose .offer { padding: 24px 22px 10px; }
  .stat-grid { gap: 10px; }
  .stat { padding: 18px; }
}
@media print {
  .site-header, .article-rail, .article-side, .more-band, .cta-band, .site-footer { display: none; }
  body { background: #fff; }
}
.feed-url code { display: inline-block; max-width: 100%; overflow-wrap: anywhere; background: var(--sheet, #fff); border: 1px solid var(--rule); border-radius: 6px; padding: 10px 14px; font-size: 16px; user-select: all; }

/* Ask my writing */
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); color: #fff; }
.btn:disabled { opacity: .55; cursor: progress; }
.ask .label { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted, #545E6E); }
.ask-beta { font-size: 15px; color: var(--muted, #545E6E); border-left: 3px solid var(--gold); padding: 4px 0 4px 14px; }
.ask-form { margin: 28px 0 18px; }
.ask-form textarea { width: 100%; font: inherit; font-size: 18px; line-height: 1.5; padding: 14px 16px; border: 1px solid var(--rule); border-radius: 8px; background: #fff; color: inherit; resize: vertical; }
.ask-form textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; }
.ask-actions { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.ask-status { font-size: 15px; color: var(--muted, #545E6E); }
.ask-examples { margin: 8px 0 24px; }
.ask-chip { font: inherit; font-size: 15px; text-align: left; background: #fff; color: var(--navy); border: 1px solid var(--rule); border-radius: 999px; padding: 8px 14px; margin: 0 8px 8px 0; cursor: pointer; }
.ask-chip:hover { border-color: var(--navy); }
.ask-note { font-size: 14px; color: var(--muted, #545E6E); }
.ask-thread:empty { display: none; }
.ask-turn { border-top: 1px solid var(--rule); padding: 22px 0 6px; }
.ask-turn:first-child { margin-top: 20px; }
.ask-question { font-family: var(--serif); font-size: 22px; line-height: 1.35; color: var(--navy-deep); margin: 0 0 12px; }
.ask-pending { color: var(--muted, #545E6E); font-style: italic; }
.ask-pending::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 10px; border-radius: 50%; background: var(--gold); animation: askpulse 1s ease-in-out infinite alternate; }
@keyframes askpulse { from { opacity: .25; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ask-pending::before { animation: none; } }
.ask-answer p, .ask-answer li { font-size: 18px; line-height: 1.6; }
.ask-sources { background: var(--paper); border: 1px solid var(--rule); border-radius: 8px; padding: 12px 16px; margin: 8px 0 12px; }
.ask-sources ul { margin: 0; padding-left: 20px; }
.ask-sources li { margin: 4px 0; }
.ask-error { color: #9B2C2C; }
.ask-inline { margin-top: 22px; max-width: 720px; }
.ask-inline label { display: block; font-weight: 600; margin-bottom: 8px; color: #fff; }
.ask-inline div { display: flex; gap: 10px; }
.ask-inline input { flex: 1; min-width: 0; font: inherit; font-size: 17px; padding: 12px 14px; border-radius: 6px; border: 1px solid var(--navy-line); }
.ask-inline .btn { padding: 12px 22px; }

.ask-approach { background: transparent; border-left: 3px solid #C9D3E6; padding: 2px 0 2px 16px; margin: 0 0 14px; }
.ask-approach-rag { border-left-color: #E6CF8F; }
.prose .ask-approach-tag, .ask-approach-tag { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #545E6E); margin: 0; }
.prose .ask-approach-title, .ask-approach-title { font-family: var(--serif); font-size: 20px; font-weight: 500; line-height: 1.3; color: var(--navy-deep, #1F3358); margin: 2px 0 8px; }
.ask-approach dl { margin: 0; font-size: 15px; line-height: 1.5; }
.ask-approach dt { font-weight: 600; margin-top: 6px; }
.ask-approach dd { margin: 0; }
.ask-stats { display: grid; grid-template-columns: max-content 1fr; gap: 2px 14px; font-size: 14px; color: var(--muted, #545E6E); margin: 6px 0 14px; }
.ask-stats dt { font-weight: 600; }
.ask-stats dd { margin: 0; font-variant-numeric: tabular-nums; }
.ask-compare-card { background: #FBF3DC; border: 1px solid #E6CF8F; border-left: 4px solid var(--gold); border-radius: 8px; padding: 16px 20px 18px; margin: 8px 0 20px; }
.prose .ask-compare-title, .ask-compare-title { font-family: var(--serif); font-size: 20px; line-height: 1.3; color: var(--navy-deep); margin: 0 0 4px; }
.prose .ask-compare-text, .ask-compare-text { font-size: 16px; line-height: 1.5; margin: 0 0 12px; }
.ask-compare { cursor: pointer; }
.ask-compare:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.ask-rag { border-top: 1px dashed var(--rule); padding-top: 18px; margin: 10px 0 18px; }
.ask-passages { margin: 0 0 14px; font-size: 15px; }
.ask-passages summary { cursor: pointer; color: var(--navy); font-weight: 600; }
.ask-passages ol { padding-left: 22px; }
.ask-passages li { margin: 12px 0; }
.ask-passage-head { margin: 0; font-weight: 600; }
.ask-passage-sec { font-weight: 400; color: var(--muted, #545E6E); }
.ask-passage-text { margin: 4px 0; line-height: 1.5; }
.ask-passage-meta { margin: 0; font-size: 13px; color: var(--muted, #545E6E); }
.ask-why { font-size: 15px; background: var(--paper); border: 1px solid var(--rule); border-radius: 8px; padding: 12px 16px; }
@media (max-width: 560px) { .ask-approach { padding: 12px 14px; } .ask-stats { grid-template-columns: 1fr; } .ask-stats dd { margin-bottom: 4px; } }
.ask-followup { border: 1px solid var(--rule); border-radius: 8px; background: #fff; padding: 16px 20px 18px; margin: 0 0 20px; }
.prose .ask-followup-title, .ask-followup-title { font-family: var(--serif); font-size: 20px; line-height: 1.3; color: var(--navy-deep); margin: 0 0 4px; }
.prose .ask-followup-text, .ask-followup-text { font-size: 16px; line-height: 1.5; margin: 0 0 12px; }
.ask-followup .btn { text-decoration: none; }
.contact-topic { background: #FBF3DC; border-left: 4px solid var(--gold); border-radius: 8px; padding: 14px 18px; }
.contact-topic[hidden] { display: none; }
.ask-inline-more { margin: 10px 0 0; font-size: 15px; color: rgba(255,255,255,.82); }
.ask-inline-more a { color: #fff; }

/* Ask page: compact hero so the question box sits in the first screen */
.page-hero--compact .container { padding-top: 32px; padding-bottom: 36px; gap: 10px; }
.page-hero--compact h1 { font-size: clamp(34px, 3.6vw, 46px); }
.page-hero--compact + .prose-wrap { padding-top: 32px; }
.ask-beta { margin-bottom: 8px; }
.ask-form { margin-top: 20px; }
.ask-form-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ask-hint { margin: 6px 0 0; font-size: 14px; color: var(--muted, #545E6E); }
.ask-form.is-busy textarea, .ask-form.is-busy button, .ask-chip[disabled] { opacity: .55; cursor: not-allowed; }
.ask-restart, .ask-copy { font: inherit; font-size: 14px; background: none; border: 0; padding: 4px 0; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ask-restart:focus-visible, .ask-copy:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.ask-how { margin: 4px 0 18px; font-size: 16px; }
.ask-how summary { cursor: pointer; color: var(--navy); font-weight: 600; }
.ask-how p { font-size: 16px; line-height: 1.55; margin: 10px 0; }
.ask-question:focus { outline: none; }
.ask-question:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

/* The answer as one bounded block, the most prominent thing in each turn */
.ask-result { background: #fff; border: 1px solid var(--rule); border-radius: 8px; padding: 18px 22px 6px; margin: 0 0 14px; }
.ask-result .ask-sources { background: var(--paper); }
.ask-approach-only { margin: 0 0 8px; }
.ask-turn-actions { margin: -4px 0 12px; }
.ask-col-rag { margin-top: 18px; }

/* Comparison: two columns on wide screens, rows aligned (head, then result) */
@media (min-width: 960px) {
  .ask-turn.has-compare .ask-cols {
    --w: min(1120px, calc(100vw - 64px));
    width: var(--w); margin-left: calc((100% - var(--w)) / 2);
    display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; grid-auto-flow: column; column-gap: 28px; align-items: start;
  }
  .ask-turn.has-compare .ask-col { display: contents; }
  .ask-turn.has-compare .ask-col-rag { margin-top: 0; }
  .ask-turn.has-compare .ask-answer p, .ask-turn.has-compare .ask-answer li { font-size: 17px; }
}
.ask-comparison { margin: 4px 0 18px; }
.ask-compare-table { width: 100%; border-collapse: collapse; font-size: 14px; color: var(--muted, #545E6E); font-variant-numeric: tabular-nums; margin: 0 0 10px; }
.ask-compare-table caption { text-align: left; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding-bottom: 6px; }
.ask-compare-table th, .ask-compare-table td { text-align: left; padding: 6px 12px 6px 0; border-top: 1px solid var(--rule); vertical-align: top; }
.ask-compare-table thead th, .ask-compare-table thead td { border-top: 0; color: var(--ink); font-weight: 600; }
.ask-compare-table tbody th { font-weight: 600; width: 1%; white-space: nowrap; }
.ask-missed { font-size: 16px; font-weight: 600; color: var(--navy-deep); margin: 8px 0 14px; }
@media (max-width: 560px) {
  .ask-compare-table thead { display: none; }
  .ask-compare-table tr { display: block; border-top: 1px solid var(--rule); padding: 6px 0; }
  .ask-compare-table th, .ask-compare-table td { display: block; border: 0; padding: 2px 0; width: auto; }
  .ask-compare-table td::before { content: attr(data-label) ": "; font-weight: 600; }
  .ask-result { padding: 14px 14px 4px; }
}

/* Writing page */
.post-list .t { flex: 1; }
.post-list .rt { color: var(--muted); font-size: 14px; white-space: nowrap; padding-top: 2px; font-variant-numeric: tabular-nums; }
.new-tag { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--amber, #7A5200); background: #FBF3DC; border-radius: 3px; padding: 1px 6px; vertical-align: 2px; }
.latest-grid { margin-bottom: 8px; }
.writing-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 36px 0 12px; }
.writing-filter label { font-weight: 600; }
.writing-filter input { font: inherit; font-size: 17px; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 6px; background: #fff; width: min(360px, 100%); }
.writing-filter input:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; }
.writing-filter [role=status] { font-size: 15px; color: var(--muted); }
.filter-empty { font-size: 17px; }
.filter-empty[hidden], .writing-index [data-filter-hidden] { display: none !important; }
@media (max-width: 480px) {
  .ask-inline div { flex-direction: column; }
  .ask-inline .btn { width: 100%; }
}
.ask-cta { border-top: 1px solid var(--rule); margin: 18px 0 16px; padding-top: 16px; }
.prose .ask-cta-title, .ask-cta-title { font-family: var(--serif); font-size: 20px; line-height: 1.3; color: var(--navy-deep); margin: 0 0 4px; }
.prose .ask-cta-text, .ask-cta-text { font-size: 16px; line-height: 1.5; margin: 0 0 12px; }
.prose .ask-cta-actions, .ask-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 0; }
.ask-cta .btn { text-decoration: none; }
.ask-cta-msg { font-size: 16px; }
.ask-ctx { margin: 10px 0 4px; font-size: 16px; }
.ask-ctx summary { cursor: pointer; color: var(--navy); font-weight: 600; }
.prose .ask-ctx-intro, .ask-ctx-intro { font-size: 15px; color: var(--muted, #545E6E); margin: 8px 0 10px; }
.ask-ctx-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ask-ctx-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.ask-ctx-field label span { font-weight: 400; color: var(--muted, #545E6E); }
.ask-ctx-field select, .ask-ctx-field input { width: 100%; font: inherit; font-size: 16px; padding: 9px 10px; border: 1px solid var(--rule); border-radius: 6px; background: #fff; color: inherit; }
.ask-ctx-field select:focus-visible, .ask-ctx-field input:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; }
.ask-ctx-note { margin-top: 12px; }
.prose .ask-ctx-warn, .ask-ctx-warn { font-size: 14px; color: var(--muted, #545E6E); margin: 4px 0 0; }
.ask-form.is-busy select, .ask-form.is-busy input { opacity: .55; cursor: not-allowed; }
.prose .ask-turn-context, .ask-turn-context { font-size: 14px; color: var(--muted, #545E6E); margin: -6px 0 12px; }
@media (max-width: 720px) { .ask-ctx-grid { grid-template-columns: 1fr; } }

/* Home page (2026 redesign) */
.hero-reassure { margin: -10px 0 0; font-size: 16px; color: var(--on-navy-2); }
.proof-item strong { font-size: 21px; }
.audience-tabs { display: inline-flex; gap: 8px; margin: 0 0 22px; }
.audience-tabs button { font: inherit; font-size: 16px; font-weight: 600; padding: 10px 18px; border-radius: 6px; border: 1px solid var(--navy); background: #fff; color: var(--navy); cursor: pointer; }
.audience-tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.audience-tabs button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.audience.has-tabs .audience-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.audience-panel:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.audience-panel + .audience-panel { margin-top: 36px; }
.audience.has-tabs .audience-panel + .audience-panel { margin-top: 0; }
.audience-title { font-family: var(--serif); font-weight: 500; font-size: 24px; margin: 0 0 12px; color: var(--navy-deep); }
.audience-panel { border-top: 2px solid var(--navy); }
.svc-row { display: grid; grid-template-columns: 4fr 5fr 4fr; gap: 28px; padding: 24px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.svc-name h4 { margin: 4px 0 0; font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.25; }
.svc-name h4 a { color: var(--navy-deep); text-decoration: none; }
.svc-name h4 a:hover { text-decoration: underline; }
.svc-desc { margin: 0; font-size: 17px; line-height: 1.55; color: var(--text-2, #454F5F); }
.svc-meta { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; font-size: 15px; line-height: 1.45; }
.svc-meta dt { color: var(--muted); }
.svc-meta dd { margin: 0; color: var(--ink); }
.sectors a { color: var(--navy); }
.case-band { background: var(--navy); color: var(--on-navy); padding: 96px 0; }
.case-band .case-copy h2 { color: #fff; }
.case-band .case-copy p { color: var(--on-navy-2); }
.case-band .link-arrow { color: #fff; }
.case-quote { margin: 4px 0 0; padding: 18px 0 0; border-top: 1px solid var(--navy-line); font-family: var(--serif); font-size: 22px; line-height: 1.4; color: #fff; }
.case-band .stat { background: transparent; border: 1px solid var(--navy-line); }
.case-band .stat strong { color: #fff; }
.case-band .stat span { color: var(--on-navy-2); }
.section-tight { padding: 80px 0 40px; }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); }
.tool-card p { margin: 0; font-size: 17px; line-height: 1.55; color: #454F5F; }
.tool-card .go { margin-top: auto; font-weight: 600; color: var(--navy); }
.cta-alt { flex-basis: 100%; margin: 0; font-size: 16px; color: var(--on-navy-2); }
.cta-band .cta-alt a { color: #fff; }
@media (max-width: 860px) {
  .svc-row { grid-template-columns: 1fr; gap: 10px; }
  .tool-grid { grid-template-columns: 1fr; }
  .case-band { padding: 64px 0; }
}
@media (max-width: 480px) {
  .audience-tabs { display: flex; }
  .audience-tabs button { flex: 1; padding: 10px 8px; }
}
/* Case study page */
.prose .standfirst-inline { font-family: var(--serif); font-size: 23px; line-height: 1.45; color: var(--navy-deep); margin: 0 0 28px; }
.case-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 12px; }
.case-facts div { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 6px; }
.case-facts strong { font-family: var(--serif); font-weight: 500; font-size: 36px; line-height: 1; color: var(--navy); }
.case-facts span { font-size: 15px; line-height: 1.45; color: var(--muted); }
@media (max-width: 720px) { .case-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
