/* IronFocus Consulting - site styles.
   Tokens from the IronFocus Consulting design system (15/11/2026): two colours plus white, Poppins, no gradients or shadows.
   The one bold element is the viewfinder (the corner brackets from the logo) around the homepage headline. */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/poppins-latin-600-normal.woff2") format("woff2"); }

:root {
  --ironfocus-blue: #003399;
  --iron-grey: #505050;
  --light-blue: #CDE5FE;
  --on-blue: #FFFFFF;
  --surface-white: #FFFFFF;
  --surface-off-white: #FAFAFA;
  --surface-blue-tint: #F8FBFF;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-40: 40px;
  --space-64: 64px;
  --radius-sm: 5px;
  --radius-lg: 20px;
  --font-sans: Poppins, Arial, sans-serif;
  --page: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(64px, 10vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font-sans); font-size: 18px; line-height: 1.6; color: var(--iron-grey); background: var(--surface-white); text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ironfocus-blue); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ironfocus-blue); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { color: var(--ironfocus-blue); font-weight: 600; margin: 0; }
h1 { font-size: clamp(40px, 6.4vw, 80px); line-height: 1.03; letter-spacing: -0.03em; }
h2 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
h3 { font-size: 22px; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0 0 var(--space-16); max-width: 64ch; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--iron-grey); color: var(--light-blue); padding: var(--space-12) var(--space-24); z-index: 20; }
.skip-link:focus { left: var(--space-16); top: var(--space-16); }
.wrap { width: 100%; max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--surface-white); border-bottom: 1px solid var(--light-blue); }
.site-header .wrap { display: flex; align-items: center; gap: var(--space-24); min-height: 76px; }
.brand { flex: 0 0 auto; }
.brand img { height: 48px; width: auto; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); }
.site-nav a { color: var(--iron-grey); text-decoration: none; font-size: 15px; font-weight: 500; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ironfocus-blue); text-decoration: underline; }
.nav-call { flex: 0 0 auto; color: var(--light-blue); background: var(--iron-grey); padding: 10px 18px; border-radius: var(--radius-sm); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; }
.nav-call:hover { background: var(--ironfocus-blue); color: var(--on-blue); text-decoration: none; }
@media (max-width: 720px) {
  .site-header .wrap { flex-wrap: wrap; row-gap: 6px; column-gap: 12px; padding-top: 12px; padding-bottom: 10px; min-height: 0; }
  .brand img { height: 38px; }
  .nav-call { margin-left: auto; padding: 8px 14px; font-size: 14px; }
  .site-nav { order: 3; margin-left: 0; width: 100%; }
  .site-nav ul { gap: 20px; }
  .site-nav a { font-size: 14px; white-space: nowrap; }
}

/* Buttons */
.button { display: inline-block; background: var(--iron-grey); color: var(--light-blue); font-weight: 500; font-size: 19px; line-height: 1.2; padding: var(--space-16) var(--space-40); border-radius: var(--radius-sm); text-decoration: none; }
.button:hover { background: var(--ironfocus-blue); color: var(--on-blue); text-decoration: none; }
@media (max-width: 480px) { .button { display: block; text-align: center; padding: var(--space-16) var(--space-24); font-size: 18px; } }

/* Hero: the viewfinder */
.hero { padding: clamp(40px, 8vw, 112px) 0 clamp(56px, 9vw, 112px); }
.hero-grid { display: grid; gap: clamp(40px, 6vw, 80px); grid-template-columns: 1fr; align-items: end; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); } }
.viewfinder { width: fit-content; max-width: 100%; position: relative; padding: clamp(28px, 4vw, 52px) clamp(24px, 4vw, 56px); }
.viewfinder::before, .viewfinder::after { content: ""; position: absolute; width: clamp(40px, 7vw, 84px); height: clamp(40px, 7vw, 84px); border: 0 solid var(--ironfocus-blue); transition: transform 900ms cubic-bezier(.2,.7,.1,1), opacity 600ms ease; }
.viewfinder::before { top: 0; right: 0; border-top-width: clamp(4px, .6vw, 7px); border-right-width: clamp(4px, .6vw, 7px); }
.viewfinder::after { bottom: 0; left: 0; border-bottom-width: clamp(4px, .6vw, 7px); border-left-width: clamp(4px, .6vw, 7px); }
.hero h1 { max-width: 15ch; font-size: clamp(40px, 5.2vw, 70px); text-wrap: balance; }
.hero .lead { padding-left: clamp(24px, 4vw, 56px); margin-top: var(--space-24); font-size: clamp(19px, 1.9vw, 23px); line-height: 1.5; max-width: 40ch; }
@media (prefers-reduced-motion: no-preference) {
  .js .viewfinder:not(.is-focused)::before { transform: translate(28px, -28px); opacity: 0; }
  .js .viewfinder:not(.is-focused)::after { transform: translate(-28px, 28px); opacity: 0; }
}
.hero-aside { border-top: 2px solid var(--ironfocus-blue); padding-top: var(--space-24); }
.hero-aside p { font-size: 17px; }
.jobs { list-style: none; margin: var(--space-12) 0 var(--space-40); padding: 0; }
.jobs li { padding: 14px 0; border-bottom: 1px solid var(--light-blue); color: var(--ironfocus-blue); font-weight: 500; font-size: 18px; line-height: 1.4; }

/* Sections */
.section { padding: var(--section) 0; }
.section--tint { background: var(--surface-blue-tint); }
.section--off { background: var(--surface-off-white); }
.section-head { display: grid; gap: var(--space-24); margin-bottom: clamp(40px, 6vw, 72px); }
@media (min-width: 900px) { .section-head { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: end; } }
.lead { font-size: clamp(19px, 1.8vw, 22px); line-height: 1.5; }

/* Process: a real sequence, three equal steps */
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-24); counter-reset: step; position: relative; }
@media (min-width: 900px) {
  .process { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
  .process::before { content: ""; position: absolute; left: 0; right: 0; top: 54px; height: 2px; background: var(--ironfocus-blue); }
}
.process > li { position: relative; counter-increment: step; background: var(--surface-white); border: 1px solid var(--light-blue); border-radius: var(--radius-lg); padding: var(--space-40) clamp(24px, 2.6vw, 36px); }
.process > li::before { content: counter(step); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface-white); border: 2px solid var(--ironfocus-blue); color: var(--ironfocus-blue); font-weight: 600; font-size: 18px; margin: -8px 0 var(--space-24); }
.process > li.is-key { background: var(--light-blue); border-color: var(--light-blue); }
.process h3 { margin-bottom: var(--space-12); }
.process p { font-size: 17px; }
.process-note { margin-top: clamp(40px, 6vw, 64px); font-size: clamp(19px, 1.8vw, 22px); line-height: 1.5; color: var(--ironfocus-blue); font-weight: 500; max-width: 46ch; }

/* Build it. Test it. Trust it. - three equal columns */
.trio { list-style: none; margin: 0 0 clamp(40px, 6vw, 56px); padding: 0; display: grid; gap: var(--space-24); }
@media (min-width: 900px) { .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; } }
.trio li { border-top: 4px solid var(--ironfocus-blue); background: var(--surface-blue-tint); border-radius: 0 0 var(--radius-sm) var(--radius-sm); padding: var(--space-24) clamp(24px, 2.6vw, 32px); }
.trio li > :last-child { margin-bottom: 0; }
.trio .word { display: block; font-size: clamp(28px, 3.6vw, 46px); line-height: 1; font-weight: 600; letter-spacing: -0.03em; color: var(--ironfocus-blue); margin-bottom: var(--space-16); }
.trio p { font-size: 18px; line-height: 1.55; }
.founding { background: var(--light-blue); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 56px); display: grid; gap: var(--space-24); margin-top: clamp(40px, 6vw, 64px); }
@media (min-width: 900px) { .founding { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-64); } }
.founding h3 { font-size: clamp(26px, 2.8vw, 34px); line-height: 1.15; letter-spacing: -0.02em; }

/* About */
.about-grid { display: grid; gap: var(--space-40); }
@media (min-width: 900px) { .about-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-64); } }
.about-grid .lead { margin-top: var(--space-24); }

/* The call: the closing blue section */
.call { background: var(--ironfocus-blue); color: var(--on-blue); }
.call h2, .call strong { color: var(--on-blue); }
.call a { color: var(--on-blue); }
.call-grid { display: grid; gap: var(--space-40); }
@media (min-width: 900px) { .call-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-64); } }
.call .lead { font-size: clamp(20px, 2vw, 24px); line-height: 1.45; margin: var(--space-24) 0; color: var(--light-blue); }
.contact-list { list-style: none; margin: var(--space-40) 0 var(--space-24); padding: 0; }
.contact-list li { border-top: 1px solid rgba(205, 229, 254, .45); padding: var(--space-16) 0; display: grid; gap: 2px; }
.contact-list li:last-child { border-bottom: 1px solid rgba(205, 229, 254, .45); }
.contact-list .label { font-size: 15px; color: var(--light-blue); }
.contact-list a { font-size: clamp(22px, 2.6vw, 30px); font-weight: 500; letter-spacing: -0.01em; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }
.call :focus-visible { outline-color: var(--light-blue); }
.call-note { background: var(--surface-white); color: var(--iron-grey); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 40px); font-size: 16px; align-self: start; }
.call-note h3 { color: var(--ironfocus-blue); font-size: 20px; margin-bottom: var(--space-12); }
.call-note a { color: var(--ironfocus-blue); }
.call-note p { max-width: none; }

/* Consultancy page */
.page-hero { padding: clamp(40px, 8vw, 104px) 0 clamp(48px, 7vw, 88px); }
.page-hero h1 { max-width: 18ch; font-size: clamp(38px, 5.2vw, 66px); }
.page-hero .strap { margin-top: var(--space-24); font-size: clamp(20px, 2vw, 24px); font-weight: 500; }
.page-hero .intro { margin-top: var(--space-24); }
.columns3 { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-40); }
@media (min-width: 900px) { .columns3 { grid-template-columns: repeat(3, 1fr); } }
.columns3 li { border-top: 2px solid var(--ironfocus-blue); padding-top: var(--space-24); }
.columns3 h3 { margin-bottom: var(--space-12); }
.columns3 p { font-size: 17px; }
.two-col { display: grid; gap: var(--space-64); }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } }
.two-col h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: var(--space-24); }
.plain-list { padding-left: 1.1em; margin: 0 0 var(--space-16); }
.plain-list li { margin-bottom: 8px; }
.roles { list-style: none; padding: 0; margin: var(--space-16) 0 var(--space-24); }
.roles li { padding: 10px 0; border-bottom: 1px solid var(--light-blue); color: var(--ironfocus-blue); font-weight: 500; }
.details { margin-top: var(--space-24); font-size: 16px; color: var(--light-blue); }

/* Long-form pages */
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(36px, 4.6vw, 56px); margin-bottom: var(--space-24); }
.prose h2 { font-size: 26px; letter-spacing: -0.015em; margin: var(--space-40) 0 var(--space-12); }
.prose h3 { font-size: 19px; margin: var(--space-24) 0 8px; }
.prose ul { padding-left: 1.1em; margin: 0 0 var(--space-16); }
.prose li { margin-bottom: 8px; }
.updated { font-size: 15px; }
.todo { background: #FFF3C4; outline: 2px dashed #8a6d00; padding: 0 4px; }

/* Footer */
.site-footer { background: var(--surface-off-white); border-top: 1px solid var(--light-blue); padding: var(--space-40) 0; font-size: 15px; }
.footer-grid { display: grid; gap: var(--space-24); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1fr auto; align-items: end; } }
.site-footer p { margin: 0 0 4px; max-width: none; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--space-12) var(--space-24); }
.site-footer a { color: var(--iron-grey); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.call-note strong { color: var(--ironfocus-blue); }
.section-head--single { display: block; }
.statement { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; color: var(--ironfocus-blue); max-width: 26ch; }
.hero-aside .button { display: block; text-align: center; padding: var(--space-16) var(--space-24); }
@media (max-width: 400px) { .brand img { height: 34px; } .nav-call { padding: 8px 12px; } }
@media (min-width: 900px) { .call-contact { align-self: end; } }

/* Version A "Scan, then open" (chosen by Mat 28/11/2026) */
.hero h1 { max-width: 7.6em; text-wrap: wrap; }

@media (max-width: 720px) {
  .site-header { position: static; }
  .hero { padding-top: 28px; }
  .viewfinder { padding: 22px 20px; }
  .hero .lead { padding-left: 0; margin-top: 16px; font-size: 18px; }
  .hero-grid { gap: 24px; }
  .hero-aside { border-top: 0; padding-top: 0; }
  .jobs { margin-bottom: 20px; }
  .jobs li { padding: 10px 0; font-size: 17px; }
  body { padding-bottom: 72px; }
}
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 0; max-width: 820px; }
.timeline > li { position: relative; counter-increment: step; padding: 0 0 var(--space-40) 72px; }
.timeline > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--surface-white); border: 2px solid var(--ironfocus-blue); color: var(--ironfocus-blue); font-weight: 600; }
.timeline > li::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--ironfocus-blue); }
.timeline > li:last-child::after { display: none; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline h3 { margin: 6px 0 var(--space-12); }
.timeline .is-key { }
.timeline .is-key > p, .timeline .is-key details { background: var(--light-blue); }
.timeline .is-key > p { border-radius: var(--radius-sm) var(--radius-sm) 0 0; padding: var(--space-16) var(--space-24) var(--space-12); margin: 0; max-width: none; }
details { margin: 0; }
.timeline .is-key details { border-radius: 0 0 var(--radius-sm) var(--radius-sm); padding: 0 var(--space-24) var(--space-16); }
summary { cursor: pointer; font-weight: 600; color: var(--ironfocus-blue); padding: 6px 0; }
summary:focus-visible { outline: 3px solid var(--ironfocus-blue); }
details[open] summary { margin-bottom: var(--space-12); }
details ul { margin: 0 0 var(--space-16); padding-left: 1.1em; }
.button--after { margin-top: var(--space-24); }
.trust-rows { margin: 0 0 var(--space-40); display: grid; gap: 0; max-width: 900px; }
.trust-rows > div { display: grid; grid-template-columns: 1fr; gap: 4px; padding: var(--space-24) 0; border-top: 1px solid var(--light-blue); }
.trust-rows > div:last-child { border-bottom: 1px solid var(--light-blue); }
@media (min-width: 720px) { .trust-rows > div { grid-template-columns: 220px 1fr; gap: var(--space-24); align-items: baseline; } }
.trust-rows dt { font-size: clamp(28px, 3vw, 36px); font-weight: 600; color: var(--ironfocus-blue); letter-spacing: -0.02em; line-height: 1.1; }
.trust-rows dd { margin: 0; }
.founding-band { padding: clamp(40px, 6vw, 72px) 0; }
.founding-band .founding { margin-top: 0; background: var(--surface-white); border: 2px solid var(--light-blue); }
.founding-title { font-size: clamp(26px, 2.8vw, 34px); }
.call-bar { display: none; }
@media (max-width: 720px) {
  .call-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; align-items: center; gap: 10px; padding: 10px 16px; background: var(--ironfocus-blue); color: var(--on-blue); font-weight: 500; font-size: 15px; }
  .call-bar > span { margin-right: auto; }
  .call-bar.is-hidden { transform: translateY(110%); visibility: hidden; }
  .call-bar a { background: var(--surface-white); color: var(--ironfocus-blue); text-decoration: none; padding: 8px 16px; border-radius: var(--radius-sm); font-weight: 600; }
}
.trust-head h2 { margin-bottom: var(--space-16); }
.trust-head .lead { max-width: 40ch; }
@media (max-width: 720px) {
  html { scroll-padding-top: 16px; scroll-padding-bottom: 72px; }
  .call-bar { transition: transform .2s ease, visibility .2s; }
}
@media (prefers-reduced-motion: reduce) { .call-bar { transition: none; } }

/* About: portrait inside the corner-bracket motif */
.portrait { position: relative; width: 240px; max-width: 100%; margin: var(--space-24) 0 0; padding: 12px; }
.portrait img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); }
.portrait::before, .portrait::after { content: ""; position: absolute; width: 44px; height: 44px; border: 0 solid var(--ironfocus-blue); }
.portrait::before { top: 0; left: 0; border-top-width: 4px; border-left-width: 4px; }
.portrait::after { bottom: 0; right: 0; border-bottom-width: 4px; border-right-width: 4px; }
.about-grid .portrait + * { margin-top: 0; }
.about-grid > div:last-child > .lead:first-child { margin-top: 0; }
@media (max-width: 899px) { .portrait { width: 200px; } }
