:root {
  --paper: #f4efdb;
  --ink: #23301b;
  --muted: #42533b;
  --accent: #304633;
  --line: #bcbba2;
  --brass: #745426;
  --panel: #e8e7cf;
  --focus: #6c5027;
  --pollen: #dce568;
  --clay: #98482e;
  --side: clamp(20px,5.05vw,80px);
  --body: "Instrument Sans", "Instrument Sans fallback", sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --header-height: 50px;
  --header-top: 12px;
  --header-clearance: calc(var(--header-height) + var(--header-top) + 12px);
}
* { box-sizing: border-box }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--body); -webkit-font-smoothing: antialiased }
[hidden] { display: none !important }
a { color: inherit; text-decoration: none }
button, input, select, textarea { font: inherit }
button, summary { cursor: pointer }
img { display: block; max-width: 100%; height: auto }
svg { width: 18px; height: 18px; display: block; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round }
.site-pictogram { display: block; flex: none; width: 18px; height: 18px; background-color: currentColor; mask-repeat: no-repeat; mask-position: center; mask-size: contain }
figure, p, h1, h2, h3 { margin: 0 }
h1, h2, h3 { font: 610 2rem/1.06 var(--body); letter-spacing: -.047em }
.wrap { width: min(calc(100% - 2 * var(--side)), 1340px); margin-inline: auto }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px }
.skip-link { position: fixed; z-index: 20; inset: 12px auto auto 12px; padding: 10px 16px; background: var(--accent); color: white; transform: translateY(-180%) }
.skip-link:focus { transform: none }
.site-header {
  position: sticky;
  top: var(--header-top);
  z-index: 10;
  width: min(calc(100% - 28px),820px);
  margin-inline: auto;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px #ffffff7d, 0 4px 18px #1921161f;
}
.home .site-header { margin-bottom: calc(-1 * var(--header-height)) }
@supports (backdrop-filter: blur(1px)) {
  .site-header { background: #f9f5e8db; backdrop-filter: blur(16px) saturate(1.1) }
}
.header-inner.wrap { width: 100%; display: grid; grid-template-columns: auto minmax(0,1fr) auto; min-height: var(--header-height); align-items: center; gap: 13px; padding: 0 7px 0 11px }
.brand { display: inline-flex; align-items: center; width: fit-content; gap: 10px; white-space: nowrap }
.brand img { width: 42px; height: 58px; object-fit: contain }
.brand > span { color: #282b24; font: 665 clamp(19px,1.8vw,25px)/1 var(--body); letter-spacing: .105em }
.brand small { display: block; margin-top: 7px; color: #4d584c; font: 650 8px/1 var(--body); letter-spacing: .17em }
.site-nav, .footer nav { display: flex; align-items: center; gap: clamp(12px,1.8vw,34px); font-size: .875rem; font-weight: 620 }
.site-nav { justify-self: center }
.site-nav a, .mobile-nav nav a, .header-contact { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap }
.site-nav .site-icon,.mobile-nav nav .site-icon { color: #536345; width: 19px; height: 19px }
.site-nav a { min-height: 44px }
.footer nav a { padding-block: 11px }
.site-nav a:hover, .site-nav [aria-current], .footer a:hover { text-decoration: underline; text-underline-offset: 6px }
.header-contact { border: 1px solid #bdb9a8; min-height: 44px; padding: 8px 13px; color: var(--accent); border-radius: 7px; font-size: .875rem; font-weight: 650 }
.header-contact:hover { background: #eee9d9 }
.mobile-nav { display: none }
.section { padding-block: clamp(34px,5.4vw,78px) }
.button { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; width: fit-content; padding: 9px 16px; border: 1px solid transparent; border-radius: 7px; font-size: .9375rem; font-weight: 660; text-align: center }
.button.solid { color: #fffcf4; background: var(--accent); border-color: var(--accent) }
.button.solid:hover { color: #fffcf4; background: #355a40; border-color: #355a40 }
.button.outline { border-color: #8d9b79 }
.button.outline:hover { background: #d7e0ce }
.button.link { padding-inline: 0; border: 0; border-bottom: 1px solid #91a17e; border-radius: 0 }
.button.link:hover { border-color: #425a35 }
.footer { background: #f4f1e7; border-top: 1px solid #d3cdbf }
.footer-inner { display: flex; gap: 12px 24px; justify-content: space-between; align-items: center; min-height: 68px; padding-block: 8px }
.footer p { color: var(--muted); font-size: .75rem }
.footer .brand img { width: 23px; height: 34px }
.footer .brand > span { font-size: .96rem }
.footer .brand small { display: none }
.contact-layout h1 { font-size: clamp(2.7rem,7.2vw,6.3rem); text-wrap: balance }
.contact-description { color: var(--muted); font-size: clamp(1.0625rem,1.48vw,1.3125rem); max-width: 45ch }
.programme { padding-bottom: clamp(35px,5.3vw,72px); scroll-margin-top: 100px }
.programme h2, .research-band h2 { font-size: clamp(2.2rem,4.55vw,4.1rem); margin-bottom: 23px }
#controlled-study { scroll-margin-top: calc(var(--header-clearance) + 10px) }
.research-band { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding: clamp(24px,4.5vw,65px); background: #e6eddf; border: 1px solid #cbd3be; border-radius: 12px; margin-bottom: clamp(45px,7vw,92px) }
.research-band h2 { margin: 0 }
.contact-layout { display: grid; grid-template-columns: minmax(0,.91fr) minmax(0,1.09fr); align-items: start; gap: clamp(24px,5vw,78px) }
.contact-description { margin-top: 18px }
.text-link { text-decoration: underline; text-underline-offset: 5px; font-size: .9375rem }
.enquiry-form { display: grid; border: 1px solid #c7ccb0; background: #fbf8e9; padding: clamp(19px,3.4vw,42px); box-shadow: 0 12px 38px #26361c0b }
.enquiry-topics { min-inline-size: 0; border: 0; padding: 0; margin: 0 0 23px }
.enquiry-topics legend { font-weight: 700; padding: 0; margin-bottom: 9px }
.topic-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px }
.topic-option { position: relative; min-width: 0; cursor: pointer }
.topic-option input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer }
.topic-option > span { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 5px 8px; padding: 9px 3px; height: 100%; min-height: 50px; border: 1px solid #adb59b; border-radius: 5px; background: #f1efdf; font-weight: 670; font-size: .82rem; line-height: 1.2; text-align: center }
.topic-option input:checked + span { background: #e2e9b1; border-color: #4a6338; box-shadow: inset 0 -2px #4a6338 }
.topic-option input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px }
.topic-option:hover > span { border-color: #4a6338 }
.enquiry-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px }
.enquiry-fields label { display: block; font-weight: 650; font-size: .9rem; min-width: 0 }
.enquiry-fields label span { color: var(--muted); font-weight: 400 }
.enquiry-wide { grid-column: 1 / -1 }
.enquiry-fields input,.enquiry-fields textarea { display: block; min-height: 44px; width: 100%; margin-top: 5px; padding: 8px 10px; border: 1px solid #a0a38a; border-radius: 5px; color: var(--ink); background: #fffdf4; font-size: 1rem; font-weight: 400 }
.enquiry-hint { margin-top: 7px; margin-bottom: 16px; min-height: 2.6em; color: var(--muted); font-size: .85rem; line-height: 1.3 }
.enquiry-form textarea { resize: vertical }
.enquiry-form button:disabled { opacity: .55; cursor: not-allowed }
.form-status:not(:empty) { margin-top: 13px; font-size: .875rem; color: #324b36 }
@media (max-width: 1000px) {
  .site-header { max-width: 530px }
  .header-inner.wrap { display: flex; justify-content: space-between }
  .site-nav, .header-contact { display: none }
  .mobile-nav { display: block }
  .mobile-nav summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding-inline: 7px; list-style: none; font-weight: 650 }
  .mobile-nav summary::-webkit-details-marker { display: none }
  .mobile-nav nav {
    position: absolute;
    inset: calc(100% + 5px) 0 auto auto;
    display: grid;
    min-width: min(232px,calc(100vw - 2 * var(--side)));
    padding: 6px 14px;
    background: #f6f1e0fa;
    border: 1px solid #bcbba2b3;
    border-radius: 6px;
    box-shadow: 0 14px 32px #2b261324;
  }
  .mobile-nav nav a { min-height: 44px; padding: 8px 4px }
  .mobile-nav nav a + a { border-top: 1px solid #bcbba29c }
}
@media (max-width: 760px) {
  .contact-layout { grid-template-columns: minmax(0,1fr) }
  .footer-inner { flex-wrap: wrap }
  .footer nav { flex-wrap: wrap }
}
@media (max-width: 450px) {
  .footer nav { width: 100% }
  .brand img { width: 34px; height: 51px }
}

.brand { gap: 8px }
.brand img { width: 33px; height: 49px }
.brand > span { color: var(--accent); font-size: clamp(17px,1.75vw,23px); letter-spacing: .09em }
.brand small { margin-top: 5px; font-size: .465rem; color: var(--muted); letter-spacing: .12em }
.site-nav { gap: clamp(10px,1.2vw,18px); font-size: .825rem }
.site-nav .site-icon { width: 15px; height: 15px }
.header-contact { gap: 12px; border-radius: 4px; border-color: #8e9d8f; padding-inline: 13px }
.header-contact .site-icon { width: 16px; height: 16px }
.header-contact:hover { background: #e6ebdf }
.footer { background: var(--paper); border-color: var(--line) }
.button, .research-band, .enquiry-form { border-radius: 5px }
.form-note { color: var(--muted); font-size: .875rem; margin-bottom: 16px }


.site-header .brand { gap: 8px }
.site-header .brand img {
  width: 34px;
  height: 46px;
}
.site-header .brand > span { font-size: clamp(18px,1.7vw,20px); font-weight: 700; color: var(--ink); letter-spacing: .075em }
.site-header .brand small { margin-top: 4px; font-size: .54rem; color: #4e5841; letter-spacing: .105em }
.header-contact { min-height: 36px; background: #25331e; color: #fff9e9; border-color: transparent; border-radius: 999px; padding: 6px 12px; gap: 7px }
.header-contact:hover { background: #3d5230 }
.plan-section :focus-visible { outline-color: #f5d99a }
.contact-layout h1,.programme h2,.research-band h2 { font-family: var(--display); font-weight: 800; letter-spacing: -.027em; line-height: .84; text-transform: uppercase }
.contact-layout .contact-illustration { position: relative; margin-top: 25px; aspect-ratio: 1.38; border-radius: 5px; overflow: hidden; background: #e2e3cc; isolation: isolate }
.contact-illustration img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover }
.footer { background: #e2e3cc }
.section-label { color: var(--muted); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase }

.company-team { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line) }
.company-team li { padding: 19px 16px 19px 0; border-bottom: 1px solid var(--line) }
.company-team h3,.company-milestones h3 { font-size: clamp(1.1rem,1.6vw,1.45rem); letter-spacing: -.028em; margin-bottom: 5px }
.company-team p,.company-milestones p { color: var(--muted); max-width: 33ch }
.company-team .company-role { font-weight: 680; color: var(--ink) }
.company-milestones ol { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(12px,3vw,36px); padding: 0; margin: 0; list-style: none; counter-reset: milestone }
.company-milestones li { counter-increment: milestone; border-top: 1px solid var(--line); padding-top: 13px }
.company-milestones li::before { content: counter(milestone, decimal-leading-zero); display: block; color: var(--brass); font-weight: 700; font-variant-numeric: tabular-nums; margin-bottom: 7px }
@media (max-width: 760px) {
  .company-team,.company-milestones ol { grid-template-columns: repeat(2,minmax(0,1fr)) }
  .footer-inner { justify-content: flex-start; gap: 4px 16px }
  .footer nav { order: 1; display: grid; grid-template-columns: repeat(4,auto); gap: 8px; width: 100%; justify-content: space-between; max-width: 400px; font-size: .8rem }
  .footer nav a { display: flex; align-items: center; min-height: 36px; padding-block: 7px; white-space: nowrap }
  .footer p { margin-inline-start: auto }
  .contact-layout .contact-illustration { aspect-ratio: 2.2 }
}


@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth }
  @view-transition { navigation: auto }
  .site-header { view-transition-name: masthead }
  ::view-transition-group(root) { animation-duration: .28s }
  ::view-transition-group(masthead) { animation-duration: .24s }
  .mobile-nav[open] nav { animation: menu-arrive .22s ease-out both }
  .button,.header-contact { transition: background-color .2s ease, border-color .2s ease }
  @keyframes menu-arrive { from { opacity: 0; transform: translateY(-6px) } }
}

.enquiry-form .sl-component {
  --action-ink: var(--ink);
  --action-surface: var(--accent);
  --action-hover: #355a40;
  --action-text: #fff9e9;
  --action-feedback: #426241;
  --action-focus: var(--focus);
  width: fit-content;
  min-height: 0;
  padding: 0;
  align-items: start;
  gap: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.enquiry-form .sl-component .motion-button { width: 194px; height: 48px; border-radius: 5px }
.enquiry-form .sl-component .component-status {
  position: absolute;
  width: 1px;
  min-height: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
