/* W1: the public site's one stylesheet (docs/SITE-SPEC.md, W-D3).
   Sizes are the approved design's: 1440px desktop and 390px phone, fluid between.
   Breakpoints: 1099px (the desktop nav, the hero and the clima row stack below it) and 759px
   (the phone layout). The CSP forbids inline styles, so every style lives here. */

/* --- Fonts, self-hosted (W-D7 drops the Google entries) ----------------------------------------- */

@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/chakra-petch-500-latin-ext.woff2?v=e8913l9HxdKD') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/chakra-petch-500-latin.woff2?v=_W-HpVDXqYHK') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/chakra-petch-600-latin-ext.woff2?v=jrbeDe4oRa7f') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/chakra-petch-600-latin.woff2?v=zS32g33z2I00') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/chakra-petch-700-latin-ext.woff2?v=nMYHjR1JdC-M') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/chakra-petch-700-latin.woff2?v=0J9sKDFYpcNK') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Instrument Sans is variable: one file per subset covers 400 to 600. */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/instrument-sans-latin-ext.woff2?v=aeIeJdIrbw3P') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/instrument-sans-latin.woff2?v=rb39mnhpmpap') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Cormorant Garamond italic, variable 500 to 600: the one accent word per heading. Latin only. */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500 600;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-italic-latin.woff2?v=Uuo4p9jWthXj') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Tokens: one definition each -------------------------------------------------------------- */

/* W2.2: registered, so the gutter computes to a length (px) wherever it is read. */
@property --grid-gutter {
  syntax: '<length>';
  inherits: true;
  initial-value: 48px;
}

:root {
  --ink-black: #110D0D;
  --panel: #171112;
  --graphite: #2E2426;
  --line: #3D3134;
  --slate: #A89A9C;
  --silver: #EDE4E3;
  --muted: #5B616B;
  --body: #3A3F47;
  --hair: #D8DBE0;
  --fog: #F3F4F6;
  --rose: #E7B8B2;
  --rose-mid: #C98A86;
  --rose-deep: #9B4F5A;
  --rose-dark: #8E4652;
  --blush: #F4DEDB;
  --blush-light: #FAF0EE;
  /* The design's other neutrals. W2.4 (W-D43): the dark ones are warmed toward the rose (hue about 25
     degrees), which reads as luxury rather than cyber; the light ones stay the brand's. */
  --white: #FFFFFF;
  --text: #23262B;
  --soft: #CFC3C3;
  --edge: #241C1E;
  --gridline-dark: #1C1516;
  --gridline-light: #F2F3F5;
  --rule: #E7E9EC;
  /* W2.2 (W-D33): the heat map's five steps, OKLab lightness evenly spaced from --blush-light to
     --rose-dark (ΔL 0.118); the three between are derived, each with its own text color. */
  --heat-2: #E1C4C1;
  --heat-3: #C69997;
  --heat-4: #AB6F73;
  /* W2.4 (W-D43): the neutral answer in the hero's stream of voices. */
  --dot-neutral: #5A4B4E;

  --display: 'Chakra Petch', system-ui, sans-serif;
  --sans: 'Instrument Sans', system-ui, sans-serif;
  --serif: 'Cormorant Garamond', Georgia, serif;

  --gutter: clamp(24px, 8.3334vw, 120px);
  /* W2.2 (W-D32): one 12-column grid for every multi-column row, with one gutter: 48px at 1440. */
  --grid-gutter: clamp(24px, 3.3334vw, 48px);
  /* W2.2: the padding between a card's frame and what it holds. */
  --card-pad: 32px;
  --sec-pad: clamp(72px, 4.5714vw + 54.17px, 120px);
  /* W2.4: the hero headline, 74px at 1440 and 42px on phones. */
  --h1: clamp(42px, 3.2vw + 28px, 74px);
  --h2: clamp(32px, 1.3333vw + 26.8px, 46px);
  --cham: 14px;
  --cham-s: 10px;
  --nav-h: 88px;
}

/* --- Base --------------------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--rose-deep);
  outline-offset: 2px;
}

/* On dark surfaces the ring is the light rose, so it stays visible. */
.site-header :focus-visible,
.hero :focus-visible,
.svc-panel :focus-visible,
.process :focus-visible,
.sent :focus-visible,
.site-footer :focus-visible,
.result :focus-visible {
  outline-color: var(--rose);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* W2.2: the skip link is .sr-only until it has focus; then it shows at the top left. */
.skip:focus {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 100;
  width: auto;
  height: auto;
  margin: 0;
  padding: 12px 18px;
  overflow: visible;
  clip: auto;
  background: var(--rose);
  color: var(--ink-black);
  font-weight: 600;
}

.wrap {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.only-phone {
  display: none;
}

.accent {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.14em;
  letter-spacing: 0;
  color: var(--rose-deep);
}

.hero .accent,
.sec-title-dark .accent,
.sent .accent,
.result .accent {
  color: var(--rose);
}

/* Chamfered panels: a 1px frame colour showing around a clipped inner panel. */
.frame,
.frame-in {
  clip-path: polygon(var(--cham) 0, 100% 0, 100% calc(100% - var(--cham)), calc(100% - var(--cham)) 100%, 0 100%, 0 var(--cham));
}

.frame {
  padding: 1px;
}

.frame-dark {
  background: var(--graphite);
}

.frame-light,
.frame-hair {
  background: var(--hair);
}

.frame-rose {
  background: var(--rose);
}

/* --- Buttons ------------------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  min-height: 44px;
  transition: background 0.25s, transform 0.25s, border-color 0.25s, color 0.25s;
}

.btn-rose,
.btn-ink {
  clip-path: polygon(var(--cham-s) 0, 100% 0, 100% calc(100% - var(--cham-s)), calc(100% - var(--cham-s)) 100%, 0 100%, 0 var(--cham-s));
}

/* The chamfer clips anything outside the box, so the ring sits inside it. */
.btn-rose:focus-visible,
.btn-ink:focus-visible {
  outline-offset: -5px;
}

.btn-rose {
  background: var(--rose);
  color: var(--ink-black);
}

.btn-rose:focus-visible {
  outline-color: var(--ink-black);
}

.btn-rose:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.btn-ink {
  background: var(--ink-black);
  color: var(--white);
  font-size: 16px;
  padding: 16px 32px;
}

.btn-ink:focus-visible {
  outline-color: var(--rose);
}

.btn-ink:hover {
  background: var(--graphite);
}

.btn-ink:disabled {
  cursor: progress;
  opacity: 0.8;
}

.btn-ghost {
  background: transparent;
  color: var(--silver);
  border: 1px solid var(--line);
  font-weight: 500;
}

.btn-ghost:hover {
  border-color: var(--rose);
  color: var(--rose);
}

.btn-lg {
  font-size: 16px;
  padding: 17px 28px;
}

.btn-ghost.btn-lg {
  padding: 16px 24px;
}

/* --- Eyebrows and section titles ------------------------------------------------------------------ */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--muted);
}

.eyebrow-line {
  flex: none;
  width: 32px;
  height: 1px;
  background: var(--rose-deep);
}

.eyebrow-dark {
  color: var(--slate);
}

.eyebrow-dark .eyebrow-line {
  background: var(--rose);
}

.sec {
  padding-block: var(--sec-pad);
}

.sec-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: var(--h2);
  line-height: 1.08;
  color: var(--ink-black);
}

.sec-title-dark {
  color: var(--white);
}

.sec-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--body);
}

.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 64px;
}

.sec-head-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 720px;
}

.sec-aside {
  max-width: 400px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
}

.sec-grid-light {
  background-color: var(--white);
  background-image: linear-gradient(to right, var(--gridline-light) 0 1px, transparent 1px),
    linear-gradient(to bottom, var(--gridline-light) 0 1px, transparent 1px);
  background-size: 96px 96px;
  background-position: center top;
}

.sec-grid-dark {
  background-color: var(--ink-black);
  background-image: linear-gradient(to right, var(--gridline-dark) 0 1px, transparent 1px),
    linear-gradient(to bottom, var(--gridline-dark) 0 1px, transparent 1px);
  background-size: 96px 96px;
  background-position: center top;
  color: var(--silver);
}

.sec-fog {
  background: var(--fog);
}

/* --- Header and nav --------------------------------------------------------------------------------- */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  border-bottom: 1px solid var(--edge);
}

.nav {
  position: relative;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  min-height: 44px;
}

.nav-logo img {
  height: 30px;
  width: auto;
}

.nav-links {
  flex-grow: 1;
  display: flex;
  gap: 32px;
  font-size: 15px;
  color: var(--soft);
}

.navlink {
  transition: color 0.2s;
}

.navlink:hover {
  color: var(--rose);
}

.nav-links .navlink,
.footer-links .navlink {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* W2.4: a nav item never wraps; between 1100 and 1280px the row tightens so all of it fits. */
.nav-links .navlink,
.nav-cta {
  white-space: nowrap;
}

@media (min-width: 1100px) and (max-width: 1279.98px) {
  .nav {
    gap: 28px;
  }

  .nav-links {
    gap: 22px;
    font-size: 14px;
  }
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.12em;
}

.lang-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 4px;
  color: var(--slate);
  transition: color 0.2s;
}

.lang-link:hover {
  color: var(--rose);
}

.lang-link[aria-current='page'] {
  color: var(--rose);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

/* The separator is decoration drawn by CSS, in the design's muted gray. */
.lang-sep {
  font-size: 0;
}

.lang-sep::before {
  content: '/';
  font-size: 14px;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--silver);
  cursor: pointer;
}

/* --- Hero ------------------------------------------------------------------------------------------ */

/* W2.4 (W-D42): the hook, the voices panel and Silvia's line. No circuits and no sparks: the one
   motion is the answers themselves, flowing through the anonymity gate into the group's result. */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
  background-color: var(--ink-black);
  background-image: linear-gradient(to right, var(--gridline-dark) 0 1px, transparent 1px),
    linear-gradient(to bottom, var(--gridline-dark) 0 1px, transparent 1px);
  background-size: 96px 96px;
  background-position: center top;
  color: var(--silver);
}

.hero-deco {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  left: calc(50% - 20px);
  top: 40px;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231, 184, 178, 0.13) 0%, rgba(231, 184, 178, 0.045) 38%, rgba(17, 13, 13, 0) 68%);
}

/* Six columns of copy and six of panel, on the site's grid. */
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gutter);
  align-items: center;
  min-height: calc(900px - var(--nav-h));
  padding-block: 48px;
}

.hero-copy {
  grid-column: 1 / span 6;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: var(--h1);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--white);
  text-wrap: balance;
}

.hero-title .accent {
  font-size: 1.16em;
}

.hero-lead {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 540px;
}

.hero-lead-strong {
  font-size: 23px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--white);
}

.hero-lead-body {
  font-size: 18px;
  line-height: 1.6;
  color: var(--soft);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Silvia's line: her photo, the quote in the accent serif, her name and role. */
.hero-voice {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  column-gap: 20px;
  row-gap: 8px;
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid var(--edge);
}

.hero-voice-photo {
  grid-row: 1 / span 2;
  align-self: center;
  width: 72px;
  height: 72px;
  padding: 1px;
  background: var(--rose);
  clip-path: polygon(var(--cham-s) 0, 100% 0, 100% calc(100% - var(--cham-s)), calc(100% - var(--cham-s)) 100%, 0 100%, 0 var(--cham-s));
}

.hero-voice-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(var(--cham-s) 0, 100% 0, 100% calc(100% - var(--cham-s)), calc(100% - var(--cham-s)) 100%, 0 100%, 0 var(--cham-s));
}

.hero-quote {
  align-self: end;
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 23px;
  line-height: 1.3;
  color: var(--silver);
}

.hero-voice-cap {
  align-self: start;
  display: flex;
  flex-direction: column;
  font-family: var(--display);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
}

/* The panel, with a second frame behind it for depth. */
.hero-visual {
  grid-column: 7 / span 6;
  position: relative;
  min-width: 0;
}

.hero-ghost {
  position: absolute;
  top: -24px;
  right: -24px;
  width: 100%;
  height: 100%;
  background: var(--graphite);
  opacity: 0.55;
  clip-path: polygon(var(--cham) 0, 100% 0, 100% calc(100% - var(--cham)), calc(100% - var(--cham)) 100%, 0 100%, 0 var(--cham));
}

.hero-ghost::after {
  content: '';
  position: absolute;
  inset: 1px;
  background: var(--ink-black);
  clip-path: polygon(var(--cham) 0, 100% 0, 100% calc(100% - var(--cham)), calc(100% - var(--cham)) 100%, 0 100%, 0 var(--cham));
}

.hero-panel {
  position: relative;
  width: 100%;
}

/* The voices panel's geometry: one label line, a 6 px gap and the bar make a row; a lane of
   voices is exactly that tall, so each lane runs into its own bar. */
.hero-card {
  --vx-label: 18px;
  --vx-bar: 10px;
  --vx-row-gap: 18px;
  --vx-voices: 30%;
  --vx-gate: 56px;
  --vx-dot: 8px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px 28px 26px;
  background: var(--panel);
}

.vx-head,
.vx-body {
  display: grid;
  grid-template-columns: var(--vx-voices) var(--vx-gate) minmax(0, 1fr);
}

.vx-head {
  align-items: end;
  container: vxhead / inline-size;
}

.vx-label {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--slate);
  white-space: nowrap;
}

.vx-gate-head {
  display: flex;
  justify-content: center;
  color: var(--rose);
}

.vx-result-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  min-width: 0;
}

/* A narrow panel (1100 to 1279px, phones): the sample tag sits above the result's label. */
@container vxhead (max-width: 469.98px) {
  .vx-result-head {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 6px;
  }

  .vx-result-head .tag-illustrative {
    font-size: 9px;
    text-align: left;
  }
}

.vx-voices {
  display: flex;
  flex-direction: column;
  gap: var(--vx-row-gap);
}

.vx-lane {
  position: relative;
  height: calc(var(--vx-label) + 6px + var(--vx-bar));
  container-type: inline-size;
}

.vx-lane::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--vx-bar) / 2 - 0.5px);
  height: 1px;
  background: repeating-linear-gradient(to right, var(--line) 0 3px, transparent 3px 7px);
}

.vx-dot {
  position: absolute;
  left: 0;
  bottom: calc(var(--vx-bar) / 2 - var(--vx-dot) / 2);
  width: var(--vx-dot);
  height: var(--vx-dot);
  border-radius: 50%;
  opacity: 0;
  animation: vx-flow var(--vx-dur, 5.8s) linear infinite;
}

.vx-up {
  margin-bottom: 3px;
}

.vx-down {
  margin-bottom: -3px;
}

.vx-fav {
  background: var(--rose);
}

.vx-neu {
  background: var(--dot-neutral);
}

.vx-unf {
  box-shadow: inset 0 0 0 1.5px var(--slate);
}

/* Each voice travels its lane (100cqw) and fades to a point at the gate's centre line. */
@keyframes vx-flow {
  0% {
    transform: translateX(0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  76% {
    transform: translateX(82cqw) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateX(calc(100cqw + var(--vx-gate) / 2 - var(--vx-dot) / 2)) scale(0.15);
    opacity: 0;
  }
}

/* The gate: a lit line, a tick at each row's bar, and a light that runs down it. */
.vx-gate {
  position: relative;
  overflow: hidden;
}

.vx-gate::before {
  content: '';
  position: absolute;
  left: calc(50% - 0.5px);
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--rose);
  box-shadow: 0 0 14px 2px rgba(231, 184, 178, 0.45);
  animation: vx-glow 3.2s ease-in-out infinite;
}

.vx-gate::after {
  --vx-tick: calc(var(--vx-label) + 6px + var(--vx-bar) / 2);
  --vx-period: calc(var(--vx-label) + 6px + var(--vx-bar) + var(--vx-row-gap));
  content: '';
  position: absolute;
  left: calc(50% - 5px);
  top: 0;
  bottom: 0;
  width: 10px;
  background: repeating-linear-gradient(to bottom, transparent 0 calc(var(--vx-tick) - 0.5px), var(--rose) calc(var(--vx-tick) - 0.5px) calc(var(--vx-tick) + 0.5px), transparent calc(var(--vx-tick) + 0.5px) var(--vx-period));
}

.vx-scan {
  position: absolute;
  left: calc(50% - 1.5px);
  top: -60px;
  width: 3px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--white) 50%, rgba(255, 255, 255, 0));
  box-shadow: 0 0 10px 2px rgba(231, 184, 178, 0.8);
  animation: vx-scan 3.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes vx-glow {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

@keyframes vx-scan {
  0% {
    top: -60px;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

/* The group's result: the dimensions slide's rows, full names, or short ones in a narrow panel. */
.hero-dims {
  container-type: inline-size;
  min-width: 0;
}

.dl-short {
  display: none;
}

@container (max-width: 259.98px) {
  .dl-full {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .dl-short {
    display: inline;
  }
}

.vx-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--graphite);
}

.vx-stats > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 6px;
  padding: 0 20px;
  border-left: 1px solid var(--graphite);
}

.vx-stats > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.vx-stats dt {
  font-size: 12px;
  line-height: 1.35;
  color: var(--slate);
}

.vx-stats dd {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 30px;
  line-height: 1;
  color: var(--white);
}

.vx-stat-zero dd {
  color: var(--rose);
}

/* W2.4: each lane has its own pace, and its nine voices are spread evenly along it, a little off
   the beat, so the stream never looks mechanical. Written by the W2.4 hero script. */
.vx-lane-1 { --vx-dur: 5.83s; }
.vx-lane-1 .vx-dot:nth-child(1) { animation-delay: -0.29s; }
.vx-lane-1 .vx-dot:nth-child(2) { animation-delay: -1.13s; }
.vx-lane-1 .vx-dot:nth-child(3) { animation-delay: -1.54s; }
.vx-lane-1 .vx-dot:nth-child(4) { animation-delay: -2.21s; }
.vx-lane-1 .vx-dot:nth-child(5) { animation-delay: -2.90s; }
.vx-lane-1 .vx-dot:nth-child(6) { animation-delay: -3.33s; }
.vx-lane-1 .vx-dot:nth-child(7) { animation-delay: -4.15s; }
.vx-lane-1 .vx-dot:nth-child(8) { animation-delay: -4.86s; }
.vx-lane-1 .vx-dot:nth-child(9) { animation-delay: -5.59s; }
.vx-lane-2 { --vx-dur: 5.33s; }
.vx-lane-2 .vx-dot:nth-child(1) { animation-delay: -0.14s; }
.vx-lane-2 .vx-dot:nth-child(2) { animation-delay: -0.64s; }
.vx-lane-2 .vx-dot:nth-child(3) { animation-delay: -1.57s; }
.vx-lane-2 .vx-dot:nth-child(4) { animation-delay: -2.11s; }
.vx-lane-2 .vx-dot:nth-child(5) { animation-delay: -2.39s; }
.vx-lane-2 .vx-dot:nth-child(6) { animation-delay: -3.43s; }
.vx-lane-2 .vx-dot:nth-child(7) { animation-delay: -4.01s; }
.vx-lane-2 .vx-dot:nth-child(8) { animation-delay: -4.46s; }
.vx-lane-2 .vx-dot:nth-child(9) { animation-delay: -5.03s; }
.vx-lane-3 { --vx-dur: 5.42s; }
.vx-lane-3 .vx-dot:nth-child(1) { animation-delay: -0.01s; }
.vx-lane-3 .vx-dot:nth-child(2) { animation-delay: -0.86s; }
.vx-lane-3 .vx-dot:nth-child(3) { animation-delay: -1.23s; }
.vx-lane-3 .vx-dot:nth-child(4) { animation-delay: -1.90s; }
.vx-lane-3 .vx-dot:nth-child(5) { animation-delay: -2.53s; }
.vx-lane-3 .vx-dot:nth-child(6) { animation-delay: -3.03s; }
.vx-lane-3 .vx-dot:nth-child(7) { animation-delay: -3.84s; }
.vx-lane-3 .vx-dot:nth-child(8) { animation-delay: -4.43s; }
.vx-lane-3 .vx-dot:nth-child(9) { animation-delay: -5.22s; }
.vx-lane-4 { --vx-dur: 5.93s; }
.vx-lane-4 .vx-dot:nth-child(1) { animation-delay: -0.34s; }
.vx-lane-4 .vx-dot:nth-child(2) { animation-delay: -0.92s; }
.vx-lane-4 .vx-dot:nth-child(3) { animation-delay: -1.67s; }
.vx-lane-4 .vx-dot:nth-child(4) { animation-delay: -2.22s; }
.vx-lane-4 .vx-dot:nth-child(5) { animation-delay: -2.78s; }
.vx-lane-4 .vx-dot:nth-child(6) { animation-delay: -3.82s; }
.vx-lane-4 .vx-dot:nth-child(7) { animation-delay: -4.48s; }
.vx-lane-4 .vx-dot:nth-child(8) { animation-delay: -5.06s; }
.vx-lane-4 .vx-dot:nth-child(9) { animation-delay: -5.64s; }
.vx-lane-5 { --vx-dur: 5.64s; }
.vx-lane-5 .vx-dot:nth-child(1) { animation-delay: -0.12s; }
.vx-lane-5 .vx-dot:nth-child(2) { animation-delay: -0.77s; }
.vx-lane-5 .vx-dot:nth-child(3) { animation-delay: -1.29s; }
.vx-lane-5 .vx-dot:nth-child(4) { animation-delay: -2.26s; }
.vx-lane-5 .vx-dot:nth-child(5) { animation-delay: -2.71s; }
.vx-lane-5 .vx-dot:nth-child(6) { animation-delay: -3.56s; }
.vx-lane-5 .vx-dot:nth-child(7) { animation-delay: -3.95s; }
.vx-lane-5 .vx-dot:nth-child(8) { animation-delay: -4.87s; }
.vx-lane-5 .vx-dot:nth-child(9) { animation-delay: -5.44s; }

/* "Illustrative view" is in slate on the dark panel: the design's darker gray is under 4.5:1. */
.tag-illustrative {
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--slate);
  text-align: right;
  white-space: nowrap;
}

.tag-light {
  font-size: 11px;
  color: var(--muted);
}

.hero-view {
  display: flex;
  flex-direction: column;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
}

.legend li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-dark {
  color: var(--soft);
}

.swatch {
  flex: none;
  width: 14px;
  height: 10px;
}

.swatch-unf,
.seg-unf {
  background: repeating-linear-gradient(135deg, var(--slate) 0 2px, transparent 2px 4px);
}

.swatch-neu,
.seg-neu {
  background: var(--line);
}

.swatch-fav,
.seg-fav {
  background: var(--rose);
}

.dims {
  display: flex;
  flex-direction: column;
  gap: var(--vx-row-gap, 16px);
}

.dim {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dim-label {
  font-size: 13px;
  line-height: var(--vx-label, 18px);
  white-space: nowrap;
  color: var(--silver);
}

.dim-bar {
  display: flex;
  height: var(--vx-bar, 12px);
}

.seg-neu,
.seg-fav {
  margin-left: 2px;
}

.seg-fav {
  border-radius: 0 3px 3px 0;
}

/* W2: the bars draw sample.json's shares. The favorable side starts at 40% of the track and each
   point of share is 0.6% of it; the widths are pw-N classes, so new sample data only changes the HTML. */
.dim-value {
  align-self: center;
  margin-left: 8px;
  font-size: 12px;
  line-height: 1;
  color: var(--silver);
}

html:not(.js) .tabs {
  display: none;
}

/* With JavaScript, only the selected view and the open service show, from the first paint on
   (site.js also sets `hidden`; these rules keep the page still until it runs). */
.js .clima-main:has([aria-controls='inst-clima'][aria-selected='false']) #inst-clima,
.js .clima-main:has([aria-controls='inst-sup'][aria-selected='false']) #inst-sup,
.js .clima-main:has([aria-controls='inst-ger'][aria-selected='false']) #inst-ger,
.js .sample-figure:has(#sample-tab-dimensiones[aria-selected='false']) #sample-dimensiones,
.js .sample-figure:has(#sample-tab-mapa-de-calor[aria-selected='false']) #sample-mapa-de-calor,
.js .sample-figure:has(#sample-tab-ranking[aria-selected='false']) #sample-ranking,
.js .svc-item:has(.svc-btn[aria-expanded='false']) .svc-panel {
  display: none;
}

/* Motion: the bars grow in whenever a view is shown, the hero fades in once. */
.play .grow-l {
  transform-origin: right center;
  animation: grow 1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.play .grow-r {
  transform-origin: left center;
  animation: grow 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes grow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.fade {
  animation: fade 0.6s ease both;
}

.fade-late {
  animation-delay: 0.2s;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* --- Principles -------------------------------------------------------------------------------------- */

.principles {
  border-bottom: 1px solid var(--hair);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3.4vw, 48px);
  padding-block: 40px;
}

.principle {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.principle svg {
  flex: none;
  color: var(--rose-deep);
}

.principle-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.principle-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
}

.principle-body {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

/* --- Clima laboral ------------------------------------------------------------------------------------ */

.clima .wrap {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

/* W2.2: six columns each; both cards end level (the row's height), the heat map card's top at the
   headline's cap height. */
.clima-top {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gutter);
  row-gap: 40px;
}

.clima-main {
  grid-column: 1 / span 6;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.clima-main > .frame {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.itabs {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.itab {
  min-height: 44px;
  padding: 12px 20px;
  background: var(--white);
  border: 1px solid var(--hair);
  font-size: 15px;
  font-weight: 500;
  color: var(--body);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.itab:hover {
  border-color: var(--rose-deep);
  color: var(--ink-black);
}

.itab[aria-selected='true'] {
  background: var(--ink-black);
  border-color: var(--ink-black);
  color: var(--white);
}

.inst-cards {
  flex: 1 1 auto;
  background: var(--white);
  padding: 28px 32px;
}

.inst-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

html:not(.js) .inst-card + .inst-card {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--hair);
}

.inst-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink-black);
}

.inst-facts {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 16px;
  line-height: 1.55;
}

.inst-facts div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
}

.inst-facts dt {
  padding-top: 3px;
  line-height: normal;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--rose-deep);
}

/* W2.1: the heat map by account, as HTML. W2.2: the card starts at the headline's cap height (the
   kicker's line, the column's gap, and the headline's half-leading and ascent over its cap
   height) and stretches to the row's end; its inner space goes above the note. */
.heat-frame {
  grid-column: 7 / span 6;
  min-width: 0;
  display: flex;
  flex-direction: column;
  margin-top: calc(17px + 24px + var(--h2) * 0.19);
}

.heat {
  container-type: inline-size;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: var(--card-pad);
  background: var(--white);
}

.heat-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 16px;
}

.heat-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink-black);
}

/* W2.1: the heat map is a table from sample.json, colored by the deck's own legend ranges.
   W2.2 (W-D34): two tables, the same values: accounts as rows where the card is wide enough for
   seven columns, and transposed (dimensions as rows, the shown accounts as columns) where it is
   not: the card's own width decides (a container query), so nothing scrolls. Fixed layout: the
   value columns share the width equally. The 4px spacing is taken back at the edges, so the
   label column starts at the card's content edge, with the legend and the notes. */
.heat-table {
  width: calc(100% + 8px);
  margin: -4px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 4px;
  font-size: 13px;
}

.heat-wide .heat-col-label {
  width: 112px;
}

.heat-narrow .heat-col-label {
  width: 72px;
}

.heat-table th[scope='col'],
.heat-narrow th[scope='row'] {
  padding: 0 0 6px;
  font-family: var(--display);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-align: center;
  vertical-align: bottom;
  white-space: nowrap;
}

.heat-table th[scope='col']:first-child,
.heat-table th[scope='row'] {
  text-align: left;
}

.heat-table th[scope='row'] {
  padding: 0 8px 0 0;
  font-weight: 400;
  color: var(--body);
  text-align: left;
  white-space: nowrap;
}

.heat-narrow th[scope='row'] {
  padding: 0 8px 0 0;
  vertical-align: middle;
}

.heat-cell {
  height: 46px;
  padding: 0;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-black);
  text-align: center;
}

.heat-cell.hm-5 {
  color: var(--white);
}

.heat-empty {
  color: var(--muted);
}

.heat-below th[scope='row'],
.heat-note-cell {
  color: var(--muted);
}

/* "Menos de 5 respuestas" starts where the values do. */
.heat-note-cell {
  padding: 0;
  font-size: 12px;
  text-align: left;
}

.heat-narrow,
.heat-narrow-note {
  display: none;
}

@container (max-width: 479.98px) {
  .heat-wide {
    display: none;
  }

  .heat-narrow {
    display: table;
  }

  .heat-narrow-note {
    display: block;
  }
}

/* The narrowest card (a 320px phone): the four account names keep to their columns. */
@container (max-width: 259.98px) {
  .heat-narrow .heat-col-label {
    width: 66px;
  }

  .heat-table th[scope='col'],
  .heat-narrow th[scope='row'] {
    font-size: 9px;
    letter-spacing: 0.02em;
  }
}

.hm-1 { background: var(--blush-light); }
.hm-2 { background: var(--heat-2); }
.hm-3 { background: var(--heat-3); }
.hm-4 { background: var(--heat-4); }
.hm-5 { background: var(--rose-dark); }

.legend-light {
  gap: 14px;
  color: var(--body);
}

.heat-legend .swatch {
  width: 12px;
  height: 12px;
}

.swatch-edge {
  border: 1px solid var(--heat-2);
}

.heat-more {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  min-height: 44px;
  margin-block: -8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--rose-deep);
}

.heat-notes {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.heat-note {
  padding-top: 14px;
  border-top: 1px solid var(--gridline-light);
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.clima-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--grid-gutter);
  padding-top: 32px;
  border-top: 1px solid var(--hair);
}

.clima-steps li {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-num {
  font-family: var(--display);
  font-size: 13px;
  color: var(--rose-deep);
}

.clima-steps p {
  font-size: 16px;
  line-height: 1.55;
}

/* --- W2.3: the method (W-D41) ---------------------------------------------------------------------------
   A dark section: three panels, each a rule, a small diagram of it and the rule in words, then the
   four anonymity guarantees. The panels share their rows (subgrid) from 1200px, so the kickers,
   titles, diagrams and texts line up across the three whatever each one's length. Every number
   is a data-fact the backend test computes from the item bank and results.py. */

.method .wrap {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.sample .wrap {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.method .sec-aside {
  color: var(--soft);
}

.mpanels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--grid-gutter);
  row-gap: 0;
}

.mpanel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  padding: 32px;
  background: var(--panel);
}

@supports (grid-template-rows: subgrid) {
  .mpanel-frame {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
  }

  .mpanel {
    display: grid;
    grid-row: 1 / -1;
    grid-template-rows: subgrid;
    row-gap: 20px;
    align-content: start;
  }
}

.mp-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate);
}

.mp-n {
  color: var(--rose);
}

.mp-n::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  margin-left: 14px;
  vertical-align: middle;
  background: var(--line);
}

.mp-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  color: var(--white);
}

.mp-title [data-fact] {
  color: var(--rose);
}

/* The diagram sits in an inset display, as the hero's panel does; its content is centered in the
   row, which is as tall as the tallest of the three. */
.mp-fig {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 22px 20px;
  background: var(--ink-black);
  border: 1px solid var(--edge);
}

.mp-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--soft);
}

/* 01, the scale: the ends, the six points, and the bars in the charts' own encoding. */
.scale {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: 4px;
  row-gap: 12px;
}

.scale-end {
  grid-column: 1 / 4;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}

.scale-end-r {
  grid-column: 4 / 7;
  text-align: right;
}

.scale-n {
  font-family: var(--display);
  font-weight: 500;
  font-size: 20px;
  line-height: 1;
  text-align: center;
  color: var(--soft);
}

.scale-n-fav {
  color: var(--rose);
}

.scale-bar {
  height: 20px;
}

.sb-unf {
  background: repeating-linear-gradient(135deg, var(--slate) 0 2px, transparent 2px 4px);
}

.sb-neu {
  background: var(--line);
}

.sb-fav {
  background: var(--rose);
}

.scale-legend {
  gap: 8px 16px;
}

/* 02, the index: five dimensions, each led by a line into one join, and one line out into the
   index; what is reported apart, below. The join's vertical runs between the first and the last
   row's centres (24px rows, 8px apart). */
.ix {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px max-content;
  align-items: center;
}

.ix-dims {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ix-dims li {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 24px;
  font-size: 13px;
  white-space: nowrap;
  color: var(--silver);
}

.ix-dims li::before {
  content: '';
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rose);
}

.ix-dims li::after {
  content: '';
  flex: 1 1 auto;
  min-width: 12px;
  height: 1px;
  background: var(--line);
}

.ix-join {
  align-self: stretch;
  background:
    linear-gradient(var(--line), var(--line)) 0 11.5px / 1px 129px no-repeat,
    linear-gradient(var(--rose), var(--rose)) 0 75.5px / 100% 1px no-repeat;
}

.ix-out {
  padding: 9px 12px;
  border: 1px solid var(--rose);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
}

.ix-apart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 8px;
  padding-top: 16px;
  border-top: 1px dashed var(--graphite);
}

.ix-apart-label {
  flex: 0 0 100%;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}

.ix-tag {
  padding: 5px 10px;
  border: 1px dashed var(--line);
  font-size: 12px;
  line-height: 1.4;
  color: var(--soft);
}

/* 03, the minimum: under it nothing is drawn; at it, the result is. */
.mn {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  column-gap: 16px;
  row-gap: 10px;
}

.mn + .mn {
  padding-top: 18px;
  border-top: 1px solid var(--edge);
}

.mn-label {
  grid-column: 1 / -1;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}

.mn-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--slate);
}

.dot-empty {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--slate);
}

.mn-shown .dot {
  background: var(--rose);
}

.mn-out {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}

.mn-shown .mn-out {
  color: var(--rose);
}

.mn-icon {
  flex: none;
}

/* The four guarantees: a hairline above each, and rows shared through subgrid. */
.mguard {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.mguards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--grid-gutter);
  row-gap: 40px;
}

.mg {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

@supports (grid-template-rows: subgrid) {
  .mguards {
    row-gap: 0;
  }

  .mg {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    row-gap: 16px;
  }
}

.mg-icon {
  color: var(--rose);
}

.mg-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  color: var(--white);
}

.mg-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--soft);
}

/* Under 1200px the three panels stack; from 760px each shows its words beside its diagram. */
@media (max-width: 1199.98px) {
  .mpanels {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 24px;
  }

  .mpanel-frame {
    display: block;
    grid-row: auto;
  }

  .mpanel {
    display: grid;
    grid-row: auto;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    column-gap: var(--grid-gutter);
    row-gap: 16px;
  }

  .mp-kicker {
    grid-column: 1;
    grid-row: 1;
  }

  .mp-title {
    grid-column: 1;
    grid-row: 2;
  }

  .mp-text {
    grid-column: 1;
    grid-row: 3;
  }

  .mp-fig {
    grid-column: 2;
    grid-row: 1 / 4;
  }
}

@media (max-width: 759.98px) {
  .mpanel {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
  }

  .mp-kicker,
  .mp-title,
  .mp-fig,
  .mp-text {
    grid-column: 1;
    grid-row: auto;
  }
}

/* The narrowest phones: the minimum's dots and its label keep clear of each other. */
@media (max-width: 359.98px) {
  .mn {
    column-gap: 12px;
  }

  .mn-dots {
    gap: 6px;
  }

  .dot {
    width: 11px;
    height: 11px;
  }

  .mn-out {
    gap: 6px;
    font-size: 11px;
    letter-spacing: 0.1em;
  }
}

/* --- W2: the sample report -------------------------------------------------------------------------- */

.sample-figure {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
}

.sample-frame {
  --cham: 10px;
}

/* W2.2: the slide sits inside its frame, --card-pad from the frame's outer edge on every side
   (the frame's 1px line included), clear of the chamfer. */
.sample-views {
  padding: calc(var(--card-pad) - 1px);
  background: var(--white);
}

html:not(.js) .sample-view + .sample-view {
  border-top: 1px solid var(--hair);
}

.sample-shot,
.sample-shot picture {
  display: block;
}

.sample-img {
  width: 100%;
  height: auto;
}

.sample-caption {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.sec-aside-lead {
  font-weight: 600;
  color: var(--ink-black);
}

/* --- Services ------------------------------------------------------------------------------------------ */

.services .wrap {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.svc-h {
  font: inherit;
}

.svc-btn {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 18px 8px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hair);
  text-align: left;
  font-size: 19px;
  color: var(--body);
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s;
}

/* W2.2: states change color only: nothing moves or resizes. */
.svc-btn:hover {
  color: var(--ink-black);
}

.svc-btn[aria-expanded='true'] {
  color: var(--ink-black);
  border-bottom-color: var(--rose-deep);
}

.svc-num {
  flex: none;
  width: 26px;
  font-family: var(--display);
  font-size: 13px;
  color: var(--muted);
  transition: color 0.25s;
}

.svc-btn[aria-expanded='true'] .svc-num {
  color: var(--rose-deep);
}

.svc-dot {
  flex: none;
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.25s;
}

.svc-btn[aria-expanded='true'] .svc-dot {
  background: var(--rose-deep);
}

.svc-sign {
  display: none;
  flex: none;
  width: 14px;
  margin-left: auto;
  text-align: center;
  font-family: var(--display);
  font-size: 20px;
  color: var(--slate);
}

.svc-sign::before {
  content: '+';
}

.svc-btn[aria-expanded='true'] .svc-sign {
  color: var(--rose-deep);
}

.svc-btn[aria-expanded='true'] .svc-sign::before {
  content: '\2212';
}

.svc-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 48px;
  background-color: var(--ink-black);
  background-image: linear-gradient(to right, var(--gridline-dark) 0 1px, transparent 1px),
    linear-gradient(to bottom, var(--gridline-dark) 0 1px, transparent 1px);
  background-size: 48px 48px;
  color: var(--silver);
  clip-path: polygon(var(--cham) 0, 100% 0, 100% calc(100% - var(--cham)), calc(100% - var(--cham)) 100%, 0 100%, 0 var(--cham));
}

/* The glow is decoration, drawn by CSS. W2.2 (W-D36): the big number is gone. */
.svc-panel::before {
  content: '';
  position: absolute;
  right: -200px;
  top: -200px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231, 184, 178, 0.16) 0%, rgba(17, 13, 13, 0) 65%);
}

.svc-panel > * {
  position: relative;
  z-index: 1;
}

.svc-icon {
  color: var(--rose);
  margin-bottom: 8px;
}

.svc-title {
  margin-top: 12px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 34px;
  line-height: 1.12;
  color: var(--white);
}

.svc-desc {
  max-width: 520px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--soft);
}

.svc-inc {
  margin-top: 8px;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--slate);
}

.svc-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.svc-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 17px;
  color: var(--silver);
}

.svc-list li::before {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 8px 2px rgba(231, 184, 178, 0.45);
}

.svc-cta {
  margin-top: auto;
  align-self: flex-start;
  max-width: 100%;
}

.svc-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--rose-deep);
}

/* The desktop selector: the list on the left, the open service's panel on the right. W2.2: five
   and seven columns of the grid. */
.js .svc {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(8, auto) 1fr;
  column-gap: var(--grid-gutter);
}

.js .svc-item {
  display: contents;
}

.js .svc-h,
.js .svc-more {
  grid-column: 1 / span 5;
}

.js .svc-more {
  justify-self: start;
}

.js .svc-panel {
  grid-column: 6 / span 7;
  grid-row: 1 / -1;
  min-height: 560px;
}

/* Without JavaScript, every service reads in turn, its panel under its name. */
html:not(.js) .svc-panel {
  margin: 12px 0 24px;
}

/* --- Team ---------------------------------------------------------------------------------------------- */

.team-sec .wrap {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.team-sec .sec-head-main {
  max-width: 700px;
}

.team-sec .sec-aside {
  max-width: 440px;
}

/* W2.2: six columns each: the photo box is 576px at 1440 (W-D35). */
.team {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--grid-gutter);
}

.member {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.photo {
  height: 440px;
  overflow: hidden;
  background: var(--fog);
}

.photo picture {
  display: block;
  height: 100%;
}

.photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-silvia {
  object-position: 50% 18%;
}

.photo-javier {
  object-position: 50% 25%;
}

.member-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.member-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 28px;
  color: var(--ink-black);
}

.member-role {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--rose-deep);
}

.member-bio {
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
}

.member-edu {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

/* W2.3: one degree per line, the degree in the text color and the school after it. The middle dot
   between degrees stays in the text for readers and copy, and is not drawn. */
.edu {
  display: block;
}

.edu-deg {
  color: var(--text);
  font-weight: 500;
}

.edu-sep {
  display: none;
}

.member-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  justify-self: start;
  gap: 8px;
  min-height: 44px;
  margin-block: -13px;
  font-size: 15px;
  font-weight: 600;
  color: var(--rose-deep);
}

/* W2.3 (W-D40): the two cards share their five rows (photo, name, bio, degrees, link) through
   subgrid, so each row is as tall as the taller of the two. The rules above the degrees and the
   LinkedIn links line up whatever the length of each text, in both languages. The phone layout,
   one card under the other, goes back to a column (below). */
@supports (grid-template-rows: subgrid) {
  .team {
    row-gap: 0;
  }

  .member {
    display: grid;
    grid-row: span 5;
    grid-template-rows: subgrid;
    row-gap: 22px;
    align-content: start;
  }
}

/* --- Process ----------------------------------------------------------------------------------------- */

.process .wrap {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.process-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 760px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 40px 0 0;
  border-top: 1px solid var(--line);
}

.step-mark {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.step-dot-1 {
  background: var(--rose);
  box-shadow: 0 0 10px 3px rgba(231, 184, 178, 0.4);
}

.step-dot-2 {
  background: var(--rose-mid);
}

.step-dot-3 {
  background: var(--slate);
}

.step-n {
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--slate);
}

.step-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 26px;
  color: var(--white);
}

.step-body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--soft);
}

/* --- Contact ---------------------------------------------------------------------------------------- */

/* W2.2: the intro on five columns, the form on seven. */
.contact {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gutter);
}

.contact-intro {
  grid-column: 1 / span 5;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-intro .sec-lead {
  font-size: 17px;
}

.contact-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
  font-size: 16px;
}

.contact-lines li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-lines svg {
  flex: none;
  color: var(--rose-deep);
}

.contact-lines a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-block: -12px;
  font-weight: 600;
  color: var(--rose-deep);
}

.contact-box {
  grid-column: 6 / span 7;
  min-width: 0;
}

.contact-form {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
  padding: 40px;
  background: var(--fog);
  clip-path: polygon(var(--cham) 0, 100% 0, 100% calc(100% - var(--cham)), calc(100% - var(--cham)) 100%, 0 100%, 0 var(--cham));
}

.field-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

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

.field-label {
  font-size: 14px;
  font-weight: 500;
}

.field {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--soft);
  border-radius: 0;
  background: var(--white);
  font-size: 16px;
  color: var(--text);
  transition: border-color 0.2s;
}

.field:focus {
  outline: 2px solid var(--rose-deep);
  outline-offset: 1px;
  border-color: var(--rose-deep);
}

.field-area {
  height: 140px;
  padding: 12px 14px;
  resize: none;
}

.field[aria-invalid='true'] {
  border-color: var(--rose-deep);
}

.field-err {
  font-size: 13px;
  line-height: 1.4;
  color: var(--rose-deep);
}

.turnstile:empty {
  display: none;
}

.form-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.form-note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.form-submit {
  flex: none;
}

.form-status {
  font-size: 14px;
  line-height: 1.5;
  color: var(--rose-deep);
}

.form-status:empty {
  display: none;
}

.form-status a {
  font-weight: 600;
  text-decoration: underline;
}

.sent {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  min-height: 100%;
  padding: 56px;
  background: var(--ink-black);
  color: var(--silver);
  clip-path: polygon(var(--cham) 0, 100% 0, 100% calc(100% - var(--cham)), calc(100% - var(--cham)) 100%, 0 100%, 0 var(--cham));
  animation: fade 0.6s ease both;
}

.sent:focus {
  outline: none;
}

.sent svg {
  color: var(--rose);
}

.sent-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 32px;
  color: var(--white);
}

.sent-body {
  font-size: 17px;
  line-height: 1.6;
  color: var(--soft);
}

.sent-again {
  align-self: flex-start;
  margin-top: 8px;
  padding: 12px 20px;
  font-size: 15px;
}

/* --- Footer ------------------------------------------------------------------------------------------- */

.site-footer {
  background: var(--ink-black);
  color: var(--slate);
  border-top: 1px solid var(--edge);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding-block: 64px;
}

.footer-logo {
  height: 96px;
  width: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 32px;
  margin-top: -10px;
  font-size: 15px;
  color: var(--soft);
}

.footer-copy {
  font-size: 14px;
}

/* --- The 404 page and the no-JavaScript result page ---------------------------------------------------- */

.result-body {
  min-height: 100vh;
  background-color: var(--ink-black);
  background-image: linear-gradient(to right, var(--gridline-dark) 0 1px, transparent 1px),
    linear-gradient(to bottom, var(--gridline-dark) 0 1px, transparent 1px);
  background-size: 96px 96px;
  background-position: center top;
  color: var(--silver);
}

.result {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 48px 24px;
}

.result-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 620px;
}

.result-logo {
  height: 30px;
  width: auto;
  margin-bottom: 16px;
}

.result-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: var(--h2);
  line-height: 1.12;
  color: var(--white);
}

.result-text,
.result-mail {
  font-size: 17px;
  line-height: 1.6;
  color: var(--soft);
}

.result-mail a {
  color: var(--rose);
  font-weight: 600;
}

.result-langs {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}

.result-langs > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.result-langs > div + div {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.result-sub {
  font-family: var(--display);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  color: var(--white);
}

/* --- W2.2: the clima row stacks under 1024px (from 1024 up it is 6 + 6, the heat map transposed
   in its card where seven columns do not fit). ------------------------------------------------------- */

@media (max-width: 1023px) {
  .clima-main {
    grid-column: 1 / -1;
    max-width: 680px;
  }

  .heat-frame {
    grid-column: 1 / -1;
    margin-top: 0;
  }
}

/* --- Between desktop and phone: under 1100px -------------------------------------------------------- */

@media (max-width: 1099px) {
  .nav {
    gap: 12px;
  }

  .nav-logo {
    margin-right: auto;
  }

  .nav-cta,
  .nav-links {
    display: none;
  }

  .js .nav-toggle {
    display: flex;
  }

  .js .nav-links.is-open {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 16px;
    background: var(--ink-black);
    border-bottom: 1px solid var(--edge);
    font-size: 17px;
  }

  /* W2.4: stacked, and in the phone's order: the copy, the voices panel, then Silvia's line. The copy
     column dissolves into the row (display: contents), so its blocks and the panel can be ordered. */
  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    min-height: 0;
    padding-block: 64px 96px;
  }

  .hero-copy {
    display: contents;
  }

  .hero-copy > * {
    max-width: 680px;
    animation: fade 0.6s ease both;
  }

  .hero-visual {
    order: 1;
    width: 100%;
    max-width: 600px;
    margin-top: 12px;
  }

  .hero-voice {
    order: 2;
    max-width: 600px;
  }

  .hero-ghost {
    display: none;
  }

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

  .mguards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 40px;
  }

  .sec-head {
    gap: 40px;
  }

  .js .svc-panel {
    padding: 36px;
  }

  .contact {
    row-gap: clamp(48px, 6.7vw, 96px);
  }

  .contact-intro {
    grid-column: 1 / -1;
    max-width: 560px;
  }

  .contact-box {
    grid-column: 1 / -1;
  }

  .footer {
    flex-wrap: wrap;
  }
}

/* --- Phone: under 760px (the 390px design) ------------------------------------------------------------ */

@media (max-width: 759px) {
  :root {
    --gutter: 24px;
    --card-pad: 20px;
    --cham: 12px;
    --cham-s: 8px;
    --nav-h: 64px;
  }

  .only-wide {
    display: none;
  }

  .only-phone {
    display: inline;
  }

  .accent {
    font-size: 1.16em;
  }

  .eyebrow {
    gap: 10px;
    font-size: 12px;
    letter-spacing: 0.2em;
  }

  .eyebrow-line {
    width: 24px;
  }

  .sec-title {
    line-height: 1.12;
  }

  .sec-lead {
    font-size: 16px;
  }

  .sec-grid-light,
  .sec-grid-dark,
  .hero {
    background-size: 48px 48px;
    background-position: left top;
  }

  .nav-logo img {
    height: 26px;
  }

  .lang-switch {
    gap: 8px;
  }

  /* The hero */
  .hero-glow {
    left: -120px;
    top: 560px;
    width: 640px;
    height: 640px;
    background: radial-gradient(circle, rgba(231, 184, 178, 0.12) 0%, rgba(231, 184, 178, 0.04) 40%, rgba(17, 13, 13, 0) 68%);
  }

  .hero-inner {
    gap: 22px;
    padding-block: 44px 56px;
  }

  .hero-title {
    line-height: 1.04;
  }

  .hero-lead {
    gap: 8px;
  }

  .hero-lead-strong {
    font-size: 19px;
  }

  .hero-lead-body {
    font-size: 16px;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 12px;
  }

  .hero-ctas .btn {
    width: 100%;
    padding: 16px 20px;
  }

  .hero-ctas .btn-ghost {
    padding: 15px 20px;
  }

  .hero-visual {
    max-width: none;
    margin-top: 2px;
  }

  .hero-card {
    --vx-label: 17px;
    --vx-bar: 8px;
    --vx-row-gap: 16px;
    --vx-voices: 28%;
    --vx-gate: 30px;
    --vx-dot: 6px;
    gap: 18px;
    padding: 22px 20px 20px;
  }

  .vx-label {
    font-size: 10px;
  }

  .dim-label {
    font-size: 12px;
  }

  .vx-stats {
    padding-top: 16px;
  }

  .vx-stats > div {
    padding: 0 12px;
  }

  .vx-stats dt {
    font-size: 11px;
  }

  .vx-stats dd {
    font-size: 24px;
  }

  .hero-voice {
    grid-template-columns: 60px minmax(0, 1fr);
    column-gap: 16px;
    padding-top: 24px;
  }

  .hero-voice-photo {
    width: 60px;
    height: 60px;
  }

  .hero-quote {
    font-size: 20px;
  }

  .hero-voice-cap {
    font-size: 10px;
  }

  /* Principles */
  .principles-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-block: 32px;
  }

  .principle {
    gap: 14px;
  }

  .principle svg {
    width: 26px;
    height: 26px;
  }

  .principle-title {
    font-size: 17px;
  }

  /* Clima */
  .clima .wrap {
    gap: 20px;
  }

  .clima-top {
    gap: 20px;
  }

  .clima-main {
    gap: 20px;
  }

  .itabs {
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
  }

  .itab {
    flex-grow: 1;
    padding: 12px 8px;
  }

  .inst-cards {
    padding: 22px;
  }

  .inst-card {
    gap: 14px;
  }

  .inst-name {
    font-size: 19px;
  }

  .inst-facts {
    font-size: 15px;
  }

  .inst-facts div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .inst-facts dt {
    padding-top: 0;
    font-size: 11px;
  }

  .clima-top {
    row-gap: 20px;
  }

  .heat {
    gap: 14px;
  }

  .heat-title {
    font-size: 16px;
  }

  .tag-light {
    font-size: 10px;
  }

  .heat-note {
    padding-top: 0;
    border-top: 0;
  }

  .heat-cell {
    height: 40px;
  }

  .clima-steps {
    display: none;
  }

  /* The method and the sample */
  .method .wrap,
  .sample .wrap {
    gap: 32px;
  }

  .mpanels {
    row-gap: 16px;
  }

  .mpanel {
    gap: 18px;
    padding: 24px;
  }

  .mp-title {
    font-size: 21px;
  }

  .mp-fig {
    padding: 20px 16px;
  }

  .mp-text {
    font-size: 15px;
  }

  .mguard {
    gap: 20px;
  }

  .mguards {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 28px;
  }

  .mg {
    padding-top: 20px;
    gap: 10px;
  }

  .stabs {
    flex-wrap: wrap;
  }

  /* Services: the accordion */
  .services .wrap {
    gap: 16px;
  }

  .sec-head {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .sec-head-main {
    gap: 16px;
  }

  .sec-aside {
    max-width: none;
    margin-bottom: 8px;
    font-size: 16px;
  }

  .js .svc {
    display: block;
  }

  .js .svc-item {
    display: block;
  }

  .svc-btn,
  .svc-btn:hover,
  .svc-btn[aria-expanded='true'] {
    gap: 14px;
    min-height: 56px;
    padding: 18px 4px;
    font-size: 17px;
  }

  .svc-num {
    width: 22px;
  }

  .svc-dot {
    display: none;
  }

  .svc-sign {
    display: block;
  }

  .svc-panel,
  .js .svc-panel,
  html:not(.js) .svc-panel {
    min-height: 0;
    margin: 12px 0 8px;
    padding: 22px;
    gap: 14px;
    background-image: none;
  }

  .svc-panel::before,
  .svc-title,
  .svc-inc {
    display: none;
  }

  .svc-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0;
  }

  .svc-desc {
    font-size: 16px;
  }

  .svc-list {
    gap: 10px;
  }

  .svc-list li {
    gap: 12px;
    font-size: 15px;
  }

  .svc-list li::before {
    box-shadow: none;
  }

  .svc-cta,
  .svc-cta:hover {
    clip-path: none;
    min-height: 44px;
    padding: 10px 0;
    gap: 8px;
    background: transparent;
    margin-block: -3px -2px;
    color: var(--rose);
    transform: none;
  }

  .svc-cta:focus-visible {
    outline-color: var(--rose);
    outline-offset: 2px;
  }

  .svc-more {
    margin-top: 28px;
    margin-bottom: -5px;
    gap: 8px;
    font-size: 15px;
  }

  .svc-more svg {
    width: 16px;
    height: 16px;
  }

  /* Team */
  .team-sec .wrap {
    gap: 24px;
  }

  .team-sec .sec-head-main {
    gap: 24px;
  }

  .team {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    margin-top: 8px;
  }

  /* One card under the other: no shared rows, each card is its own column. */
  .member,
  .team .member {
    display: flex;
    grid-row: auto;
    gap: 16px;
  }

  .photo {
    height: 400px;
  }

  .member-name {
    font-size: 23px;
  }

  .member-role {
    font-size: 12px;
    letter-spacing: 0.14em;
  }

  .member-bio {
    font-size: 16px;
  }

  .member-edu {
    padding-top: 12px;
  }

  .member-link {
    margin-block: -3px;
  }

  /* Process */
  .process .wrap {
    gap: 32px;
  }

  .process-head {
    gap: 16px;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .step {
    gap: 10px;
    padding: 20px 0 0;
  }

  .step-mark {
    gap: 10px;
  }

  .step-n {
    font-size: 13px;
  }

  .step-title {
    font-size: 22px;
  }

  /* Contact */
  .contact {
    row-gap: 20px;
  }

  .contact-intro {
    gap: 20px;
  }

  .contact-intro .sec-lead {
    font-size: 16px;
  }

  .contact-lines {
    margin-top: 0;
  }

  .contact-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 12px;
    padding: 24px;
  }

  .form-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .form-submit {
    padding: 16px 24px;
  }

  .sent {
    gap: 14px;
    margin-top: 12px;
    padding: 32px 24px;
  }

  .sent svg {
    width: 40px;
    height: 40px;
  }

  .sent-title {
    font-size: 24px;
  }

  .sent-body {
    font-size: 16px;
  }

  .sent-again {
    padding: 12px 18px;
  }

  /* Footer */
  .footer {
    flex-direction: column;
    gap: 28px;
    padding-block: 48px;
  }

  .footer-logo {
    height: 80px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
    width: 100%;
    margin-top: 0;
  }
}

/* --- Reduced motion: no stream of voices, no animation ---------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .vx-dot,
  .vx-scan {
    display: none;
  }

  .vx-gate::before {
    animation: none;
  }

  .fade,
  .hero-copy > *,
  .sent,
  .play .grow-l,
  .play .grow-r {
    animation: none;
  }

  .btn,
  .svc-btn,
  .navlink,
  .itab {
    transition: none;
  }

  .btn-rose:hover {
    transform: none;
  }
}

/* --- Widths in whole percent (W2): the hero bars' shares ------------------------------------------- */

.pw-0 { width: 0%; }
.pw-1 { width: 1%; }
.pw-2 { width: 2%; }
.pw-3 { width: 3%; }
.pw-4 { width: 4%; }
.pw-5 { width: 5%; }
.pw-6 { width: 6%; }
.pw-7 { width: 7%; }
.pw-8 { width: 8%; }
.pw-9 { width: 9%; }
.pw-10 { width: 10%; }
.pw-11 { width: 11%; }
.pw-12 { width: 12%; }
.pw-13 { width: 13%; }
.pw-14 { width: 14%; }
.pw-15 { width: 15%; }
.pw-16 { width: 16%; }
.pw-17 { width: 17%; }
.pw-18 { width: 18%; }
.pw-19 { width: 19%; }
.pw-20 { width: 20%; }
.pw-21 { width: 21%; }
.pw-22 { width: 22%; }
.pw-23 { width: 23%; }
.pw-24 { width: 24%; }
.pw-25 { width: 25%; }
.pw-26 { width: 26%; }
.pw-27 { width: 27%; }
.pw-28 { width: 28%; }
.pw-29 { width: 29%; }
.pw-30 { width: 30%; }
.pw-31 { width: 31%; }
.pw-32 { width: 32%; }
.pw-33 { width: 33%; }
.pw-34 { width: 34%; }
.pw-35 { width: 35%; }
.pw-36 { width: 36%; }
.pw-37 { width: 37%; }
.pw-38 { width: 38%; }
.pw-39 { width: 39%; }
.pw-40 { width: 40%; }
.pw-41 { width: 41%; }
.pw-42 { width: 42%; }
.pw-43 { width: 43%; }
.pw-44 { width: 44%; }
.pw-45 { width: 45%; }
.pw-46 { width: 46%; }
.pw-47 { width: 47%; }
.pw-48 { width: 48%; }
.pw-49 { width: 49%; }
.pw-50 { width: 50%; }
.pw-51 { width: 51%; }
.pw-52 { width: 52%; }
.pw-53 { width: 53%; }
.pw-54 { width: 54%; }
.pw-55 { width: 55%; }
.pw-56 { width: 56%; }
.pw-57 { width: 57%; }
.pw-58 { width: 58%; }
.pw-59 { width: 59%; }
.pw-60 { width: 60%; }
.pw-61 { width: 61%; }
.pw-62 { width: 62%; }
.pw-63 { width: 63%; }
.pw-64 { width: 64%; }
.pw-65 { width: 65%; }
.pw-66 { width: 66%; }
.pw-67 { width: 67%; }
.pw-68 { width: 68%; }
.pw-69 { width: 69%; }
.pw-70 { width: 70%; }
.pw-71 { width: 71%; }
.pw-72 { width: 72%; }
.pw-73 { width: 73%; }
.pw-74 { width: 74%; }
.pw-75 { width: 75%; }
.pw-76 { width: 76%; }
.pw-77 { width: 77%; }
.pw-78 { width: 78%; }
.pw-79 { width: 79%; }
.pw-80 { width: 80%; }
.pw-81 { width: 81%; }
.pw-82 { width: 82%; }
.pw-83 { width: 83%; }
.pw-84 { width: 84%; }
.pw-85 { width: 85%; }
.pw-86 { width: 86%; }
.pw-87 { width: 87%; }
.pw-88 { width: 88%; }
.pw-89 { width: 89%; }
.pw-90 { width: 90%; }
.pw-91 { width: 91%; }
.pw-92 { width: 92%; }
.pw-93 { width: 93%; }
.pw-94 { width: 94%; }
.pw-95 { width: 95%; }
.pw-96 { width: 96%; }
.pw-97 { width: 97%; }
.pw-98 { width: 98%; }
.pw-99 { width: 99%; }
.pw-100 { width: 100%; }
