@import url('/assets/fonts/fonts.css');

/* ==================================================================
   Green Metrics Technology Corp. — site styles
   Palette sampled from the corporate logo: navy #050057, teal #0084A8,
   deep teal #006084, cyan #18B4D8.
   © 2026 Green Metrics Technology Corp. All rights reserved.
   ================================================================== */

:root {
  --navy: #050057;
  --navy-deep: #03032e;
  --navy-soft: #1a1a6b;
  --teal: #0084a8;
  --teal-deep: #006084;
  --cyan: #18b4d8;
  --cyan-soft: #5fc9e6;
  --teal-text: #00728f;   /* AA-safe teal for small text on light surfaces */
  --teal-btn: #007896;    /* AA-safe gradient start for white button text */

  --ink: #10182b;
  --body: #46506180;
  --text: #414c5e;
  --muted: #616a79;
  --line: #e3e8ee;
  --line-soft: #eef2f6;
  --paper: #ffffff;
  --mist: #f5f8fa;
  --mist-deep: #eaf1f5;

  --measure: 66ch;
  --wrap: 1180px;
  --wrap-narrow: 760px;
  --radius: 14px;
  --radius-lg: 22px;

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --shadow-sm: 0 1px 2px rgba(16, 24, 43, .06), 0 2px 8px rgba(16, 24, 43, .04);
  --shadow-md: 0 2px 6px rgba(16, 24, 43, .06), 0 14px 40px rgba(16, 24, 43, .09);
  --shadow-lg: 0 4px 12px rgba(5, 0, 87, .08), 0 30px 70px rgba(5, 0, 87, .14);
}

/* ---------- reset ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 124px;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv05' 1, 'ss03' 1;
}

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

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.022em;
  margin: 0 0 .5em;
}

h1, h2 {
  font-family: var(--display);
  font-weight: 650;
  letter-spacing: -0.035em;
}

h1 { font-size: clamp(2.3rem, 1.35rem + 3.3vw, 3.85rem); line-height: 1.06; }
h2 { font-size: clamp(1.75rem, 1.25rem + 1.9vw, 2.6rem); line-height: 1.12; }
h3 { font-size: clamp(1.14rem, 1.02rem + .4vw, 1.34rem); line-height: 1.28; }
h4 { font-size: 1.02rem; letter-spacing: -0.005em; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--teal-deep); text-decoration-color: rgba(0, 132, 168, .35); text-underline-offset: 3px; }
a:hover { color: var(--teal-text); }

strong { font-weight: 600; color: var(--ink); }

::selection { background: rgba(24, 180, 216, .28); }

:focus-visible {
  outline: 2.5px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- layout primitives ---------- */

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }

.section { padding: clamp(4rem, 7vw, 7.5rem) 0; }
.section--tight { padding: clamp(3rem, 5vw, 5rem) 0; }
.section--mist { background: var(--mist); }
.section--line { border-top: 1px solid var(--line); }

.eyebrow {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal-text);
  margin: 0 0 1.1rem;
}
.eyebrow--light { color: var(--cyan-soft); }

.lede {
  font-size: clamp(1.06rem, 1rem + .45vw, 1.28rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: var(--measure);
}

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 4vw, 3.75rem); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: .8rem 1.2rem; z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  padding: .82rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--teal-btn) 0%, var(--teal-deep) 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 96, 132, .28);
}
.btn--primary:hover { color: #fff; box-shadow: 0 6px 20px rgba(0, 96, 132, .34); }

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .32);
  color: #fff;
}
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .55); color: #fff; }

.btn--outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn--outline:hover { border-color: var(--teal); color: var(--teal-deep); background: rgba(0, 132, 168, .04); }

.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { color: var(--navy); box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }

.arrow { transition: transform .18s ease; }
.btn:hover .arrow, .link-arrow:hover .arrow { transform: translateX(3px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
  font-size: .93rem;
  text-decoration: none;
  color: var(--teal-deep);
}
.link-arrow:hover { color: var(--teal-text); }

/* ---------- header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.header.is-stuck { border-bottom-color: var(--line); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 108px;
}

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
/* Logo at double its original 40px. Width is 4× height (1000×250 source). */
.brand img { height: 80px; width: auto; }

.nav { margin-left: auto; display: flex; align-items: center; gap: .35rem; }

.nav a {
  font-size: .93rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: .5rem .78rem;
  border-radius: 8px;
  transition: color .16s ease, background .16s ease;
}
.nav a:hover { color: var(--navy); background: var(--mist); }
.nav a[aria-current='page'] { color: var(--navy); font-weight: 600; }

.nav__cta { margin-left: .6rem; }
.nav__cta .btn { padding: .6rem 1.15rem; font-size: .9rem; }
.nav .nav__cta a.btn--primary { color: #fff; background: linear-gradient(135deg, var(--teal-btn) 0%, var(--teal-deep) 100%); }
.nav .nav__cta a.btn--primary:hover { color: #fff; background: linear-gradient(135deg, var(--teal-deep) 0%, #004e6d 100%); }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: 9px;
  width: 42px; height: 38px;
  align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--navy);
}

@media (max-width: 900px) {
  .header__inner { min-height: 88px; }
  .brand img { height: auto; width: min(256px, calc(100vw - 7rem)); }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 88px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: .6rem 1.25rem 1.4rem;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .85rem .4rem; border-radius: 0; border-bottom: 1px solid var(--line-soft); font-size: 1.02rem; }
  .nav__cta { margin: .9rem 0 0; }
  .nav__cta .btn { width: 100%; justify-content: center; padding: .85rem; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  background: linear-gradient(155deg, #03032e 0%, #050057 46%, #013a55 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(105% 105% at 88% 6%, rgba(0,0,0,.95) 0%, rgba(0,0,0,.35) 42%, transparent 74%);
  -webkit-mask-image: radial-gradient(105% 105% at 88% 6%, rgba(0,0,0,.95) 0%, rgba(0,0,0,.35) 42%, transparent 74%);
  z-index: -1;
}

.hero::after {
  content: '';
  position: absolute;
  width: 780px; height: 780px;
  right: -220px; top: -300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 180, 216, .34) 0%, rgba(24, 180, 216, 0) 66%);
  z-index: -1;
  pointer-events: none;
}

.hero__inner { padding: clamp(4.5rem, 9vw, 8.5rem) 0 clamp(3.5rem, 6vw, 6rem); }

.hero h1 { color: #fff; margin-bottom: 1.4rem; }
/* The tagline breaks at its comma: each clause gets its own line. */
.hero h1 .h1-line { display: block; text-wrap: balance; }
.hero .lede { color: rgba(255, 255, 255, .8); font-size: clamp(1.08rem, 1rem + .55vw, 1.35rem); max-width: 60ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.4rem; }


/* page hero (interior pages) */
.pagehero {
  background: linear-gradient(160deg, #03032e 0%, #050057 60%, #073d58 100%);
  color: #fff;
  padding: clamp(3.8rem, 7vw, 6.5rem) 0 clamp(3.2rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
.pagehero::after {
  content: '';
  position: absolute;
  width: 620px; height: 620px; right: -180px; bottom: -320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 180, 216, .3) 0%, rgba(24, 180, 216, 0) 68%);
}
.pagehero h1 { color: #fff; max-width: 18ch; }
.pagehero .lede { color: rgba(255, 255, 255, .8); }
.pagehero__inner { position: relative; z-index: 1; }

.split {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.split h2 { margin-bottom: 0; }
.split__body p {
  font-size: clamp(1.04rem, 1rem + .38vw, 1.2rem);
  line-height: 1.58;
  color: var(--text);
  margin-bottom: 1.25em;
}
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.pagehero--product .pagehero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.pagehero--product h1 { font-size: clamp(2.4rem, 1.4rem + 3vw, 3.6rem); }
.pagehero__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .38);
  border: 1px solid rgba(255, 255, 255, .14);
}
.pagehero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pagehero__media svg { width: 100%; height: auto; display: block; }
@media (max-width: 880px) {
  .pagehero--product .pagehero__inner { grid-template-columns: 1fr; }
  .pagehero__media { display: none; }
}

/* ---------- product panels (home) ---------- */

.products { display: grid; gap: clamp(2rem, 3.5vw, 3.25rem); }

.product-panel {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 3.5vw, 3.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: box-shadow .28s ease, transform .28s ease, border-color .28s ease;
}
.product-panel::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--accent, var(--teal));
}
.product-panel:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--line-soft); }
.product-panel:nth-child(even) .product-panel__media { order: -1; }

.product-panel__index {
  font-size: .76rem;
  font-weight: 600;
  color: var(--accent-text, var(--teal-text));
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.product-panel__name {
  font-family: var(--display);
  font-weight: 650;
  letter-spacing: -0.035em;
  font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.45rem);
  line-height: 1.04;
  margin: 0 0 .1rem;
  color: var(--ink);
}
.product-panel__kicker {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent-text, var(--teal-text));
  background: color-mix(in srgb, var(--accent, #0084a8) 12%, transparent);
  padding: .3rem .65rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.product-panel__line {
  font-size: clamp(1.04rem, 1rem + .3vw, 1.16rem);
  color: var(--ink);
  font-weight: 500;
  margin: .9rem 0 .8rem;
  line-height: 1.42;
}
.product-panel__body { color: var(--muted); margin-bottom: 1.5rem; }
.product-panel__media { border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.product-panel__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.product-panel__media svg { width: 100%; height: auto; display: block; }

@media (max-width: 860px) {
  .product-panel { grid-template-columns: 1fr; }
  .product-panel:nth-child(even) .product-panel__media { order: 0; }
  .product-panel__media img { aspect-ratio: 16 / 10; }
}

.imageband { position: relative; overflow: hidden; background: var(--navy-deep); }
.imageband img {
  width: 100%;
  height: clamp(280px, 34vw, 460px);
  object-fit: cover;
  opacity: .48;
}
.imageband__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(100deg, rgba(3, 3, 46, .88) 0%, rgba(5, 0, 87, .58) 52%, rgba(4, 64, 92, .3) 100%);
}
.imageband__overlay > .wrap { width: min(100% - 2.5rem, var(--wrap)); }
.imageband__overlay p {
  color: #fff;
  font-size: clamp(1.3rem, 1rem + 1.5vw, 2.05rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.24;
  max-width: 22ch;
  margin: 0;
}

/* ---------- generic card grids ---------- */

.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.card--link { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.card--link:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); transform: translateY(-2px); color: inherit; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .97rem; }
.card__tag {
  margin-top: auto;
  padding-top: 1.25rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--teal-text);
}

.numbered { counter-reset: step; }
.numbered .card { position: relative; }

/* feature list with rule separators */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 0 2.5rem; }
.features__item { padding: 1.9rem 0 2.1rem; border-top: 1px solid var(--line); }
.features__item h3 { font-size: 1.1rem; margin-bottom: .55rem; }
.features__item p { color: var(--muted); font-size: .97rem; margin: 0; }

/* ---------- steps ---------- */

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0 2rem; }
.step { padding: 1.9rem 0 1.9rem; border-top: 2px solid var(--line); position: relative; }
.step__n {
  font-size: .78rem;
  font-weight: 700;
  color: var(--accent-text, var(--teal-text));
  letter-spacing: .12em;
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 1.05rem; margin: .65rem 0 .4rem; }
.step p { font-size: .93rem; color: var(--muted); margin: 0; }
.step::before {
  content: '';
  position: absolute; top: -2px; left: 0; width: 34px; height: 2px;
  background: var(--accent, var(--teal));
}

/* ---------- audience / service tiles ---------- */

.tile {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: 1.9rem 1.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.tile:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); transform: translateY(-2px); color: inherit; }
.tile h3 { margin: 0; }
.tile p { color: var(--muted); font-size: .96rem; margin: 0; }
.tile__foot {
  margin-top: auto; padding-top: 1.4rem;
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .88rem; font-weight: 600; color: var(--teal-deep);
}

/* ---------- dark band ---------- */

.band {
  background: linear-gradient(150deg, #03032e 0%, #050057 55%, #04405c 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.band h2, .band h3 { color: #fff; }
.band p { color: rgba(255, 255, 255, .78); }
.band .lede { color: rgba(255, 255, 255, .8); }
.band::after {
  content: '';
  position: absolute; width: 560px; height: 560px; left: -200px; bottom: -300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 180, 216, .26) 0%, rgba(24, 180, 216, 0) 68%);
}
.band__inner { position: relative; z-index: 1; }

.band .features__item { border-top-color: rgba(255, 255, 255, .18); }
.band .features__item p { color: rgba(255, 255, 255, .72); }

.cta-band { text-align: center; }
.cta-band h2 { max-width: 20ch; margin-inline: auto; }
.cta-band p { max-width: 52ch; margin-inline: auto; }
.cta-band .btn { margin-top: 2rem; }

/* ---------- prose ---------- */

.prose { max-width: var(--measure); }
.prose h2 { margin-top: 2.6rem; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.72rem); }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.15rem; margin: 0 0 1.3rem; }
.prose li { margin-bottom: .6rem; }
.prose blockquote {
  margin: 2.2rem 0;
  padding: 0 0 0 1.5rem;
  border-left: 3px solid var(--cyan);
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.5;
  color: var(--ink);
}
.prose blockquote cite {
  display: block;
  margin-top: .9rem;
  font-family: var(--sans);
  font-size: .87rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--muted);
}

/* ---------- team ---------- */

.team { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2rem 1.5rem; }
@media (max-width: 1040px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.team__member img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--mist-deep);
  filter: saturate(.9);
}
.team__member h3 { font-size: 1.04rem; margin: 1rem 0 .15rem; }
.team__member p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- insights ---------- */

.post-list { display: grid; gap: 0; }
.post-item {
  display: grid;
  grid-template-columns: 8.5rem 1fr auto;
  gap: 1.75rem;
  align-items: baseline;
  padding: 1.9rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background .2s ease;
}
.post-item:hover { color: inherit; }
.post-item:hover h2 { color: var(--teal-deep); }
.post-item:last-child { border-bottom: 1px solid var(--line); }
.post-item__meta { font-size: .84rem; color: var(--muted); letter-spacing: .02em; }
.post-item h2 { font-size: clamp(1.14rem, 1.02rem + .4vw, 1.34rem); line-height: 1.28; letter-spacing: -0.022em; margin: 0 0 .4rem; transition: color .18s ease; }
.post-item p { font-size: .96rem; color: var(--muted); margin: 0; max-width: 58ch; }
.post-item__tag {
  font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal-text); white-space: nowrap;
}
@media (max-width: 760px) {
  .post-item { grid-template-columns: 1fr; gap: .5rem; }
  .post-item__tag { order: -1; }
}

.post-head { border-bottom: 1px solid var(--line); padding-bottom: 1.6rem; margin-bottom: 2.4rem; }
.post-head__meta { font-size: .88rem; color: var(--muted); }

/* ---------- forms ---------- */

.form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select {
  font: inherit;
  font-size: .98rem;
  color: var(--ink);
  padding: .78rem .95rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  transition: border-color .16s ease, box-shadow .16s ease;
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 132, 168, .14);
}
.field textarea { min-height: 150px; resize: vertical; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
@media (max-width: 620px) { .field--row { grid-template-columns: 1fr; } }

.consent { display: flex; gap: .65rem; align-items: flex-start; font-size: .89rem; color: var(--muted); }
.consent input { width: 1.05rem; height: 1.05rem; margin-top: .28rem; flex-shrink: 0; accent-color: var(--teal); }

.form__status { font-size: .93rem; padding: .85rem 1rem; border-radius: 10px; display: none; }
.form__status.is-ok { display: block; background: rgba(0, 132, 168, .08); color: var(--teal-deep); border: 1px solid rgba(0, 132, 168, .25); }
.form__status.is-err { display: block; background: #fdf2f2; color: #96323b; border: 1px solid #f3cfd3; }

.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-detail { border-top: 1px solid var(--line); padding: 1.25rem 0; }
.contact-detail dt { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.contact-detail dd { margin: 0; font-size: 1.04rem; color: var(--ink); }
.contact-detail dd a { text-decoration: none; }

/* ---------- footer ---------- */

.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .68);
  padding: clamp(3.2rem, 5vw, 4.5rem) 0 2rem;
  font-size: .93rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(120px, .75fr));
  gap: 2.5rem;
  padding-bottom: 2.8rem;
}
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

.footer img { width: min(336px, 100%); height: auto; margin-bottom: 1.4rem; }
.footer p { color: rgba(255, 255, 255, .6); max-width: 34ch; }
.footer__heading { color: #fff; font-size: .78rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .6rem; }
.footer a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  font-size: .85rem;
  color: rgba(255, 255, 255, .5);
}
.footer__bottom a { color: rgba(255, 255, 255, .58); }

/* ---------- component classes (no inline styles: strict CSP) ---------- */

.accent-buildsense { --accent: #2a99d5; --accent-text: #1f719e; }
.accent-buildblox  { --accent: #0084a8; --accent-text: #007290; }
.accent-mapblox    { --accent: #18b4d8; --accent-text: #0f738a; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.product-intro { gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.product-intro__lede {
  color: var(--ink);
  font-size: clamp(1.15rem, 1rem + .7vw, 1.45rem);
  line-height: 1.45;
  max-width: var(--measure);
}
.product-intro__link { margin-top: 1.4rem; }

.pagehero--product .lede { max-width: 34ch; }
.pagehero--product .hero__actions { margin-top: 2rem; }

.principle dt {
  color: var(--ink);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  margin-bottom: 0;
}
.principle dd { font-size: .96rem; color: var(--muted); margin-top: .4rem; }

.contact-list { margin: 0; }
.contact-list .contact-detail:last-child { border-bottom: 1px solid var(--line); }
.contact-note { margin-top: 1.6rem; font-size: .93rem; color: var(--muted); }

.post-back { margin-bottom: 1.6rem; }
.link-arrow--back { gap: .35rem; }
.post-head h1 { font-size: clamp(1.95rem, 1.3rem + 2.2vw, 2.9rem); }

/* ---------- motion ---------- */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 60ms; }
.reveal:nth-child(3) { transition-delay: 120ms; }
.reveal:nth-child(4) { transition-delay: 180ms; }
.reveal:nth-child(5) { transition-delay: 240ms; }
.reveal:nth-child(n+6) { transition-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
