@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f5f7f2;
  --surface: #fff;
  --ink: #172a23;
  --muted: #4a5d53;
  --green: #245846;
  --green-hover: #173c30;
  --dark: #16362b;
  --panel: #214638;
  --accent: #ddec9b;
  --line: #d6e0d7;
  --wash: #e8eee7;
  --body: "Instrument Sans", system-ui, sans-serif;
  --heading: "Space Grotesk", "Instrument Sans", system-ui, sans-serif;
  --radius: 18px;
  --section: clamp(4.2rem, 8vw, 8.3rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 1rem/1.63 var(--body); }
body, main { min-width: 0; }
main { min-height: 53vh; }
figure, h1, h2, h3, h4, p, dl, dd { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .23em; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #64997b; outline-offset: 4px; }
h1, h2, h3 { font-family: var(--heading); font-weight: 650; letter-spacing: -.055em; line-height: 1.07; }
h1 { font-size: clamp(2.9rem, 5.65vw, 5.65rem); text-wrap: balance; }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); text-wrap: balance; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.66rem); letter-spacing: -.04em; }
.shell { max-width: 1320px; width: calc(100% - clamp(2.5rem, 8vw, 8rem)); margin-inline: auto; min-width: 0; }
.section { padding-block: var(--section); }
.eyebrow {
  display: flex; align-items: center; gap: .6rem; margin-bottom: .95rem;
  color: var(--green); font-size: .86rem; font-weight: 700; letter-spacing: .035em;
}
.eyebrow::before { content: ""; height: 2px; width: 1.2rem; background: currentColor; flex: none; }
.skip-link {
  position: fixed; top: .7rem; left: .7rem; z-index: 20; transform: translateY(-180%);
  border-radius: 6px; background: var(--surface); padding: .6rem 1rem;
}
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-layout { display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; min-height: 5.25rem; }
.brand { display: inline-flex; flex: none; align-items: center; gap: .62rem; width: max-content; color: inherit; text-decoration: none; line-height: 1; }
.brand > span:last-child { display: grid; gap: .2rem; }
.brand strong { font: 700 1.22rem/1 var(--heading); letter-spacing: -.032em; }
.brand small { color: var(--muted); font-size: .73rem; font-weight: 650; }
.brand-mark { display: inline-block; flex: none; position: relative; width: 2.65rem; aspect-ratio: 1; background: var(--dark); border-radius: 10px; }
.brand-mark i, .brand-mark b, .brand-mark em { position: absolute; display: block; background: var(--accent); }
.brand-mark i { width: 11%; height: 58%; left: 25%; top: 21%; border-radius: 1px; }
.brand-mark b { width: 45%; height: 34%; left: 32%; top: 21%; border: .29rem solid var(--accent); background: transparent; border-left: none; border-radius: 0 42% 42% 0; }
.brand-mark em { width: 19%; height: 10%; left: 47%; top: 67%; border-radius: 1px; }
.primary-nav, .nav-links, .nav-actions { display: flex; align-items: center; }
.primary-nav { gap: clamp(1.2rem, 3vw, 3.2rem); }
.nav-links { gap: clamp(1.05rem, 2.45vw, 2.5rem); }
.nav-links a { position: relative; display: inline-flex; text-decoration: none; font-weight: 625; font-size: .96rem; white-space: nowrap; padding-block: .62rem; }
.nav-links a:hover, .nav-links a.current { color: var(--green); }
.nav-links a.current::after { content: ""; position: absolute; bottom: .28rem; left: 0; right: 0; height: 2px; background: var(--green); }
.nav-actions { gap: .75rem; }
.language-link { text-decoration: none; color: var(--green); border: 1px solid var(--line); border-radius: 8px; padding: .46rem .58rem; font-size: .88rem; font-weight: 700; }
.language-link:hover { background: var(--wash); }
.menu-button { display: none; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 3rem; padding: .65rem 1.14rem; border: 1px solid transparent; border-radius: 8px; text-decoration: none; font-size: .95rem; line-height: 1.28; font-weight: 700; text-align: center; transition: background-color .18s, border-color .18s, color .18s; }
.button-primary { background: var(--green); color: #fff; }
.button-primary:hover { background: var(--green-hover); }
.button-secondary { border-color: #9bab9f; color: var(--ink); background: transparent; }
.button-secondary:hover { background: var(--wash); border-color: var(--green); }
.button-light { background: var(--accent); color: var(--dark); }
.button-light:hover { background: #e9f2ba; }
.text-link, .link-mark { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: .25em; }
.text-link:hover { color: var(--green-hover); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.nav-actions .button { min-height: 2.73rem; white-space: nowrap; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .98fr); align-items: center; gap: clamp(2rem, 4.9vw, 5.2rem); padding-block: clamp(2.8rem, 6vw, 6rem); }
.hero-copy h1 { font-size: clamp(3.35rem, 5.45vw, 6rem); letter-spacing: -.078em; line-height: 1; text-wrap: initial; }
.hero-copy h1 em { font-style: normal; color: var(--green); }
.hero-lead { max-width: 43ch; margin-top: 1.45rem; color: var(--muted); font-size: clamp(1.03rem, 1.4vw, 1.21rem); line-height: 1.53; }
.hero-photo { position: relative; min-width: 0; aspect-ratio: 1.09; overflow: hidden; border-radius: 24px 24px 24px 5px; background: #d1d8cc; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 54% 50%; }
.hero-photo::after { content: ""; position: absolute; left: 0; bottom: 0; width: clamp(3.8rem, 8vw, 7.5rem); height: 5px; background: var(--accent); }
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.1rem 2rem; margin-bottom: 2.05rem; }
.split-heading h2 { max-width: 24ch; }
.split-heading > a { flex: none; margin-bottom: .27rem; }
.discover-section { padding-top: clamp(2.8rem, 4vw, 4.4rem); border-top: 1px solid var(--line); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.65rem); }
.service-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.card-link:hover .link-mark { color: var(--green-hover); text-decoration-thickness: 2px; }
.card-photo { overflow: hidden; aspect-ratio: 1.76; background: var(--wash); }
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .38s ease; }
.card-link:hover img { transform: scale(1.035); }
.photo-starter img { object-position: 50% 55%; }
.photo-dashboard img { object-position: 54% 56%; }
.photo-maintenance img { object-position: 50% 56%; }
.card-copy { display: flex; flex-direction: column; flex: 1; padding: 1.35rem; }
.card-copy > p { line-height: 1.48; margin-top: .6rem; color: var(--muted); }
.card-copy .link-mark { align-self: flex-start; margin-top: auto; padding-top: 1.05rem; font-size: .92rem; }
.card-copy .card-price { margin-block: .85rem 0; }
.service-card-text { border-top: 3px solid var(--green); }
.service-card-text .card-copy { padding: 1.55rem; }
.service-rail { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1.4rem; margin-top: 1.6rem; padding: 1.15rem 1.35rem; border: 1px solid var(--line); border-radius: 11px; }
.service-rail p { font-weight: 650; }
.service-rail div { display: flex; gap: .55rem 1.3rem; flex-wrap: wrap; }
.service-rail a { font-size: .94rem; font-weight: 650; color: var(--green); }

.scenario-section { color: #edf5ee; background: var(--dark); padding-block: clamp(3.6rem, 7vw, 6.5rem); }
.scenario-layout { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); align-items: start; gap: clamp(1.5rem, 5vw, 5rem); }
.scenario-intro h2 { max-width: 13ch; }
.scenario-intro .eyebrow { color: var(--accent); }
.scenario-intro > p:last-child { color: #cbd9ce; max-width: 32ch; margin-top: 1rem; }
.scenario-workspace { min-width: 0; background: var(--panel); border: 1px solid #476858; border-radius: var(--radius); padding: clamp(1.15rem, 2.8vw, 2.25rem); }
.scenario-tabs { display: flex; flex-wrap: wrap; gap: .43rem; margin-bottom: 1.2rem; }
.scenario-tabs button { padding: .44rem .87rem; background: transparent; color: #f8fbf6; border: 1px solid #779384; border-radius: 8px; font-size: .93rem; font-weight: 600; }
.scenario-tabs button[aria-selected="true"] { background: var(--accent); color: var(--dark); border-color: var(--accent); font-weight: 700; }
.scenario-tabs button:focus-visible { outline-color: var(--accent); }
.scenario-panel > p { min-height: 3.15em; color: #e3ebe1; max-width: 54ch; }
.workflow { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .6rem; padding: 0; margin: 1.15rem 0 1.45rem; list-style: none; }
.workflow li { position: relative; display: flex; align-items: center; min-height: 3.8rem; padding: .65rem .72rem; color: var(--ink); background: var(--wash); border: 1px solid var(--line); border-radius: 8px; font-weight: 650; font-size: .92rem; line-height: 1.38; overflow-wrap: anywhere; }
.workflow li:not(:last-child)::after { content: ""; position: absolute; left: 100%; width: .65rem; height: 1px; top: 50%; background: #97ab9e; }
.scenario-panel .workflow li { background: #f2f6ec; border-color: #a4baa8; }
.callout { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem 2rem; background: var(--wash); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 3.4rem); }
.callout h2 { font-size: clamp(1.85rem, 3.6vw, 3.25rem); }
.callout p { color: var(--muted); margin-top: .55rem; }
.callout .button { flex: none; }
.section:has(.callout) { padding-top: 0; }

.page-heading { padding-top: clamp(3.7rem, 7vw, 7.2rem); padding-bottom: clamp(1.75rem, 4.2vw, 3.75rem); }
.page-heading h1 { max-width: 16ch; }
.page-lead { max-width: 62ch; font-size: clamp(1.08rem, 1.55vw, 1.26rem); line-height: 1.54; color: var(--muted); margin-top: 1.2rem; }
.jump-links { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; padding-block: 0 1.9rem; }
.jump-links a { border: 1px solid var(--line); border-radius: 8px; padding: .47rem .85rem; text-decoration: none; font-weight: 650; color: var(--green); }
.jump-links a:hover { background: var(--wash); }
.catalogue-block { border-top: 1px solid var(--line); padding-block: clamp(2.55rem, 5.2vw, 5.2rem); }
.catalogue-block:last-of-type { margin-bottom: 2rem; }
.price { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: .18rem .37rem; color: var(--muted); font-size: .88rem; white-space: nowrap; }
.price strong { font-family: var(--heading); color: var(--ink); font-size: 1.5rem; letter-spacing: -.04em; line-height: 1.15; }
.price small { font-size: .88rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .55rem; padding-block: 1.5rem; color: var(--muted); font-size: .91rem; }
.breadcrumbs span::before { content: "/"; margin-right: .55rem; color: #6a7c70; }
.service-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(1.8rem, 4.5vw, 4.25rem); align-items: center; padding-bottom: 2.05rem; }
.service-hero h1 { font-size: clamp(2.65rem, 5.25vw, 5.15rem); }
.service-hero .page-lead { max-width: 47ch; }
.service-photo { min-width: 0; overflow: hidden; border-radius: var(--radius); background: var(--wash); aspect-ratio: 1.16; }
.service-photo img { width: 100%; height: 100%; object-fit: cover; }
.quote-price { display: grid; gap: .32rem; margin-top: 1.45rem; }
.quote-price .price strong { font-size: clamp(2.22rem, 4vw, 3.1rem); }
.quote-price > p, .price-note { color: var(--muted); font-size: .94rem; }
.service-jump { display: flex; flex-wrap: wrap; gap: .45rem 1.45rem; padding-block: .35rem 1.4rem; }
.service-jump a { color: var(--green); font-weight: 650; text-decoration-color: #9bab9f; }
.service-jump a:hover { text-decoration-color: currentColor; }
.service-overview { border-top: 1px solid var(--line); padding-block: clamp(2.3rem, 5vw, 5rem); }
.service-detail { display: grid; grid-template-columns: minmax(0, 1.52fr) minmax(0, .85fr); gap: clamp(1.45rem, 6vw, 6rem); align-items: start; }
.detail-body > h2 { font-size: clamp(1.85rem, 3.1vw, 2.75rem); margin-bottom: 1rem; }
.service-context { max-width: 67ch; color: var(--muted); }
.service-context p + p { margin-top: .75rem; }
.deliverables-title { margin-block: 1.85rem .75rem; }
.deliverables article { padding: 1.12rem 0; border-top: 1px solid var(--line); }
.deliverables h4 { font-size: 1.08rem; line-height: 1.35; }
.deliverables article p, .scope-note p, .example-card p { margin-top: .4rem; color: var(--muted); }
.scope-note { border-left: 3px solid var(--green); padding: .35rem 0 .35rem 1.1rem; margin-top: .85rem; }
.example-card, .company-card, .contact-aside { padding: clamp(1.2rem, 2.8vw, 2.35rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--wash); }
.example-card h2, .company-card h2, .contact-aside h2 { font-size: clamp(1.55rem, 2.7vw, 2.15rem); }
.example-card h3 { margin-top: 1.2rem; }
.prepare-card h3 { margin-top: 1.5rem; }
.prepare-list { display: grid; gap: .75rem; padding: 0; margin: .85rem 0 0; list-style: none; color: var(--muted); }
.prepare-list li { position: relative; padding-inline-start: 1.15rem; }
.prepare-list li::before { content: ""; position: absolute; top: .69em; inset-inline-start: 0; width: .43rem; aspect-ratio: 1; background: var(--green); border-radius: 2px; }
.service-case { padding-block: clamp(2.8rem, 6.2vw, 6rem); background: var(--wash); border-block: 1px solid var(--line); }
.service-case-layout, .service-questions-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.25fr); gap: clamp(1.5rem, 5.1vw, 5rem); align-items: start; }
.case-copy h2, .service-questions h2 { font-size: clamp(1.9rem, 3.25vw, 3.05rem); }
.case-copy > p:last-child { color: var(--muted); max-width: 50ch; margin-top: 1rem; }
.service-diagram {
  --diagram-accent: var(--accent);
  min-width: 0;
  padding: clamp(1.25rem, 3.1vw, 2.35rem);
  border: 1px solid #456b5b;
  border-radius: var(--radius);
  background: radial-gradient(ellipse at top right, #255344, #16362b 72%);
  color: #eef6ef;
}
.diagram-starter { --diagram-accent: #ddec9b; }
.diagram-automation { --diagram-accent: #a5e7d2; }
.diagram-transformation { --diagram-accent: #f0dfab; }
.diagram-dashboard { --diagram-accent: #b7dbf4; }
.diagram-process { --diagram-accent: #cbe8b6; }
.diagram-custom { --diagram-accent: #f4cba7; }
.diagram-maintenance { --diagram-accent: #afdce8; }
.diagram-care { --diagram-accent: #d0e6a8; }
.diagram-premium { --diagram-accent: #f1d49e; }
.service-diagram > h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); max-width: 29ch; }
.diagram-steps { display: none; padding: 0; margin: 1.4rem 0 1rem; list-style: none; }
.enhanced .diagram-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; }
.diagram-steps li { min-width: 0; position: relative; }
.diagram-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline-start: 100%;
  width: .65rem;
  height: 1px;
  background: #81a396;
}
.diagram-step {
  display: flex;
  align-items: center;
  gap: .42rem;
  width: 100%;
  min-height: 3.15rem;
  padding: .48rem .6rem;
  border: 1px solid #719386;
  border-radius: 8px;
  text-align: left;
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.2;
  background: #1d4436;
  color: #eff8ef;
  transition: background-color .22s ease, color .22s ease, border-color .22s ease;
}
.diagram-step::before { content: ""; flex: 0 0 .45rem; aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; }
.diagram-step span { overflow-wrap: anywhere; }
.diagram-step:hover { border-color: var(--diagram-accent); }
.diagram-step[aria-selected="true"] { border-color: var(--diagram-accent); background: var(--diagram-accent); color: #17362a; }
.diagram-step[aria-selected="true"]::before { background: currentColor; }
.service-diagram :focus-visible { outline-color: var(--diagram-accent); }
.diagram-panels { margin-top: 1rem; padding: .9rem 1rem; border-inline-start: 2px solid var(--diagram-accent); background: #204638; border-radius: 0 8px 8px 0; }
.enhanced .diagram-panels { min-block-size: 8.6rem; }
.diagram-panel h4 { font-size: 1.04rem; line-height: 1.35; color: var(--diagram-accent); }
.diagram-panel p { margin-top: .35rem; color: #e1ece3; }
.diagram-panel + .diagram-panel:not([hidden]) { margin-top: .9rem; }
.enhanced .diagram-panel:not([hidden]) { margin-top: 0; animation: diagram-panel-in .28s ease-out both; }
@keyframes diagram-panel-in { from { opacity: .35; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.service-questions { padding-block: clamp(2.8rem, 6vw, 5.5rem); }
.service-questions .button { margin-top: 1.15rem; }
.service-faq { border-top: 1px solid var(--line); }
.service-faq details { border-bottom: 1px solid var(--line); }
.service-faq summary { cursor: pointer; color: var(--ink); font-size: 1.05rem; font-weight: 650; padding-block: .95rem; }
.service-faq summary::marker { color: var(--green); }
.service-faq details p { padding-bottom: 1rem; color: var(--muted); max-width: 65ch; }
.alternate-section { border-top: 1px solid var(--line); padding-block: clamp(2.7rem, 5vw, 5.4rem); }

.pricing-section { padding-bottom: clamp(2.8rem, 5.7vw, 5.7rem); }
.pricing-section h2 { font-size: clamp(1.85rem, 3.3vw, 2.9rem); margin-bottom: 1.1rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.price-table { border-collapse: collapse; width: 100%; }
.price-table th, .price-table td { text-align: left; vertical-align: middle; padding: .9rem 1.13rem; }
.price-table thead { background: var(--dark); color: var(--surface); }
.price-table thead th { font-weight: 650; font-size: .94rem; }
.price-table tbody th { min-width: 12rem; }
.price-table tbody td:nth-child(2) { color: var(--muted); }
.price-table tbody tr + tr { border-top: 1px solid var(--line); }
.price-table tbody tr:hover { background: var(--paper); }
.price-table td:last-child, .price-table thead th:last-child { text-align: right; }
.price-table a { color: var(--green); font-weight: 650; }
.price-note { margin-top: .8rem; }

.method-layout, .about-layout, .contact-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.75rem, 4.35vw, 4.2rem); align-items: start; }
.method-layout { align-items: stretch; }
.method-photo { background: var(--wash); border-radius: var(--radius); overflow: hidden; height: 100%; min-height: 24rem; }
.method-photo img { width: 100%; height: 100%; object-fit: cover; }
.method-steps { border-left: 1px solid var(--line); margin: 0; padding: 0 0 0 1.6rem; list-style: none; }
.method-steps li { position: relative; padding-block: .85rem; }
.method-steps li::before { content: ""; position: absolute; width: .51rem; aspect-ratio: 1; border-radius: 50%; background: var(--green); left: -1.88rem; top: 1.18rem; }
.method-steps p, .about-copy p { margin-top: .42rem; color: var(--muted); }
.about-copy h2 { font-size: clamp(1.85rem, 3.2vw, 2.75rem); }
.about-copy h2:not(:first-child) { margin-top: 1.6rem; }
.about-copy .button { margin-top: 1.35rem; }
.facts { display: grid; gap: .7rem; margin-block: .9rem; }
.facts div { display: grid; gap: .16rem; }
.facts dt { font-weight: 700; }
.facts dd { color: var(--muted); }

.contact-section { padding-top: 1.55rem; }
.contact-layout { grid-template-columns: minmax(0,1.37fr) minmax(0,.63fr); }
.enquiry-form { display: grid; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1rem, 3vw, 2.55rem); min-width: 0; }
.enquiry-form h2 { font-size: clamp(1.65rem, 3vw, 2.42rem); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .85rem; }
.enquiry-form label { display: block; color: var(--ink); font-weight: 650; font-size: .96rem; min-width: 0; }
.enquiry-form label > small, .field-note, .form-privacy { color: var(--muted); font-size: .88rem; font-weight: 400; }
.enquiry-form label > small { margin-left: .22rem; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea {
  display: block; width: 100%; margin-top: .28rem; min-width: 0; padding: .65rem .68rem;
  color: var(--ink); background: #fcfdfb; border: 1px solid #aebcb1; border-radius: 8px; font-size: 1rem; font-weight: 400;
}
.enquiry-form select {
  appearance: none; padding-right: 2rem;
  background-image: linear-gradient(45deg, transparent 50%, #506a5c 50%), linear-gradient(135deg, #506a5c 50%, transparent 50%);
  background-position: calc(100% - 16px) center, calc(100% - 11px) center;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.enquiry-form textarea { resize: vertical; }
.enquiry-form > .button { justify-self: start; }
.form-status { border-left: 3px solid var(--green); padding: .55rem .78rem; background: var(--wash); color: var(--green-hover); font-size: .95rem; }
.contact-aside ul { padding-left: 1.15rem; color: var(--muted); }
.contact-aside li + li { margin-top: .44rem; }
.contact-aside p { color: var(--muted); margin-block: 1.05rem; }
.simple-actions { display: flex; flex-wrap: wrap; gap: .65rem; padding-bottom: clamp(4.2rem, 9vw, 8.5rem); }

.legal-layout { display: grid; grid-template-columns: minmax(0, .31fr) minmax(0, .69fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.legal-layout aside { position: sticky; top: 6.5rem; }
.legal-layout aside h2 { font-size: 1.11rem; margin-bottom: .65rem; letter-spacing: -.025em; }
.legal-layout aside nav { display: grid; gap: .38rem; }
.legal-layout aside a { color: var(--green); font-size: .95rem; text-decoration-thickness: 1px; }
.legal-section { border-top: 1px solid var(--line); padding-block: 1.45rem; }
.legal-section h2 { font-size: clamp(1.5rem, 2.7vw, 2.05rem); margin-bottom: .7rem; }
.legal-section p, .legal-section li { color: var(--muted); }
.legal-section a, .legal-source a, .credits-section a { color: var(--green); }
.legal-section p + p { margin-top: .72rem; }
.legal-section ul { padding-left: 1.2rem; }
.legal-section li + li { margin-top: .5rem; }
.legal-source { margin-top: 1.2rem; }
.credits-section { padding-bottom: var(--section); }
.credits-section li { margin-bottom: .45rem; }
.credits-section p + p { margin-top: .5rem; }

.site-footer { color: #e7f2eb; background: #122e25; }
.footer-layout { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.8fr) minmax(0,1.06fr) minmax(0,1fr); gap: 1.3rem 2rem; padding-block: 3.25rem; }
.footer-layout h2 { font: 700 .96rem/1.3 var(--body); letter-spacing: 0; margin-bottom: .65rem; }
.footer-layout p { color: #cfdfd5; font-size: .94rem; margin-top: .82rem; max-width: 32ch; }
.footer-layout > div > a:not(.brand, .button) { display: block; color: #d6e4da; font-size: .93rem; text-decoration: none; padding-block: .18rem; }
.footer-layout > div > a:hover { text-decoration: underline; }
.footer-layout .brand small { color: #d6e4da; }
.footer-layout .brand-mark { background: #284b3c; }
.footer-layout .button { min-height: 2.5rem; margin-top: .85rem; }
.footer-base { border-top: 1px solid #547267; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .65rem; padding-block: .9rem; font-size: .85rem; color: #cadfd2; }

.boot-screen {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 30;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 45%, #214536 0%, #142e25 42%, #10251e 78%);
  color: var(--surface);
}
.intro-pending { overflow: hidden; }
.intro-pending body { background: #10251e; }
.intro-pending .site-content { visibility: hidden; pointer-events: none; }
.intro-pending .boot-screen { display: grid; }
.intro-leaving .boot-screen { animation: boot-exit .22s ease-in both; }
.boot-signature { display: grid; justify-items: center; gap: 1rem; text-align: center; padding: 1.2rem; }
.boot-symbol {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(8.65rem, 22vw, 11rem);
  aspect-ratio: 1;
}
.boot-symbol::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #517565;
  border-radius: 23%;
  background: linear-gradient(90deg, transparent calc(50% - .5px), #3c6252 50%, transparent calc(50% + .5px)),
              linear-gradient(0deg, transparent calc(50% - .5px), #3c6252 50%, transparent calc(50% + .5px));
  animation: boot-frame .72s cubic-bezier(.2, .65, .25, 1) both;
}
.boot-symbol .brand-mark {
  width: 64%;
  border-radius: 23%;
  background: #193b30;
  border: 1px solid #709582;
  box-shadow: 0 1rem 2rem #0d211a88;
  animation: boot-tile .55s .09s cubic-bezier(.2, .65, .25, 1) both;
}
.boot-symbol .brand-mark i { transform-origin: center top; animation: boot-stem .34s .23s ease-out both; }
.boot-symbol .brand-mark b {
  border-width: clamp(.52rem, 1.43vw, .73rem);
  border-left: 0;
  animation: boot-curve .40s .37s cubic-bezier(.2, .7, .3, 1) both;
}
.boot-symbol .brand-mark em { transform-origin: left center; animation: boot-dash .26s .63s ease-out both; }
.boot-wordmark { display: grid; gap: .38rem; animation: boot-name .5s .61s cubic-bezier(.2, .65, .25, 1) both; }
.boot-wordmark strong { font: 700 clamp(1.95rem, 4.65vw, 3.35rem)/1 var(--heading); letter-spacing: -.05em; }
.boot-wordmark span { font-size: .99rem; font-weight: 600; color: #cfdfd5; }
.boot-underline { width: 3rem; height: 2px; border-radius: 10px; background: var(--accent); animation: boot-dash .38s .73s ease-out both; }
.intro-done .hero-copy { animation: home-enter .36s ease-out both; }
.intro-done .hero-photo { animation: home-enter .46s .04s ease-out both; }
@keyframes boot-frame { from { opacity: 0; transform: scale(1.12); } to { opacity: .76; transform: none; } }
@keyframes boot-tile { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes boot-stem { from { transform: scaleY(0); } to { transform: none; } }
@keyframes boot-curve { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes boot-dash { from { opacity: 0; transform: scaleX(0); } to { opacity: 1; transform: none; } }
@keyframes boot-name { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes boot-exit { to { opacity: 0; } }
@keyframes home-enter { from { opacity: .8; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 1060px) {
  .header-layout { gap: 1rem; }
  .nav-links { gap: 1.05rem; }
  .primary-nav { gap: 1.35rem; }
  .hero { gap: 1.85rem; }
  .hero-copy h1 { font-size: clamp(3.1rem, 5.9vw, 4.6rem); }
}
@media (max-width: 860px) {
  .shell { width: calc(100% - 2.7rem); }
  .header-layout { min-height: 4.45rem; }
  .enhanced .menu-button { display: inline-flex; align-items: center; gap: .49rem; border: 1px solid var(--line); border-radius: 8px; padding: .46rem .66rem; background: transparent; color: var(--green); font-weight: 700; font-size: .92rem; }
  .menu-button i { height: 2px; width: 13px; background: var(--green); box-shadow: 0 -4px 0 var(--green), 0 4px 0 var(--green); }
  .enhanced .primary-nav { display: none; position: absolute; inset: 100% 0 auto; padding: .85rem 1.35rem 1.3rem; background: var(--paper); border-bottom: 1px solid var(--line); }
  .enhanced .primary-nav.open { display: grid; gap: .72rem; }
  .nav-links { flex-wrap: wrap; gap: .3rem 1rem; }
  .nav-actions { margin-top: .12rem; }
  .site-header:not(.ready) .header-layout { flex-wrap: wrap; }
  .scenario-layout { grid-template-columns: 1fr; }
  .scenario-intro h2 { max-width: 19ch; }
  .footer-layout { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-detail { gap: 1.45rem; }
  .service-case-layout, .service-questions-layout { gap: 1.4rem; }
  .enhanced .diagram-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .diagram-steps li:nth-child(2)::after { display: none; }
}
@media (max-width: 700px) {
  .shell { width: calc(100% - 2.25rem); }
  .hero, .service-hero, .service-detail, .method-layout, .about-layout, .contact-layout, .legal-layout { grid-template-columns: 1fr; }
  .service-case-layout, .service-questions-layout { grid-template-columns: 1fr; }
  .hero { gap: 1.65rem; padding-block: 2.25rem 3.2rem; }
  .hero-copy h1 { font-size: clamp(2.95rem, 9.4vw, 4.85rem); }
  .hero-lead { margin-top: 1.16rem; }
  .hero-photo { aspect-ratio: 1.35; }
  .hero .actions { margin-top: 1.25rem; }
  .split-heading { flex-direction: column; align-items: flex-start; gap: .7rem; margin-bottom: 1.45rem; }
  .card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-rail { flex-direction: column; align-items: flex-start; }
  .callout { flex-direction: column; align-items: flex-start; }
  .page-heading { padding-top: 3.05rem; }
  .service-hero { padding-bottom: 0; }
  .service-photo { aspect-ratio: 1.42; }
  .service-jump { padding-block: .95rem 1.15rem; }
  .method-photo { aspect-ratio: 1.52; min-height: 0; }
  .legal-layout aside { position: static; }
  .legal-layout aside nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .legal-layout aside h2 { grid-column: 1/-1; }
  .price-table tbody th { min-width: 0; }
}
@media (max-width: 480px) {
  .shell { width: calc(100% - 1.85rem); }
  .header-layout { gap: .55rem; }
  .brand { gap: .49rem; }
  .brand-mark { width: 2.38rem; }
  .brand strong { font-size: 1.12rem; }
  .brand small { font-size: .72rem; }
  .hero { gap: 1.25rem; }
  .hero-copy h1 { font-size: clamp(2.65rem, 10.1vw, 3.4rem); }
  .card-grid, .field-grid, .workflow { grid-template-columns: 1fr; }
  .card-photo { aspect-ratio: 1.82; }
  .scenario-workspace { padding: 1rem; }
  .scenario-tabs { gap: .28rem; }
  .scenario-tabs button { padding: .4rem .57rem; }
  .workflow li { min-height: 2.85rem; }
  .workflow li:not(:last-child)::after { top: 100%; left: 1.3rem; width: 1px; height: .65rem; }
  .price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .price-table tbody tr { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .25rem .4rem; padding: .75rem .8rem; }
  .price-table th, .price-table td { padding: 0; }
  .price-table td:nth-child(2) { grid-row: 2; grid-column: 1/-1; font-size: .91rem; }
  .price-table td:last-child { grid-row: 1; grid-column: 2; align-self: start; }
  .price-table .price { justify-content: flex-end; white-space: normal; max-width: 9.2rem; gap: .1rem .24rem; }
  .price-table .price strong { font-size: 1.22rem; }
  .footer-layout { gap: 1.45rem .7rem; }
  .footer-brand { grid-column: 1/-1; }
  .legal-layout aside nav { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
