/* 01 — Scoped design tokens and typography */
.ht-page {
    --ht-ink: #101010;
    --ht-green: #6eff6e;
    --ht-hover: #0ae448;
    --ht-muted: #555;
    --ht-line: #dedede;
    font-family: Outfit, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: var(--ht-ink);
    background: #fff;
    width: 100%;
    min-width: 0;
    overflow-wrap: break-word;
}
.ht-page, .ht-page * { box-sizing: border-box; }
/* This page uses real DOM elements and SVG icons, not generated glyphs. */
.ht-page::before, .ht-page::after,
.ht-page *::before, .ht-page *::after { content: none !important; }
.ht-page :is(h1,h2,h3,p,figure,ol,ul) { margin: 0; padding: 0; }
.ht-page :is(h1,h2,h3) { font-family: inherit; font-weight: 600; color: inherit; text-transform: none; }
.ht-page h1 { font-size: clamp(38px,4.8vw,72px); line-height: 1.07; letter-spacing: -.04em; }
.ht-page h2 { font-size: clamp(30px,3.4vw,52px); line-height: 1.16; letter-spacing: -.035em; }
.ht-page h3 { font-size: clamp(19px,1.6vw,24px); line-height: 1.3; letter-spacing: -.015em; }
.ht-page p { color: var(--ht-muted); }
.ht-page p + p { margin-top: 16px; }
.ht-page small { font-size: 13px; line-height: 1.5; color: var(--ht-muted); display: block; }
.ht-page a { color: inherit; text-decoration: none; }
.ht-page :is(button,input,textarea,select) { font: inherit; letter-spacing: normal; text-transform: none; }
.ht-page button { cursor: pointer; }
.ht-page :is(a,button,input,textarea,select,summary):focus-visible { outline: 3px solid #16802e; outline-offset: 4px; }
.ht-page [hidden] { display: none !important; }
.ht-page .ht-icon { width: 25px; height: 25px; flex: 0 0 auto; display: inline-block; vertical-align: middle; }
/* 02 — Section rhythm and reusable controls */
.ht-page .ht-section { padding: clamp(64px,7vw,112px) 0; position: relative; scroll-margin-top: 100px; color: var(--ht-ink); background: #fff; }
.ht-page .ht-wrap { width: min(1320px,calc(100% - 96px)); margin: 0 auto; }
.ht-page .ht-soft { background: #f4f4f4; }
.ht-page .ht-dark { background: #101010; color: #fff; --ht-muted: #c1c1c1; --ht-line: #363636; }
.ht-page .ht-green { background: var(--ht-green); color: #101010; --ht-muted: #263426; --ht-line: #10101033; }
.ht-page .ht-kicker { display: block; font-size: 13px; font-weight: 600; letter-spacing: .105em; line-height: 1.5; text-transform: uppercase; color: #17652c; margin-bottom: 18px; }
.ht-page .ht-dark .ht-kicker { color: var(--ht-green); }
.ht-page .ht-green .ht-kicker { color: #173c1c; }
.ht-page .ht-heading { max-width: 890px; margin-bottom: 36px; }
.ht-page .ht-heading p { max-width: 780px; margin-top: 20px; }
.ht-page .ht-split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(32px,6vw,90px); align-items: center; }
.ht-page .ht-top { align-items: start; }
.ht-page .ht-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ht-page .ht-btn { display: inline-flex; gap: 12px; align-items: center; justify-content: center; min-height: 54px; padding: 13px 22px; border: 1px solid var(--ht-green); background: var(--ht-green); color: #101010; border-radius: 8px; font-size: 15px; font-weight: 600; line-height: 1.45; text-align: center; white-space: normal; transition: background .2s,color .2s,border-color .2s; }
.ht-page .ht-btn:hover { background: var(--ht-hover); border-color: var(--ht-hover); color: #101010; }
.ht-page .ht-btn .ht-icon { width: 18px; height: 18px; transition: transform .22s; }
.ht-page .ht-btn:hover .ht-icon { transform: translateX(3px); }
.ht-page .ht-alt { background: transparent; border-color: var(--ht-line); color: inherit; }
.ht-page .ht-btn:disabled { opacity: .55; cursor: not-allowed; }
.ht-page .ht-green .ht-btn { background: #101010; border-color: #101010; color: #fff; }
.ht-page .ht-green .ht-btn:hover { background: #fff; color: #101010; border-color: #fff; }
.ht-page .ht-photo { display: grid; place-items: center; position: relative; width: 100%; min-width: 0; min-height: 180px; aspect-ratio: 5/4; overflow: hidden; border-radius: 20px; background: transparent !important; }
.ht-page .ht-photo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; position: absolute; inset: 0; margin: auto; object-fit: contain; border-radius: 20px !important; background: transparent !important; transition: transform .5s; }
.ht-page .ht-photo:hover img { transform: scale(1.025); }
.ht-page .ht-photo figcaption { border: 1px dashed var(--ht-line); color: var(--ht-muted); padding: 20px; border-radius: 20px; text-align: center; width: 100%; height: 100%; display: grid; place-items: center; }
/* 03 — Wide editorial hero */
.ht-page .ht-hero { padding-top: clamp(120px,9vw,140px); padding-bottom: 40px; background-image: linear-gradient(#ffffff08 1px,transparent 1px),linear-gradient(90deg,#ffffff08 1px,transparent 1px); background-size: 64px 64px; }
.ht-page .ht-hero-top { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 48px; align-items: end; margin-bottom: 40px; }
.ht-page .ht-hero h1 span { display: block; color: var(--ht-green); font-size: .72em; margin-top: 10px; }
.ht-page .ht-hero-side p { max-width: 560px; }
.ht-page .ht-hero-media { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 20px; align-items: start; }
.ht-page .ht-hero-media .ht-photo { aspect-ratio: 16/9; min-height: 0; }
.ht-page .ht-dashboard { border: 1px solid #363636; background: #191919; padding: clamp(20px,2.7vw,38px); border-radius: 20px; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.ht-page .ht-dashboard h2 { font-size: clamp(24px,2.6vw,38px); }
.ht-page .ht-dash-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 22px 0; }
.ht-page .ht-dash-grid > div { display: grid; gap: 4px; border: 1px solid #363636; padding: 14px; border-radius: 10px; }
.ht-page .ht-dash-grid .ht-icon { color: var(--ht-green); margin-bottom: 4px; }
.ht-page .ht-chart { display: flex; gap: 7px; align-items: end; height: 80px; border-bottom: 1px solid #555; margin-bottom: 12px; }
.ht-page .ht-chart span { flex: 1; min-width: 0; height: var(--bar); background: var(--ht-green); border-radius: 3px 3px 0 0; transform-origin: bottom; }
.ht-page .ht-dash-labels { display: flex; justify-content: space-between; font-size: 12px; color: #c1c1c1; margin-top: 8px; }
.ht-page .ht-quick { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); gap: 24px; align-items: center; border-top: 1px solid #363636; border-bottom: 1px solid #363636; padding: 24px 0; margin-top: 32px; }
.ht-page .ht-quick strong { font-size: 20px; display: block; }
.ht-page .ht-quick label { font-size: 13px; display: block; margin-bottom: 6px; }
.ht-page .ht-quick-input { display: flex; gap: 10px; }
.ht-page .ht-quick-input input { flex: 1; min-width: 0; background: #191919; border: 1px solid #555; color: #fff; border-radius: 8px; padding: 12px; width: 100%; }
.ht-page .ht-trust { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 20px; font-size: 14px; color: #c1c1c1; }
/* 04 — Editorial rows and methodology band */
.ht-page .ht-photo-note { display: flex; align-items: center; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--ht-line); font-weight: 600; }
.ht-page .ht-photo-note .ht-icon { color: #17652c; }
.ht-page .ht-about .ht-heading { margin-bottom: 16px; }
.ht-page .ht-rows { margin-top: 24px; border-top: 1px solid var(--ht-line); }
.ht-page .ht-rows article { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 14px; padding: 19px 0; border-bottom: 1px solid var(--ht-line); }
.ht-page .ht-rows h3 { font-size: 20px; margin-bottom: 6px; }
.ht-page .ht-index { color: #17652c; font-size: 13px; font-weight: 600; padding-top: 3px; }
.ht-page .ht-rows + .ht-btn { margin-top: 24px; }
.ht-page .ht-engine { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--ht-line); }
.ht-page .ht-engine article { border-right: 1px solid var(--ht-line); padding: 25px 28px 0; display: flex; flex-direction: column; gap: 15px; }
.ht-page .ht-engine article:first-child { padding-left: 0; }
.ht-page .ht-engine article:last-child { border: 0; padding-right: 0; }
.ht-page .ht-large-index { font-size: clamp(44px,6vw,78px); font-weight: 500; line-height: 1; letter-spacing: -.05em; }
/* 05 — Service catalogue */
.ht-page .ht-services { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); border-top: 1px solid var(--ht-line); border-left: 1px solid var(--ht-line); }
.ht-page .ht-services article { display: flex; flex-direction: column; gap: 15px; min-width: 0; padding: clamp(18px,2vw,28px); border-bottom: 1px solid var(--ht-line); border-right: 1px solid var(--ht-line); background: #171717; transition: background .25s; }
.ht-page .ht-services article:hover { background: #202820; }
.ht-page .ht-service-top { display: flex; justify-content: space-between; align-items: center; color: var(--ht-green); font-size: 13px; }
.ht-page .ht-service-top .ht-icon { width: 34px; height: 34px; transition: transform .25s; }
.ht-page .ht-services article:hover .ht-service-top .ht-icon { transform: rotate(-8deg); }
.ht-page .ht-services h3 { font-size: 22px; }
.ht-page .ht-services p { font-size: 15px; line-height: 1.6; }
.ht-page .ht-services a { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--ht-green); font-size: 14px; font-weight: 500; border-top: 1px solid var(--ht-line); padding-top: 15px; margin-top: auto; }
.ht-page .ht-services a .ht-icon { width: 18px; height: 18px; }
/* 06 — Interactive technical audit checklist */
.ht-page .ht-terminal { background: #101010; color: #fff; --ht-muted: #c1c1c1; border-radius: 20px; overflow: hidden; border: 1px solid #333; }
.ht-page .ht-terminal-bar { display: flex; align-items: center; gap: 7px; padding: 17px 20px; background: #252525; font-size: 13px; }
.ht-page .ht-terminal-bar > span { width: 8px; height: 8px; flex: 0 0 auto; background: var(--ht-green); border-radius: 50%; }
.ht-page .ht-terminal-bar b { margin-left: 6px; font-weight: 500; }
.ht-page .ht-terminal-body { padding: clamp(20px,3vw,40px); }
.ht-page .ht-terminal-body h3 { margin-bottom: 12px; }
.ht-page .ht-progress { height: 7px; background: #3a3a3a; border-radius: 10px; overflow: hidden; margin-top: 24px; }
.ht-page .ht-progress span { display: block; height: 100%; width: 0; background: var(--ht-green); transition: width .25s; }
.ht-page #ht-audit-status { font-size: 14px; margin: 12px 0 20px; }
.ht-page .ht-check { display: flex; align-items: center; gap: 14px; padding: 17px 0; border-top: 1px solid #393939; cursor: pointer; }
.ht-page .ht-check input { width: 20px; height: 20px; flex: 0 0 auto; margin: 0; accent-color: var(--ht-green); }
.ht-page .ht-zones { padding-top: 24px; }
.ht-page .ht-zones p { margin-top: 8px; }
.ht-page .ht-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.ht-page .ht-tags span { border: 1px solid #dedede; border-radius: 6px; padding: 6px 12px; font-size: 14px; background: #f4f4f4; }
/* 07 — Full-width process rail */
.ht-page .ht-road { list-style: none; border-top: 1px solid var(--ht-line); }
.ht-page .ht-road li { display: grid; grid-template-columns: 100px minmax(0,1fr) 80px; align-items: center; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--ht-line); transition: padding .22s,background .22s; }
.ht-page .ht-road li:hover { padding-left: 12px; background: #191919; }
.ht-page .ht-road-no { font-size: clamp(32px,4vw,54px); font-weight: 500; letter-spacing: -.04em; color: var(--ht-green); line-height: 1; }
.ht-page .ht-road h3 { margin-bottom: 7px; }
.ht-page .ht-road-end { font-size: 13px; text-align: right; color: var(--ht-green); }
.ht-page .ht-note { border-left: 3px solid var(--ht-green); padding: 12px 18px; margin-top: 28px; font-size: 15px; }
/* 08 — Industry selector and project frames */
.ht-page .ht-sector { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 30px; align-items: start; }
.ht-page .ht-sector-nav { display: grid; gap: 10px; }
.ht-page .ht-sector-nav button { display: flex; align-items: center; gap: 12px; padding: 17px 18px; min-height: 60px; border: 1px solid #dedede; background: #fff; color: #101010; text-align: left; border-radius: 8px; font-size: 16px; font-weight: 500; }
.ht-page .ht-sector-nav button .ht-icon:last-child { margin-left: auto; width: 18px; height: 18px; }
.ht-page .ht-sector-nav button[aria-pressed="true"] { background: var(--ht-green); border-color: var(--ht-green); }
.ht-page .ht-sector-content { display: grid; gap: 16px; min-width: 0; }
.ht-page .ht-sector-content article { padding: clamp(24px,4vw,48px); background: #f4f4f4; border-radius: 20px; }
.ht-page .ht-sector-content article > .ht-icon { width: 44px; height: 44px; margin-bottom: 18px; color: #17652c; }
.ht-page .ht-sector-content h3 { font-size: clamp(24px,2.6vw,38px); margin-bottom: 16px; }
.ht-page .ht-query { display: grid; gap: 7px; padding: 20px; border: 1px solid #dedede; background: #fff; border-radius: 10px; margin: 24px 0; }
.ht-page .ht-query > span { font-size: 13px; color: #17652c; }
.ht-page .ht-projects { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.ht-page .ht-projects article { background: #fff; border: 1px solid #dedede; border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.ht-page .ht-projects .ht-kicker { margin: 0; }
.ht-page .ht-project-metric { display: flex; gap: 12px; align-items: center; margin-top: auto; padding: 18px 0; border-top: 1px solid #dedede; font-weight: 500; }
.ht-page .ht-project-metric .ht-icon { color: #17652c; }
/* 09 — White accordion */
.ht-page .ht-faqs { border-top: 1px solid #dedede; }
.ht-page .ht-faqs details { border-bottom: 1px solid #dedede; }
.ht-page .ht-faqs summary { list-style: none; display: grid; grid-template-columns: 26px minmax(0,1fr) 34px; align-items: center; gap: 12px; cursor: pointer; font-size: 19px; font-weight: 500; padding: 20px 0; }
.ht-page .ht-faqs summary::-webkit-details-marker { display: none; }
.ht-page .ht-plus { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #f4f4f4; font-size: 24px; font-weight: 400; line-height: 1; transition: transform .25s,background .25s; }
.ht-page details[open] .ht-plus { transform: rotate(45deg); background: var(--ht-green); }
.ht-page .ht-faqs details p { padding: 0 0 22px 38px; }
/* 10 — Enquiry form */
.ht-page .ht-contacts { display: grid; gap: 12px; margin-top: 28px; }
.ht-page .ht-contacts a { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 500; }
.ht-page .ht-contacts a:hover { text-decoration: underline; }
.ht-page .ht-form { background: #fff; color: #101010; --ht-muted: #555; padding: clamp(20px,3vw,40px); border-radius: 20px; display: grid; gap: 14px; min-width: 0; }
.ht-page .ht-form h3 { font-size: 28px; }
.ht-page .ht-form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.ht-page .ht-form label { display: block; font-size: 14px; font-weight: 500; line-height: 1.4; }
.ht-page .ht-form-row label { margin-bottom: 8px; }
.ht-page .ht-form :is(input,select,textarea) { display: block; width: 100%; min-width: 0; color: #101010; background: #f7f7f7; border: 1px solid #d5d5d5; border-radius: 8px; padding: 12px; font-size: 16px; min-height: 50px; margin: 0; }
.ht-page .ht-form textarea { resize: vertical; }
.ht-page .ht-form .ht-btn { width: 100%; margin-top: 8px; }
.ht-page .ht-form small a { text-decoration: underline; }
/* 11 — Motion and responsive layout */
.ht-page .ht-revealed { animation: ht-enter .65s cubic-bezier(.2,.7,.2,1) both; }
@keyframes ht-enter { from { opacity: .35; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.ht-page .ht-dashboard.ht-revealed .ht-chart span { animation: ht-bar .75s ease-out both; }
@keyframes ht-bar { from { transform: scaleY(.08); } to { transform: scaleY(1); } }
@media (max-width: 1200px) {
    .ht-page .ht-services { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .ht-page .ht-wrap { width: calc(100% - 64px); }
    .ht-page .ht-hero-top { gap: 30px; }
}
@media (max-width: 900px) {
    .ht-page .ht-split, .ht-page .ht-hero-top, .ht-page .ht-hero-media, .ht-page .ht-quick { grid-template-columns: minmax(0,1fr); }
    .ht-page .ht-wrap { width: calc(100% - 48px); }
    .ht-page .ht-hero h1 { font-size: clamp(40px,7vw,66px); }
    .ht-page .ht-hero-media .ht-photo { max-height: 460px; }
    .ht-page .ht-photo { aspect-ratio: 16/10; }
    .ht-page .ht-services { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .ht-page .ht-projects { grid-template-columns: minmax(0,1fr); }
    .ht-page .ht-engine article { padding: 24px 16px 0; }
    .ht-page .ht-sector { grid-template-columns: minmax(0,1fr); gap: 20px; }
    .ht-page .ht-sector-nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 560px) {
    .ht-page .ht-wrap { width: calc(100% - 32px); }
    .ht-page .ht-section { padding: 56px 0; }
    .ht-page .ht-hero { padding-top: 116px; padding-bottom: 32px; }
    .ht-page .ht-hero h1 { font-size: clamp(35px,9vw,48px); }
    .ht-page .ht-heading { margin-bottom: 26px; }
    .ht-page .ht-actions { flex-direction: column; align-items: stretch; }
    .ht-page .ht-quick-input { flex-direction: column; }
    .ht-page .ht-engine, .ht-page .ht-services, .ht-page .ht-sector-nav, .ht-page .ht-form-row { grid-template-columns: minmax(0,1fr); }
    .ht-page .ht-engine article, .ht-page .ht-engine article:first-child, .ht-page .ht-engine article:last-child { border: 0; border-bottom: 1px solid var(--ht-line); padding: 24px 0; }
    .ht-page .ht-road li { grid-template-columns: 48px minmax(0,1fr); gap: 14px; }
    .ht-page .ht-road-end { display: none; }
    .ht-page .ht-faqs summary { font-size: 17px; gap: 8px; }
    .ht-page .ht-faqs details p { padding-left: 0; }
    .ht-page .ht-dash-grid > div { padding: 10px; }
    .ht-page .ht-form h3 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .ht-page *, .ht-page *::before, .ht-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
