/* Shared page system: the same type, surfaces and colour palette as Home. */
.header-inner nav>a:nth-child(3){display:block}
.header-inner nav a[aria-current="page"]:not(.button){color:var(--teal);text-decoration:underline;text-underline-offset:7px;text-decoration-thickness:2px}
.page-hero{padding-block:76px 70px}
.page-hero h1{font-size:clamp(3rem,4.8vw,4.5rem);line-height:1.07;letter-spacing:-.05em;font-weight:650;max-width:850px;margin-top:21px}
.page-hero h1 span{color:var(--teal)}
.page-lead{font-size:1.2rem;line-height:1.75;color:var(--muted);max-width:760px;margin-top:25px}
.page-hero-split{display:grid;grid-template-columns:1fr 1fr;gap:68px;align-items:center}
.page-hero-split h1{font-size:clamp(2.8rem,4.4vw,4.1rem)}
.page-hero-media{min-width:0}
.page-hero-media img{width:100%;height:410px;object-fit:cover;border-radius:14px}
.page-hero-media figcaption{color:var(--muted);font-size:.875rem;line-height:1.6;margin-top:13px}
.page-section{padding-block:78px}
.page-section+.page-section{padding-top:0}
.page-section h2{max-width:800px}
.page-copy{max-width:760px}
.page-copy p,.page-section>p:not(.eyebrow),.page-card p,.page-step p{color:var(--muted);font-size:1.04rem;line-height:1.85;margin-top:17px}
.page-copy h2+.page-lead{margin-top:23px}
.page-copy h3{font-size:1.45rem;margin-top:30px}
.page-copy ul,.page-card ul,.page-step ul{padding-left:22px;color:var(--muted);line-height:1.85;margin:17px 0 0}
.page-copy li+li,.page-card li+li,.page-step li+li{margin-top:7px}
.page-copy .eyebrow,.page-section>.eyebrow,.page-band .eyebrow{margin-bottom:18px}
.page-split{display:grid;grid-template-columns:1fr 1fr;gap:74px;align-items:start}
.page-split>figure img{width:100%;border-radius:12px;object-fit:cover;max-height:450px}
.page-split figcaption{font-size:.875rem;line-height:1.7;color:var(--muted);margin-top:12px}
.page-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;margin-top:35px}
.page-card{padding:29px;border:1px solid var(--line);border-radius:12px;background:#fff;min-width:0}
.page-card h3{font-size:1.4rem}
.page-card .small-label{display:block;margin-bottom:15px}
.page-card .text-link{display:inline-block;margin-top:21px}
.page-card img{width:100%;border-radius:8px;margin-bottom:23px}
.page-band{background:#f3f5f6;border-block:1px solid #e6eaec}
.page-band>.container{padding-block:78px}
.page-band .page-card{border-color:#e0e6e8}
.page-process{margin-top:35px;border-top:1px solid var(--line)}
.page-step{display:grid;grid-template-columns:minmax(150px,.65fr) minmax(0,2fr);gap:65px;padding-block:32px;border-bottom:1px solid var(--line)}
.page-step h3{font-size:1.6rem}
.page-step>p:first-child,.page-step>.eyebrow{font-size:.875rem;margin:4px 0 0;color:var(--teal)}
.page-note{padding:25px 28px;border-left:3px solid #8daaaa;background:#f1f4f5;border-radius:0 8px 8px 0;color:#51636b;line-height:1.8;margin-top:30px}
.page-note h3{font-size:1.15rem;margin-bottom:10px}
.page-note p{margin:0;font-size:1rem}
.page-note p+p{margin-top:12px}
.page-related{background:#26343e;color:#fff}
.page-related>.container{padding-block:64px}
.page-related>.container.page-split{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);align-items:center;gap:45px}
.page-related.container{padding:48px;margin-bottom:70px;border-radius:14px}
.page-related h2{font-size:clamp(2rem,3vw,2.6rem);max-width:680px}
.page-related p{color:#d0d9dd;max-width:660px;line-height:1.8;margin-top:15px}
.page-related .eyebrow{color:#a4d2cd;margin-bottom:15px}
.page-related .text-link{color:#fff;border-color:#89aaa9}
.page-related .button{background:#fff;color:#26343e;border-color:#fff}
.page-links{display:flex;align-items:center;flex-wrap:wrap;gap:19px 28px;margin-top:27px}
.page-related .page-links{margin-top:25px}
.page-related>.page-split>.page-links{margin-top:0}
.page-related .page-links a{white-space:normal}
.page-person{font-size:.94rem!important;padding-top:18px;border-top:1px solid var(--line);margin-top:25px!important}
.page-person strong{display:block;color:var(--ink);font-weight:600}
.home-more{margin-top:30px;display:inline-block}
.footer-main>div{flex-wrap:wrap;justify-content:flex-end;row-gap:10px}
/* Evidence flow: photographs feed both context and analysis, then human review. */
.evidence-flow{margin-top:36px;padding:34px 26px;background:#f3f5f6;border:1px solid #dce4e6;border-radius:14px}
.flow-track{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px;align-items:center}
.flow-stage{position:relative;min-width:0}
.flow-stage:not(:nth-child(5))::after{content:"";position:absolute;left:100%;top:50%;width:24px;height:1px;background:#8ca6a7}
.flow-stage:not(:nth-child(5))::before{content:"";position:absolute;right:-21px;top:calc(50% - 3px);width:6px;height:6px;border-top:1px solid #8ca6a7;border-right:1px solid #8ca6a7;transform:rotate(45deg)}
.flow-node{min-height:155px;padding:22px 16px;border:1px solid #d6e0e3;border-radius:9px;background:#fff}
.flow-node h3{font-size:1.06rem;line-height:1.45;letter-spacing:-.015em;color:var(--ink)}
.flow-node p{font-size:1rem;line-height:1.65;color:var(--muted);margin-top:12px}
.flow-branches{display:grid;gap:12px}
.flow-branches .flow-node{min-height:0;padding-block:18px}
.flow-node-review{background:#edf4f2;border-color:#aac4bf}
.flow-source-route{grid-column:2/5;display:flex;align-items:center;justify-content:center;gap:14px;color:#476168;font-size:.875rem;line-height:1.6;padding-top:4px}
.flow-source-route>span:not(.flow-source-line){max-width:165px}
.flow-source-line{display:block;position:relative;flex:1;height:1px;min-width:25px;background:#8ca6a7}
.flow-source-line::after{content:"";position:absolute;right:0;top:-3px;width:6px;height:6px;border-top:1px solid #8ca6a7;border-right:1px solid #8ca6a7;transform:rotate(45deg)}
.flow-qualification{font-size:1rem!important;line-height:1.75;color:var(--muted);margin-top:20px!important;max-width:900px}
.workflow-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 58px;margin-top:30px;padding-top:12px;border-top:1px solid var(--line)}
.workflow-details h3{font-size:1.4rem;line-height:1.4;margin-top:22px}
.page-wide-media{margin-top:64px}
.page-wide-media img{display:block;width:100%;height:clamp(300px,40vw,540px);object-fit:cover;border-radius:14px}
.page-wide-media figcaption{font-size:.875rem;line-height:1.7;color:var(--muted);margin-top:13px}
.page-split>.page-portrait-media{width:100%;max-width:360px;justify-self:center}
.page-split>.page-portrait-media img{height:auto;max-height:none;object-fit:contain}
@media(max-width:1100px){.flow-track{grid-template-columns:1fr;gap:25px;max-width:720px;margin-inline:auto}.flow-node{min-height:0;padding:22px}.flow-branches{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.flow-stage:not(:nth-child(5))::after{left:50%;top:100%;height:25px;width:1px}.flow-stage:not(:nth-child(5))::before{left:calc(50% - 3px);right:auto;top:calc(100% + 16px);transform:rotate(135deg)}.flow-source-route{grid-column:1;padding-top:8px;max-width:580px;width:100%;justify-self:center}.workflow-details{gap:14px 36px}}
@media(max-width:720px){.evidence-flow{padding:24px 18px;margin-top:28px}.flow-node{padding:20px}.flow-node h3{font-size:1.12rem}.flow-branches{grid-template-columns:1fr}.flow-branches .flow-node{padding:19px 20px}.flow-source-route{gap:10px;font-size:.875rem}.flow-source-route>span:not(.flow-source-line){max-width:135px}.workflow-details{grid-template-columns:1fr;gap:0;margin-top:26px}.workflow-details h3{margin-top:25px}.page-wide-media{margin-top:42px}.page-wide-media img{height:320px}}
/* Inspection photographs remain useful links without JavaScript. */
.photo-open{position:relative;display:block;min-width:0;cursor:zoom-in;border-radius:inherit}
.photo-open-label{position:absolute;right:14px;bottom:14px;padding:6px 11px;border:1px solid #d4dfe1;border-radius:5px;background:rgba(255,255,255,.94);color:#263b43;font-size:.875rem;line-height:1.5;font-weight:550;pointer-events:none;z-index:4;box-shadow:0 2px 10px #102e3614}
.photo-open:hover .photo-open-label{background:#fff;color:var(--teal)}
.photo-open img{display:block}
.capture-hero-stage>.photo-open,.review-capture>.photo-open,.evidence-canvas>.photo-open{position:absolute;inset:0}
.capture-hero-stage>.photo-open>.photo-open-label{bottom:88px;left:22px;right:auto}
.hero-detail-card>.photo-open{width:110px;height:112px}
.hero-detail-card>.photo-open img{width:100%;height:100%;object-fit:cover;border-radius:7px}
.hero-detail-card .photo-open-label{display:none}
.evidence-canvas>.photo-open>.photo-open-label{bottom:42px}
.evidence-focus,.canvas-label,.canvas-bottom{pointer-events:none}
.review-capture>.photo-open>.photo-open-label{top:20px;bottom:auto}
.photo-dialog{border:1px solid #d7e0e3;border-radius:14px;padding:0;width:min(1320px,calc(100vw - 40px));height:min(900px,calc(100dvh - 40px));max-width:none;max-height:none;overflow:hidden;background:#e4e9ed;color:#253840}
.photo-dialog[open]{display:flex;flex-direction:column}
.photo-dialog::backdrop{background:rgba(16,29,37,.78)}
.photo-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:18px 24px;background:white;border-bottom:1px solid #dbe3e6;flex-shrink:0}
.photo-dialog-header h2{font-size:1.2rem;letter-spacing:-.02em;line-height:1.4;margin-top:2px}
.photo-dialog-actions{display:flex;gap:10px;flex-shrink:0}
.photo-dialog-actions button{background:white;border:1px solid #d5dfe3;border-radius:5px;padding:9px 14px;line-height:1.4;font-size:.94rem}
.photo-dialog-actions button:disabled{opacity:.5;cursor:wait}
.photo-dialog-actions button:hover:not(:disabled){background:#f1f5f5}
.photo-dialog-close{display:flex;align-items:center;gap:12px}
.photo-dialog-close span{font-size:1.5rem;line-height:1}
.photo-viewport{flex:1;min-height:0;overflow:auto;position:relative;display:grid;place-items:center;padding:16px;overscroll-behavior:contain}
.photo-viewport img{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;min-height:0}
.photo-viewport.photo-actual-size{display:block;padding:0;place-items:start;cursor:auto}
.photo-viewport.photo-actual-size img{width:auto;height:auto;max-width:none;max-height:none;justify-self:start;align-self:start}
.photo-load-status{padding:30px;text-align:center;line-height:1.8}
.photo-dialog-footer{padding:13px 24px;background:#fff;border-top:1px solid #dbe3e6;font-size:.875rem;color:#52656e;line-height:1.6;flex-shrink:0}
.photo-dialog-footer a{text-decoration:underline;text-underline-offset:3px}
body.photo-opened{overflow:hidden}
@media(max-width:1190px){.header-inner nav{gap:18px}.app-link{margin-left:5px;padding-left:18px}.page-hero-split{gap:42px}.page-grid{gap:18px}.page-card{padding:25px}}
@media(min-width:721px) and (max-width:1100px){.hero-detail-card>.photo-open{width:85px;height:90px}}
@media(min-width:721px) and (max-width:1050px){.header-inner{height:80px}.menu-toggle{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;width:43px;height:43px;background:#f1f7f6;border:1px solid #d3e5e1;border-radius:6px}.menu-toggle span{width:19px;height:1.5px;background:#295a5c}.menu-toggle[aria-expanded=true] span:first-child{transform:translateY(3.75px) rotate(45deg)}.menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-3.75px) rotate(-45deg)}.header-inner nav{display:none;position:absolute;left:0;right:0;top:80px;background:white;border-bottom:1px solid var(--line);box-shadow:0 8px 16px #123f3c08;padding:15px 36px 22px;align-items:stretch;gap:0;font-size:1rem}.header-inner nav.menu-open{display:flex;flex-direction:column}.header-inner nav>a{display:block!important;padding:11px 8px}.header-inner nav>.app-link{border:0;margin:0;padding-left:8px}.header-inner nav>.button{margin-top:10px;text-align:center;padding:13px}}
@media(max-width:950px){.page-hero-split,.page-split{gap:36px}.page-grid{grid-template-columns:1fr}.page-hero-media img{height:370px}.page-related>.container.page-split{grid-template-columns:1fr;gap:28px}.page-step{gap:35px}.footer-main>div{justify-content:flex-start}}
@media(max-width:720px){.page-hero{padding-block:43px 42px}.page-hero h1,.page-hero-split h1{font-size:clamp(2.7rem,8.6vw,3.8rem)}.page-lead{font-size:1.08rem;line-height:1.75;margin-top:22px}.page-hero-split,.page-split{grid-template-columns:1fr;gap:30px}.page-hero-media img{height:310px}.page-section{padding-block:48px}.page-band>.container{padding-block:48px}.page-card{padding:24px}.page-step{grid-template-columns:1fr;gap:12px;padding-block:27px}.page-step h3{font-size:1.5rem}.page-note{padding:22px}.page-related>.container{padding-block:45px}.page-related .page-links{flex-wrap:wrap}.photo-open-label{font-size:.8rem;bottom:10px;right:10px;padding:5px 9px}.hero-detail-card>.photo-open{width:82px;height:87px}.capture-hero-stage>.photo-open>.photo-open-label{left:20px;bottom:86px}.photo-dialog{width:calc(100vw - 20px);height:calc(100dvh - 20px);border-radius:11px}.photo-dialog-header{padding:14px;gap:12px;align-items:flex-start;flex-wrap:wrap}.photo-dialog-header h2{font-size:1.04rem}.photo-dialog-header>.photo-dialog-actions{width:100%;justify-content:space-between}.photo-dialog-actions button{font-size:.875rem;padding:8px 12px;min-height:40px}.photo-dialog-footer{padding:11px 14px;font-size:.8rem}.photo-viewport{padding:8px}.footer-main>div{gap:16px}}
@media(max-width:380px){.hero-detail-card>.photo-open{width:76px}}
