/* ==========================================================================
   HTS Consulting Group
   Register: Apple — clean, serious, smooth.
   Neutral type doing the work through weight and size; generous rounding;
   translucent chrome; centred compositions; motion that eases in rather
   than snaps. Brand teal is the single accent, reserved for actions and
   eyebrows. Nothing shouts.
   ========================================================================== */

:root {
  /* Neutrals — Apple's near-black and its two greys. */
  --ink:       #1d1d1f;
  --ink-2:     #424245;
  --grey:      #6e6e73;
  --grey-2:    #86868b;
  --paper:     #ffffff;
  --mist:      #f5f5f7;   /* the alternating section surface */
  --hair:      #d2d2d7;
  --hair-2:    #e8e8ed;

  /* Brand — teal is the accent. Actions, eyebrows, active states. */
  --teal:      #245f6d;
  --teal-deep: #1a4b56;
  --teal-lite: #4ab2be;
  --teal-wash: #eef4f5;

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Rounding — generous, Apple-scale. */
  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --r-pill: 980px;

  --shadow: 0 4px 24px rgba(0, 0, 0, .06);
  --shadow-h: 0 12px 40px rgba(0, 0, 0, .10);

  --ease: cubic-bezier(.24, .8, .32, 1);

  --gut: clamp(20px, 4vw, 48px);
  --max: 1120px;          /* Apple keeps a tight measure even on wide screens */
  --max-wide: 1440px;
  --sec: clamp(72px, 9vw, 132px);
}

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

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

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

/* ------------------------------------------------------- smooth reveal
   Everything enters the same way: a short rise and fade, eased out. */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ------------------------------------------------------- shared primitives */

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.wrap--wide { max-width: var(--max-wide); }

.eyebrow, .kicker, .tag {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.008em;
  text-transform: none;
  color: var(--teal);
  margin: 0;
}
.tag__n { display: none; }        /* numbering belonged to the archive register */

/* Type scale — weight and size carry hierarchy, never colour or caps. */
.hero-a__h1 {
  margin: 10px 0 0;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.026em;
  text-wrap: balance;
}
.sec-title {
  margin: 8px 0 0;
  font-size: clamp(1.85rem, 3.6vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.022em;
  text-wrap: balance;
}
.display, .display--sm {
  margin: 0;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.022em;
  text-wrap: balance;
}
h3 {
  margin: 0 0 .4rem;
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.014em;
}
p { margin: 0 0 1.05em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.hero-a__sub, .sec-sub, .lead {
  font-size: clamp(1.06rem, 1.5vw, 1.3rem);
  line-height: 1.5;
  letter-spacing: -.012em;
  color: var(--grey);
  text-wrap: pretty;
}
.hero-a__sub { margin: 18px auto 0; max-width: 58ch; }
.sec-sub { margin: 14px 0 0; max-width: 62ch; }
.muted { color: var(--grey); }
.measure { max-width: 66ch; }

hr.rule, hr.rule-soft { border: 0; border-top: 1px solid var(--hair-2); margin: 0; }

.section { padding-block: var(--sec); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.section--sand { background: var(--mist); }

.sec-head { max-width: 68ch; }
.sec-head--c { max-width: 62ch; margin-inline: auto; text-align: center; }
.sec-head--c .sec-sub { margin-inline: auto; }

/* ------------------------------------------------- links, chevrons, buttons */

.linkrow {
  display: flex; flex-wrap: wrap; gap: 14px 28px;
  align-items: center; justify-content: center;
  margin: 26px 0 0;
}
.chev {
  display: inline-flex; align-items: center; gap: .35em;
  font-size: 1.05rem; font-weight: 400; letter-spacing: -.012em;
  color: var(--teal); text-decoration: none;
  transition: opacity .2s var(--ease);
}
.chev::after { content: '\203A'; font-size: 1.15em; line-height: 1;
               transform: translateY(-.05em); transition: transform .22s var(--ease); }
.chev:hover { text-decoration: underline; text-underline-offset: 4px; }
.chev:hover::after { transform: translate(3px, -.05em); }
.chev--sm { font-size: .95rem; }
.chev--solid {
  background: var(--teal); color: #fff;
  padding: 12px 22px; border-radius: var(--r-pill);
  font-weight: 500; text-decoration: none;
  transition: background-color .22s var(--ease), transform .22s var(--ease);
}
.chev--solid:hover { background: var(--teal-deep); text-decoration: none; }
.chev--solid:active { transform: scale(.97); }

.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--sans); font-size: 1rem; font-weight: 500;
  letter-spacing: -.012em; text-transform: none; text-decoration: none;
  padding: 12px 22px;
  border: 1px solid var(--teal); border-radius: var(--r-pill);
  background: transparent; color: var(--teal); cursor: pointer;
  transition: background-color .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), transform .22s var(--ease);
}
.btn:hover { background: var(--teal-wash); }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn--primary:hover { background: var(--teal-deep); border-color: var(--teal-deep); }
.btn--onteal { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--onteal:hover { background: #fff; color: var(--teal); border-color: #fff; }
.btn .arw { transition: transform .22s var(--ease); }
.btn:hover .arw { transform: translateX(3px); }

:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid var(--teal-lite); outline-offset: 3px; border-radius: 4px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px;
  border-radius: var(--r-sm); text-decoration: none; font-size: 15px;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------------------------------------------------------------- header
   Translucent, blurred, hairline-thin — the Apple chrome. */

.hdr {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hair-2);
}
.hdr__in {
  display: flex; align-items: center; gap: clamp(14px, 2.5vw, 32px);
  min-height: 62px;
  max-width: var(--max-wide); margin-inline: auto; padding-inline: var(--gut);
}
.hdr__logo { flex: 0 0 auto; text-decoration: none; display: block; }
.hdr__logo img { width: clamp(132px, 14vw, 176px); }
.hdr__nav { margin-left: auto; display: flex; align-items: center; gap: clamp(12px, 1.8vw, 26px); }
.hdr__nav a {
  font-size: 14px; font-weight: 400; letter-spacing: -.008em;
  text-decoration: none; color: var(--ink); padding: 6px 2px;
  opacity: .82; transition: opacity .2s var(--ease), color .2s var(--ease);
}
.hdr__nav a:hover { opacity: 1; color: var(--teal); }
.hdr__nav a[aria-current="page"] { opacity: 1; font-weight: 500; }
.hdr__lang {
  font-size: 13px; font-weight: 500; letter-spacing: 0; text-decoration: none;
  color: var(--ink); border: 1px solid var(--hair);
  border-radius: var(--r-pill); padding: 6px 12px; line-height: 1; flex: 0 0 auto;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.hdr__lang:hover { border-color: var(--teal); color: var(--teal); }
/* Outrank the generic `.hdr__nav a` colour rule. */
.hdr__nav a.chev--solid {
  padding: 9px 18px; font-size: .95rem; color: #fff; opacity: 1;
}
.hdr__nav a.chev--solid:hover { color: #fff; }
.hdr__burger {
  display: none; margin-left: auto; background: none;
  border: 1px solid var(--hair); border-radius: var(--r-pill);
  font-size: 14px; padding: 8px 16px; cursor: pointer; color: var(--ink);
}
@media (max-width: 1040px) {
  .hdr__burger { display: block; }
  .hdr__nav {
    position: fixed; inset: 62px 0 auto 0;
    background: rgba(255,255,255,.94);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--hair-2);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 6px var(--gut) 26px; margin: 0;
    max-height: calc(100dvh - 62px); overflow-y: auto;
  }
  .hdr__nav[hidden] { display: none; }
  .hdr__nav a { padding: 15px 0; border-bottom: 1px solid var(--hair-2); font-size: 17px; }
  .hdr__nav .chev--solid { margin-top: 18px; justify-content: center; border-bottom: 0; }
  .hdr__nav .hdr__lang { margin-top: 12px; text-align: center; border-bottom: 1px solid var(--hair); }
}

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

.hero-a {
  text-align: center;
  padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 68px);
}
.hero-a .wrap { max-width: var(--max-wide); }

/* The big product shot: rounded, softly lifted, quietly scaling in. */
.shot {
  margin: clamp(40px, 5.5vw, 76px) auto 0;
  max-width: 1100px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* Inner-page heroes: same centred grammar, smaller. */
.hero { padding: clamp(40px, 5vw, 72px) 0 clamp(24px, 3vw, 40px); }
.hero__grid { display: block; text-align: center; max-width: 72ch; margin-inline: auto; }
.hero__grid .kicker, .hero__grid .eyebrow { margin-bottom: 8px; }
.hero__claim { margin-top: 0; }
.hero__side { margin-top: 18px; }
.hero__side .lead { margin-inline: auto; max-width: 58ch; }

/* ------------------------------------------------------------ fact strip */

.strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--hair-2);
  border: 1px solid var(--hair-2);
  border-radius: var(--r-md);
  overflow: hidden;
}
.strip > div { background: var(--paper); padding: 22px clamp(16px, 2vw, 26px) 24px; }
.strip dt {
  font-size: 13px; font-weight: 500; color: var(--grey-2);
  margin-bottom: 6px; letter-spacing: -.004em;
}
.strip dd {
  margin: 0; font-size: 1.05rem; font-weight: 500;
  line-height: 1.3; letter-spacing: -.014em;
}

/* ------------------------------------------------------------ image frames */

.frame {
  border: 0; border-radius: var(--r-md);
  background: var(--mist); overflow: hidden;
  box-shadow: var(--shadow);
}
.frame img { width: 100%; object-fit: cover; }
.frame figcaption {
  font-size: 14px; color: var(--grey);
  padding: 14px 18px; background: var(--paper);
}
.ratio-wide img { aspect-ratio: 16 / 8; }
.ratio-3-2 img  { aspect-ratio: 3 / 2; }
.ratio-4-5 img  { aspect-ratio: 4 / 5; }

/* --------------------------------------------------------- division cards */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.card {
  display: flex; flex-direction: column;
  background: var(--mist);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-h); }
.card__media {
  display: block; position: relative;
  aspect-ratio: 16 / 10; overflow: hidden; background: var(--teal-wash);
}
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease);
}
.card:hover .card__media img { transform: scale(1.045); }
.card__glyph {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 4.4rem; font-weight: 600; letter-spacing: -.04em;
  color: var(--teal); opacity: .22;
}
.card__body {
  display: flex; flex-direction: column; flex: 1;
  padding: 24px clamp(20px, 2.2vw, 28px) 28px;
}
.card__num {
  display: block; font-size: 13px; font-weight: 500;
  color: var(--grey-2); margin-bottom: 6px;
}
.card__name {
  display: block; font-size: 1.35rem; font-weight: 600;
  letter-spacing: -.018em; line-height: 1.2;
}
.card__claim {
  display: block; margin-top: 8px; color: var(--grey);
  font-size: .98rem; line-height: 1.45;
}
.card .chev--sm { margin-top: auto; padding-top: 18px; }

/* ---------------------------------------------- approach: three columns */

.cols3 {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.cols3 > div {
  background: var(--mist); border-radius: var(--r-lg);
  padding: clamp(24px, 2.6vw, 34px);
}
@media (max-width: 880px) { .cols3 { grid-template-columns: 1fr; } }
.num { font-size: 13px; font-weight: 500; color: var(--teal); margin-bottom: 12px; }

/* ------------------------------------------------- teal block + matrix */

.teal {
  background: var(--teal); color: #fff; padding-block: var(--sec);
}
.teal a { color: #fff; }
.teal .eyebrow, .teal .kicker { color: var(--teal-lite); }
.teal .sec-title, .teal h3 { color: #fff; }
.teal .sec-sub, .teal .lead, .teal .muted { color: rgba(255,255,255,.76); }

.matrix__tabs {
  display: inline-flex; flex-wrap: wrap; gap: 4px;
  background: rgba(255,255,255,.12);
  border-radius: var(--r-pill); padding: 4px;
}
.matrix__tab {
  border: 0; background: transparent; cursor: pointer;
  font-family: var(--sans); font-size: .95rem; font-weight: 500;
  letter-spacing: -.01em; color: rgba(255,255,255,.8);
  padding: 10px 20px; border-radius: var(--r-pill);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.matrix__tab:hover { color: #fff; }
.matrix__tab[aria-selected="true"] { background: #fff; color: var(--teal); }

.matrix__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(12px, 1.4vw, 16px);
  margin-top: clamp(24px, 3vw, 36px);
}
.matrix__cell {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-md);
  padding: 22px 20px 24px;
  opacity: .34;
  transition: opacity .45s var(--ease), background-color .45s var(--ease),
              transform .45s var(--ease);
}
.matrix__cell.is-on {
  opacity: 1; background: rgba(255,255,255,.16); transform: translateY(-3px);
}
.matrix__cell .num { color: var(--teal-lite); }
.matrix__cell h3 { font-size: 1.05rem; font-weight: 600; }
.matrix__role { font-size: .9rem; color: rgba(255,255,255,.72); line-height: 1.45; }

/* ----------------------------------------------------------- market list */

.mkt { display: grid; gap: clamp(12px, 1.6vw, 18px); }
.mkt__row {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(14px, 2.4vw, 40px);
  background: var(--mist); border-radius: var(--r-lg);
  padding: clamp(24px, 2.6vw, 34px);
}
.mkt__code {
  font-size: 13px; font-weight: 500; color: var(--teal);
  margin-bottom: 8px; letter-spacing: 0;
}
.mkt__name {
  margin: 0 0 4px; font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 600; letter-spacing: -.02em; line-height: 1.15;
}
.mkt__sub { font-size: .95rem; color: var(--grey-2); }
.mkt__row > div:last-child { color: var(--ink-2); }
@media (max-width: 800px) { .mkt__row { grid-template-columns: 1fr; gap: 12px; } }

/* -------------------------------------------------------------- people */

.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 880px) { .people { grid-template-columns: 1fr; } }
.people article {
  background: var(--mist); border-radius: var(--r-lg);
  padding: clamp(22px, 2.4vw, 32px);
}
.people .frame { max-width: 100%; box-shadow: none; }
.person__head { margin: 22px 0 14px; }
.person__name {
  margin: 0; font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 600; letter-spacing: -.02em;
}
.person__head .kicker, .person__head .eyebrow { margin-top: 4px; color: var(--grey); font-weight: 400; }
.creds { list-style: none; margin: 22px 0 0; padding: 0; }
.creds li {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 14px; padding: 12px 0; border-top: 1px solid var(--hair-2); font-size: .95rem;
}
.creds .k { color: var(--grey-2); font-size: .95rem; font-weight: 400; }
.seal { width: 76px; opacity: .9; }

/* ------------------------------------------------------------ list grids */

.tags { list-style: none; margin: 0; padding: 0;
        display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 0 24px; }
.tags li { padding: 13px 0; border-top: 1px solid var(--hair-2); font-size: .98rem; }

.svc { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.svc li {
  display: grid; grid-template-columns: 40px 1fr; gap: 12px;
  padding: 15px 0; border-top: 1px solid var(--hair-2);
}
.svc li::before {
  content: counter(s, decimal-leading-zero); counter-increment: s;
  font-size: 13px; font-weight: 500; color: var(--teal); padding-top: .3em;
}

.refs { display: grid; }
.refs__row {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(12px, 2.4vw, 36px);
  padding: 20px 0; border-top: 1px solid var(--hair-2);
}
.refs__name { font-size: 1.08rem; font-weight: 600; letter-spacing: -.016em; }
.refs__what { color: var(--grey); font-size: .98rem; }
@media (max-width: 720px) { .refs__row { grid-template-columns: 1fr; gap: 4px; } }

/* --------------------------------------------------------------- faq */

.faq { max-width: 76ch; margin-inline: auto; }
.faq details { border-top: 1px solid var(--hair-2); }
.faq details:last-child { border-bottom: 1px solid var(--hair-2); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-size: 1.12rem; font-weight: 500; letter-spacing: -.014em;
  transition: color .2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-size: 1.5rem; font-weight: 300; color: var(--teal);
  flex: 0 0 auto; line-height: 1; transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--teal); }
.faq__a { padding: 0 0 24px; max-width: 70ch; color: var(--grey); }

/* ------------------------------------------------- code-native primitive */

.blueprint {
  border-radius: var(--r-lg); background: var(--teal-wash);
  aspect-ratio: 16 / 8; position: relative; overflow: hidden;
  box-shadow: var(--shadow);
}
.blueprint svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.blueprint__lbl {
  position: absolute; left: 22px; bottom: 18px;
  font-size: 14px; color: var(--grey);
}

/* ------------------------------------------------------------ cta + footer */

.cta-band { background: var(--mist); padding-block: clamp(72px, 9vw, 128px); }
.cta-band__in { text-align: center; max-width: 68ch; }
.cta-band__h {
  margin: 0; font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 600; line-height: 1.1; letter-spacing: -.024em;
  text-wrap: balance;
}
.cta-band__in .sec-sub { margin-inline: auto; }
.cta-band__tel { margin-top: 16px; color: var(--grey); font-size: .98rem; }
.cta-band__tel a { text-decoration: none; }
.cta-band__tel a:hover { color: var(--teal); }

/* Apple's footer: quiet, small, grey. */
.ftr {
  background: var(--mist); color: var(--grey);
  padding-block: clamp(44px, 5vw, 64px) 30px;
  font-size: 14px;
  border-top: 1px solid var(--hair-2);
}
.ftr a { color: var(--grey); text-decoration: none; }
.ftr a:hover { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.ftr__grid {
  display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.4fr));
  gap: clamp(20px, 3vw, 44px); padding-bottom: 40px;
}
@media (max-width: 900px) { .ftr__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ftr__grid { grid-template-columns: 1fr; } }
.ftr h2, .ftr h3 {
  font-size: 13px; font-weight: 600; color: var(--ink);
  margin: 0 0 12px; letter-spacing: -.004em; text-transform: none;
}
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr li { padding: 4px 0; }
.ftr__logo { width: 158px; opacity: .75; margin-bottom: 14px; }
.ftr__base {
  border-top: 1px solid var(--hair); padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between;
  font-size: 13px; color: var(--grey-2);
}

/* --------------------------------------------------------- breadcrumb */

.crumb { font-size: 13px; color: var(--grey-2); padding-top: 18px; }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--teal); }
.crumb span { margin: 0 7px; opacity: .6; }

/* ------------------------------------------------------------ contact */

.contact-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 56px);
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid > div:last-child {
  background: var(--mist); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px);
}
.field { display: block; margin-bottom: 18px; }
.field > span {
  display: block; font-size: 14px; font-weight: 500;
  color: var(--ink-2); margin-bottom: 7px; letter-spacing: -.006em;
}
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--sans); font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--hair);
  border-radius: var(--r-sm); padding: 13px 15px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-wash); outline: none;
}
.field textarea { min-height: 150px; resize: vertical; }

.legal { max-width: 72ch; }
.legal h2 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.016em; margin: 38px 0 10px; }
.legal h2:first-of-type { margin-top: 24px; }
.legal p, .legal li { font-size: .98rem; color: var(--ink-2); }

/* Retired with the archive register. */
.peek, .counter, .index__arw { display: none; }

/* Matrix: centred segmented control, balanced 3-up grid. */
.matrix { text-align: center; }
.matrix__hint { margin: 0 0 18px; font-size: .95rem; color: rgba(255,255,255,.7); }
.matrix__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: left; }
@media (max-width: 900px) { .matrix__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .matrix__grid { grid-template-columns: 1fr; } }

/* Inner-page hero: the claim leads in ink, the intro follows in grey. */
.hero__grid > div:first-child .lead {
  color: var(--ink); font-weight: 500; margin-inline: auto;
}
.hero__side { margin-top: 22px; }

/* ==========================================================================
   Motion
   ========================================================================== */

/* Momentum scroll owns the scrolling, so hand the CSS smoothing back. */
html.has-momentum { scroll-behavior: auto; }

/* Skewed content shears inside its section; the section background stays
   put, so no gaps ever open at the seams. */
main section > .wrap, .cta-band > .wrap {
  transform-origin: center top;
  backface-visibility: hidden;
}

/* -------------------------------------------------- masked word reveal */

[data-split] { }
.sw {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  /* Headroom so descenders and umlauts are never clipped by the mask. */
  padding-bottom: .14em;
  margin-bottom: -.14em;
}
.sw__i {
  display: inline-block;
  transform: translateY(112%);
  transition: transform .95s cubic-bezier(.16, .84, .28, 1);
  will-change: transform;
}
.is-split.is-in .sw__i { transform: translateY(0); }

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

.shot {
  transform: scale(.94);
  opacity: .55;
  will-change: transform, opacity;
}
.has-momentum .shot, .shot { transition: none; }

/* -------------------------------------------------------------- parallax */

.frame, .shot, .card__media { overflow: hidden; }
[data-parallax] { will-change: transform; }

/* --------------------------------------------------------------- marquee */

.mq-sec { padding-block: clamp(48px, 6vw, 84px); overflow: hidden; }
.mq__lbl {
  text-align: center; margin-bottom: clamp(20px, 2.4vw, 30px);
  color: var(--grey-2); font-weight: 500;
}
.mq {
  display: flex; width: max-content;
  animation: mq 68s linear infinite;
}
.mq.is-held { animation-play-state: paused; }
.mq__row { display: flex; flex: 0 0 auto; }
.mq__i {
  display: inline-flex; align-items: center;
  padding: 0 clamp(20px, 2.4vw, 34px);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 500; letter-spacing: -.018em;
  color: var(--ink); white-space: nowrap;
}
.mq__i::after {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--teal-lite); margin-left: clamp(20px, 2.4vw, 34px);
}
@keyframes mq { to { transform: translateX(-50%); } }

/* --------------------------------------------------- magnetic + nav sweep */

.chev--solid { will-change: transform; }
.hdr__nav a:not(.chev--solid):not(.hdr__lang) { position: relative; }
.hdr__nav a:not(.chev--solid):not(.hdr__lang)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.hdr__nav a:not(.chev--solid):not(.hdr__lang):hover::after {
  transform: scaleX(1); transform-origin: left;
}

/* Cards ease a touch more slowly now that everything else does. */
.card { transition: transform .55s var(--ease), box-shadow .55s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .mq { animation: none; }
  .sw__i { transform: none; transition: none; }
  .shot { transform: none; opacity: 1; }
  main section > .wrap, .cta-band > .wrap { transform: none !important; }
  [data-parallax] { transform: none !important; }
}

/* Segmented control stacks on narrow screens; the pill radius only works
   as a single row. */
@media (max-width: 620px) {
  .matrix__tabs {
    display: grid; grid-template-columns: 1fr; width: 100%;
    border-radius: var(--r-md); gap: 4px;
  }
  .matrix__tab { border-radius: var(--r-sm); text-align: center; }
}
