/*==============================================================
  Sana Terra design system
  - Tokens, base type and layout
  - Shared components (buttons, labels, media frames)
  - Site navigation + footer (used on every page)
  - Homepage sections (.home-*)
  Loaded after style.css on legacy pages, so nav/footer rules are
  scoped under .site-nav / .site-footer to win over style.css.
==============================================================*/

:root {
  /* surfaces */
  --st-night:      #07130b;   /* base dark, green-black */
  --st-night-2:    #0c1d12;   /* raised dark */
  --st-night-3:    #12281a;
  --st-paper:      #f4f3ee;   /* base light, warm off-white */
  --st-paper-2:    #eae8e0;
  --st-white:      #ffffff;

  /* text */
  --st-on-night:   #eef2ec;
  --st-on-night-2: rgba(238, 242, 236, 0.64);
  --st-on-night-3: rgba(238, 242, 236, 0.42);
  --st-ink:        #0d1a11;
  --st-ink-2:      #4b5a50;
  --st-ink-3:      #7c877f;

  /* lines */
  --st-line-night: rgba(238, 242, 236, 0.12);
  --st-line-ink:   rgba(13, 26, 17, 0.12);

  /* brand */
  --st-green:      #2fb36b;   /* from the logo */
  --st-green-lt:   #6fd39a;   /* for text on dark */
  --st-green-dk:   #1d7a47;   /* for text on light */

  /* type */
  --st-sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --st-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* layout */
  --st-wrap: 1240px;
  --st-gutter: 32px;
  --st-radius: 14px;
  --st-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/*--------------------------------------------------------------
  Base (homepage + redesigned pages: body.st)
--------------------------------------------------------------*/
body.st {
  margin: 0;
  background: var(--st-night);
  color: var(--st-on-night);
  font-family: var(--st-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* body.st :where(...) sits above Bootstrap's element rules but no higher than
   component rules (.st-col h3 etc.), which come later and so win */
body.st :where(h1, h2, h3, h4, h5) {
  font-family: var(--st-sans);
  font-weight: 600;
  color: inherit;
  margin: 0;
}

body.st :where(p, blockquote) { margin: 0; }
body.st :where(a) { color: inherit; text-decoration: none; }
body.st :where(img) { max-width: 100%; display: block; }

.st-wrap {
  max-width: var(--st-wrap);
  margin: 0 auto;
  padding: 0 var(--st-gutter);
}

.st-section { padding: 128px 0; position: relative; }
.st-section--tight { padding: 88px 0; }

/* each surface sets its own text + line colours; components read these */
.st-dark, .st-dark-2, body.st {
  --fg: var(--st-on-night); --fg-2: var(--st-on-night-2); --fg-3: var(--st-on-night-3); --line: var(--st-line-night);
}
.st-light, .st-white {
  --fg: var(--st-ink); --fg-2: var(--st-ink-2); --fg-3: var(--st-ink-3); --line: var(--st-line-ink);
}
.st-dark  { background: var(--st-night);  color: var(--st-on-night); }
.st-dark-2 { background: var(--st-night-2); color: var(--st-on-night); }
.st-light { background: var(--st-paper);  color: var(--st-ink); }
.st-white { background: var(--st-white);  color: var(--st-ink); }

/* type scale */
.st-display {
  font-size: clamp(44px, 6.4vw, 92px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.st-h2 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.032em;
  font-weight: 600;
}

.st-h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.st-lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.6;
  max-width: 34em;
}

.st-dark .st-lead, .st-dark-2 .st-lead { color: var(--st-on-night-2); }
.st-light .st-lead, .st-white .st-lead { color: var(--st-ink-2); }

.st-muted { color: var(--st-on-night-2); }
.st-light .st-muted, .st-white .st-muted { color: var(--st-ink-2); }

/* small mono label, used sparingly for section indexes and metadata */
.st-label {
  font-family: var(--st-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--st-on-night-3);
}

.st-light .st-label, .st-white .st-label { color: var(--st-ink-3); }

/* section head: index label on the left, heading on the right */
.st-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--st-gutter);
  margin-bottom: 72px;
  align-items: start;
}

.st-head > :first-child { grid-column: 1 / 4; }
.st-head > :last-child  { grid-column: 4 / -1; }
.st-head .st-label { padding-top: 14px; }
.st-head .st-lead { margin-top: 22px; }

/*--------------------------------------------------------------
  Buttons + links
--------------------------------------------------------------*/
.st-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  font-family: var(--st-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.25s var(--st-ease), color 0.25s var(--st-ease), border-color 0.25s var(--st-ease);
  white-space: nowrap;
}

.st-btn--solid { background: var(--st-on-night); color: var(--st-ink) !important; }
.st-btn--solid:hover { background: #ffffff; }

.st-btn--green { background: var(--st-green); color: #04120a !important; }
.st-btn--green:hover { background: var(--st-green-lt); }

.st-btn--ink { background: var(--st-ink); color: var(--st-paper) !important; }
.st-btn--ink:hover { background: #1c3324; }

.st-btn--line { border-color: var(--st-line-night); color: var(--st-on-night) !important; }
.st-btn--line:hover { border-color: rgba(238, 242, 236, 0.4); }

.st-light .st-btn--line, .st-white .st-btn--line { border-color: var(--st-line-ink); color: var(--st-ink) !important; }

.st-arrow {
  display: inline-block;
  transition: transform 0.3s var(--st-ease);
}

a:hover .st-arrow, button:hover .st-arrow { transform: translateX(4px); }

.st-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 15px;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  border-bottom-color: color-mix(in srgb, currentColor 35%, transparent);
  transition: border-color 0.25s var(--st-ease);
}

.st-link:hover { border-bottom-color: currentColor; }

/*--------------------------------------------------------------
  Media frame: product screenshots sit on a quiet panel
--------------------------------------------------------------*/
.st-frame {
  position: relative;
  border-radius: 18px;
  padding: clamp(20px, 3vw, 44px);
  overflow: hidden;
}

.st-frame--night { background: var(--st-night-2); border: 1px solid var(--st-line-night); }
.st-frame--paper { background: var(--st-paper-2); }
.st-frame--sage  { background: #dfe6dc; }

.st-frame img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.st-frame--float img { box-shadow: 0 30px 60px -30px rgba(7, 19, 11, 0.45); }

/*--------------------------------------------------------------
  Motion
  [data-reveal] elements rise in when scrolled into view (site.js).
  Without JS, or with reduced motion, everything is simply visible.
--------------------------------------------------------------*/
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--st-ease), transform 0.9s var(--st-ease);
  transition-delay: var(--d, 0s);
}

.js [data-reveal].is-in { opacity: 1; transform: none; }

/* headline lines slide up from behind a mask */
.st-lines .st-line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.st-lines .st-line > span { display: inline-block; }
.js .st-lines .st-line > span {
  transform: translateY(105%);
  transition: transform 1.1s var(--st-ease);
  transition-delay: var(--d, 0s);
}
.js .st-lines.is-in .st-line > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js .st-lines .st-line > span {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/*--------------------------------------------------------------
  Site navigation (partials/navbar.html), all pages
--------------------------------------------------------------*/
.site-nav.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1030;
  padding: 0;
  height: 72px;
  background: transparent;
  box-shadow: none;
  font-family: var(--st-sans);
  transition: background-color 0.35s var(--st-ease), border-color 0.35s var(--st-ease);
  border-bottom: 1px solid transparent;
}

/* legacy pages have no dark hero behind the nav, so start solid */
body:not(.st) .site-nav.navbar,
.site-nav.navbar.is-scrolled,
.site-nav.navbar.is-open {
  background: rgba(7, 19, 11, 0.94);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: var(--st-line-night);
}

.site-nav .container-fluid {
  max-width: var(--st-wrap);
  margin: 0 auto;
  padding: 0 var(--st-gutter);
  height: 72px;
}

.site-nav .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--st-on-night) !important;
  font-family: var(--st-sans);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  margin: 0;
  padding: 0;
}

.site-nav .navbar-brand img { width: 28px; height: 28px; }

.site-nav .navbar-nav { gap: 4px; }

.site-nav .navbar-nav .nav-link {
  color: var(--st-on-night-2) !important;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 12px !important;
  border-radius: 8px;
  transition: color 0.2s ease;
}

.site-nav .navbar-nav .nav-link:hover,
.site-nav .navbar-nav .nav-link.show { color: var(--st-on-night) !important; }

.site-nav .dropdown-toggle::after {
  border: 0;
  content: "";
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  margin-left: 8px;
  vertical-align: middle;
  color: inherit;
}

.site-nav .st-btn { height: 40px; padding: 0 16px; font-size: 14px; }

/* dropdowns: override style.css hover-only menus; Bootstrap's .show drives them */
.site-nav .dropdown-menu {
  background: var(--st-night-2);
  border: 1px solid var(--st-line-night);
  border-radius: 12px;
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.5);
  padding: 8px;
  margin-top: 10px !important;
  opacity: 1;
  visibility: visible;
  transform: none;
  min-width: 220px;
}

.site-nav .dropdown-item {
  color: var(--st-on-night-2);
  font-size: 14px;
  padding: 9px 12px;
  border-radius: 8px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.site-nav .dropdown-item:hover,
.site-nav .dropdown-item:focus {
  background: rgba(238, 242, 236, 0.06);
  color: var(--st-on-night);
  padding-left: 12px;
}

/* products mega menu */
.site-nav .st-menu {
  padding: 20px;
  width: min(760px, calc(100vw - 32px));
}

.st-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.st-menu-col .st-label { display: block; padding: 0 12px 8px; }

.st-menu-item {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background-color 0.15s ease;
}

.st-menu-item:hover { background: rgba(238, 242, 236, 0.06); }

.st-menu-item strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--st-on-night);
}

.st-menu-item span {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  color: var(--st-on-night-3);
  margin-top: 2px;
}

/* toggler: two clean lines */
.site-nav .navbar-toggler {
  border: 0;
  padding: 10px;
  box-shadow: none !important;
}

.site-nav .navbar-toggler-icon {
  width: 22px;
  height: 1.5px;
  background: var(--st-on-night);
  background-image: none;
  position: relative;
  display: block;
}

.site-nav .navbar-toggler-icon::before,
.site-nav .navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 1.5px;
  background: var(--st-on-night);
  transition: transform 0.3s var(--st-ease), top 0.3s var(--st-ease);
}

.site-nav .navbar-toggler-icon::before { top: -6px; }
.site-nav .navbar-toggler-icon::after  { top: 6px; }

.site-nav .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon { background: transparent; }
.site-nav .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before { top: 0; transform: rotate(45deg); }
.site-nav .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 991px) {
  .site-nav .navbar-collapse {
    position: fixed;
    top: 72px; left: 0; right: 0;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    background: var(--st-night);
    border-bottom: 1px solid var(--st-line-night);
    padding: 8px var(--st-gutter) 28px;
  }

  .site-nav .navbar-nav .nav-link { font-size: 17px; padding: 12px 0 !important; color: var(--st-on-night) !important; }
  .site-nav .dropdown-menu { border: 0; background: transparent; box-shadow: none; padding: 0 0 8px; margin: 0 !important; }
  .site-nav .st-menu { width: auto; padding: 0 0 8px; }
  .st-menu-grid { grid-template-columns: 1fr; gap: 12px; }
  .st-menu-col .st-label, .st-menu-item { padding-left: 0; }
  .site-nav .st-nav-cta { margin-top: 16px; }
}

/*--------------------------------------------------------------
  Footer (partials/footer.html), all pages
--------------------------------------------------------------*/
.site-footer {
  background: var(--st-night);
  color: var(--st-on-night-2);
  font-family: var(--st-sans);
  font-size: 15px;
  line-height: 1.6;
  padding: 96px 0 40px;
  border-top: 1px solid var(--st-line-night);
}

.site-footer a { color: var(--st-on-night-2); text-decoration: none; transition: color 0.2s ease; }
.site-footer a:hover { color: var(--st-on-night); }

.site-footer .st-foot-grid {
  display: grid;
  grid-template-columns: 4fr 2fr 2fr 2fr 2fr;
  gap: var(--st-gutter);
}

.site-footer .st-foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--st-on-night);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.site-footer .st-foot-brand img { width: 28px; height: 28px; }

.site-footer .st-foot-about { max-width: 22em; }

.site-footer h6 {
  font-family: var(--st-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--st-on-night-3);
  margin: 4px 0 18px;
}

.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }

.site-footer .st-foot-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-top: 80px;
  padding-top: 28px;
  border-top: 1px solid var(--st-line-night);
  font-size: 13px;
  color: var(--st-on-night-3);
}

.site-footer .st-foot-bottom a { color: var(--st-on-night-3); }
.site-footer .st-foot-bottom a:hover { color: var(--st-on-night); }
.site-footer .st-foot-regions { display: flex; gap: 24px; flex-wrap: wrap; }

@media (max-width: 991px) {
  .site-footer .st-foot-grid { grid-template-columns: 1fr 1fr; gap: 40px var(--st-gutter); }
  .site-footer .st-foot-grid > :first-child { grid-column: 1 / -1; }
}

/*==============================================================
  HOMEPAGE
==============================================================*/

/* ── Hero ── */
.home-hero {
  padding: 184px 0 0;
  background: var(--st-night);
  position: relative;
}

.home-hero__top {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: var(--st-gutter);
  align-items: end;
}

.home-hero__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}

.home-hero__meta .st-label { color: var(--st-on-night-2); }

.home-hero__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--st-green);
}

.home-hero__aside .st-lead { margin-bottom: 32px; }

.home-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* product showcase: tabs + crossfading screenshot */
.home-show {
  margin-top: 96px;
  border-top: 1px solid var(--st-line-night);
}

.home-show__tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.home-show__tab {
  appearance: none;
  background: none;
  border: 0;
  border-right: 1px solid var(--st-line-night);
  text-align: left;
  padding: 24px 28px 26px 0;
  color: var(--st-on-night-3);
  font-family: var(--st-sans);
  cursor: pointer;
  position: relative;
  transition: color 0.3s var(--st-ease);
}

.home-show__tab + .home-show__tab { padding-left: 28px; }
.home-show__tab:last-child { border-right: 0; }

.home-show__tab .st-label { display: block; margin-bottom: 8px; color: inherit; }

.home-show__tab strong {
  display: block;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: inherit;
}

.home-show__tab:hover { color: var(--st-on-night-2); }
.home-show__tab.is-active { color: var(--st-on-night); }

/* progress line on top of the active tab */
.home-show__tab::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  height: 1px;
  width: 100%;
  background: var(--st-on-night);
  transform: scaleX(0);
  transform-origin: left;
}

.home-show__tab + .home-show__tab::before { left: 28px; width: calc(100% - 28px); }

.home-show__tab.is-active::before {
  animation: st-progress var(--show-ms, 7000ms) linear forwards;
}

.home-show.is-paused .home-show__tab.is-active::before,
.home-show.is-static .home-show__tab.is-active::before {
  animation: none;
  transform: scaleX(1);
}

@keyframes st-progress { to { transform: scaleX(1); } }

.home-show__stage {
  position: relative;
  margin-top: 8px;
  border-radius: 20px 20px 0 0;
  background: var(--st-night-2);
  border: 1px solid var(--st-line-night);
  border-bottom: 0;
  aspect-ratio: 16 / 8.2;
  overflow: hidden;
}

.home-show__panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 48px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.7s var(--st-ease), transform 0.9s var(--st-ease), visibility 0s linear 0.7s;
}

.home-show__panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.7s var(--st-ease), transform 0.9s var(--st-ease), visibility 0s;
}

.home-show__panel img {
  width: 100%;
  max-width: 1040px;
  height: auto;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
}

/* passport + dispute side by side */
.home-show__pair {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 28px;
  width: 100%;
  max-width: 940px;
  align-items: start;
}

.home-show__pair img { border-radius: 14px; }

/* ── Clients ── */
.home-clients {
  padding: 64px 0;
  background: var(--st-white);
  color: var(--st-ink);
  overflow: hidden;
}

.home-clients__row {
  display: grid;
  grid-template-columns: 3fr 9fr;
  gap: var(--st-gutter);
  align-items: center;
}

.home-clients__row p { font-size: 15px; line-height: 1.5; color: var(--st-ink-2); max-width: 16em; }

.home-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.home-marquee__track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: st-marquee 60s linear infinite;
}

.home-marquee:hover .home-marquee__track { animation-play-state: paused; }

.home-marquee__track img {
  height: 40px;
  width: auto;
  max-width: 132px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.62;
  mix-blend-mode: multiply;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.home-marquee__track img:hover { filter: none; opacity: 1; }

@keyframes st-marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .home-marquee__track { animation: none; flex-wrap: wrap; width: auto; }
}

/* ── Products ── */
.home-product {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

.home-product:first-of-type { border-top: 0; padding-top: 0; }
.home-product--flip .home-product__media { order: -1; }

.home-product__index {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 28px;
}

.home-product__index .st-label { color: var(--fg-3, var(--fg-2)); }
.home-product__index .st-label:first-child { color: var(--fg); }

.home-product .st-h2 { margin-bottom: 20px; }
.home-product .st-lead { margin-bottom: 36px; }

.home-facts {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  border-top: 1px solid var(--line);
}

.home-facts li {
  display: grid;
  grid-template-columns: 9.5em 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--fg-2);
}

.home-facts li strong { font-weight: 500; color: var(--fg); }

.home-product__actions { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }

/* ── Impact ── */
.home-impact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--st-line-night);
}

.home-stat {
  padding: 40px 32px 44px 0;
  border-bottom: 1px solid var(--st-line-night);
}

.home-stat:not(:nth-child(3n + 1)) { padding-left: 32px; border-left: 1px solid var(--st-line-night); }

.home-stat__num {
  display: block;
  font-size: clamp(44px, 5.4vw, 76px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--st-on-night);
  font-variant-numeric: tabular-nums;
}

.home-stat__label {
  display: block;
  margin-top: 16px;
  font-size: 15px;
  color: var(--st-on-night-2);
}

.home-impact__note { margin-top: 28px; font-size: 13px; color: var(--st-on-night-3); }

/* ── Sustainability services list ── */
.home-services { border-top: 1px solid var(--st-line-ink); }

.home-service {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--st-gutter);
  align-items: baseline;
  padding: 32px 0;
  border-bottom: 1px solid var(--st-line-ink);
  color: var(--st-ink);
  transition: padding 0.4s var(--st-ease);
}

.home-service > .st-label { grid-column: 1 / 4; }
.home-service h3 { grid-column: 4 / 8; }
.home-service p  { grid-column: 8 / 12; }
.home-service .st-arrow { grid-column: 12; }
.home-service h3 { font-size: 22px; letter-spacing: -0.02em; font-weight: 500; }
.home-service p { font-size: 15px; color: var(--st-ink-2); }
.home-service .st-arrow { justify-self: end; font-size: 20px; color: var(--st-ink-3); transition: transform 0.3s var(--st-ease), color 0.3s ease; }
.home-service:hover { padding-left: 12px; }
.home-service:hover .st-arrow { color: var(--st-ink); transform: translateX(4px); }

.home-calc {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--st-gutter);
  align-items: center;
  background: var(--st-night);
  color: var(--st-on-night);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 56px);
}

.home-calc .st-h3 { margin: 10px 0 12px; }
.home-calc p { color: var(--st-on-night-2); max-width: 30em; }
.home-calc__actions { justify-self: end; display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Approach / values ── */
.home-approach__statement {
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.18;
  letter-spacing: -0.028em;
  font-weight: 500;
  max-width: 22em;
}

.home-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--st-gutter);
  margin-top: 96px;
}

.home-value { border-top: 1px solid var(--st-line-night); padding-top: 22px; }
.home-value h3 { font-size: 18px; font-weight: 500; margin: 14px 0 8px; letter-spacing: -0.01em; }
.home-value p { font-size: 15px; color: var(--st-on-night-2); }

/* ── Insights (blog) ── */
.home-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--st-gutter);
}

.home-post { display: block; color: var(--st-ink); }

.home-post__img {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: var(--st-paper-2);
  margin-bottom: 20px;
}

.home-post__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--st-ease);
}

.home-post:hover .home-post__img img { transform: scale(1.035); }
.home-post .st-label { display: block; margin-bottom: 10px; }
.home-post h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.015em; font-weight: 500; }

.home-posts__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 48px;
}

/* ── Contact ── */
.home-contact__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 6vw, 96px);
}

.home-contact__details {
  margin-top: 48px;
  display: grid;
  gap: 20px;
  font-size: 15px;
}

.home-contact__details .st-label { display: block; margin-bottom: 4px; }
.home-contact__details a, .home-contact__details span { color: var(--st-on-night); }
.home-contact__details .st-label { color: var(--st-on-night-3); }

.st-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 24px;
}

.st-field { display: flex; flex-direction: column; gap: 8px; }
.st-field--full { grid-column: 1 / -1; }

.st-field label {
  font-family: var(--st-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--st-on-night-3);
}

.st-field input,
.st-field select,
.st-field textarea {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--st-line-night);
  border-radius: 0;
  padding: 10px 0 12px;
  font-family: var(--st-sans);
  font-size: 17px;
  color: var(--st-on-night);
  outline: none;
  transition: border-color 0.25s ease;
  width: 100%;
}

.st-field select {
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 10px) 52%, calc(100% - 5px) 52%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.st-field select option { color: var(--st-ink); }
.st-field textarea { resize: vertical; min-height: 96px; }
.st-field input::placeholder, .st-field textarea::placeholder { color: var(--st-on-night-3); }
.st-field input:focus, .st-field select:focus, .st-field textarea:focus { border-bottom-color: var(--st-on-night); }

.st-form__foot {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.st-form__foot p { font-size: 13px; color: var(--st-on-night-3); max-width: 26em; }

/* form result notice (replaces the old modal) */
.st-notice {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  opacity: 0;
  z-index: 1100;
  background: var(--st-on-night);
  color: var(--st-ink);
  padding: 14px 18px 14px 20px;
  border-radius: 12px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.5);
  font-size: 15px;
  display: flex;
  gap: 16px;
  align-items: center;
  max-width: calc(100vw - 32px);
  transition: opacity 0.4s var(--st-ease), transform 0.5s var(--st-ease);
}

.st-notice.is-in { opacity: 1; transform: translate(-50%, 0); }
.st-notice button { background: none; border: 0; font-size: 20px; line-height: 1; color: var(--st-ink-2); cursor: pointer; }

/*--------------------------------------------------------------
  Responsive
--------------------------------------------------------------*/
@media (max-width: 991px) {
  :root { --st-gutter: 24px; }
  .st-section { padding: 96px 0; }
  .st-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 48px; }
  .st-head > :first-child, .st-head > :last-child { grid-column: 1 / -1; }
  .st-head .st-label { padding-top: 0; }

  .home-hero { padding-top: 136px; }
  .home-hero__top { grid-template-columns: 1fr; gap: 36px; }
  .home-show { margin-top: 64px; }
  .home-show__tab { padding-right: 16px; }
  .home-show__tab + .home-show__tab { padding-left: 16px; }
  .home-show__tab + .home-show__tab::before { left: 16px; width: calc(100% - 16px); }
  .home-show__tab strong { font-size: 15px; }
  .home-show__stage { aspect-ratio: 4 / 3.4; }
  .home-show__panel { padding: 24px 20px 0; }

  .home-clients__row { grid-template-columns: 1fr; gap: 28px; }

  .home-product,
  .home-product--flip { grid-template-columns: 1fr; padding: 72px 0; }
  .home-product--flip .home-product__media { order: 0; }

  .home-impact__grid { grid-template-columns: repeat(2, 1fr); }
  .home-stat, .home-stat:not(:nth-child(3n + 1)) { padding: 32px 20px 36px 0; border-left: 0; }
  .home-stat:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--st-line-night); }

  .home-service { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .home-service > .st-label { grid-column: 1 / -1; }
  .home-service h3 { grid-column: 1; grid-row: 2; }
  .home-service p { grid-column: 1; grid-row: 3; }
  .home-service .st-arrow { grid-column: 2; grid-row: 2; }

  .home-calc { grid-template-columns: 1fr; }
  .home-calc__actions { justify-self: start; }

  .home-values { grid-template-columns: repeat(2, 1fr); gap: 40px var(--st-gutter); margin-top: 64px; }
  .home-posts { grid-template-columns: 1fr 1fr; }
  .home-contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --st-gutter: 16px; }
  body.st { font-size: 16px; }
  .st-section { padding: 80px 0; }

  .home-hero { padding-top: 120px; }
  .home-hero__meta { margin-bottom: 24px; }
  .home-show__tab { padding: 18px 10px 18px 0; }
  .home-show__tab + .home-show__tab { padding-left: 10px; }
  .home-show__tab + .home-show__tab::before { left: 10px; width: calc(100% - 10px); }
  .home-show__tab .st-label { font-size: 10px; margin-bottom: 4px; }
  .home-show__tab strong { font-size: 13px; }
  .home-show__stage { aspect-ratio: 1 / 1.05; border-radius: 14px 14px 0 0; }
  .home-show__panel { padding: 16px 12px 0; }
  .home-show__pair { grid-template-columns: 1fr; }
  .home-show__pair img + img { display: none; }

  .home-facts li { grid-template-columns: 1fr; gap: 2px; }
  .home-impact__grid { grid-template-columns: 1fr; }
  .home-stat, .home-stat:nth-child(even), .home-stat:not(:nth-child(3n + 1)) { padding: 28px 0; border-left: 0; }

  .home-values { grid-template-columns: 1fr; }
  .home-posts { grid-template-columns: 1fr; gap: 40px; }
  .home-posts__head { flex-direction: column; align-items: start; }
  .st-form { grid-template-columns: 1fr; }
  .site-footer .st-foot-grid { grid-template-columns: 1fr 1fr; }
}

/*==============================================================
  INNER PAGES
==============================================================*/

.st-h1 {
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.038em;
  font-weight: 600;
}

/* ── Page hero ── */
.pg-hero {
  padding: 176px 0 104px;
  background: var(--st-night);
  color: var(--st-on-night);
  border-bottom: 1px solid var(--st-line-night);
}

.pg-hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--st-gutter);
  align-items: end;
}

.pg-hero__main { grid-column: 1 / 9; }
.pg-hero__aside { grid-column: 9 / -1; }
.pg-hero--split .pg-hero__main { grid-column: 1 / 7; align-self: center; }
.pg-hero--split .pg-hero__media { grid-column: 7 / -1; }

.pg-hero__crumb {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 32px;
}

.pg-hero__crumb a { color: var(--st-on-night-2); }
.pg-hero__crumb a:hover { color: var(--st-on-night); }

.pg-hero .st-lead { margin-top: 26px; }
.pg-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

.pg-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 26px;
  padding: 0 10px;
  border: 1px solid var(--st-line-night);
  border-radius: 999px;
  font-family: var(--st-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--st-on-night-2);
  margin-left: 6px;
}

.pg-hero__badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--st-green);
}

/* hero media: a screenshot that runs off the bottom of the hero */
.pg-hero--media { padding-bottom: 0; }
.pg-hero__shot {
  margin-top: 80px;
  border-radius: 20px 20px 0 0;
  background: var(--st-night-2);
  border: 1px solid var(--st-line-night);
  border-bottom: 0;
  padding: clamp(16px, 3vw, 48px) clamp(16px, 3vw, 48px) 0;
  overflow: hidden;
}

.pg-hero__shot img {
  width: 100%;
  height: auto;
  border-radius: 12px 12px 0 0;
  display: block;
}

/* ── Generic two-column split ── */
.st-split {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--st-gutter);
  align-items: start;
}

.st-split > :first-child { grid-column: 1 / 6; }
.st-split > :last-child  { grid-column: 7 / -1; }
.st-split--center { align-items: center; }
.st-split--wide-left > :first-child { grid-column: 1 / 8; }
.st-split--wide-left > :last-child  { grid-column: 9 / -1; }

/* ── Hairline rows (bullets, facts) ── */
.st-rows {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.st-rows li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  color: var(--fg);
  display: grid;
  grid-template-columns: 2.4em 1fr;
  gap: 12px;
}

.st-rows li::before {
  counter-increment: st-row;
  content: counter(st-row, decimal-leading-zero);
  font-family: var(--st-mono);
  font-size: 12px;
  color: var(--fg-3);
  padding-top: 4px;
}

.st-rows { counter-reset: st-row; }
.st-rows li strong { display: block; font-weight: 500; }
.st-rows li span { display: block; color: var(--fg-2); font-size: 15px; margin-top: 2px; }

/* ── Column grid of short items (features, audiences, steps) ── */
.st-cols {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  gap: 48px var(--st-gutter);
}

.st-col { border-top: 1px solid var(--line); padding-top: 22px; }
.st-col h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.015em; margin: 14px 0 10px; color: var(--fg); }
.st-col p { font-size: 15px; line-height: 1.65; color: var(--fg-2); }
.st-col .st-label { color: var(--fg-3); }
.st-col .home-approach__statement { color: var(--fg); }

/* ── Link cards (related services, products) ── */
.st-links {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.st-linkcard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 28px 32px 0;
  border-bottom: 1px solid var(--line);
  color: var(--fg);
  transition: background-color 0.3s ease;
}

.st-linkcard + .st-linkcard { padding-left: 28px; border-left: 1px solid var(--line); }
.st-linkcard h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.015em; }
.st-linkcard p { font-size: 15px; color: var(--fg-2); flex-grow: 1; }
.st-linkcard .st-arrow { color: var(--fg-3); margin-top: 8px; }
.st-linkcard:hover .st-arrow { color: var(--fg); transform: translateX(4px); }

/* ── Code ── */
.st-code {
  margin: 0;
  background: var(--st-night-2);
  border: 1px solid var(--st-line-night);
  border-radius: 14px;
  padding: 24px 26px;
  font-family: var(--st-mono);
  font-size: 14px;
  line-height: 1.8;
  color: var(--st-on-night);
  overflow-x: auto;
  white-space: pre;
}

.st-code .c { color: var(--st-on-night-3); }
.st-code .hl { color: var(--st-green-lt); }

.st-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.st-chip {
  font-family: var(--st-mono);
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--fg-2);
}

/* ── Big figures row ── */
.st-figures {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.st-figure { padding: 28px 24px 8px 0; }
.st-figure + .st-figure { padding-left: 24px; border-left: 1px solid var(--line); }
.st-figure strong {
  display: block;
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.st-figure span { display: block; margin-top: 10px; font-size: 14px; color: var(--fg-2); }

/* ── Quotes ── */
.st-quotes {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  gap: 48px var(--st-gutter);
}

.st-quote { border-top: 1px solid var(--line); padding-top: 24px; margin: 0; }
.st-quote p { font-size: 19px; line-height: 1.5; letter-spacing: -0.01em; color: var(--fg); }
.st-quote footer { margin-top: 18px; font-size: 14px; color: var(--fg-2); }

/* ── Portrait + story ── */
.st-portrait {
  background: var(--st-paper-2);
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.st-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.st-portrait-caption { margin-top: 16px; }
.st-portrait-caption strong { display: block; font-weight: 500; font-size: 16px; }
.st-pullquote {
  margin: 40px 0 0;
  padding-left: 24px;
  border-left: 2px solid var(--st-green);
  font-size: clamp(20px, 1.9vw, 25px);
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--fg);
}

/* ── FAQ ── */
.st-faq { border-top: 1px solid var(--line); }
.st-faq details { border-bottom: 1px solid var(--line); }
.st-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--fg);
}
.st-faq summary::-webkit-details-marker { display: none; }
.st-faq summary::after {
  content: "+";
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
  color: var(--fg-3);
  transition: transform 0.3s var(--st-ease);
}
.st-faq details[open] summary::after { transform: rotate(45deg); }
.st-faq details p { padding: 0 0 26px; max-width: 46em; color: var(--fg-2); font-size: 16px; }

/* ── Contact page ── */
.st-contact-list { display: grid; gap: 28px; margin-top: 48px; }
.st-contact-list .st-label { display: block; margin-bottom: 6px; color: var(--fg-3); }
.st-contact-list a, .st-contact-list span { color: var(--fg); font-size: 17px; }
.st-contact-list small { display: block; color: var(--fg-2); font-size: 14px; margin-top: 2px; }

/* ── Research ── */
.st-filters {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 56px;
}

.st-filters input,
.st-filters select {
  appearance: none;
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 10px 0 12px;
  font-family: var(--st-sans);
  font-size: 16px;
  color: var(--fg);
  outline: none;
}

.st-filters select {
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 10px) 52%, calc(100% - 5px) 52%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.st-filters input:focus, .st-filters select:focus { border-bottom-color: var(--fg); }
.st-filters .st-label { display: block; margin-bottom: 4px; color: var(--fg-3); }
.st-filters__count { font-size: 14px; color: var(--fg-2); padding-bottom: 12px; white-space: nowrap; }

.st-papers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 56px var(--st-gutter);
}

.st-paper { display: flex; flex-direction: column; color: var(--fg); }
.st-paper__cover {
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  background: var(--st-paper-2);
  margin-bottom: 18px;
  box-shadow: 0 1px 0 var(--line);
}
.st-paper__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--st-ease); }
.st-paper:hover .st-paper__cover img { transform: scale(1.03); }
.st-paper .st-label { display: block; margin-bottom: 8px; color: var(--fg-3); }
.st-paper h3 { font-size: 17px; line-height: 1.35; font-weight: 500; letter-spacing: -0.01em; }
.st-paper p { font-size: 14px; color: var(--fg-2); margin-top: 8px; flex-grow: 1; }
.st-paper .st-link { margin-top: 16px; align-self: flex-start; }
.st-empty { color: var(--fg-2); }

/* ── Articles reader ── */
.st-reader {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--st-gutter);
  align-items: start;
}

.st-reader__list { grid-column: 1 / 5; position: sticky; top: 104px; border-top: 1px solid var(--line); }
.st-reader__article { grid-column: 6 / -1; }

.st-reader__item {
  appearance: none;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: center;
  width: 100%;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  text-align: left;
  font-family: var(--st-sans);
  color: var(--fg-2);
  cursor: pointer;
  transition: color 0.2s ease;
}
.st-reader__item img { width: 72px; height: 54px; object-fit: cover; border-radius: 6px; }
.st-reader__item strong { display: block; font-weight: 500; font-size: 15px; line-height: 1.35; }
.st-reader__item .st-label { display: block; margin-top: 4px; font-size: 11px; color: var(--fg-3); }
.st-reader__item:hover, .st-reader__item.is-active { color: var(--fg); }

.st-reader__hero { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--st-paper-2); margin-bottom: 36px; }
.st-reader__hero img { width: 100%; height: 100%; object-fit: cover; }
.st-reader__article .st-label { display: block; margin-bottom: 14px; color: var(--fg-3); }
.st-reader__article h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 36px; }

.st-prose { max-width: 42em; transition: opacity 0.35s ease; }
.st-prose.is-loading { opacity: 0; }
.st-prose h4 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin: 40px 0 14px; color: var(--fg); }
.st-prose h5 { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; margin: 28px 0 10px; color: var(--fg); }
.st-prose p { font-size: 17px; line-height: 1.75; color: var(--fg-2); margin: 0 0 18px; }

/* ── CTA band ── */
.st-cta {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--st-gutter);
  align-items: end;
}
.st-cta > :first-child { grid-column: 1 / 8; }
.st-cta > :last-child { grid-column: 8 / -1; justify-self: end; display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* ── Inner responsive ── */
@media (max-width: 991px) {
  .pg-hero { padding: 136px 0 72px; }
  .pg-hero--media { padding-bottom: 0; }
  .pg-hero__main, .pg-hero__aside,
  .pg-hero--split .pg-hero__main, .pg-hero--split .pg-hero__media { grid-column: 1 / -1; }
  .pg-hero__shot { margin-top: 56px; }
  .st-split > :first-child, .st-split > :last-child,
  .st-split--wide-left > :first-child, .st-split--wide-left > :last-child { grid-column: 1 / -1; }
  .st-split { row-gap: 48px; }
  .st-cols { --cols: 2 !important; }
  .st-links { grid-template-columns: 1fr; }
  .st-linkcard, .st-linkcard + .st-linkcard { padding: 24px 0; border-left: 0; }
  .st-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-figure:nth-child(odd) { padding-left: 0; border-left: 0; }
  .st-quotes { grid-template-columns: 1fr 1fr; }
  .st-filters { grid-template-columns: 1fr 1fr; }
  .st-filters > :first-child { grid-column: 1 / -1; }
  .st-papers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-reader__list, .st-reader__article { grid-column: 1 / -1; position: static; }
  .st-cta > :first-child, .st-cta > :last-child { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 640px) {
  .pg-hero { padding: 120px 0 64px; }
  .pg-hero--media { padding-bottom: 0; }
  .st-cols { --cols: 1 !important; gap: 36px; }
  .st-quotes { grid-template-columns: 1fr; }
  .st-figures { grid-template-columns: 1fr 1fr; }
  .st-papers { grid-template-columns: 1fr 1fr; gap: 40px 16px; }
  .st-filters { grid-template-columns: 1fr; }
  .st-reader__item { grid-template-columns: 56px 1fr; }
  .st-reader__item img { width: 56px; height: 42px; }
}

/* contact form honeypot: hidden from people, visible to bots */
.st-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
