@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&family=Montserrat:wght@400;500;600;700&family=Poppins:wght@400;500;600&display=swap');

:root {
  --paper: #fff;
  --ink: #172a28;
  --text: #222;
  --green: #007d69;
  --accent: #04b294;
  --soft: #f2f9f9;
  --line: #cee1dc;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 18px/1.75 'Roboto', Arial, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green); text-underline-offset: 5px; }
a:hover { color: #01433c; }
button, input, select, textarea { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #01433c; outline-offset: 5px; }
h1, h2, h3, h4 { font-family: 'Montserrat', Arial, sans-serif; color: var(--ink); line-height: 1.3; font-weight: 600; margin: 0 0 22px; }
h1 { font-size: clamp(35px, 3.5vw, 48px); font-weight: 700; }
h2 { font-size: 34px; }
h3 { font-size: 27px; }
h4 { font-size: 20px; }
p { margin: 0 0 22px; }
.wrap { width: min(1140px, calc(100% - 64px)); margin: auto; }
.section { padding: 72px 0; }
.header { position: sticky; top: 0; z-index: 10; background: var(--accent); box-shadow: 0 2px 10px #01433c12; }
.nav-wrap { display: flex; justify-content: space-between; align-items: center; gap: 28px; min-height: 92px; }
.brand { display: inline-flex; gap: 10px; align-items: center; flex-shrink: 0; color: #fff; text-decoration: none; font: 700 30px/1.2 'Montserrat', Arial, sans-serif; }
.brand:hover { color: #fff; }
.brand img { width: 40px; height: 40px; }
.nav-wrap nav { display: flex; align-items: center; gap: 26px; }
.nav-wrap nav a { color: #fff; text-decoration: none; font: 500 17px/1.5 'Poppins', Arial, sans-serif; }
.nav-wrap nav a:hover { text-decoration: underline; }
.nav-contact { border: 1px solid #fff; padding: 10px 19px; border-radius: 30px; }
.nav-contact span { margin-left: 12px; }
.menu-toggle { display: none; }
.skip { position: absolute; top: -100px; left: 10px; background: #fff; padding: 10px; z-index: 20; }
.skip:focus { top: 10px; }
.hero { background: var(--accent); padding: 58px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; align-items: center; gap: 45px; }
.hero h1 { color: #fff; font-size: 43px; }
.hero .lead { color: #fff; font-size: 21px; line-height: 1.65; }
.hero-illustration img { width: 100%; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; background: #007d69; border: 2px solid #007d69; padding: 13px 27px; border-radius: 28px; color: white; text-decoration: none; font: 500 18px/1.5 'Roboto', Arial, sans-serif; cursor: pointer; min-height: 54px; }
.button:hover { background: #006b59; border-color: #006b59; color: white; }
.button:disabled { opacity: .65; cursor: wait; }
.hero .button { background: #014f44; border-color: #014f44; }
.hero .text-link { color: #fff; }
.text-link, .light-link { font-size: 18px; font-weight: 500; text-decoration: underline; }
.eyebrow { font-size: 16px; font-weight: 500; color: var(--green); margin-bottom: 20px; }
.experience-strip { background: var(--soft); border-bottom: 1px solid var(--line); }
.experience-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 25px 0; }
.experience-inner .eyebrow { margin: 0; max-width: 150px; color: #4b635e; }
.experience-inner > span:not(.eyebrow) { white-space: nowrap; font: 500 17px/1.5 'Montserrat', Arial, sans-serif; }
.section-heading { text-align: center; max-width: 850px; margin: 0 auto 45px; }
.section-heading h2:after { content: ''; display: block; width: 55px; height: 3px; background: var(--accent); margin: 20px auto; }
.section-heading > p { margin: 0; }
.service-grid { display: block; border-top: 1px solid var(--line); }
.service { display: block; border-bottom: 1px solid var(--line); padding: 0; }
.service > summary { padding: 27px 55px 27px 0; }
.service > summary:after { top: 27px; right: 12px; font-size: 30px; color: var(--green); }
.service-title { display: block; font: 600 25px/1.4 'Montserrat', Arial, sans-serif; margin-bottom: 8px; }
.service-summary { display: block; color: var(--text); font-size: 18px; font-weight: 400; }
.service[open] > summary { border-bottom: 1px solid var(--line); }
.service-content { display: grid; grid-template-columns: 1.7fr 1fr; gap: 60px; align-items: center; padding: 30px 0; }
.service .methods { font-size: 17px; color: var(--green); }
.service-illustration img { width: 100%; max-height: 270px; object-fit: contain; }
.deliverables { padding: 21px 25px; margin: 24px 0; background: var(--soft); border-left: 3px solid var(--accent); }
.deliverables h4 { font-size: 18px; margin-bottom: 10px; }
.deliverables p { margin: 0; }
.section-bottom { display: flex; justify-content: space-between; align-items: center; gap: 35px; margin-top: 35px; }
.section-bottom p { margin: 0; max-width: 730px; }
.section-bottom .button { flex-shrink: 0; }
.research-section { background: var(--soft); }
.project-pair { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.project-example { padding: 30px; background: white; border-top: 3px solid var(--accent); }
.project-example h3 { font-size: 25px; }
.project-organisation { display: block; font-size: 20px; font-weight: 500; margin-top: 10px; }
.published-example { margin-top: 50px; padding-top: 40px; border-top: 1px solid #afcec5; }
.published-example .eyebrow { font-size: 17px; }
.research-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 30px; }
.dark-section { background: var(--soft); }
.process-intro { display: block; margin-bottom: 30px; }
.process-intro .eyebrow { display: none; }
.pilot { border: 1px solid #afcec5; background: white; padding: 35px; display: grid; grid-template-columns: 1fr 1fr; gap: 45px; }
.pilot .eyebrow { display: block; }
.pilot p:last-child { margin: 0; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 0; list-style: none; margin-top: 40px; }
.process span { display: block; font-size: 22px; color: var(--green); border-bottom: 2px solid var(--accent); padding-bottom: 10px; margin-bottom: 20px; }
.process h3 { font-size: 20px; }
.process p { font-size: 18px; }
.bio-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 70px; }
.bio-photo { width: 155px; height: 185px; object-fit: cover; object-position: center 25%; margin-bottom: 25px; border-radius: 5px; }
.intro-text { font-size: 21px; }
.selected-pubs { margin-top: 45px; border-top: 1px solid var(--line); padding-top: 35px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; }
.selected-pubs > h3 { grid-column: 1 / -1; margin-bottom: 0; }
.publication h3 { font-size: 21px; line-height: 1.5; }
.publication .eyebrow { display: block; font-size: 16px; margin-bottom: 12px; }
.publication p { font-size: 17px; }
.ai-section { background: var(--soft); }
.intro-grid { display: grid; grid-template-columns: 1fr 3fr; gap: 45px; }
.intro-grid > .eyebrow { margin-top: 8px; }
.small { font-size: 16px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 70px; }
.faqs details { border-top: 1px solid var(--line); padding: 22px 0; }
.faqs details:last-child { border-bottom: 1px solid var(--line); }
summary { font-size: 20px; font-weight: 500; color: var(--ink); cursor: pointer; padding-right: 35px; position: relative; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary:after { content: '+'; position: absolute; right: 0; top: -4px; font-size: 26px; }
details[open] summary:after { content: '−'; }
.faqs p { margin: 18px 0 0; }
.contact-section { background: var(--soft); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; }
.contact-email { font-size: 22px; display: inline-block; margin-bottom: 25px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: block; font-size: 18px; font-weight: 500; margin-bottom: 8px; }
label span { font-weight: 400; font-size: 16px; }
input, select, textarea { width: 100%; background: white; border: 1px solid #96b4ac; border-radius: 4px; padding: 12px; color: var(--text); margin-bottom: 22px; font-size: 18px; }
select { min-height: 54px; }
textarea { resize: vertical; min-height: 170px; }
.form-note { margin-top: -6px; }
#form-status { margin-top: 20px; }
.footer { background: var(--accent); padding: 40px 0; color: #103a32; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 30px; }
.footer p, .footer a:not(.brand) { font-size: 16px; margin: 0; color: #103a32; }
.footer .brand { font-size: 25px; }
.footer .brand img { width: 32px; height: 32px; }
.page-hero { background: var(--soft); }
.page-hero .lead { font-size: 21px; }
.page-hero .bio-grid { grid-template-columns: 1fr 190px; align-items: center; }
.about-portrait { width: 190px; height: 225px; object-fit: cover; object-position: center 25%; border-radius: 5px; }
.reading { max-width: 850px; }
.reading h2 { margin-top: 48px; }
.reading > h2:first-child { margin-top: 0; }
.reading > .publication { padding: 25px 0; border-top: 1px solid var(--line); }
.timeline article { border-top: 1px solid var(--line); padding: 25px 0 8px; }
.timeline span { color: var(--green); font-size: 17px; }
.timeline h3 { margin-top: 12px; font-size: 24px; }
.expertise h3 { font-size: 23px; margin-top: 25px; }
.standalone-figure { background: var(--soft); padding: 20px; margin: 30px 0; }
.standalone-figure img { width: 100%; }
.standalone-figure figcaption, .source-note { font-size: 16px; }
.source-note { padding: 20px 0; border-top: 1px solid var(--line); }
.output-list { padding-left: 25px; }
.output-list li { padding: 8px 0; }
.inset { padding: 30px; background: var(--soft); margin: 35px 0; }
@media (max-width: 1150px) {
  .experience-inner { flex-wrap: wrap; justify-content: flex-start; gap: 20px; }
  .experience-inner .eyebrow { flex-basis: 100%; max-width: none; }
}
@media (max-width: 1050px) {
  .nav-wrap { gap: 20px; }
  .brand { font-size: 26px; }
  .nav-wrap nav { gap: 18px; }
  .nav-wrap nav a { font-size: 16px; }
  .hero-grid { gap: 25px; }
  .hero h1 { font-size: 37px; }
  .hero .lead { font-size: 20px; }
  .service-content { gap: 40px; }
  .bio-grid, .faq-grid, .contact-grid { gap: 35px; }
}
@media (max-width: 800px) {
  .wrap { width: calc(100% - 40px); }
  .nav-wrap { min-height: 78px; }
  .brand { font-size: 25px; gap: 5px; }
  .brand img { width: 32px; height: 32px; }
  .menu-toggle { display: flex; gap: 10px; background: none; border: 1px solid #fff; border-radius: 5px; color: #fff; padding: 8px 10px; font-size: 16px; }
  .nav-wrap nav { display: none; position: absolute; top: 78px; left: 0; right: 0; background: #fff; padding: 20px; border-bottom: 1px solid var(--line); box-shadow: 0 8px 12px #0001; }
  .nav-wrap nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .nav-wrap nav a { font-size: 18px; padding: 12px; color: #103a32; }
  .nav-contact { margin-top: 10px; border-color: #01433c; }
  .section { padding: 50px 0; }
  .hero { padding: 40px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 35px; }
  .hero .lead { font-size: 20px; }
  .hero-illustration { max-width: 330px; margin: 20px auto 0; }
  .experience-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .experience-inner .eyebrow { max-width: none; }
  .experience-inner > span:not(.eyebrow) { font-size: 16px; }
  h2 { font-size: 30px; }
  h3 { font-size: 25px; }
  .service-content { grid-template-columns: 1fr; gap: 20px; }
  .service-title { font-size: 22px; }
  .service > summary { padding: 25px 42px 25px 0; }
  .service > summary:after { right: 0; }
  .service-illustration { max-width: 240px; margin: auto; }
  .service-illustration img { max-height: 180px; }
  .project-pair { grid-template-columns: 1fr; gap: 25px; }
  .project-example { padding: 25px; }
  .section-bottom { flex-direction: column; align-items: start; gap: 22px; }
  .research-columns, .process-intro, .pilot, .bio-grid, .selected-pubs, .intro-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .research-columns { gap: 5px; }
  .pilot { padding: 25px; }
  .process { grid-template-columns: 1fr 1fr; gap: 25px; }
  .bio-photo { width: 130px; height: 155px; }
  .bio-grid .intro-text { font-size: 20px; }
  .intro-grid { gap: 10px; }
  .contact-grid { gap: 35px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { align-items: start; flex-direction: column; }
  .page-hero .bio-grid { grid-template-columns: 1fr; }
  .about-portrait { width: 145px; height: 172px; }
  .reading h1 { font-size: 34px; }
  .actions { gap: 22px; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 32px); }
  .brand { font-size: 21px; }
  .brand img { width: 28px; height: 28px; }
  .hero h1 { font-size: 31px; }
  .process { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
