/* Schlichting — one stylesheet for the whole site.
   Breakpoints (same as the original design):
     phone   < 810px
     tablet  810–1439px
     desktop 1440–1879px (base styles below)
     wide    >= 1880px
*/

@font-face { font-family: "NHG Text"; src: url("/assets/fonts/nhg-text-55-roman.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "NHG Text"; src: url("/assets/fonts/nhg-text-65-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
/* Metric-matched fallback so text doesn't jump while the font loads */
@font-face { font-family: "NHG Fallback"; src: local("Arial"); ascent-override: 93.19%; descent-override: 23.34%; line-gap-override: 0%; size-adjust: 104.95%; }

:root {
  --blue: #06038d;
  --yellow: #fff500;
  --white: #fff;
  --orange: #ff4f00;

  --pad: 40px;        /* page side padding */
  --gap: 20px;        /* column gap */
  --col: 33%;         /* left "label" column */
  --hdr: 70px;        /* header height */

  /* type scale */
  --fs-display: 70px;  --lh-display: 1.1;
  --fs-h2: 40px;       --lh-h2: 1.1;
  --fs-lead: 30px;     --lh-lead: 1.1;
  --fs-body: 24px;     --lh-body: 1.3;
  --fs-list: 24px;     --lh-list: 1.3;   /* stat labels, check items */
  --fs-small: 16px;    --lh-small: 1.2;
  --fs-card: 16px;                        /* small text inside cards */
  --fs-num: 75px;      --lh-num: 0.9;     /* service card numbers */

  /* vertical rhythm */
  --band-top: 20px;   /* space before the first rule of a band */
  --row-top: 33px;    /* rule -> heading */
  --row-bottom: 32px; /* content -> next rule */

  --svc-img: 230px;
  --card-img: 360px;
  --logo-s: 1;

  --fg: var(--blue);
  --bg: var(--white);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "NHG Text", "NHG Fallback", Arial, sans-serif;
  font-weight: 400;
  font-size: var(--fs-small);
  line-height: var(--lh-small);
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--hdr);
}
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; font-weight: 400; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 8px 12px; background: var(--white); color: var(--blue); }

/* Page colour themes */
.theme-blue, .theme-hero { --fg: var(--white); --bg: var(--blue); }
.band--white { --fg: var(--blue); background: var(--white); color: var(--blue); }
.band--blue { --fg: var(--white); background: var(--blue); color: var(--white); }

/* ------------------------------------------------------------------ type */
.t-display { font-size: var(--fs-display); line-height: var(--lh-display); }
.t-h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); }
.t-lead { font-size: var(--fs-lead); line-height: var(--lh-lead); }
.t-body { font-size: var(--fs-body); line-height: var(--lh-body); }
.t-list { font-size: var(--fs-list); line-height: var(--lh-list); }
.t-small { font-size: var(--fs-small); line-height: var(--lh-small); }
.t-yellow { color: var(--yellow); }
.prose > * + * { margin-top: calc(var(--fs-body) * 1.3); }
.prose a { text-decoration: underline; text-underline-offset: 0.15em; text-decoration-thickness: 1px; }
.prose h3 { font-size: var(--fs-lead); line-height: var(--lh-lead); }
.prose--sm > * + * { margin-top: 0.92em; }
.prose li { padding-left: 1.1em; text-indent: -1.1em; }

/* ------------------------------------------------------------------ layout */
.band { padding: var(--band-top) var(--pad) 0; }
.band:last-child { padding-bottom: 0; }
/* two plain bands in a row behave like one */
.band:not(.band--white):not(.band--blue):not(.hero) + .band:not(.band--white):not(.band--blue) { padding-top: 0; }
.row:has(> .stats) { padding-bottom: 40px; }
.row {
  display: grid;
  grid-template-columns: var(--col) 1fr;
  column-gap: var(--gap);
  border-top: 1px solid currentColor;
  padding: var(--row-top) 0 var(--row-bottom);
}
.row--flush { border-top: 0; padding-top: 30px; }
.band > .row:first-child.row--flush { padding-top: 30px; }
.row__label { min-width: 0; }
.row__body { min-width: 0; }
.row__body > * + * { margin-top: 30px; }
.row__body > .pill { margin-top: 24px; }
.row__body > .t-display + * { margin-top: 24px; }
.row:has(+ .svcs), .row:has(+ .cards) { padding-bottom: 30px; }
.stack-sm > * + * { margin-top: 20px; }

/* ------------------------------------------------------------------ pill button */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 34px;
  padding: 0 6px 0 10px;
  border-radius: 83px;
  box-shadow: inset 0 0 0 1px currentColor;
  font-size: var(--fs-small);
  line-height: var(--lh-small);
  white-space: nowrap;
  max-width: 100%;
  transition: background-color .2s ease, color .2s ease;
}
h1, h2, h3, .cert__sub, .pfact__value { overflow-wrap: break-word; hyphens: auto; }
.pill__icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.pill:hover .pill__icon { transform: translateX(2px); }
.pill--wide { width: 100%; justify-content: center; }
@media (hover: hover) {
  .pill:hover { background: var(--fg); color: var(--bg); box-shadow: inset 0 0 0 1px var(--fg); }
  .theme-hero .hero .pill:hover { background: var(--white); color: var(--blue); }
  .band--white .pill:hover, .svc .pill:hover, .card .pill:hover { background: var(--blue); color: var(--white); }
}

/* ------------------------------------------------------------------ header */
.hdr {
  position: fixed; z-index: 50; top: 0; left: 0; right: 0;
  color: var(--fg);
  background: var(--bg);
  transition: background-color .25s ease, color .25s ease;
}
.theme-white .hdr { box-shadow: inset 0 -1px 0 var(--blue); }
.theme-hero .hdr { background: transparent; }
.theme-hero .hdr.is-solid, .theme-hero .hdr.is-open { background: var(--blue); }
.hdr__bar {
  height: var(--hdr);
  display: grid;
  grid-template-columns: var(--col) minmax(var(--col), auto) 1fr;
  column-gap: var(--gap);
  align-items: center;
  padding: 0 var(--pad);
}
.logo { display: inline-flex; align-items: center; justify-self: start; color: inherit; }
.logo__mark { width: 39px; height: 43px; }
.logo__word { width: 142.4px; height: 27.1px; margin-left: 10.7px; margin-top: 3px; }
.hdr__nav { display: flex; justify-content: space-between; gap: 20px; }
.hdr__nav a, .hdr__panel-nav a { position: relative; }
.hdr__nav a { font-size: 16px; line-height: 19.2px; white-space: nowrap; }
.hdr__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.hdr__nav a:hover::after, .hdr__nav a[aria-current="page"]::after { transform: scaleX(1); }
.hdr__actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.hdr__toggle { display: none; }
.hdr__panel { display: none; }

/* language switch: EN / DE */
.lang {
  display: inline-flex; align-items: center; gap: 2px;
  height: 33px; padding: 0 3px 0 8px;
  border-radius: 50px; box-shadow: inset 0 0 0 1px currentColor;
  font-size: 14px; line-height: 1;
}
.lang__globe { width: 18px; height: 18px; margin-right: 4px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.lang a { display: inline-flex; align-items: center; height: 27px; padding: 0 9px; border-radius: 40px; transition: background-color .2s ease, color .2s ease; }
.lang a[aria-current] { background: var(--fg); color: var(--bg); }
.theme-hero .hdr:not(.is-solid):not(.is-open) .lang a[aria-current] { background: var(--white); color: #000; }
.lang a:not([aria-current]):hover { box-shadow: inset 0 0 0 1px currentColor; }

/* ------------------------------------------------------------------ footer */
.ftr { background: var(--blue); color: var(--white); padding: 0 var(--pad); }
.theme-blue .ftr .ftr__inner, .theme-hero .ftr .ftr__inner { border-top: 1px solid currentColor; }
.ftr__inner {
  display: grid; grid-template-columns: var(--col) 1fr auto; column-gap: var(--gap);
  align-items: center; min-height: 63px;
}
.ftr__logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 20px; line-height: 24px; justify-self: start; }
.ftr__logo .logo__mark { width: 28px; height: 31px; }
.ftr__links { display: flex; gap: 11px; flex-wrap: wrap; }
.ftr__links a, .ftr__credit { position: relative; }
.ftr__links a:hover, .ftr__credit:hover { text-decoration: underline; text-underline-offset: 3px; }
.ftr__meta { display: flex; align-items: center; gap: 35px; }
.ftr__credit { display: inline-flex; align-items: center; gap: 5px; }
.ftr__credit::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); }

/* ------------------------------------------------------------------ home hero */
.theme-hero { padding-top: 0; }
.hero {
  position: relative; height: 813px; overflow: hidden; background: #000; color: var(--white);
  display: flex; align-items: flex-end;
  padding: 0 var(--pad) 109px;
}
.hero__video, .hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .5); mix-blend-mode: multiply; pointer-events: none; }
.hero__content { position: relative; z-index: 1; max-width: 1053px; }
.hero__lead { margin-top: 15px; }
.hero .pill { margin-top: 26px; }

/* ------------------------------------------------------------------ home: why */
.row__body.stats > * { margin-top: 0; }
.stats { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); }
.stat__num { font-size: var(--fs-display); line-height: var(--lh-display); color: var(--yellow); }
.stat__label { margin-top: 10px; padding-bottom: 20px; }
.checks { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, auto); grid-auto-flow: column; column-gap: var(--gap); }
.check { display: flex; align-items: center; gap: 16px; border-top: 1px solid currentColor; padding: 0; min-height: 106px; }
.check svg { width: 36px; height: 40px; flex: none; color: var(--yellow); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------------ service cards */
.svcs { display: grid; grid-template-columns: var(--col) 1fr 1fr; gap: var(--gap); margin-top: 0; }
.svcs--2 { grid-template-columns: 1fr 1fr; }
.svc { background: var(--white); color: var(--blue); padding: 20px; display: flex; flex-direction: column; }
.svc__head { display: flex; align-items: flex-start; gap: 14px; }
.svc__num { font-weight: 500; font-size: var(--fs-num); line-height: var(--lh-num); }
.svc__title { font-size: var(--fs-lead); line-height: var(--lh-lead); }
.svc__text { margin-top: 9px; font-size: var(--fs-card); line-height: 1.2; flex: 1 0 auto; }
.svc .pill { align-self: flex-start; margin-top: 39px; }
.svc__img { margin-top: 20px; width: 100%; height: var(--svc-img); object-fit: cover; }
.svcs--2 .svc__text { flex: 1 0 auto; }

/* ------------------------------------------------------------------ project cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: var(--gap); row-gap: 54px; }
.cards--2 { grid-template-columns: 1fr 1fr; }
.card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.card__media { display: block; width: 100%; overflow: hidden; }
.card__media img { width: 100%; height: var(--card-img); object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.03); }
.card__title { margin-top: 10px; font-size: var(--fs-lead); line-height: var(--lh-lead); }
.card__meta { margin-top: 6px; font-size: var(--fs-card); line-height: 1.2; }
.card .pill { margin-top: 10px; }
.band--cases { padding-top: 16px; padding-bottom: 32px; }
.band--cases .row { padding-bottom: 30px; }
.band--cases .row--flush { padding-bottom: 56px; }
.band-end { height: var(--row-bottom); }
.band-end--lg { height: calc(var(--row-bottom) + 15px); }
.row--tight { padding-bottom: 17px !important; }
.band--cases .cards { margin-top: 0; }

/* ------------------------------------------------------------------ testimonials */
.quotes > * + * { border-top: 1px solid currentColor; margin-top: 25px; padding-top: 26px; }
.quote__who { display: flex; align-items: center; gap: 10px; }
.quote__who img { width: 50px; height: 50px; border-radius: 30px; object-fit: cover; flex: none; }
.quote__text { margin-top: 10px; }

/* ------------------------------------------------------------------ logos */
.logos { display: flex; flex-direction: column; gap: 9px; margin-top: 30px !important; }
.logos__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logos img { width: calc(var(--w) * var(--logo-s)); height: calc(var(--h) * var(--logo-s)); flex: 0 1 auto; min-width: 0; object-fit: contain; }

/* ------------------------------------------------------------------ about */
.media-wide { width: 100%; height: auto; aspect-ratio: 2.2275; object-fit: cover; }
.media-tint { mix-blend-mode: luminosity; }
.row__body > .cert-list { margin-top: 24px; }
.certs { padding-bottom: 27px; }
.values > * + * { border-top: 1px solid currentColor; margin-top: 24px; padding-top: 28px; }
.values h3 { font-size: var(--fs-display); line-height: var(--lh-display); color: var(--yellow); }
.values p { margin-top: 10px; }
.certs { border-bottom: 0; }
.cert { border-top: 1px solid currentColor; }
.cert summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; padding: 11px 0 10px; }
.cert summary::-webkit-details-marker { display: none; }
.cert__title { font-size: 40px; line-height: 44px; color: var(--yellow); }
.cert__sub { grid-column: 1; margin-top: 10px; }
.cert__btn { grid-column: 2; grid-row: 1; align-self: start; margin-top: 2px; height: 34px; }
.cert__btn .when-open { display: none; }
.cert[open] .cert__btn .when-open { display: inline; }
.cert[open] .cert__btn .when-closed { display: none; }
.cert[open] .cert__btn { background: var(--white); color: var(--blue); }
.cert__icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.cert[open] .cert__icon .v { display: none; }
.cert__body { padding: 0 0 24px; }
.cert__body .pill { margin-top: 30px; }

/* ------------------------------------------------------------------ compact pages (services detail, jobs, contact) */
.band--compact .row { padding-top: 21px; padding-bottom: 20px; }
.band--compact .row--flush { padding-top: 30px; }
.band--compact .row:first-of-type:has(+ .row) { padding-bottom: 16px; }
.row__body--cards { margin-top: 0; }
.band--compact .row:has(.row__body--cards) { padding-bottom: 9px; }
.band--compact .media-hero + .row--flush { padding-top: 30px; }

/* ------------------------------------------------------------------ service detail pages */
.media-hero { width: 100%; height: auto; aspect-ratio: 2.72; object-fit: cover; }
.band--first { padding-top: 0; }
.media-wide + * { margin-top: 24px; }
.media-hero + .row { padding-top: 30px; }
.band--first:has(> .media-hero) { padding-top: 30px; }
.facts h3 { font-size: var(--fs-lead); line-height: var(--lh-lead); }
.facts > * + * { border-top: 1px solid currentColor; margin-top: 14px; padding-top: 16px; }
.facts p { margin-top: 15px; }
.lines { font-size: var(--fs-lead); line-height: var(--lh-lead); }
.band--others { padding-top: 27px; padding-bottom: 0; }
.band--others .row { border-top: 0; padding: 0; }
.cta { display: grid; grid-template-columns: var(--col) minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--gap); align-items: center; border-top: 1px solid currentColor; margin-top: 30px; padding: 31px 0 30px; }
.cta .pill { width: 100%; justify-content: center; }

/* ------------------------------------------------------------------ contact */
.row__body > .contact-list { margin-top: 12px; }
.contact-list > * { border-top: 1px solid currentColor; padding: 13px 0 12px; }
.contact-list > .prose { padding-bottom: 0; }
.contact-list .prose > * + * { margin-top: 21px; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: .15em; text-decoration-thickness: 1px; }
.btn-cal {
  display: inline-flex; align-items: center; gap: 10px; height: 55px; padding: 0 26px 0 20px;
  background: var(--white); color: var(--blue); border-radius: 51px;
  font-size: var(--fs-body); line-height: var(--lh-body); transition: transform .2s ease;
}
.btn-cal svg { width: 32px; height: 35px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.btn-cal:hover { transform: translateY(-1px); }

/* ------------------------------------------------------------------ project page */
.pfacts { margin-top: 0; }
.pfact { display: grid; grid-template-columns: var(--col) 1fr; column-gap: var(--gap); align-items: baseline; border-top: 1px solid currentColor; padding: 8px 0 7px; }
.pfact:first-child { border-top: 0; padding-top: 0; }
.pfact__label, .pfact__value { font-size: var(--fs-body); line-height: var(--lh-body); }
.pfact__name { font-size: var(--fs-h2); line-height: var(--lh-h2); }
.band--project { padding-top: 10px; }
.pfact--others, .pfact__img { align-items: start; }
.pfact__img { padding-top: 10px; }
.pfact__value > p + p { margin-top: calc(var(--fs-body) * 1.3); }
.pfact__img img { width: 100%; height: auto; aspect-ratio: 1.737; object-fit: cover; }
.pfact--others { padding-bottom: 20px; }
.pfact--others .card__title { font-size: var(--fs-lead); }

/* ------------------------------------------------------------------ legal */
.legal .row { padding-bottom: 40px; }

/* ------------------------------------------------------------------ 404 */
.notfound { min-height: 60vh; }

/* ================================================================== wide >= 1880 */
@media (min-width: 1880px) {
  .hero { height: 1061px; }
  :root { --svc-img: 350px; }
}

/* ================================================================== tablet 810–1439 */
@media (max-width: 1439.98px) {
  :root {
    --pad: 20px; --gap: 10px; --hdr: 54px;
    --fs-display: 56px;
    --fs-h2: 32px;
    --fs-lead: 20px;
    --fs-body: 19px;
    --fs-list: 19px;
    --fs-card: 13px;
    --fs-num: 52px; --lh-num: 0.8;
    --band-top: 16px; --row-top: 14px; --row-bottom: 24px;
    --svc-img: 140px;
    --logo-s: 0.6;
  }
  .hdr__bar { grid-template-columns: 1fr auto; }
  .hdr__nav, .hdr__contact { display: none; }
  .logo__mark { width: 26px; height: 29px; }
  .logo__word { width: 94.9px; height: 18.1px; margin-left: 10px; margin-top: 2px; }
  .lang { height: 29px; }
  .lang a { height: 23px; }
  .hdr__actions { gap: 10px; }
  .hdr__toggle {
    display: inline-flex; align-items: center; justify-content: center;
    height: 29px; min-width: 29px; padding: 0 10px; border-radius: 83px;
    box-shadow: inset 0 0 0 1px currentColor; font-size: 16px; line-height: 1;
  }
  .hdr__toggle-x { display: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
  .hdr.is-open .hdr__toggle { padding: 0; width: 29px; background: var(--fg); color: var(--bg); }
  .hdr.is-open .hdr__toggle-label { display: none; }
  .hdr.is-open .hdr__toggle-x { display: block; }
  .hdr__panel {
    display: block; overflow: hidden; max-height: 0; visibility: hidden;
    padding: 0 var(--pad);
    transition: max-height .35s ease, visibility 0s linear .35s;
  }
  .hdr.is-open .hdr__panel { max-height: calc(100vh - var(--hdr)); overflow-y: auto; visibility: visible; transition: max-height .35s ease; }
  .theme-white .hdr.is-open { box-shadow: inset 0 -1px 0 var(--blue), 0 10px 30px rgba(6, 3, 141, .12); }
  .hdr__panel-contact { display: flex; width: max-content; margin-left: auto; }
  .hdr__panel-nav { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid currentColor; margin-top: 10px; padding: 16px 0 20px; }
  .hdr__panel-nav a { font-size: 26px; line-height: 1.1; padding: 4px 0; }

  .hero { height: 560px; padding-bottom: 60px; }
  .hero__content { max-width: none; }
  .hero__lead { margin-top: 15px; }
  .hero .pill { margin-top: 15px; }

  .check svg { width: 30px; height: 34px; }
  .stat__label { padding-bottom: 20px; }

  .svc { padding: 10px; }
  .svc__head { gap: 10px; }
  .svc .pill { margin-top: 20px; }
  .svc__img { margin-top: 14px; }
  .svc__title { font-size: 20px; line-height: 22px; }

  .cards { column-gap: 20px; }
  .card__title { margin-top: 10px; }
  .row__body > .pill { margin-top: 24px; }
  .row__body > * + * { margin-top: 24px; }

  .quote__who { font-size: 13px; line-height: 15.6px; }

  .values h3 { font-size: var(--fs-display); }
  .cert__title { font-size: 32px; line-height: 35.2px; }


  .ftr { padding: 0 var(--pad); }
  .ftr__inner { min-height: 51px; }
  .ftr__links { font-size: 12px; line-height: 14.4px; gap: 11px; }
  .ftr__meta { font-size: 12px; line-height: 14.4px; gap: 16px; }
  .ftr__credit::before { width: 9px; height: 9px; }
  .btn-cal { height: 46px; font-size: 20px; }
  .btn-cal svg { width: 26px; height: 28px; }
  /* tablet rhythm */
  .check { min-height: 0; padding: 23px 0 20px; gap: 14px; }
  .row:has(> .stats) { padding-bottom: 30px; }
  .row:has(+ .svcs) { padding-bottom: 10px; }
  .band--compact .row { padding-top: 11px; padding-bottom: 10px; }
  .band--compact .row--flush { padding-top: 10px; }
  .band--compact .row:first-of-type:has(+ .row) { padding-bottom: 28px; }
  .band--first:has(> .media-hero) { padding-top: 26px; }
  .media-hero + .row, .band--compact .media-hero + .row--flush { padding-top: 10px; }
  .facts > * + * { margin-top: 15px; padding-top: 16px; }
  .band--others { padding-top: 26px; }
  .cta { margin-top: 20px; padding: 21px 0; }
  .pfact { padding: 12px 0; }
  .band--project { padding-top: 26px; }
  .ftr__inner { grid-template-columns: auto 1fr auto; }
  .ftr__links { justify-content: center; flex-wrap: nowrap; }

  .pill { white-space: normal; height: auto; min-height: 34px; padding-top: 7px; padding-bottom: 7px; }
  .pill--wide { text-align: center; }

}

/* ================================================================== phone < 810 */
@media (max-width: 809.98px) {
  :root {
    --pad: 10px; --gap: 10px;
    --fs-display: 35px;
    --fs-h2: 26px;
    --fs-lead: 19px;
    --fs-body: 15px;
    --fs-list: 19px;
    --fs-num: 50px;
    --band-top: 14px; --row-top: 14px; --row-bottom: 16px;
    --logo-s: 0.39;
  }
  .lead-tight { line-height: 1.1; }
  .row { grid-template-columns: 1fr; row-gap: 20px; }
  .row__body > * + * { margin-top: 20px; }
  .row__body > .pill { margin-top: 20px; }

  .hero { padding-bottom: 50px; }
  .hero .pill { margin-top: 16px; }

  .stats { grid-template-columns: 1fr; }
  .stat__num { font-size: 46px; line-height: 50.6px; }
  .stat + .stat { border-top: 1px solid currentColor; }
  .checks { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .check { min-height: 0; --lh-list: 1.1; }

  .svcs, .svcs--2 { grid-template-columns: 1fr; }
  .svc__head { gap: 14px; }
  .svc__title { font-size: 19px; line-height: 20.9px; }
  .svc .pill { margin-top: 10px; }

  .cards, .cards--2 { grid-template-columns: 1fr; row-gap: 40px; }
  .card__title { font-size: 19px; line-height: 20.9px; }

  .values h3 { font-size: 35px; }
  .cert__title { font-size: 26px; line-height: 28.6px; }

  .pfact { grid-template-columns: 1fr; row-gap: 6px; }
  .pfact__label { font-size: 13px; line-height: 15.6px; }

  .cta { grid-template-columns: 1fr; row-gap: 10px; }

  .ftr__inner { grid-template-columns: 1fr; row-gap: 0; padding: 10px 0 14px; align-items: start; }
  .ftr__links { grid-column: 1; flex-direction: column; gap: 10px; justify-content: flex-start; font-size: 16px; line-height: 19.2px; margin-top: 22px; }
  .ftr__meta { grid-column: 1; flex-direction: column; align-items: flex-start; gap: 14px; font-size: 16px; line-height: 19.2px; margin-top: 25px; }
  /* phone rhythm */
  .stat__label { margin-top: 3px; padding-bottom: 10px; }
  .stat + .stat { padding-top: 13px; }
  .check { padding: 14px 0 11px; gap: 16px; }
  .check svg { width: 36px; height: 40px; }
  .row:has(+ .cards) { padding-bottom: 10px; }
  .band--cases .row--flush { padding-bottom: 14px; }
  .cards, .cards--2 { row-gap: 18px; }
  .cert__sub { font-size: var(--fs-body); line-height: var(--lh-body); }
  .btn-cal { font-size: var(--fs-body); height: 46px; }
  .band--project { padding-top: 10px; }
  .pfact { padding: 8px 0 7px; }

}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
