:root {
  color-scheme: light;
  --ink: #101820;
  --muted: #52616b;
  --panel: #ffffff;
  --surface: #f4f7f5;
  --surface-strong: #e5ece8;
  --line: #d8e0dc;
  --charcoal: #111827;
  --teal: #14b8a6;
  --orange: #f97316;
  --green: #2f7d54;
  --shadow: 0 22px 70px rgba(16, 24, 32, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--surface); line-height: 1.5; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

.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; }
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; padding: 16px clamp(20px, 5vw, 64px); background: rgba(244, 247, 245, 0.88); backdrop-filter: blur(18px); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--charcoal); font-weight: 760; text-decoration: none; letter-spacing: 0; }
.brand span { font-size: 1.06rem; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 14px; color: #26343d; font-size: 0.94rem; font-weight: 650; text-decoration: none; border-radius: 8px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--surface-strong); }
.nav-toggle { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.nav-toggle span:not(.sr-only) { width: 18px; height: 2px; background: var(--ink); }
.section-shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.hero { min-height: calc(100vh - 76px); display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr); align-items: center; gap: clamp(30px, 6vw, 70px); padding: 58px 0 84px; }
.blog-hero { min-height: calc(92vh - 76px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr); align-items: center; gap: clamp(34px, 7vw, 76px); padding: 70px 0 96px; }
.eyebrow { margin: 0 0 14px; color: var(--green); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { margin: 0; color: var(--charcoal); line-height: 1.05; letter-spacing: 0; }
h1 { max-width: 760px; font-size: clamp(3rem, 7vw, 5.8rem); }
.blog-hero h1 { max-width: 9ch; font-size: clamp(4.2rem, 12vw, 9.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
h3 { font-size: 1.08rem; }
.hero-text { max-width: 650px; margin: 24px 0 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid transparent; border-radius: 8px; font-weight: 760; text-decoration: none; cursor: pointer; }
.button-primary { color: #ffffff; background: var(--charcoal); }
.button-primary:hover { background: #223041; }
.button-secondary { background: #ffffff; border-color: var(--line); }
.button-secondary:hover { background: var(--surface-strong); }

.archive-console { padding: 28px; background: var(--charcoal); color: #f8fafc; border-radius: 8px; box-shadow: var(--shadow); }
.archive-console > span { color: #a7f3d0; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.archive-console strong { display: block; margin-top: 16px; font-size: clamp(4rem, 10vw, 7rem); line-height: 0.9; }
.archive-console p { color: #cbd5e1; }
.archive-console dl { display: grid; gap: 12px; margin: 26px 0 0; }
.archive-console dl div { padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.archive-console dt { color: #94a3b8; font-size: 0.78rem; font-weight: 800; text-transform: uppercase; }
.archive-console dd { margin: 4px 0 0; color: #f8fafc; }

.ops-console { background: #121a24; color: #f8fafc; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 8px; box-shadow: var(--shadow); overflow: hidden; }
.console-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; padding: 0 18px; color: #cbd5e1; border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.84rem; }
.console-topbar div { display: inline-flex; align-items: center; gap: 8px; }
.status-dot { width: 9px; height: 9px; border-radius: 999px; background: var(--teal); box-shadow: 0 0 0 5px rgba(20, 184, 166, 0.18); }
.console-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 12px; padding: 18px; }
.signal-card { min-height: 138px; display: flex; flex-direction: column; justify-content: space-between; padding: 16px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; }
.signal-card-large { grid-row: span 2; }
.signal-card span, .signal-card small { color: #bcc8d8; }
.signal-card strong { font-size: clamp(2.4rem, 6vw, 4.7rem); line-height: 1; }
.timeline { padding: 2px 18px 20px; }
.timeline-item { display: grid; grid-template-columns: 20px 1fr; gap: 12px; padding: 12px 0; color: #dbe7f3; border-top: 1px solid rgba(255, 255, 255, 0.09); }
.timeline-item span { width: 10px; height: 10px; margin-top: 7px; border-radius: 999px; background: #5b6775; }
.timeline-item.active span { background: var(--orange); }
.timeline-item p { margin: 0; }

.split-section, .workflow-section, .trust-section, .cta-section, .contact-layout, .legal-content { padding: 92px 0; }
.featured-section, .about-section, .archive-section { padding: 88px 0; }
.split-section { display: grid; grid-template-columns: 0.76fr 1.24fr; gap: 54px; border-top: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.feature-grid article, .workflow-list article, .contact-panel, .contact-form, .legal-content article { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.feature-grid article { min-height: 190px; padding: 24px; }
.feature-grid p, .workflow-list p, .trust-section p, .cta-section p, .contact-panel p, .legal-content p, .page-hero p { color: var(--muted); }
.featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.featured-card, .post-card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.featured-card { min-height: 420px; display: flex; flex-direction: column; padding: 18px; }
.featured-image, .post-image { width: 100%; object-fit: cover; background: var(--surface-strong); border-radius: 6px; border: 1px solid var(--line); }
.featured-image { height: 190px; margin: 20px 0 16px; order: 2; }
.featured-card h3 { margin-top: 18px; font-size: clamp(1.4rem, 2.5vw, 2rem); order: 1; }
.featured-card .eyebrow { order: 0; }
.featured-card p:not(.eyebrow) { order: 3; }
.featured-card h3 a, .post-card h3 a { text-decoration: none; }
.featured-card h3 a:hover, .post-card h3 a:hover, .read-link:hover, .back-link:hover { color: var(--green); }
.inline-link { color: var(--green); font-weight: 800; text-decoration: none; }
.inline-link:hover { text-decoration: underline; }
.featured-card p:not(.eyebrow), .post-card p, .about-section > p, .article-standfirst { color: var(--muted); }
.about-section { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(280px, 1fr); gap: 48px; align-items: start; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-section > p { margin: 0; font-size: 1.15rem; }
.about-hero { min-height: calc(86vh - 76px); display: grid; grid-template-columns: minmax(0, 1.34fr) minmax(260px, 0.66fr); align-items: center; gap: clamp(34px, 6vw, 68px); padding: 56px 0 76px; }
.about-hero-copy { padding-bottom: 0; }
.about-hero h1 { max-width: 720px; font-size: clamp(4rem, 8.2vw, 7.35rem); line-height: 0.96; overflow-wrap: normal; word-break: normal; }
.about-hero h1 span { display: block; white-space: nowrap; }
.about-hero .hero-text { max-width: 620px; }
.about-signals { display: grid; grid-template-columns: 0.68fr 1.18fr 1.14fr; gap: 10px; margin-top: 30px; max-width: 720px; }
.about-signals div { min-height: 112px; padding: 16px; background: rgba(255, 255, 255, 0.74); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 30px rgba(16, 24, 32, 0.06); }
.about-signals strong { display: block; color: var(--charcoal); font-size: clamp(1.45rem, 2.05vw, 2.05rem); line-height: 1.04; }
.about-signals span { display: block; margin-top: 10px; color: var(--muted); font-size: 0.94rem; font-weight: 760; line-height: 1.35; }
.portrait-panel { position: relative; justify-self: center; width: min(100%, 280px); margin: 0; display: grid; gap: 12px; padding: 14px; background: linear-gradient(180deg, #ffffff 0%, #e6eeea 100%); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: 0 18px 48px rgba(16, 24, 32, 0.13); }
.portrait-panel::before { position: absolute; inset: 18px 16px auto auto; width: 46%; aspect-ratio: 1; content: ""; background: rgba(20, 184, 166, 0.18); border: 1px solid rgba(20, 184, 166, 0.28); border-radius: 999px; }
.portrait-panel::after { position: absolute; inset: auto auto 86px 18px; width: 34%; height: 7px; content: ""; background: var(--orange); border-radius: 999px; opacity: 0.88; }
.portrait-panel img { position: relative; z-index: 1; width: 100%; height: 300px; object-fit: cover; object-position: 50% 12%; border-radius: 6px; border: 1px solid rgba(16, 24, 32, 0.08); }
.portrait-panel figcaption { position: relative; z-index: 2; margin: 0; padding: 11px 12px; color: #f8fafc; background: rgba(17, 24, 39, 0.9); border-radius: 6px; font-size: 0.86rem; font-weight: 760; line-height: 1.35; }
.career-intro { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(280px, 1fr); gap: 48px; padding: 88px 0; border-top: 1px solid var(--line); }
.intro-copy p { margin: 0 0 18px; color: var(--muted); font-size: 1.12rem; }
.timeline-section { padding: 88px 0; }
.career-timeline { display: grid; gap: 14px; }
.career-timeline article { display: grid; grid-template-columns: 160px minmax(180px, 0.55fr) 1fr; gap: 20px; align-items: start; padding: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.career-timeline span { color: var(--green); font-weight: 900; letter-spacing: 0.04em; }
.career-timeline p { margin: 0; color: var(--muted); }
.commentary-section { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr); gap: 18px; padding: 88px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.commentary-card, .commentary-list article { border-radius: 8px; border: 1px solid var(--line); }
.commentary-card { padding: clamp(28px, 5vw, 44px); }
.commentary-card-dark { background: var(--charcoal); color: #f8fafc; }
.commentary-card-dark h2 { color: #ffffff; }
.commentary-card-dark p:not(.eyebrow) { color: #cbd5e1; font-size: 1.1rem; }
.commentary-list { display: grid; gap: 14px; }
.commentary-list article { padding: 24px; background: #ffffff; }
.commentary-list p { color: var(--muted); }
.about-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 88px 0; }
.about-cta p:not(.eyebrow) { max-width: 680px; color: var(--muted); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.post-card { min-height: 430px; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; }
.post-image { height: 150px; margin: 14px 0 14px; }
.post-card h3 { margin-top: 10px; font-size: 1.18rem; line-height: 1.2; }
.post-date { margin: 0; color: var(--green); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.read-link, .back-link { color: var(--green); font-weight: 800; text-decoration: none; }
.section-heading { max-width: 720px; margin-bottom: 34px; }
.workflow-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.workflow-list article { min-height: 260px; padding: 24px; }
.workflow-list span { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; margin-bottom: 50px; color: #ffffff; background: var(--green); border-radius: 8px; font-weight: 800; }
.trust-section { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; border-top: 1px solid var(--line); }
.trust-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.trust-list li { padding: 18px 20px; background: #ffffff; border: 1px solid var(--line); border-left: 5px solid var(--teal); border-radius: 8px; font-weight: 700; }
.cta-section { text-align: center; border-top: 1px solid var(--line); }
.cta-section p { max-width: 620px; margin: 18px auto 28px; }

.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 30px clamp(20px, 5vw, 64px); color: #52616b; background: #ffffff; border-top: 1px solid var(--line); }
.footer-links { display: flex; gap: 16px; }
.footer-links a, .legal-content a { color: var(--green); font-weight: 700; }
.site-footer p { justify-self: end; margin: 0; }
.page-hero { padding: 82px 0 34px; }
.compact-hero h1 { max-width: 860px; font-size: clamp(2.5rem, 6vw, 4.8rem); }
.compact-hero p:not(.eyebrow) { max-width: 660px; font-size: 1.1rem; }
.contact-layout { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 18px; padding-top: 28px; }
.contact-panel, .contact-form { padding: 26px; }
.contact-link { display: inline-flex; margin-top: 16px; color: var(--green); font-weight: 800; }
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 8px; color: #26343d; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 12px 13px; background: #fbfcfb; color: var(--ink); }
.contact-form textarea { resize: vertical; }
.legal-content { display: grid; gap: 16px; padding-top: 28px; }
.legal-content article { padding: 26px; }
.article-page { max-width: 860px; padding: 76px 0 104px; }
.article-header { padding: 22px 0 34px; border-bottom: 1px solid var(--line); }
.article-header h1 { max-width: 100%; font-size: clamp(2.65rem, 7vw, 5rem); }
.article-standfirst { max-width: 720px; margin: 22px 0 0; font-size: clamp(1.08rem, 2vw, 1.3rem); }
.article-body { padding-top: 28px; }
.article-body p { margin: 0 0 22px; color: #26343d; font-size: 1.08rem; line-height: 1.75; }
.back-link { display: inline-flex; margin-bottom: 22px; }
.article-hero-image { margin: 30px 0 0; }
.article-hero-image img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); box-shadow: var(--shadow); }

@media (max-width: 900px) {
  .hero, .blog-hero, .about-hero, .split-section, .trust-section, .contact-layout, .about-section, .career-intro, .commentary-section { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 42px; }
  .blog-hero { min-height: auto; padding-top: 48px; }
  .about-hero { min-height: auto; padding-top: 48px; }
  .about-hero-copy { padding-bottom: 0; }
  .about-hero h1 { max-width: 100%; font-size: clamp(3.6rem, 14vw, 6.4rem); }
  .about-signals { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .portrait-panel { min-height: 540px; }
  .career-timeline article { grid-template-columns: 1fr; }
  .about-cta { display: grid; justify-items: start; }
  .workflow-list, .feature-grid, .featured-grid, .post-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; justify-items: start; }
  .site-footer p { justify-self: start; }
}

@media (max-width: 720px) {
  .site-header { min-height: 68px; padding: 13px 20px; }
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; top: calc(100% - 1px); right: 20px; left: 20px; display: none; flex-direction: column; align-items: stretch; padding: 10px; background: #ffffff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 50px rgba(16, 24, 32, 0.14); }
  .site-nav.is-open { display: flex; }
  .site-nav a { justify-content: center; }
  .section-shell { width: min(100% - 28px, 1120px); }
  h1 { font-size: 3rem; }
  .compact-hero h1 { font-size: 2.45rem; }
  .hero-actions, .button { width: 100%; }
  .console-grid { grid-template-columns: 1fr; }
  .signal-card-large { grid-row: auto; }
  .split-section, .workflow-section, .trust-section, .cta-section, .contact-layout, .legal-content, .featured-section, .about-section, .archive-section, .career-intro, .timeline-section, .commentary-section, .about-cta { padding: 64px 0; }
  .page-hero { padding-top: 58px; }
  .blog-hero h1 { font-size: clamp(3.5rem, 18vw, 5rem); }
  .about-hero h1 { font-size: clamp(3.15rem, 15vw, 4.8rem); }
  .about-signals { grid-template-columns: 1fr; }
  .portrait-panel { min-height: 430px; padding-right: 8px; padding-left: 8px; }
  .portrait-panel figcaption { position: relative; right: auto; bottom: auto; left: auto; margin-top: -40px; }
  .archive-console, .featured-card, .post-card { min-height: auto; }
  .featured-image, .post-image { height: auto; max-height: 260px; }
  .article-page { padding-top: 52px; }
  .article-body p { font-size: 1rem; }
}