/* Enigma Interconnect – site styles
   Colours from the original enigmacorp.com. One stylesheet for every page. */
:root {
  color-scheme: light;
  --white: #ffffff;
  --paper: #f4f3ef;
  --stone: #e1dfd9;
  --stone-2: #ebe9e4;
  --ink: #1d231c;
  --ink-2: #4a5249;
  --ink-3: #737a72;
  --green: #209d50;
  --green-dark: #187c3f;
  --green-light: #6fd398;
  --green-tint: #e8f5ed;
  --font: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --radius: 8px;
  --radius-lg: 12px;
  --band: clamp(48px, 6vw, 72px);
  --gap: clamp(16px, 2vw, 24px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
ul { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 820px; }
.eyebrow { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); }
.muted { color: var(--ink-2); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 14px; border-radius: 6px; z-index: 50; }
.skip:focus { left: 12px; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 16px/1 var(--font); text-decoration: none; padding: 13px 20px; border-radius: var(--radius); background: var(--green); color: var(--white); border: 1.5px solid var(--green); transition: background .15s, border-color .15s; white-space: nowrap; cursor: pointer; }
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn .arr { transition: transform .15s; }
.btn:hover .arr { transform: translateX(3px); }
.btn.light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn.light:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn.outline { background: transparent; color: var(--green-dark); border-color: var(--green); }
.btn.outline:hover { background: var(--green-tint); }
.btn.sm { padding: 10px 16px; font-size: 15px; }
.textlink { font-weight: 600; color: var(--green); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.textlink:hover { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose a, .inline-link { color: var(--green-dark); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(32,157,80,.35); text-underline-offset: 3px; }
.prose a:hover, .inline-link:hover { text-decoration-color: currentColor; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--white); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(255,255,255,.95); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--stone); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; padding-block: 10px; }
.logo { flex: none; display: block; }
.logo img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .nav-group > button { font: 500 15px/1 var(--font); color: var(--ink-2); text-decoration: none; padding: 10px 12px; border-radius: 6px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav > a:hover, .nav-group > button:hover, .nav-group:focus-within > button { color: var(--ink); background: var(--paper); }
.nav a[aria-current="page"], .nav-group.current > button { color: var(--green-dark); }
.nav-group { position: relative; }
.nav-group > button svg { width: 12px; height: 12px; transition: transform .15s; }
.nav-group:hover > button svg, .nav-group:focus-within > button svg { transform: rotate(180deg); }
.nav-menu { position: absolute; top: 100%; left: 0; min-width: 240px; padding: 8px; margin-top: 6px; background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius-lg); box-shadow: 0 16px 40px -18px rgba(29,35,28,.3); display: grid; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s; }
.nav-menu::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.nav-group:hover .nav-menu, .nav-group:focus-within .nav-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu a { display: block; padding: 9px 12px; border-radius: 6px; text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-menu a small { display: block; color: var(--ink-3); font-size: 13px; font-weight: 400; margin-top: 1px; }
.nav-menu a:hover { background: var(--paper); }
.nav-menu a[aria-current="page"] { color: var(--green-dark); background: var(--green-tint); }
.nav > a.btn { margin-left: 10px; color: var(--white); background: var(--green); padding: 10px 16px; font-weight: 600; }
.nav > a.btn:hover { background: var(--green-dark); color: var(--white); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--stone); border-radius: var(--radius); padding: 9px 10px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 22px; height: 22px; display: block; }

@media (max-width: 920px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--stone); box-shadow: 0 20px 30px -20px rgba(29,35,28,.25); flex-direction: column; align-items: stretch; gap: 0; padding: 8px max(20px, env(safe-area-inset-right, 0px)) 18px max(20px, env(safe-area-inset-left, 0px)); max-height: calc(100vh - 70px); overflow-y: auto; }
  .site-header.open .nav { display: flex; }
  .nav > a, .nav-group > button { padding: 12px 4px; font-size: 16px; width: 100%; justify-content: space-between; border-radius: 0; }
  .nav > a:hover, .nav-group > button:hover, .nav-group:focus-within > button { background: none; }
  .nav-group > button svg { display: none; }
  .nav-group > button { pointer-events: none; color: var(--ink-3); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding-top: 16px; padding-bottom: 4px; }
  .nav-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0; margin: 0; min-width: 0; }
  .nav-menu a { padding: 10px 4px; font-size: 16px; }
  .nav-menu a small { display: none; }
  .nav > a.btn { margin: 14px 0 0; justify-content: center; padding: 13px 16px; }
  .nav > a.btn:hover { background: var(--green-dark); }
}
@media (max-width: 440px) { .logo img { height: 46px; } }

/* Home hero */
.hero { position: relative; background: var(--ink); color: var(--white); overflow: hidden; isolation: isolate; }
.hero-img { position: absolute; inset: 0; z-index: -1; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(29,35,28,.95) 0%, rgba(29,35,28,.8) 45%, rgba(29,35,28,.4) 100%); }
.hero .wrap { padding-block: clamp(56px, 8vw, 96px) clamp(48px, 7vw, 80px); display: grid; gap: 20px; justify-items: start; }
.hero .eyebrow { color: var(--green-light); }
.hero h1 { font-size: clamp(38px, 5.6vw, 66px); font-weight: 800; max-width: 15ch; }
.hero h1 span { color: var(--green-light); }
.hero .lede { font-size: clamp(17px, 1.5vw, 19px); color: rgba(255,255,255,.82); max-width: 52ch; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

/* Stats bar */
.stats { background: var(--ink); color: var(--white); border-top: 1px solid rgba(255,255,255,.08); }
.stats ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.stats li { padding: 22px 24px; display: grid; gap: 2px; align-content: start; }
.stats li + li { border-left: 1px solid rgba(255,255,255,.1); }
.stats li:first-child { padding-left: 0; }
.stats .num { font-size: clamp(26px, 2.8vw, 34px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats .num small { font-size: .55em; font-weight: 700; color: var(--green-light); margin-left: 2px; }
.stats .cap { font-size: 14px; color: rgba(255,255,255,.66); line-height: 1.4; }
@media (max-width: 800px) {
  .stats ul { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats li:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
}

/* Inner page hero */
.page-hero { background: var(--paper); border-bottom: 1px solid var(--stone); }
.page-hero .wrap { padding-block: clamp(36px, 5vw, 56px); display: grid; gap: 14px; }
.page-hero.has-img .wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.page-hero .text { display: grid; gap: 14px; align-content: center; min-width: 0; }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 800; }
.page-hero .lede { font-size: 18px; color: var(--ink-2); max-width: 60ch; }
.page-hero .ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.page-hero figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--stone); max-width: 100%; }
.page-hero figure img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { font-size: 14px; color: var(--ink-3); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { color: var(--green-dark); }
@media (max-width: 860px) { .page-hero.has-img .wrap { grid-template-columns: 1fr; } }

/* Sections */
.band { padding-block: var(--band); }
.band.paper { background: var(--paper); }
.band.tight { padding-block: clamp(36px, 4.5vw, 52px); }
.band:not(.paper) + .band:not(.paper) { padding-top: 0; }
.band.paper + .band.paper { padding-top: 0; }
.head { display: grid; gap: 10px; max-width: 46rem; margin-bottom: clamp(24px, 3vw, 36px); }
.head h2 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 800; }
.head p { color: var(--ink-2); font-size: 17.5px; max-width: 60ch; }
.head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: clamp(24px, 3vw, 36px); }
.head-row .head { margin-bottom: 0; }
h3.sub { font-size: 21px; font-weight: 700; }

/* Prose */
.prose { display: grid; gap: 16px; max-width: 68ch; font-size: 17.5px; }
.prose h2 { font-size: 26px; font-weight: 800; margin-top: 14px; }
.prose h3 { font-size: 20px; font-weight: 700; margin-top: 8px; }
.prose ul { padding-left: 1.2em; display: grid; gap: 6px; }
.prose li::marker { color: var(--green); }
.prose figure { margin: 8px 0; }
.prose figure img { border-radius: var(--radius-lg); border: 1px solid var(--stone); }
.prose figcaption { font-size: 14px; color: var(--ink-3); margin-top: 8px; }
.signoff { color: var(--ink-2); }
.signoff b { color: var(--ink); display: block; }

/* Cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--gap); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius-lg); padding: 22px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.card h3 { font-size: 19px; font-weight: 700; }
.card p, .card li { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.card ul { padding-left: 1.1em; display: grid; gap: 5px; }
.card li::marker { color: var(--green); }
.icon { width: 42px; height: 42px; border-radius: 10px; background: var(--green-tint); color: var(--green); display: grid; place-items: center; flex: none; }
.icon svg { width: 22px; height: 22px; }
.card .icon { margin-bottom: 2px; }

/* Photo cards (equipment, process) */
.photo-card { background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius-lg); overflow: hidden; display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.photo-card figure { margin: 0; aspect-ratio: 4 / 3; background: var(--stone-2); overflow: hidden; }
.photo-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photo-card figure.contain img { object-fit: contain; padding: 12px; background: var(--white); }
.photo-card:hover figure img { transform: scale(1.03); }
.photo-card .body { padding: 18px 20px 20px; display: grid; gap: 8px; align-content: start; }
.photo-card h3 { font-size: 18px; font-weight: 700; line-height: 1.25; }
.photo-card ul { padding-left: 1.1em; display: grid; gap: 4px; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.photo-card li::marker { color: var(--green); }
.tag { display: inline-block; justify-self: start; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green-dark); background: var(--green-tint); border-radius: 999px; padding: 3px 10px; }

/* A lone last equipment card spans the row and lays out sideways */
@media (min-width: 961px) {
  .eq-grid > .photo-card:last-child:nth-child(3n+1) { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); grid-template-rows: auto; }
}
@media (min-width: 621px) and (max-width: 960px) {
  .eq-grid > .photo-card:last-child:nth-child(2n+1) { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto; }
}
.eq-grid > .photo-card:last-child figure { min-height: 100%; }

/* Process (home) */
.process { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--gap); }
.stage { display: grid; gap: 12px; align-content: start; min-width: 0; }
.stage figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--stone); }
.stage figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.stage:hover figure img { transform: scale(1.03); }
.stage .meta { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }
.stage .meta b { font-family: var(--mono); font-weight: 500; letter-spacing: 0; color: var(--green); }
.stage .meta::after { content: ""; flex: 1; height: 1px; background: var(--stone); }
.stage h3 { font-size: 21px; font-weight: 700; }
.stage p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 860px) { .process { grid-template-columns: 1fr; gap: 32px; } }

/* Split layout */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.split .head { margin-bottom: 0; }
.split.even { grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; }
.split figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; }
.split figure img { width: 100%; }
@media (max-width: 860px) { .split, .split.even { grid-template-columns: 1fr; } }

/* Chips */
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--white); border: 1px solid var(--stone); border-radius: 999px; padding: 7px 14px; font-size: 15px; font-weight: 500; }
.chips li.hi { border-color: var(--green); color: var(--green-dark); background: var(--green-tint); }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--gap); }
@media (max-width: 900px) { .news-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 580px) { .news-grid { grid-template-columns: 1fr; } }
.post-card { display: grid; grid-template-rows: auto 1fr; background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; transition: border-color .15s, box-shadow .15s; min-width: 0; }
.post-card:hover { border-color: var(--green); box-shadow: 0 10px 28px -16px rgba(29,35,28,.3); }
.post-card figure { margin: 0; aspect-ratio: 16 / 9; background: var(--stone-2); overflow: hidden; }
.post-card figure img { width: 100%; height: 100%; object-fit: cover; }
.post-card figure.contain img { object-fit: contain; background: var(--white); }
.post-card .body { padding: 16px 18px 20px; display: grid; gap: 8px; align-content: start; }
.post-card time { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.post-card h3 { font-size: 17.5px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.post-card:hover h3 { color: var(--green-dark); }
.news-grid.compact .post-card figure { display: none; }
.news-grid.compact .post-card { grid-template-rows: 1fr; }
.news-grid.compact .post-card .body { padding: 20px 22px; }

.article-head { display: grid; gap: 12px; }
.article-head time { color: var(--ink-3); font-size: 15px; }
.article-figure { margin: 0 0 8px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--stone); max-width: 820px; }
.article-figure img { width: 100%; max-height: 460px; object-fit: cover; }
.article-figure.contain img { object-fit: contain; max-height: 520px; background: var(--white); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: 40px; max-width: 820px; }
.pager a { border: 1px solid var(--stone); border-radius: var(--radius-lg); padding: 16px 18px; text-decoration: none; display: grid; gap: 4px; }
.pager a:hover { border-color: var(--green); }
.pager small { color: var(--ink-3); font-size: 13px; }
.pager b { font-weight: 600; line-height: 1.35; }
.pager .next { text-align: right; grid-column: 2; }
@media (max-width: 580px) { .pager { grid-template-columns: 1fr; } .pager .next { grid-column: 1; text-align: left; } }

/* Spec table */
.spec-wrap { overflow-x: auto; border: 1px solid var(--stone); border-radius: var(--radius-lg); background: var(--white); }
.spec { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 620px; }
.spec th, .spec td { padding: 10px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--stone-2); }
.spec thead th { position: sticky; top: 0; background: var(--ink); color: var(--white); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.spec tbody th { font-weight: 600; color: var(--ink); width: 32%; }
.spec td { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.spec td.both { color: var(--ink-2); }
.spec tr.group th { background: var(--green-tint); color: var(--green-dark); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; padding-top: 12px; padding-bottom: 10px; }
.spec tbody tr:not(.group):hover th, .spec tbody tr:not(.group):hover td { background: var(--paper); }
.spec .na { color: var(--ink-3); }
.spec .yes { color: var(--green-dark); font-weight: 600; }
.spec-note { font-size: 14px; color: var(--ink-3); margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.spec-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.spec-toc a { font-size: 14px; font-weight: 600; text-decoration: none; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--stone); background: var(--white); }
.spec-toc a:hover { border-color: var(--green); color: var(--green-dark); }

/* Accordion */
.accordion { display: grid; gap: 10px; }
.accordion details { background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius-lg); }
.accordion details[open] { border-color: #c9d9cd; }
.accordion summary { list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 700; font-size: 17px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; flex: none; }
.accordion details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.accordion .content { padding: 0 20px 18px; display: grid; gap: 10px; color: var(--ink-2); font-size: 16px; max-width: 78ch; }
.accordion .content ul { padding-left: 1.2em; display: grid; gap: 5px; }
.accordion .content li::marker { color: var(--green); }

/* Timeline */
.timeline { list-style: none; padding: 0; display: grid; gap: 0; border-left: 2px solid var(--stone); margin-left: 6px; }
.timeline li { position: relative; padding: 0 0 18px 22px; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 3px solid var(--green); }
.timeline li.done::before { background: var(--green); }
.timeline .when { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green-dark); }
.timeline b { display: block; font-weight: 700; margin-top: 2px; }
.timeline p { color: var(--ink-2); font-size: 15.5px; }

/* Facts list */
.facts { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--stone); }
.facts li { padding: 12px 0; border-bottom: 1px solid var(--stone); display: flex; gap: 12px; align-items: flex-start; }
.facts li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--green-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23187c3f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Certifications */
.certs { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); border: 1px solid var(--stone); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }
.cert { padding: 18px 14px; display: grid; gap: 2px; text-align: center; justify-items: center; }
.cert + .cert { border-left: 1px solid var(--stone); }
.cert b { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.cert span { font-size: 13px; color: var(--ink-3); line-height: 1.35; }
@media (max-width: 860px) {
  .certs { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .cert:nth-child(4) { border-left: 0; }
  .cert:nth-child(n+4) { border-top: 1px solid var(--stone); }
}
@media (max-width: 460px) {
  .certs { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cert:nth-child(n) { border-left: 0; border-top: 0; }
  .cert:nth-child(even) { border-left: 1px solid var(--stone); }
  .cert:nth-child(n+3) { border-top: 1px solid var(--stone); }
}
.doc-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--gap); }
@media (max-width: 900px) { .doc-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.doc { display: grid; gap: 10px; text-decoration: none; min-width: 0; }
.doc figure { margin: 0; aspect-ratio: 3 / 4; border: 1px solid var(--stone); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.doc figure img { width: 100%; height: 100%; object-fit: contain; object-position: top; }
.doc:hover figure { border-color: var(--green); }
.doc b { font-size: 15px; font-weight: 600; line-height: 1.3; }
.doc span { font-size: 13px; color: var(--ink-3); }

/* Callout */
.callout { background: var(--green-tint); border: 1px solid #cfe7d8; border-radius: var(--radius-lg); padding: 20px 22px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.callout p { color: var(--ink); font-weight: 500; max-width: 62ch; }

/* Quote */
.quote-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.form-col { display: grid; gap: 14px; min-width: 0; }
.form-help { padding: 14px 18px; }
.form-help p { font-size: 15px; font-weight: 400; }
.quote-form { background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius-lg); overflow: hidden; min-height: 600px; }
.quote-form iframe { display: block; width: 100%; min-height: 1400px; border: 0; }
.aside { display: grid; gap: var(--gap); position: sticky; top: 90px; }
@media (max-width: 900px) { .quote-layout { grid-template-columns: 1fr; } .aside { position: static; } }
.contact-list { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 15.5px; margin: 0; }
.contact-list dt { color: var(--ink-3); }
.contact-list dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }

/* CTA */
.cta { background: var(--green); color: var(--white); }
.cta .wrap { padding-block: clamp(36px, 5vw, 52px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; }
.cta h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; }
.cta p { margin-top: 6px; color: rgba(255,255,255,.9); font-size: 17px; }
.cta .btn { background: var(--white); color: var(--green-dark); border-color: var(--white); }
.cta .btn:hover { background: var(--paper); border-color: var(--paper); }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.8); font-size: 15px; }
.site-footer .top { padding-block: 44px 32px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, .9fr); gap: 28px; }
.brand-plate { background: var(--white); border-radius: 10px; padding: 10px 14px; display: inline-block; }
.brand-plate img { height: 48px; width: auto; }
.site-footer .tag-line { margin-top: 14px; max-width: 30ch; color: rgba(255,255,255,.6); font-size: 14.5px; }
.site-footer h4 { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); }
.site-footer address { font-style: normal; line-height: 1.65; }
.site-footer dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; }
.site-footer dt { color: rgba(255,255,255,.5); }
.site-footer dd { margin: 0; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 5px; }
.site-footer ul a { text-decoration: none; }
.site-footer ul a:hover, .site-footer dd a:hover { color: var(--green-light); }
.site-footer dd a { text-decoration: none; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 13px; color: rgba(255,255,255,.5); }
@media (max-width: 960px) { .site-footer .top { grid-template-columns: repeat(2, minmax(0,1fr)); } .site-footer .top > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-footer .top { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } html { scroll-behavior: auto; } }
@media print { .site-header, .site-footer, .cta, .menu-toggle { display: none; } }
