@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;650;700&family=Manrope:wght@500;600;650;700;750;800&display=swap');

:root {
  color-scheme: light;
  --paper: #f5f5ef;
  --card: #fafaf6;
  --ink: #132522;
  --muted: #4a5a56;
  --teal: #006f61;
  --line: #cbd5cf;
  --dark: #122c28;
  --mint: #a8e4d4;
  --display: 'Manrope', 'DM Sans', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--body); }
a { color: inherit; }
img { display: block; width: 100%; height: auto; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
.skip { position: fixed; top: 1rem; left: 1rem; z-index: 3; background: white; padding: .5rem 1rem; transform: translateY(-200%); }
.skip:focus { transform: none; }
.shell { width: min(100% - 6.5rem, 1340px); margin-inline: auto; }
.header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.header-inner { min-height: 87px; }
.brand { display: block; flex: 0 1 238px; }
nav { display: flex; align-items: center; gap: clamp(.85rem, 2.6vw, 2.75rem); }
nav a, .text-link { text-decoration: none; font-weight: 700; white-space: nowrap; }
nav a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: .25em; }
nav a[aria-current="page"] { color: var(--teal); text-decoration: underline; text-underline-offset: .35em; }
.nav-contact { padding: .45rem .85rem; border: 1px solid #aabeb4; border-radius: 4px; }
.nav-contact span, .text-link span { margin-left: .35rem; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); }
h1 { font-size: clamp(3.4rem, 6vw, 6.1rem); line-height: .99; letter-spacing: -.075em; font-weight: 800; margin-block: 1.12rem 1.6rem; }
h1 em { font-style: normal; color: var(--teal); }
h2 { font-size: clamp(2.35rem, 4vw, 4.1rem); line-height: 1.08; font-weight: 800; letter-spacing: -.065em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.65rem); line-height: 1.21; letter-spacing: -.045em; }
.eyebrow { color: var(--teal); font-weight: 800; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; }
.hero { display: grid; grid-template-columns: .96fr 1fr; gap: clamp(2rem, 5vw, 5.5rem); align-items: center; padding-block: clamp(3.5rem, 7.3vw, 7rem); }
.lead { color: var(--muted); max-width: 36ch; font-size: clamp(1.12rem, 1.62vw, 1.42rem); line-height: 1.55; }
.hero-media { position: relative; min-width: 0; aspect-ratio: 1.13; border-radius: 6px; background: #1e3735; overflow: hidden; }
.hero-media img { height: 100%; object-fit: cover; object-position: center; }
.hero-media figcaption { position: absolute; right: .75rem; bottom: .75rem; padding: .2rem .48rem; border-radius: 3px; color: white; background: #162925; font-size: .68rem; }
.actions { display: flex; gap: 1rem 1.45rem; align-items: center; flex-wrap: wrap; margin-top: 2.1rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.5rem; border-radius: 4px; padding: .82rem 1.12rem; background: var(--teal); color: white; text-decoration: none; font-weight: 700; min-height: 48px; }
.button:hover { background: #00584c; }
.button span { font-size: 1.15em; line-height: 1; }
.opportunities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: clamp(3.5rem, 7vw, 6.4rem); }
.opportunity { background: #e6efe9; border: 1px solid var(--line); border-radius: 5px; padding: clamp(1.25rem, 3vw, 2.5rem); }
.opportunity h2 { font-size: clamp(1.45rem, 2.5vw, 2.4rem); letter-spacing: -.05em; }
.opportunity p { color: var(--muted); margin: .65rem 0 1rem; }
.opportunity .text-link { color: var(--teal); white-space: normal; }
.solutions { border-top: 1px solid var(--line); padding-block: clamp(3.5rem, 7vw, 6.4rem); }
.section-intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.75rem; align-items: end; margin-bottom: 2.6rem; }
.section-intro h2, .process h2, .contact h2 { margin-top: .62rem; }
.section-intro > p { color: var(--muted); max-width: 47ch; }
.solution-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.solution-grid article { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: 5px; padding: clamp(1.25rem, 2.6vw, 2.2rem); }
.card-label { font-size: .78rem; font-weight: 800; color: var(--teal); margin-bottom: 1.3rem; }
.solution-grid h3 { margin-bottom: .65rem; }
.solution-grid h3 a { text-decoration-color: #829f92; text-underline-offset: .18em; }
.solution-grid h3 a:hover { color: var(--teal); }
.solution-grid article > p:last-child { color: var(--muted); }
.process { background: var(--dark); color: white; padding-block: clamp(3.5rem, 7vw, 7rem); }
.process .eyebrow { color: var(--mint); }
.process-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); }
.process-intro { margin-top: 1.2rem; color: #c9ded7; max-width: 42ch; }
.process-link { display: inline-block; margin-top: 1.5rem; color: var(--mint); white-space: normal; }
.process ol { list-style: none; counter-reset: phases; margin: 0; padding: 0; }
.process li { counter-increment: phases; border-top: 1px solid #49665f; padding: 1.05rem 0 1.2rem 3.25rem; position: relative; }
.process li:last-child { border-bottom: 1px solid #49665f; }
.process li::before { content: counter(phases, decimal-leading-zero); position: absolute; left: 0; top: 1.1rem; color: var(--mint); font: 700 .8rem/1.4 var(--body); }
.process li p { color: #c9ded7; margin-top: .3rem; }
.contact { padding-block: clamp(3.5rem, 7vw, 6rem); background: #dceee6; }
.contact-layout { display: grid; grid-template-columns: 1fr auto; gap: 2rem 4rem; align-items: center; }
.contact h2 { max-width: 19ch; }
.contact h2 + p { margin-top: 1rem; max-width: 55ch; color: var(--muted); }
.footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 100px; }
.footer .brand { flex-basis: 205px; }

.detail-hero { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: end; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(3.25rem, 7.5vw, 7rem); }
.detail-hero h1 { font-size: clamp(2.8rem, 5.5vw, 5.25rem); line-height: 1.05; text-wrap: balance; }
.detail-hero .lead { max-width: 48ch; }
.detail-back { color: var(--teal); font-weight: 700; text-decoration: none; }
.detail-back:hover { text-decoration: underline; text-underline-offset: .25em; }
.detail-back span { margin-right: .35rem; }
.detail-brief { background: var(--dark); color: white; border-radius: 6px; padding: clamp(1.5rem, 3.5vw, 3.15rem); }
.detail-brief h2 { font-size: clamp(1.45rem, 2.8vw, 2.3rem); letter-spacing: -.045em; }
.detail-brief ul { margin: 1.3rem 0 0; padding-left: 1.25rem; color: #d9e9e3; }
.detail-brief li + li { margin-top: .65rem; }
.detail-brief li::marker { color: var(--mint); }
.detail-content { background: var(--card); border-top: 1px solid var(--line); }
.detail-rows { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.detail-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 1rem clamp(2rem, 6vw, 6rem); padding-block: clamp(1.4rem, 3vw, 2.5rem); border-top: 1px solid var(--line); scroll-margin-top: 1rem; }
.detail-row:last-child { border-bottom: 1px solid var(--line); }
.detail-row h2 { font-size: clamp(1.55rem, 2.8vw, 2.8rem); letter-spacing: -.05em; }
.detail-row p, .detail-faq details p { max-width: 62ch; color: var(--muted); }
.detail-faq { border-top: 1px solid var(--line); padding-block: clamp(3.25rem, 6vw, 5.75rem); }
.detail-faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 1.5rem clamp(2rem, 6vw, 6rem); }
.detail-faq h2 { font-size: clamp(1.8rem, 3.4vw, 3.4rem); }
.detail-faq details { border-top: 1px solid var(--line); padding-block: .9rem; }
.detail-faq details:last-child { border-bottom: 1px solid var(--line); }
.detail-faq summary { color: var(--teal); cursor: pointer; font-weight: 700; }
.detail-faq details p { margin-top: .6rem; }
.detail-examples { padding-block: clamp(3rem, 6vw, 5.75rem); border-top: 1px solid var(--line); }
.detail-examples-intro { max-width: 72ch; }
.detail-examples h2 { font-size: clamp(2rem, 3.8vw, 3.65rem); }
.detail-examples-intro p { margin-top: 1rem; color: var(--muted); }
.case-heading { margin: 2rem 0 1rem; }
.detail-cases { margin-bottom: 0; }
.detail-cases h4 { margin: 0; font: 800 1.2rem/1.3 var(--display); }
.detail-cases p { margin-bottom: 0; }

.contact-layout-with-form { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: start; }
.contact-phone { margin-top: 1.25rem; }
.contact-phone a { color: var(--teal); }
.contact-card { min-width: 0; padding: clamp(1.25rem, 3vw, 2.5rem); border: 1px solid var(--line); border-radius: 6px; background: var(--card); }
.contact-card h3 { margin-bottom: 1rem; }
.contact-card form { margin-top: .8rem; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1rem; }
.contact-field { min-width: 0; }
.contact-field-wide { grid-column: 1 / -1; }
.contact-field label { display: block; margin-bottom: .3rem; font-weight: 700; }
.contact-field :is(input, select, textarea) { width: 100%; min-height: 45px; padding: .58rem .65rem; border: 1px solid #96aaa1; border-radius: 4px; background: white; color: var(--ink); font: inherit; }
.contact-field textarea { resize: vertical; }
.contact-field [aria-invalid="true"] { border-color: #a33b2e; }
.contact-help, .contact-privacy { font-size: .875rem; color: var(--muted); }
.contact-help { margin-top: .25rem; }
.contact-error, #contact-status.is-error { color: #892c23; }
.contact-error { margin-top: .25rem; font-size: .875rem; }
.contact-privacy { margin-block: 1rem; }
.contact-card button { border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.contact-card button:disabled { opacity: .7; cursor: wait; }
.detail-contact-actions { display: flex; align-items: flex-start; flex-direction: column; gap: .75rem; }

.sector-feature { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.5rem 3rem; margin-bottom: clamp(3.5rem, 7vw, 6.4rem); padding: clamp(1.5rem, 4vw, 3.5rem); background: var(--dark); border-radius: 6px; color: white; }
.sector-feature .eyebrow { color: var(--mint); }
.sector-feature h2 { margin-top: .4rem; font-size: clamp(1.9rem, 3.8vw, 3.6rem); }
.sector-feature h2 + p { color: #d9e9e3; max-width: 58ch; margin-top: .7rem; }
.sector-feature .button { background: var(--mint); color: var(--dark); justify-self: start; }
.sector-feature .button:hover { background: #c5eee2; }
.sector-feature-inset { margin-block: clamp(3rem, 6vw, 5rem); }
.smolt-hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; }
.smolt-hero .eyebrow { margin-top: 1.4rem; }
.smolt-hero h1 { font-size: clamp(2.65rem, 5vw, 5rem); }
.smolt-media { aspect-ratio: 1.16; }
.heat-flow { padding-bottom: clamp(3.5rem, 6vw, 6rem); scroll-margin-top: 1.5rem; }
.heat-flow h2 { margin-bottom: 1.35rem; }
.heat-flow figure { max-width: 960px; }
.heat-flow img { border: 1px solid var(--line); border-radius: 6px; }
.heat-flow figcaption { max-width: 72ch; margin-top: .85rem; color: var(--muted); }
.heat-flow-control { margin-top: .8rem; padding: .55rem .85rem; border: 1px solid #8bab9e; border-radius: 4px; background: transparent; color: var(--teal); font: 700 1rem/1.35 var(--body); cursor: pointer; }
.heat-flow-control:hover { background: #deeee6; }
.smolt-section-title { margin-bottom: 1.65rem; }
.smolt-cases { margin-top: 1.6rem; }
.smolt-example { max-width: 73ch; margin-top: 2rem; padding-left: 1.25rem; border-left: 3px solid var(--teal); }
.smolt-example p { margin-top: .6rem; color: var(--muted); }
.smolt-example a { color: var(--teal); }

@media (max-width: 1000px) {
  .shell { width: calc(100% - 4rem); }
  .hero { gap: 2.3rem; }
  h1 { font-size: clamp(3.2rem, 6.3vw, 5rem); }
}
@media (min-width: 761px) and (max-width: 920px) {
  .header-inner { flex-wrap: wrap; gap: 0; padding-bottom: .85rem; }
  .header-inner .brand { flex-basis: 205px; }
  .header-inner nav { flex-basis: 100%; }
  .header-inner .nav-contact { margin-left: auto; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 2.75rem); }
  .header-inner { flex-wrap: wrap; gap: 0; padding-block: .15rem .75rem; }
  .brand { flex-basis: 205px; }
  nav { flex-basis: 100%; gap: 1.1rem; flex-wrap: wrap; font-size: .88rem; }
  .nav-contact { margin-left: auto; padding: .22rem .45rem; }
  .hero, .section-intro, .process-layout, .contact-layout { grid-template-columns: 1fr; }
  .detail-hero, .detail-row, .detail-faq-layout, .sector-feature { grid-template-columns: 1fr; }
  .hero { padding-top: 3.3rem; }
  h1 { font-size: clamp(3.1rem, 10vw, 5.2rem); }
  .hero-media { aspect-ratio: 1.42; }
  .solution-grid, .opportunities { grid-template-columns: 1fr; }
  .section-intro { gap: .85rem; margin-bottom: 1.5rem; }
  .card-label { margin-bottom: .7rem; }
  .footer .brand { flex-basis: 160px; }
}
@media (max-width: 480px) {
  .contact-fields { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
