:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #231f20;
  --muted: #4e4f57;
  --line: #abcde8;
  --accent: #abcde8;
  --panel: #f1e1cf;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.65 system-ui, sans-serif; }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible, summary:focus-visible { outline: 3px solid #276291; outline-offset: 5px; }
.wrap { width: min(1120px, calc(100% - 2.5rem)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -6rem; background: white; padding: .5rem 1rem; z-index: 1; }
.skip:focus { top: 1rem; }
header, footer { border-block-end: 1px solid var(--line); }
.bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .7rem 2rem; padding-block: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 750; font-size: 1.25rem; text-decoration: none; }
.brand::before { content: ""; width: 1rem; height: 1rem; border: 2px solid; border-radius: 50% 50% 0 0; background: var(--accent); }
nav { display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; font-size: .94rem; }
nav a[aria-current] { font-weight: 750; }
.hero { padding-block: clamp(3rem, 8vw, 6.5rem); }
.hero-grid, .grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 4vw, 3rem); }
.hero-grid { align-items: center; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: Georgia, serif; font-weight: 400; line-height: 1.04; letter-spacing: .008em; }
h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); max-width: 14ch; }
h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.16rem; line-height: 1.35; }
p + p, h3 + p { margin-top: .65rem; }
.tag { font-size: 13px; text-transform: uppercase; font-weight: 750; letter-spacing: .125em; margin-bottom: .9rem; }
.lead { margin-top: 1.35rem; max-width: 42rem; font-size: clamp(1.1rem, 2vw, 1.25rem); color: var(--muted); }
.actions { display: flex; gap: .65rem; flex-wrap: wrap; margin-top: 1.5rem; }
.button { display: inline-block; font-weight: 700; text-decoration: none; padding: .63rem 1rem; border: 1px solid var(--ink); border-radius: .3rem; }
.button:hover { background: var(--accent); }
.primary { background: var(--accent); }
.primary:hover { background: #65c5dd; }
section.band { border-top: 1px solid var(--line); padding-block: clamp(2rem, 5vw, 4rem); }
.card, figure, details { padding: clamp(1rem, 3vw, 2rem); background: var(--panel); border-radius: .4rem; }
.card a { display: inline-block; margin-top: .9rem; font-weight: 750; }
figure svg { display: block; width: 100%; height: auto; }
figcaption { border-top: 1px solid #abcde8; margin-top: 1rem; padding-top: .75rem; font-size: .9rem; }
.prose { max-width: 49rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: .5rem; }
details { margin-top: 1.3rem; }
summary { cursor: pointer; font-weight: 750; }
details p { margin-top: .7rem; }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
@media (max-width: 720px) {
  .hero-grid, .grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 2rem; }
}

.enquiry { margin-top: 1.25rem; display: grid; gap: .85rem; }
.enquiry label { display: grid; gap: .3rem; font-weight: 650; }
.enquiry input, .enquiry textarea {
  width: 100%;
  padding: .55rem .7rem;
  border: 1px solid var(--muted);
  border-radius: .3rem;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}
.enquiry button { justify-self: start; font: inherit; color: var(--muted); }

.function-list {
  columns: 3 12rem;
  column-gap: 2rem;
  margin-block: 1.25rem 0;
}
.function-list li { break-inside: avoid; margin-block: 0 .5rem; }

.standard-hero h1 { max-width: none; font-size: clamp(2.15rem, 5vw, 4.5rem); overflow-wrap: anywhere; }
.function-matrix {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  aspect-ratio: 1;
  margin: 0;
  padding: 1px;
  gap: 1px;
  background: var(--line);
}
.function-matrix li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(.38rem, 1.6vw, 1.15rem);
  background: var(--panel);
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.function-matrix strong { font: 400 clamp(1.6rem, 4vw, 3rem)/1 Georgia, serif; }
.function-matrix span { margin-top: .35rem; font-size: clamp(.73rem, 1.5vw, .96rem); }

.profile-demo .function-matrix { aspect-ratio: auto; grid-auto-rows: minmax(6rem, 1fr); }
.profile-demo .supported { background: #dbeacb; }
.profile-demo .limited { background: #f4e8bb; }
.profile-demo .missing { background: #ead8d8; }
.profile-demo small { margin-top: .4rem; font-size: 13px; }
.profile-note { margin-top: 1rem; font-size: .93rem; }
.enquiry select {
  width: 100%;
  padding: .55rem .7rem;
  border: 1px solid var(--muted);
  border-radius: .3rem;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}
/* Functional audit prototype, November 2026. Existing visual identity retained. */
[hidden] { display: none !important; }
.preview-note { padding: .55rem 1rem; background: #231f20; color: #ffffff; text-align: center; font-size: 13px; letter-spacing: .03em; }
.hero h1 { max-width: 16ch; }
.hero .micro { margin-top: 1rem; }
.micro { color: var(--muted); font-size: .86rem; line-height: 1.5; }
.intro { max-width: 46rem; margin: 0 0 1.8rem; font-size: 1.12rem; }
.cards { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.report-preview { background: #f1e1cf; padding: clamp(1.25rem,3vw,2.5rem); border: 1px solid var(--line); box-shadow: 10px 10px 0 #abcde8; }
.report-preview h3 { font: 400 clamp(1.7rem,3vw,2.5rem)/1.12 Georgia,serif; margin: 1.5rem 0 1rem; }
.report-top { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: 1rem; font-size: .83rem; }
.finding { margin: 1.3rem 0; background: var(--paper); padding: 1rem; }
.status { display: inline-block; padding: .2rem .6rem; border-radius: 2rem; font-size: 13px; font-weight: 700; }
.status.limited { background: #f4e8bb; }
.button { cursor: pointer; font: inherit; color: var(--ink); background-color: transparent; }
.button.primary { background: var(--accent); }
.button:hover { background: #abcde8; }
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible { outline: 3px solid #276291; outline-offset: 3px; }
.steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2rem; padding-left: 1.5rem; }
.steps li { padding-left: .3rem; }
.narrow { max-width: 800px; }
.flow { margin-top: 2.5rem; padding: clamp(1rem,4vw,2.5rem); background: var(--panel); border: 1px solid var(--line); border-radius: .4rem; }
.flow-progress { margin-bottom: .8rem; }
progress { width: 100%; height: .45rem; accent-color: #276291; }
fieldset { border: 0; padding: 1.5rem 0 0; margin: 0; min-width: 0; }
legend { font: 400 1.8rem/1.2 Georgia,serif; padding: 0; }
.enquiry { gap: 1.25rem; }
.enquiry textarea { resize: vertical; }
.enquiry input,.enquiry select,.enquiry textarea { min-height: 48px; }
.review { margin-top: 2rem; }
dt { font-weight: 700; margin-top: 1.2rem; } dd { margin-left: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.report-row { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2rem; }
.checklist { padding-left: 1.5rem; margin: 2rem 0; }
.checklist li { padding: .8rem 0; border-bottom: 1px solid var(--line); }
@media (max-width:720px) {
 .cards,.steps,.report-row { grid-template-columns: 1fr; }
 .hero h1 { font-size: clamp(2.6rem,11vw,4rem); }
 .actions .button { max-width: 100%; }
 nav { font-size: .85rem; gap: .6rem 1rem; }
 .report-preview { box-shadow: 5px 5px 0 #abcde8; }
}
@media print {
 .preview-note,header,footer,.skip,.actions,button { display: none !important; }
 body { background: white; color: black; font-size: 10pt; }
 .wrap { width: 100%; }
 .hero { padding: 1cm 0; }
 h1 { font-size: 30pt !important; }
 h2 { font-size: 20pt; }
 section.band { padding: .7cm 0; break-inside: avoid; }
 .card { background: #f4f4f4; }
 .report-row { display:block; }
 .report-row>div+div { margin-top: .4cm; }
}
/* The public-facing layout keeps demonstration notices next to non-live forms. */
.participation-note { margin-top: 2rem; padding: 1.4rem; border-left: 4px solid #327db9; background: var(--panel); }
.participation-note h2 { font-size: clamp(1.7rem,4vw,2.3rem); }
.choice { display: flex !important; align-items: flex-start; gap: .75rem !important; font-size: .95rem; }
.choice input[type=checkbox] { width: 1.2rem; min-height: 1.2rem; height: 1.2rem; flex: 0 0 1.2rem; margin: .3rem 0 0; accent-color: #276291; }
.example-grid { align-items: center; margin-top: 2rem; }
.example-grid h3 { font: 400 clamp(1.6rem,3vw,2.2rem)/1.2 Georgia,serif; }
.table-scene { background: var(--panel); padding: 2rem; text-align: center; border: 1px solid var(--line); }
.scene-label { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.scene-label strong { font: 400 2.4rem/1 Georgia,serif; }
.shared-table { display:flex; align-items:center; justify-content:center; gap: 2rem; margin:1.1rem 0; padding:.6rem 1rem; border: 3px solid #276291; border-radius:.4rem; background:#f1e1cf; }
.laptop { font: 5rem/1 Georgia,serif; color:#231f20; }
.plate { font: 4rem/1 Georgia,serif; color:#231f20; }
.table-scene>p { margin-top:1rem; font-size:.83rem; }
#collaborate button:disabled { cursor: not-allowed; opacity:.65; }
.audit-matrix { aspect-ratio: 1; }
.audit-matrix li { padding: 0; }
.audit-matrix a { display:flex; height:100%; flex-direction:column; justify-content:center; padding:clamp(.5rem,1.5vw,1.2rem); text-decoration:none; }
.audit-matrix a:hover { box-shadow:inset 0 0 0 2px #276291; }
.audit-matrix li.provided,.audit-status.provided { background:#dbeacb; }
.audit-matrix li.equipped,.audit-status.equipped { background:#bad3bd; }
.audit-matrix li.not-provided,.audit-status.not-provided { background:#ecd6ce; }
.audit-matrix li.unknown,.audit-status.unknown { background:#f4e8bb; }
.audit-matrix small { line-height:1.3; font-size:13px; }
.audit-status { display:inline-block; margin-bottom:1.2rem; padding:.35rem .8rem; border:1px solid var(--line); border-radius:2rem; font-size:.85rem; }
.intersection-map { max-width:850px; background:var(--panel); border:1px solid var(--line); padding:clamp(1rem,3vw,2rem); }
.intersection-line { display:grid; grid-template-columns:1fr 1.4fr 1fr; align-items:center; gap:.8rem; margin-top:1.5rem; }
.intersection-line:first-child { margin-top:0; }
.function-node { display:flex; flex-direction:column; align-items:center; justify-content:center; background:var(--paper); border:1px solid #9cae98; padding:1rem .4rem; font:400 2rem/1.15 Georgia,serif; text-decoration:none; text-align:center; }
.function-node span { font:400 .9rem/1.4 system-ui,sans-serif; margin-top:.4rem; }
.shared-resource { display:flex; align-items:center; justify-content:space-around; gap:.4rem; text-align:center; }
.shared-resource strong { font-size:.9rem; font-weight:600; }
.intersection-map>p { margin:.8rem 0 1.6rem; }
@media (max-width:720px) {
 .audit-matrix { aspect-ratio:auto; grid-auto-rows:minmax(8rem,1fr); }
 .intersection-line { grid-template-columns:1fr 1.25fr 1fr; gap:.35rem; }
 .function-node { font-size:1.7rem; }
 .function-node span,.shared-resource strong { font-size:13px; }
}
@media print {
 .audit-matrix { aspect-ratio:auto; }
 .function-matrix { print-color-adjust:exact; -webkit-print-color-adjust:exact; }
 .intersection-map { break-inside:avoid; }
}

/* Optional browser voice controls, resident questionnaire only. */
.voice-panel { border: 1px solid var(--line); border-radius: .4rem; padding: 1rem; margin: 1.2rem 0; }
.voice-panel h2 { font-size: 1.2rem; margin-top: 0; }
.voice-opt-in { display: flex; align-items: flex-start; gap: .65rem; margin: 1rem 0; font-size: .95rem; }
.voice-opt-in input { flex: 0 0 auto; width: 1.2rem; height: 1.2rem; margin-top: .2rem; }
.voice-controls { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: -.65rem; }
.voice-controls .button { font-size: .86rem; min-height: 44px; }
.voice-controls button:disabled { opacity: .55; cursor: not-allowed; }
.voice-controls [aria-pressed="true"] { background: var(--accent); }
@media print { .voice-panel,.voice-controls { display: none !important; } }

/* More open paragraph rhythm. */
main p{line-height:1.85;letter-spacing:.018em;text-wrap:pretty}
@media(max-width:760px){main p{line-height:1.8;letter-spacing:.015em}}

@font-face{font-family:'Nunito Sans';src:url('assets/NunitoSans.ttf') format('truetype');font-weight:200 900;font-style:normal;font-display:swap}
main p,.footer-top p{font-family:'Nunito Sans',Manrope,sans-serif;font-weight:400;font-optical-sizing:auto}

body {letter-spacing: .012em;}
button, input, select, textarea {letter-spacing: inherit;}
:root[lang] main :is(h1, h2) {letter-spacing: .008em;}
