@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/outfit-latin-v15.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/outfit-latin-ext-v15.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #17344a;
  --ink-strong: #0d2332;
  --muted: #5f6a66;
  --paper: #f6f1e7;
  --paper-soft: #fbf8f1;
  --sage: #d9dfd0;
  --sage-strong: #bfc9b4;
  --blue: #00376d;
  --red: #b53635;
  --copper: #9b6b45;
  --line: rgba(23, 52, 74, 0.16);
  --shadow: 0 22px 55px rgba(42, 57, 44, 0.12);
  --radius: 8px;
  --container: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(23, 52, 74, 0.035) 1px, transparent 1px) 0 0 / 88px 88px,
    linear-gradient(0deg, rgba(23, 52, 74, 0.026) 1px, transparent 1px) 0 0 / 88px 88px,
    var(--paper);
  font-family: "Outfit", "Segoe UI", system-ui, sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 30;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
.button {
  border: 0;
}

:focus-visible {
  outline: 3px solid rgba(0, 55, 109, 0.35);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 50;
  transform: translateY(-140%);
  padding: 0.7rem 1rem;
  color: var(--paper-soft);
  background: var(--ink-strong);
  border-radius: 6px;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.top-strip {
  background: var(--ink-strong);
  color: var(--paper-soft);
  font-size: 0.92rem;
}

.top-strip__inner {
  width: var(--container);
  margin: 0 auto;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.top-strip a {
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 241, 231, 0.92);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: var(--container);
  min-height: 78px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand img {
  width: 185px;
  max-width: 42vw;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-item--has-menu::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: min(320px, calc(100vw - 2rem));
  height: 0.7rem;
}

.nav-links a {
  padding: 0.62rem 0.72rem;
  border-radius: 6px;
  color: var(--ink-strong);
  font-weight: 650;
  font-size: 0.94rem;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(217, 223, 208, 0.85);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.nav-link-caret {
  width: 0.42rem;
  height: 0.42rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.62;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  z-index: 24;
  width: min(320px, calc(100vw - 2rem));
  display: grid;
  gap: 0.16rem;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(251, 248, 241, 0.97);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-submenu a {
  display: block;
  padding: 0.66rem 0.72rem;
  font-size: 0.92rem;
}

.nav-item:hover .nav-submenu,
.nav-item:focus-within .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-links a:active,
.button:active {
  transform: translateY(1px) scale(0.99);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper-soft);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  min-height: 44px;
  padding: 0.78rem 1.04rem;
  border-radius: 6px;
  background: var(--ink);
  color: var(--paper-soft);
  font-weight: 750;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 14px 28px rgba(23, 52, 74, 0.16);
}

.button:hover {
  background: var(--ink-strong);
  transform: translateY(-2px);
}

.button--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.button--ghost:hover {
  background: var(--paper-soft);
}

.button--thermia {
  background: var(--red);
}

.button--thermia:hover {
  background: #9f2e2e;
}

.page-main {
  overflow: hidden;
}

.section {
  padding: clamp(4.5rem, 7vw, 7.5rem) 0;
}

.section--soft {
  background: rgba(251, 248, 241, 0.72);
  border-block: 1px solid var(--line);
}

.section--sage {
  background: linear-gradient(180deg, rgba(217, 223, 208, 0.82), rgba(235, 229, 215, 0.72));
  border-block: 1px solid rgba(23, 52, 74, 0.12);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.hero {
  min-height: calc(100dvh - 120px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: clamp(2rem, 4.2vw, 4.5rem);
  padding: clamp(4rem, 7vw, 7rem) 0 clamp(3rem, 5vw, 5rem);
}

.hero__copy {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--red);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
.page-title {
  margin-bottom: 1.35rem;
  color: var(--ink-strong);
  font-size: clamp(2.65rem, 4.1vw, 4.25rem);
  line-height: 1.03;
  font-weight: 850;
  letter-spacing: 0;
  text-wrap: wrap;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

h2 {
  color: var(--ink-strong);
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1.02;
  font-weight: 820;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  color: var(--ink-strong);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.18;
}

.lead {
  max-width: 65ch;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.4vw, 1.24rem);
}

.hero__actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 2.3rem;
  max-width: 720px;
}

.fact {
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.fact a {
  display: grid;
  gap: 0.16rem;
  color: inherit;
  text-decoration: none;
}

.fact strong {
  display: block;
  color: var(--ink-strong);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.fact--phone strong {
  font-size: clamp(1.1rem, 1.5vw, 1.45rem);
  line-height: 1.08;
  white-space: nowrap;
}

.fact span {
  color: var(--muted);
  font-size: 0.92rem;
}

.fact .fact__email {
  display: inline-block;
  margin-top: 0.42rem;
  color: var(--blue);
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.hero-media {
  position: relative;
  min-height: 540px;
}

.hero-media__main,
.hero-media__side {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sage);
  box-shadow: var(--shadow);
}

.hero-media__main {
  inset: 0 8% 18% 0;
}

.hero-media__side {
  right: 0;
  bottom: 0;
  width: min(54%, 360px);
  aspect-ratio: 4 / 5;
  border: 8px solid var(--paper);
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-media__main:hover img,
.hero-media__side:hover img,
.image-pop:hover img {
  transform: scale(1.055);
}

.thermia-mark {
  position: absolute;
  left: -28px;
  bottom: 74px;
  width: 166px;
  min-height: 112px;
  display: grid;
  place-items: center;
  padding: 1.15rem;
  border-radius: 8px;
  background: rgba(251, 248, 241, 0.92);
  box-shadow: 0 18px 36px rgba(23, 52, 74, 0.18);
  text-align: center;
}

.thermia-mark img {
  width: min(118px, 100%);
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(280px, 0.35fr);
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-head p {
  color: var(--muted);
}

.section-head--single {
  grid-template-columns: minmax(0, 760px);
}

.service-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 1rem;
}

.info-card,
.service-tile,
.project-item,
.person-card,
.policy-block,
.form-panel,
.quote-panel {
  border-radius: var(--radius);
  background: rgba(251, 248, 241, 0.86);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(42, 57, 44, 0.08);
}

.service-tile {
  min-width: 0;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.35rem;
  text-decoration: none;
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.service-tile:nth-child(1) {
  grid-row: span 2;
}

.service-grid > .service-tile:nth-child(1) {
  grid-row: auto;
}

.service-tile:hover {
  transform: translateY(-5px);
  background: var(--paper-soft);
  border-color: rgba(0, 55, 109, 0.28);
}

.service-tile.is-active {
  border-color: rgba(181, 54, 53, 0.42);
  background: rgba(217, 223, 208, 0.78);
}

.service-tile > div {
  min-width: 0;
}

.service-tile h3 {
  max-width: 100%;
  margin-bottom: 0.85rem;
  font-size: clamp(1.22rem, 1.55vw, 1.5rem);
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
  text-wrap: balance;
}

.service-tile p,
.info-card p,
.project-item p,
.person-card p,
.policy-block p,
.policy-block li {
  color: var(--muted);
}

.service-tile__arrow {
  align-self: flex-start;
  margin-top: 1.6rem;
  font-weight: 800;
  color: var(--blue);
}

.service-card-grid {
  align-items: stretch;
}

.service-nav {
  position: sticky;
  top: 118px;
  display: grid;
  gap: 0.24rem;
  padding: clamp(1.1rem, 2vw, 1.45rem);
  border-radius: var(--radius);
  background: rgba(251, 248, 241, 0.86);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(42, 57, 44, 0.08);
}

.service-nav a {
  padding: 0.68rem 0.74rem;
  border-radius: 6px;
  color: var(--ink-strong);
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.service-nav a:hover,
.service-nav a[aria-current="page"] {
  background: rgba(217, 223, 208, 0.85);
}

.service-nav a:active {
  transform: translateY(1px) scale(0.99);
}

.service-detail-list {
  border-top: 1px solid var(--line);
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(1.5rem, 5vw, 4.5rem);
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 126px;
}

.service-detail h3 {
  margin-bottom: 0;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
}

.service-detail > div:last-child > p {
  color: var(--muted);
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.8rem;
  align-items: center;
}

.logo-strip__item {
  min-height: 86px;
  display: grid;
  place-items: center;
  padding: 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(23, 52, 74, 0.1);
}

.logo-strip__item img {
  max-height: 54px;
  object-fit: contain;
}

.instagram-profile-link {
  color: var(--blue);
  font-weight: 800;
  text-underline-offset: 0.18em;
}

.instagram-feed {
  min-width: 0;
  min-height: clamp(250px, 30vw, 360px);
  display: grid;
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2.25rem) 0;
  border-block: 1px solid var(--line);
}

.instagram-feed__placeholder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  width: 100%;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-left: 3px solid var(--red);
  background: rgba(251, 248, 241, 0.66);
}

.instagram-feed__placeholder h3 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}

.instagram-feed__placeholder p {
  max-width: 62ch;
  margin-bottom: 0;
  color: var(--muted);
}

.instagram-feed__status {
  justify-self: center;
  padding: 1rem;
  color: var(--muted);
  font-weight: 700;
}

.instagram-feed .commonninja_component {
  width: 100%;
  min-width: 0;
  min-height: 360px;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.image-pop {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sage);
  min-height: 260px;
  box-shadow: var(--shadow);
}

.image-pop img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1), filter 420ms ease;
}

.image-grid > .image-pop:nth-child(5n + 1) {
  grid-column: span 5;
  aspect-ratio: 4 / 3;
}

.image-grid > .image-pop:nth-child(5n + 2) {
  grid-column: span 3;
  aspect-ratio: 3 / 4;
}

.image-grid > .image-pop:nth-child(5n + 3) {
  grid-column: span 4;
  aspect-ratio: 4 / 3;
}

.image-grid > .image-pop:nth-child(5n + 4) {
  grid-column: span 4;
  aspect-ratio: 1 / 1;
}

.image-grid > .image-pop:nth-child(5n + 5) {
  grid-column: span 8;
  aspect-ratio: 16 / 7;
}

.split > .image-pop {
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 5;
}

@media (max-width: 1100px) {
  .image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .image-grid > .image-pop,
  .image-grid > .image-pop:nth-child(n) {
    grid-column: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

.feature-list,
.check-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 1.2rem 0 0;
  list-style: none;
}

.feature-list li,
.check-list li {
  position: relative;
  padding-left: 1.55rem;
  color: var(--muted);
}

.feature-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 0.56rem;
  height: 0.56rem;
  border-radius: 2px;
  background: var(--red);
  transform: rotate(45deg);
}

.text-flow .check-list + p {
  margin-top: 1.25rem;
}

.quote-panel {
  padding: clamp(1.4rem, 3vw, 2.2rem);
}

.quote-panel img {
  width: 148px;
  margin-bottom: 1.3rem;
}

.quote-panel > img[src$="thermia-small.webp"] {
  margin-right: auto;
  margin-left: auto;
}

.quote-panel strong {
  color: var(--ink-strong);
}

.callout-band {
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(23, 52, 74, 0.95), rgba(0, 55, 109, 0.88)),
    var(--ink);
  color: var(--paper-soft);
}

.callout-band h2,
.callout-band p {
  color: var(--paper-soft);
}

.callout-band .button--ghost {
  color: var(--paper-soft);
  border-color: rgba(255, 255, 255, 0.34);
}

.project-list,
.person-grid,
.policy-grid,
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.project-item,
.person-card,
.policy-block,
.info-card {
  padding: clamp(1.1rem, 2vw, 1.55rem);
}

.person-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
}

.person-card__initials {
  display: grid;
  place-items: center;
  width: 72px;
  aspect-ratio: 1;
  border-radius: 8px;
  background: var(--sage);
  color: var(--ink-strong);
  font-weight: 850;
  letter-spacing: 0;
}

.person-card h3 {
  margin-bottom: 0.1rem;
  font-size: 1.12rem;
}

.person-card p {
  margin-bottom: 0.2rem;
}

.form-panel {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  column-gap: 1rem;
  row-gap: 0.85rem;
}

.field {
  display: grid;
  grid-template-rows: auto minmax(52px, auto) minmax(1.2rem, auto);
  align-content: start;
  gap: 0.42rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  min-height: 1.2rem;
  color: var(--ink-strong);
  font-weight: 700;
  line-height: 1.2;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(23, 52, 74, 0.2);
  border-radius: 6px;
  padding: 0.82rem 0.9rem;
  background-color: rgba(255, 255, 255, 0.76);
  color: var(--ink-strong);
  line-height: 1.2;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 2.8rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath d='M4.5 6.75 9 11.25l4.5-4.5' fill='none' stroke='%230d2332' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  background-size: 1rem;
}

.field select::-ms-expand {
  display: none;
}

.field textarea {
  min-height: 132px;
  line-height: 1.45;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(0, 55, 109, 0.56);
  background-color: var(--paper-soft);
  box-shadow: 0 0 0 3px rgba(0, 55, 109, 0.08);
  outline: none;
}

.field-error,
.form-status,
.helper-text {
  display: block;
  min-height: 1.2rem;
  color: var(--red);
  font-size: 0.9rem;
}

.helper-text {
  color: var(--muted);
}

.hidden {
  display: none;
}

.page-hero {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0 clamp(3rem, 5vw, 4.5rem);
}

.page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.36fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumbs a {
  color: var(--blue);
  text-decoration: none;
}

.text-flow {
  max-width: 780px;
}

.text-flow p,
.text-flow li {
  color: var(--muted);
}

.text-flow h2,
.text-flow h3 {
  margin-top: 2rem;
}

.cert-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1.6rem;
}

.cert-row img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  padding: 0.7rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
}

.areas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.area-pill {
  padding: 0.48rem 0.7rem;
  border-radius: 6px;
  background: var(--sage);
  color: var(--ink-strong);
  font-weight: 750;
}

.site-footer {
  padding: 4rem 0 2rem;
  background: var(--ink-strong);
  color: rgba(251, 248, 241, 0.82);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.footer-logo {
  width: 185px;
  height: auto;
  margin-bottom: 0.15rem;
  filter: brightness(0) invert(1);
  opacity: 0.94;
}

.site-footer h2,
.site-footer h3 {
  color: var(--paper-soft);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.15;
}

.footer-links {
  display: grid;
  gap: 0.5rem;
}

.footer-badges {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
}

.footer-badges img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  padding: 0.5rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(251, 248, 241, 0.14);
  color: rgba(251, 248, 241, 0.62);
  font-size: 0.94rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem 1rem;
}

.footer-legal button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.cookie-panel {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 25;
  width: min(420px, calc(100vw - 2rem));
  padding: 1rem;
  border-radius: 8px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.cookie-panel p {
  margin-bottom: 0.8rem;
  color: var(--muted);
}

.cookie-panel h2 {
  margin-bottom: 0.35rem;
  font-size: 1.25rem;
}

.cookie-panel a {
  color: var(--blue);
  font-weight: 700;
}

.cookie-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.cookie-panel__actions .button {
  flex: 1 1 175px;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms cubic-bezier(0.16, 1, 0.3, 1), transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .top-strip__inner {
    justify-content: center;
    flex-wrap: wrap;
    padding: 0.45rem 0;
  }

  .nav-shell {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .nav-actions .button {
    display: none;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100dvh - 8rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    padding: 0.8rem 1.25rem 1.1rem;
    border-bottom: 1px solid var(--line);
    background: rgba(246, 241, 231, 0.98);
  }

  .nav-item {
    display: grid;
    align-items: stretch;
  }

  .nav-link-caret {
    display: none;
  }

  .nav-submenu {
    position: static;
    width: auto;
    margin: 0.1rem 0 0.45rem 0.7rem;
    padding: 0.15rem 0 0.15rem 0.65rem;
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-submenu a {
    padding: 0.48rem 0.62rem;
    font-size: 0.9rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .hero,
  .split,
  .section-head,
  .service-detail,
  .page-hero__inner {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 420px;
  }

  .thermia-mark {
    left: 0;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-tile:nth-child(1) {
    grid-row: auto;
  }

  .service-nav {
    position: static;
  }

  .split > .image-pop {
    aspect-ratio: 4 / 3;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  :root {
    --container: min(100vw - 28px, 1180px);
  }

  .top-strip__inner {
    align-items: flex-start;
    justify-content: flex-start;
  }

  h1,
  .page-title {
    font-size: clamp(2.12rem, 11.2vw, 3.05rem);
    line-height: 1.03;
    overflow-wrap: break-word;
  }

  .hero__facts,
  .service-grid,
  .project-list,
  .person-grid,
  .policy-grid,
  .cards-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 350px;
  }

  .hero-media__main {
    inset: 0 0 22% 0;
  }

  .hero-media__side {
    width: 54%;
    border-width: 5px;
  }

  .nav-links {
    max-height: calc(100dvh - 11.25rem);
  }

  .thermia-mark {
    left: 0;
    bottom: 38px;
    width: 128px;
    padding: 0.8rem;
  }

  .image-grid {
    grid-template-columns: 1fr;
  }

  .image-grid > .image-pop,
  .image-grid > .image-pop:nth-child(n) {
    grid-column: auto;
    aspect-ratio: 4 / 3;
  }

  .person-card {
    grid-template-columns: 64px 1fr;
  }

  .instagram-feed {
    min-height: 320px;
  }

  .instagram-feed__placeholder {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .cookie-panel__actions {
    display: grid;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-legal {
    justify-content: flex-start;
  }
}
