/* Built with Prooflive.ai: https://prooflive.ai | ref pl2mctgwg4 */
/* Prooflive.ai design library: Broadsheet */

/* Prooflive.ai design library: shared foundation. Tokens only (library/README.md). */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--c-bg); color: var(--c-ink); font-family: var(--f-body); font-size: var(--step-0); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--c-accent); }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }

h1, h2, h3, .display { font-family: var(--f-display); font-weight: var(--fw-display); letter-spacing: var(--ls-display); line-height: var(--lh-display); text-transform: var(--tt-display); font-style: var(--fs-display); margin: 0; text-wrap: balance; }
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); line-height: 1.15; }
p { margin: 0 0 1em; max-width: var(--measure); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
.lede { font-size: var(--step-1); line-height: 1.45; }
.muted { color: var(--c-muted); }
.small { font-size: var(--step--1); }
.mono { font-family: var(--f-mono); font-size: var(--step--1); letter-spacing: .02em; }
.label { display: block; font: 500 var(--step--1)/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: .04em; margin-bottom: var(--space-4); }
.chip { display: inline-flex; align-items: center; gap: .5em; padding: .45em 1em; border-radius: var(--btn-radius); background: var(--c-surface); color: var(--c-ink); font: 500 var(--step--1)/1.2 var(--f-body); }

/* Layout */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section + .section { padding-top: 0; }
.section.band, .section.band + .section { padding-top: var(--section); }
.section.band { background: var(--c-alt); color: var(--c-alt-ink); }
.section.flush { padding: 0; }
.section.flush + .section { padding-top: var(--section); }
.section.band a:not(.btn):hover { color: inherit; opacity: .75; }
.rule { border: 0; border-top: var(--rule) solid var(--c-line); margin: 0; }

/* Images */
.media { overflow: hidden; border-radius: var(--media-radius); background: var(--c-surface); }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; min-height: 46px; padding: 0 1.4em; border: var(--rule) solid var(--c-accent); border-radius: var(--btn-radius);
       background: var(--c-accent); color: var(--c-accent-ink); font: 600 var(--step--1)/1 var(--f-body); letter-spacing: .02em; text-decoration: none; cursor: pointer; }
.btn:hover { color: var(--c-accent-ink); filter: brightness(1.08); }
.btn.line { background: transparent; color: var(--c-ink); border-color: currentColor; }
.btn.line:hover { color: var(--c-accent); }
.band .btn.line { color: var(--c-alt-ink); }
.band .btn.line:hover { color: var(--c-alt-ink); opacity: .8; }   /* the accent may not read on the band colour */

/* Forms */
.field { display: grid; gap: var(--space-1); margin-bottom: var(--space-4); }
.field label { font-size: var(--step--1); font-weight: 600; }
.field input, .field textarea, .field select { width: 100%; font: inherit; color: var(--c-ink); background: var(--c-bg); border: var(--rule) solid var(--c-line); border-radius: var(--radius); padding: .75em .9em; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--c-accent); outline-offset: 0; border-color: transparent; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Mobile menu button (a <summary> inside the nav's <details>): three lines that become an X when open, 44px to tap. */
.burger { list-style: none; cursor: pointer; display: grid; place-items: center; width: 44px; height: 44px; margin-right: -11px; color: inherit; }
.burger::-webkit-details-marker { display: none; }
.burger i, .burger i::before, .burger i::after { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform .2s, background .2s; }
.burger i { position: relative; }
.burger i::before, .burger i::after { content: ""; position: absolute; left: 0; }
.burger i::before { top: -7px; }
.burger i::after { top: 7px; }
details[open] > .burger i { background: transparent; }
details[open] > .burger i::before { transform: translateY(7px) rotate(45deg); }
details[open] > .burger i::after { transform: translateY(-7px) rotate(-45deg); }

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

/* Direction: Broadsheet. Tokens for library/base.css and every pattern. */
:root {
  --c-bg: rgb(244 240 230); --c-surface: rgb(251 248 241); --c-alt: #1D1B17; --c-alt-ink: rgb(244 240 230);
  --c-ink: #1D1B17; --c-muted: #6B655A; --c-line: rgb(214 205 187); --c-accent: #8E2C1A; --c-accent-ink: rgb(251 248 241);
  --f-display: "Newsreader", Georgia, "Times New Roman", serif;
  --f-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;
  --fw-display: 400; --ls-display: -0.015em; --lh-display: 1.02; --tt-display: none; --fs-display: normal;
  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1.06rem, 1.02rem + 0.2vw, 1.19rem);
  --step-1: clamp(1.3rem, 1.2rem + 0.5vw, 1.6rem);
  --step-2: clamp(1.6rem, 1.4rem + 1vw, 2.2rem);
  --step-3: clamp(2rem, 1.6rem + 2vw, 3.1rem);
  --step-4: clamp(2.5rem, 1.8rem + 3.4vw, 4.4rem);
  --step-5: clamp(3rem, 1.9rem + 5.6vw, 6.6rem);
  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem; --space-5: 1.5rem; --space-6: 2.5rem; --space-7: 4rem; --space-8: 6.5rem;
  --section: clamp(4rem, 3rem + 5vw, 7.5rem); --gutter: clamp(1rem, .6rem + 2vw, 2.5rem);
  --wrap: 1240px; --measure: 62ch;
  --radius: 0; --btn-radius: 0; --media-radius: 0; --rule: 1px;
}
.btn { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
blockquote, .standfirst { font-family: var(--f-display); font-style: italic; }


/* Pattern: nav-centered */
.p-nav-centered { position: relative; text-align: center; padding: var(--space-6) 0 0; }
.p-nav-centered .brand { font-family: var(--f-display); font-size: var(--step-3); line-height: 1; text-decoration: none; letter-spacing: var(--ls-display); }
.p-nav-centered ul { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2) var(--space-6); list-style: none; margin: var(--space-5) 0 0; padding: var(--space-4) 0; border-top: var(--rule) solid var(--c-line); border-bottom: var(--rule) solid var(--c-line); }
.p-nav-centered ul a { text-decoration: none; font-size: var(--step--1); letter-spacing: .06em; text-transform: uppercase; }
.p-nav-centered details { display: none; }
@media (max-width: 760px) {
  .p-nav-centered { padding: 0; border-bottom: var(--rule) solid var(--c-line); }
  .p-nav-centered .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
  .p-nav-centered .brand { font-size: var(--step-1); }
  .p-nav-centered nav { display: none; }
  .p-nav-centered details { display: block; }
  .p-nav-centered details ul { position: absolute; top: 100%; left: 0; right: 0; z-index: 10; display: block; margin: 0; padding: var(--space-2) var(--gutter) var(--space-5); background: var(--c-bg); border-top: 0; text-align: left; }
  .p-nav-centered details li a { display: block; padding: var(--space-3) 0; font-size: var(--step-0); }
}

/* Pattern: hero-fullbleed */
.p-hero-fullbleed { position: relative; min-height: min(88vh, 900px); display: grid; align-items: end; color: var(--c-bg); }
.p-hero-fullbleed .media { position: absolute; inset: 0; border-radius: 0; }
.p-hero-fullbleed .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--c-ink) 65%, transparent), transparent 60%); }
.p-hero-fullbleed .wrap { position: relative; padding-bottom: var(--space-7); }
.p-hero-fullbleed h1 { max-width: 14ch; margin-bottom: var(--space-4); }
.p-hero-fullbleed .lede { margin-bottom: var(--space-5); }
.p-hero-fullbleed a:hover { color: var(--c-bg); }

/* Pattern: logos-row */
.p-logos-row { padding: var(--space-6) 0; }
.p-logos-row .wrap { max-width: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-5) var(--space-7); }
.p-logos-row .note { margin: 0; max-width: 12ch; font-family: var(--f-display); font-style: italic; font-size: var(--step--1); line-height: 1.2; }
.p-logos-row .logo { font-size: var(--step-1); line-height: 1; letter-spacing: 0; opacity: .85; }
.p-logos-row .logo img { height: 36px; width: auto; }
@media (max-width: 640px) { .p-logos-row .wrap { justify-content: center; text-align: center; } .p-logos-row .note { flex-basis: 100%; max-width: none; } }

/* Pattern: facts-strip */
.p-facts-strip dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-6) 0; margin: 0; }
.p-facts-strip dl > div { padding: 0 var(--space-5); border-left: var(--rule) solid var(--c-line); }
.p-facts-strip dl > div:first-child { border: 0; padding-left: 0; }
.p-facts-strip dt { font-family: var(--f-display); font-weight: var(--fw-display); letter-spacing: var(--ls-display); font-size: var(--step-4); line-height: 1; }
.p-facts-strip dd { margin: var(--space-2) 0 0; max-width: 24ch; color: var(--c-muted); font-size: var(--step--1); }
@media (max-width: 640px) { .p-facts-strip dl { grid-template-columns: 1fr 1fr; } .p-facts-strip dl > div:nth-child(odd) { border: 0; padding-left: 0; } }

/* Pattern: services-rules */
.p-services-rules h2 { margin-bottom: var(--space-6); }
.p-services-rules ul { list-style: none; margin: 0; padding: 0; border-top: var(--rule) solid var(--c-ink); }
.p-services-rules li { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--space-5); padding: var(--space-5) 0; border-bottom: var(--rule) solid var(--c-line); }
.p-services-rules h3 { font-size: var(--step-2); }
.p-services-rules li p { color: var(--c-muted); }
@media (max-width: 760px) { .p-services-rules li { grid-template-columns: 1fr; gap: var(--space-2); } }

/* Pattern: checklist-split */
.p-checklist-split .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.p-checklist-split .media { min-height: 460px; }
.p-checklist-split .panel { padding: var(--space-7); background: var(--c-surface); border-radius: var(--radius); }
.p-checklist-split h2 { font-size: var(--step-4); margin-bottom: var(--space-5); }
.p-checklist-split p { color: var(--c-muted); }
.p-checklist-split ul { list-style: none; margin: var(--space-5) 0 var(--space-6); padding: 0; display: grid; gap: var(--space-3); }
.p-checklist-split li { position: relative; padding-left: 2.1em; }
.p-checklist-split li::before { content: "\2713"; position: absolute; left: 0; top: .15em; width: 1.4em; height: 1.4em; display: grid; place-items: center; border-radius: 50%; background: var(--c-accent); color: var(--c-accent-ink); font-size: .75em; font-weight: 700; }
@media (max-width: 860px) { .p-checklist-split .wrap { grid-template-columns: 1fr; } .p-checklist-split .media { min-height: 320px; } .p-checklist-split .panel { padding: var(--space-6) var(--space-5); } }

/* Pattern: image-headline */
.p-image-headline { padding: 0 5px; }
.p-image-headline .inner { position: relative; display: grid; place-items: center; min-height: clamp(520px, 30vw + 320px, 800px); padding: var(--space-8) var(--gutter); text-align: center; color: var(--c-bg); }
.p-image-headline .inner > img { position: absolute; inset: 0; }
.p-image-headline .inner::after { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--c-ink) 42%, transparent); }
.p-image-headline .t { position: relative; z-index: 1; }
.p-image-headline h2 { font-size: var(--step-5); }
.p-image-headline h2 span { display: block; }
.p-image-headline h2 span:nth-child(1) { transform: translateX(-10%); }
.p-image-headline h2 span:nth-child(2) { transform: translateX(12%); }
.p-image-headline .label { max-width: 26ch; margin: var(--space-6) auto; font-size: var(--step-0); line-height: 1.3; }
@media (max-width: 640px) { .p-image-headline h2 span:nth-child(n) { transform: none; } }

/* Pattern: contact-split */
.p-contact-split .wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--space-7); align-items: center; }
.p-contact-split h2 { margin-bottom: var(--space-5); }
.p-contact-split form { background: var(--c-surface); padding: var(--space-6); border-radius: var(--radius); }
@media (max-width: 860px) { .p-contact-split .wrap { grid-template-columns: 1fr; gap: var(--space-6); } .p-contact-split form { padding: var(--space-5); } }

/* Pattern: footer-statement */
.p-footer-statement { background: var(--c-alt); color: var(--c-alt-ink); padding: var(--space-8) 0; }
.p-footer-statement .wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--space-7); }
.p-footer-statement .big { max-width: 20ch; margin-bottom: var(--space-6); font-size: var(--step-3); line-height: 1.02; }
.p-footer-statement .cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
.p-footer-statement h3 { margin-bottom: var(--space-4); font-size: var(--step-3); font-style: italic; }
.p-footer-statement ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.p-footer-statement ul a { text-decoration: underline; }
.p-footer-statement a:hover { color: inherit; opacity: .75; }
.p-footer-statement .legal { grid-column: 2; margin: 0; font-size: var(--step--1); opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 760px) { .p-footer-statement .wrap { grid-template-columns: 1fr; } .p-footer-statement .legal { grid-column: 1; } }

/* Client colours: bottle green and ivory (Mike Stocks Consulting brand) */
:root {
  --c-bg: rgb(245 241 232); --c-surface: rgb(251 249 243); --c-alt: #14211B; --c-alt-ink: rgb(245 241 232);
  --c-ink: #17201B; --c-muted: #5E615A; --c-line: rgb(217 209 191); --c-accent: #1F4A37; --c-accent-ink: rgb(251 249 243);
}

/* Header wordmark */
.p-nav-centered { padding-top: var(--space-6); }
.p-nav-centered .brand { display: inline-block; }
.p-nav-centered .brand img { width: clamp(260px, 26vw, 400px); height: auto; }
.p-nav-centered ul { margin-top: var(--space-5); }
.p-nav-centered ul a:hover { color: var(--c-accent); }
@media (max-width: 760px) {
  .p-nav-centered { padding-top: 0; }
  .p-nav-centered .brand img { width: 210px; }
}

/* About me */
.about .wrap { display: grid; grid-template-columns: minmax(260px, 1fr) 2fr; gap: var(--space-7); align-items: start; }
.about-head .portrait { width: 168px; height: 168px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; margin-bottom: var(--space-5); }
.about-head h2 { margin-bottom: var(--space-3); }
.about-head .mono { color: var(--c-muted); margin: 0; max-width: 28ch; }
.about-body p:first-child { font-family: var(--f-display); font-size: var(--step-1); line-height: 1.4; }
.about-body p { max-width: 64ch; }
.about-body .more { margin-top: var(--space-3); }
@media (max-width: 760px) {
  .about .wrap { grid-template-columns: 1fr; gap: var(--space-5); }
  .about-head { display: flex; align-items: center; gap: var(--space-5); }
  .about-head .portrait { width: 104px; height: 104px; margin: 0; flex: none; }
}

/* Footer */
.foot-logo { width: 260px; height: auto; margin-bottom: var(--space-6); }
@media (max-width: 560px) { .p-footer-statement .legal .loc { display: none; } }
p.label { max-width: 26ch; }

/* Hero shade: keep the headline readable over bright parts of the photo */
.p-hero-fullbleed .media::after { background: linear-gradient(to top, color-mix(in srgb, var(--c-alt) 85%, transparent) 0%, color-mix(in srgb, var(--c-alt) 55%, transparent) 55%, color-mix(in srgb, var(--c-alt) 15%, transparent) 100%); }
/* Site additions: Mike Stocks Consulting (Broadsheet tokens only) */
.page-head { padding: var(--space-8) 0 var(--space-7); border-bottom: var(--rule) solid var(--c-line); }
.page-head h1 { max-width: 16ch; margin-bottom: var(--space-5); }
.page-head .standfirst { font-size: var(--step-1); line-height: 1.4; max-width: 46ch; margin: 0; }
.p-hero-fullbleed .lede { max-width: 44ch; }
.more { display: inline-block; margin-top: var(--space-6); color: var(--c-accent); font-weight: 600; }
.results .wrap > h2 { margin-bottom: var(--space-6); }
.results ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: var(--rule) solid var(--c-ink); }
.results li { padding: var(--space-5) var(--space-5) 0; border-left: var(--rule) solid var(--c-line); }
.results li:first-child { border-left: 0; padding-left: 0; }
.results .mono { display: block; color: var(--c-muted); margin-bottom: var(--space-3); }
.results h3 { margin-bottom: var(--space-3); }
.results p { color: var(--c-muted); }
@media (max-width: 860px) { .results ul { grid-template-columns: 1fr; } .results li { border-left: 0; padding: var(--space-5) 0; border-bottom: var(--rule) solid var(--c-line); } }
.case { padding: var(--space-7) 0; border-bottom: var(--rule) solid var(--c-line); }
.case:last-of-type { border-bottom: 0; }
.case .wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: var(--space-6) var(--space-7); }
.case h2 { font-size: var(--step-3); margin-bottom: var(--space-3); }
.case .mono { color: var(--c-muted); display: block; margin-bottom: var(--space-5); }
.case .cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
.case h3 { font-size: var(--step-1); margin-bottom: var(--space-3); padding-bottom: var(--space-2); border-bottom: var(--rule) solid var(--c-ink); }
.case ul { margin: 0; padding-left: 1.1em; display: grid; gap: var(--space-2); }
.case .res li::marker { color: var(--c-accent); }
@media (max-width: 860px) { .case .wrap, .case .cols { grid-template-columns: 1fr; } }
.figure { margin: 0; }
.figure .media { aspect-ratio: 16 / 7; }
.figure figcaption { margin-top: var(--space-3); color: var(--c-muted); }
.details { list-style: none; margin: 0 0 var(--space-6); padding: 0; border-top: var(--rule) solid var(--c-line); }
.details li { display: grid; grid-template-columns: 7rem 1fr; gap: var(--space-4); padding: var(--space-3) 0; border-bottom: var(--rule) solid var(--c-line); }
.details .mono { color: var(--c-muted); padding-top: .2em; }
.contact-photo { max-width: 360px; aspect-ratio: 3 / 4; }
.notice { padding: var(--space-4) var(--space-5); border-left: 3px solid var(--c-accent); background: var(--c-surface); margin-bottom: var(--space-5); }

/* Heading room */
.p-hero-fullbleed h1 { line-height: 1.08; margin-bottom: .35em; }
.about-head h2 { margin-bottom: .35em; }
.results .mono { margin-bottom: var(--space-5); }
.results h3 { margin-bottom: var(--space-2); }

/* Results on the deep green-black band */
.band.results ul { border-top-color: var(--c-alt-ink); }
.band.results li { border-color: rgb(245 241 232 / .22); }
.band.results .mono, .band.results p { color: var(--c-alt-ink); }
.band .more { color: var(--c-alt-ink); }
