/* ==========================================================
   V3 inner pages. Every section sits on the homepage's shared grid: the hero's two outer lines (set as
   --svc-l / --svc-w by the probe script) carried down as its sides, with column lines at its thirds.
   ========================================================== */
.pg-probe { position: absolute; left: 0; right: 0; height: 0; visibility: hidden; pointer-events: none; }

.pg { --pad: clamp(14px, 1.6vw, 28px); --rule: var(--color-border);
  position: relative; box-sizing: border-box; margin-left: var(--svc-l, 0px); width: var(--svc-w, 100%);
  border-inline: 1px solid var(--rule); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start; padding-block: var(--space-24); }
.pg::before, .pg::after { content: ""; position: absolute; top: 0; bottom: 0; border-left: 1px solid var(--rule); pointer-events: none; }
.pg::before { left: calc((100% + 1px) / 3 - 1px); }
.pg::after { left: calc((100% + 1px) * 2 / 3 - 1px); }
.pg + .pg { border-top: 1px solid var(--rule); }
/* lines never run through text: the hero keeps only its outer lines, and sections whose content spans
   columns 2-3 (a statement, the FAQ, the form) drop the line between those two */
.pg-hero::before, .pg-hero::after, .pg--open::after { display: none; }
.pg-main > .pg:last-child { padding-bottom: var(--space-24); }

/* section heading: column 1, with an optional short intro under it */
.pg-head { grid-column: 1; padding: 0 var(--pad); }
.pg-head--sticky { position: sticky; top: calc(var(--nav-h) + var(--space-8)); }
.pg-title { margin: 0; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.2; text-wrap: balance; }
.pg-intro { margin: 16px 0 0; max-width: 26em; color: var(--color-text-muted); font-size: 16px; line-height: 1.6; }
.pg-mark { flex: none; width: 11px; height: 11px; background: var(--color-orange); }

/* ---------- hero: the H1 across columns 1-2, the subhead and buttons in column 3 ---------- */
.pg-hero { align-items: end; padding-block: clamp(96px, 12vw, 176px) var(--space-24); }
.pg-hero__title { grid-column: 1 / 3; margin: 0; padding: 0 var(--pad); max-width: 12em;
  font-family: var(--font-display); font-weight: var(--weight-headline, 400);
  font-size: clamp(2.5rem, 4.6vw, 4.5rem); line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; }
.pg-hero__side { grid-column: 3; padding: 0 var(--pad); }
.pg-hero__sub { margin: 0; font-size: var(--type-size-h3); line-height: 1.55; color: var(--color-text-muted); }
.pg-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-6); margin-top: var(--space-8); }

/* contact: the rails graphic fills the middle column, between the column lines, from the hero's top line to its bottom one */
.pg-hero--art::before, .pg-hero--art::after { display: block; }
.pg-hero--art .pg-hero__title { grid-column: 1; font-size: clamp(2.25rem, 3.4vw, 3.25rem); }   /* smaller than the other H1s: it shares its column's width with no room to spare */
.pg-hero--art { align-items: center; }   /* the subhead sits level with the middle of the H1 */
.pg-hero--art .pg-hero__sub { max-width: 19em; text-wrap: balance; }   /* three even lines */
.pg-hero--art .pg-hero__side { justify-self: end; }   /* the subhead sits against the right side of its column */
.pg-hero__art { position: absolute; top: 0; bottom: 0; left: calc((100% + 1px) / 3); width: calc((100% + 1px) / 3 - 1px); }

/* surface: the subhead under the H1, in the H1's columns and lined up with it, at every width (no right-hand column) */
.pg-hero--stack .pg-hero__side { grid-column: 1 / 3; margin-top: var(--space-8); max-width: 36em; }

/* a page without a closing section: 100px between the last section's bottom line and the footer box */
.endgrid:not(:has(.closing)) .footer { padding-top: 100px; }

/* careers: the H1 and the careers graphic on top, then a row of three boxes (subhead, button, button) on the grid's columns */
.pg-hero--grid { padding-block: 0; align-items: stretch; }
.pg-hero--grid::before, .pg-hero--grid::after { display: none; }   /* each box draws its own sides */
.pg-hero--grid .pg-hero__title { grid-column: 1 / 3; grid-row: 1; align-self: end; padding: clamp(96px, 10vw, 160px) var(--pad) var(--space-16); }
.pg-hero__visual { grid-column: 3; grid-row: 1; position: relative; min-height: 300px; border-left: 1px solid var(--rule); }
.pg-hero__visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.pg-hero__cell { grid-row: 2; display: flex; align-items: center; justify-content: center; padding: var(--space-12) var(--pad);
  border-top: 1px solid var(--rule); }
.pg-hero__cell + .pg-hero__cell { border-left: 1px solid var(--rule); }
.pg-hero__cell--text { justify-content: flex-start; }
.pg-hero__cell--text .pg-hero__sub { max-width: 30em; font-size: 16px; line-height: 1.6; }
.pg-hero__cell--wide { grid-column: span 2; }   /* why Granule Labs: one button, so the subhead takes two boxes */
.pg-hero__cell--wide .pg-hero__sub { max-width: 46em; }
.pg-hero__cell .btn { width: min(17rem, 100%); justify-content: center; white-space: nowrap; }

/* careers: the section under the hero laid out like the homepage intro. The lifted band runs the full window
   width; inside the frame, only the outer lines */
.pg-introlike { box-shadow: 0 0 0 100vmax var(--color-surface-2); clip-path: inset(0 -100vmax); }
.pg-introlike::before, .pg-introlike::after { display: none; }
.pg-introlike > .intro__grid { grid-column: 1 / -1; }
.pg + .pg-introlike, .pg-introlike + .pg { border-top: 0; }   /* the band's edges are the change of background */

.pg-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px;
  font: 400 12px/1 var(--font-mono); letter-spacing: .06em; color: #929292; }   /* 4.7:1 on the lifted card, WCAG AA */

/* ---------- rows: heading held in column 1, a row per item across 2-3 (title | text), split on the column line ---------- */
.pg-rows__list { grid-column: 2 / -1; border-top: 1px solid var(--rule); }
.pg-row__num { display: block; margin-bottom: 14px; font: 400 12px/1 var(--font-mono); letter-spacing: .06em; color: var(--color-orange); }

.pg-ph__tag { display: inline-flex; align-items: center; gap: 10px; font: 400 12px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--color-orange); }
.pg-ph__tag::before { content: ""; width: 9px; height: 9px; background: currentColor; }

/* ---------- split: like "Your AI tools draft it" on the homepage. The heading in the first column, the items
   stacked in a grey panel across the other two that runs from the section's top line to its bottom one ---------- */
.pg-split { grid-template-columns: calc((100% + 1px) / 3 - 1px) minmax(0, 1fr); padding-block: 0; align-items: stretch; }   /* the panel starts on the grid's first column line */
.pg-main > .pg-split:last-child { padding-bottom: 0; }   /* the panel runs right down to the footer */
.pg-split::before, .pg-split::after { display: none; }
.pg-split__head { grid-column: 1; align-self: center; padding: var(--space-24) calc(var(--pad) * 2); }
.pg-split__panel { grid-column: 2; display: flex; flex-direction: column; justify-content: center;
  padding: 0; background: var(--color-surface-2); border-left: 1px solid var(--rule); }
.pg-split__item { padding: clamp(28px, 2.6vw, 40px) calc(var(--pad) * 2); }   /* the lines between run the panel's full width */
.pg-split__item + .pg-split__item { border-top: 1px solid var(--rule); }
.pg-split__item .pg-card__top { margin-bottom: 18px; }
.pg-split__item h3 { margin: 0; font-family: var(--font-display); font-weight: var(--weight-headline, 400); font-size: clamp(20px, 1.6vw, 24px); line-height: 1.25; }
.pg-split__item p { margin: 10px 0 0; max-width: none; color: var(--color-text-muted); font-size: 16px; line-height: 1.6; }

/* ---------- FAQ: each question a row across 2-3 that opens to its answer ---------- */
.pg-faq__item { border-bottom: 1px solid var(--rule); }
.pg-faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-6); padding: clamp(22px, 2vw, 30px) var(--pad);
  cursor: pointer; list-style: none; }
.pg-faq__item summary::-webkit-details-marker { display: none; }
.pg-faq__item h3 { margin: 0; font-family: var(--font-display); font-weight: var(--weight-headline, 400); font-size: clamp(18px, 1.4vw, 20px); line-height: 1.3; }
/* questions and answers are left-aligned at every width, on every page: the phone styles center headings and
   paragraphs with !important, and this more specific rule wins over them, so a new FAQ needs no page fix */
.pg-faq .pg-faq__item summary h3, .pg-faq .pg-faq__item > p { text-align: left !important; }   /* two classes: outranks every page's centering rule */
.pg-faq__icon { position: relative; flex: none; width: 14px; height: 14px; transition: transform .3s var(--ease-out); }
.pg-faq__icon::before, .pg-faq__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: var(--color-orange); }
.pg-faq__icon::after { transform: rotate(90deg); transition: transform .3s var(--ease-out); }
.pg-faq__item[open] .pg-faq__icon::after { transform: rotate(0deg); }
.pg-faq__item summary:hover h3 { color: var(--color-orange); }
/* links in an answer read as links (fix G15): brighter than the answer, underlined, orange on hover and focus */
.pg-faq__item p a { color: var(--color-text); text-decoration: underline; text-decoration-color: rgba(245, 245, 245, .45); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.pg-faq__item p a:hover, .pg-faq__item p a:focus-visible { color: var(--color-orange); text-decoration-color: currentColor; }
.pg-faq__item p { margin: 0; padding: 0 var(--pad) clamp(22px, 2vw, 30px); max-width: 44em; color: var(--color-text-muted); font-size: 16px; line-height: 1.6; }

/* ---------- contact form, across 2-3 ---------- */
.pg-contact .pg-rows__list { border-top: 0; }
.pg-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-6) var(--pad); padding: 0 var(--pad); }
.pg-field { display: flex; flex-direction: column; gap: 10px; }
.pg-field--wide { grid-column: 1 / -1; }
.pg-field > span { font: 400 12px/1.2 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--color-off-white); }
.pg-field em { font-style: normal; color: var(--color-text-muted); text-transform: none; letter-spacing: 0; }
.pg-field input, .pg-field textarea, .pg-field select {
  width: 100%; box-sizing: border-box; padding: 14px 16px; border: 1px solid var(--rule); border-radius: 0;
  background: transparent; color: var(--color-off-white); font: inherit; font-size: 16px; line-height: 1.5; transition: border-color .2s; }
.pg-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--color-orange) 50%), linear-gradient(135deg, var(--color-orange) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.pg-field select option { background: var(--color-black); }
.pg-field textarea { resize: vertical; min-height: 140px; }
.pg-field input:focus, .pg-field textarea:focus, .pg-field select:focus { outline: none; border-color: var(--color-orange); }
.pg-field small { color: var(--color-text-muted); font-size: 14px; line-height: 1.5; }
.pg-form__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-6); margin-top: var(--space-2); }
.pg-form__confirm { margin: 0; color: var(--color-off-white); font-size: 16px; }
.pg-form button[disabled] { opacity: .5; pointer-events: none; }
.pg-form__error { margin: 0; color: var(--color-off-white); font-size: 16px; }
.pg-form__note { grid-column: 1 / -1; margin: 0; color: var(--color-text-muted); font-size: 14px; line-height: 1.5; }
.pg-form__check:empty { display: none; }   /* Turnstile fills it only when it needs a click */
.pg-form__note a, .pg-form__error a { color: var(--color-text); text-decoration: underline; text-decoration-color: rgba(245, 245, 245, .45); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.pg-form__note a:hover, .pg-form__note a:focus-visible, .pg-form__error a:hover, .pg-form__error a:focus-visible { color: var(--color-orange); text-decoration-color: currentColor; }
.pg-form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }   /* the honeypot: never seen */

/* the current page's nav link */
.nav__links a[aria-current="page"]:not(.nav__cta) { color: var(--color-orange); }

/* ---------- narrower desktops: cards two to a row ---------- */
@media (max-width: 1099px) {
  .pg-hero__art, .pg-hero--art::before, .pg-hero--art::after { display: none; }
  .pg-hero__title { grid-column: 1 / -1; }
  .pg-hero__side { grid-column: 2 / -1; margin-top: var(--space-8); }
}

/* ---------- phones and tablets: one column, no column lines ---------- */
@media (max-width: 759px) {
  /* una columna, pero la seccion conserva sus lineas laterales, a 12px del borde (el riel) */
  .pg { grid-template-columns: 1fr; margin: 0 0 0 12px; width: calc(100% - 24px); padding-inline: var(--gutter, 20px); }
  .pg::before, .pg::after { display: none; }
  .pg > * { grid-column: 1 / -1 !important; }
  .pg-head, .pg-hero__title, .pg-hero__side, .pg-form { padding-inline: 0; }
  .pg-head--sticky { position: static; }
  .pg-hero__side, .pg-rows__list { margin-top: var(--space-8); }
  .pg-faq__item summary { padding-inline: 0; }
  .pg-faq__item p { padding-inline: 0; }
  .pg-form { grid-template-columns: 1fr; }
  .pg-hero--grid { padding-inline: 0; }
  .pg-hero--grid .pg-hero__title { grid-row: auto; padding: var(--space-16) var(--gutter, 20px) var(--space-8); }
  .pg-hero__visual { grid-row: auto; border-left: 0; min-height: 260px; margin: 0 var(--gutter, 20px) var(--space-8); }
  .pg-hero__cell { grid-row: auto; padding: var(--space-6) var(--gutter, 20px); }
  .pg-hero__cell + .pg-hero__cell { border-left: 0; }
  .pg-hero__cell { justify-content: flex-start; }
  .pg-hero__cell--wide { grid-column: auto; }
  .pg-split { padding-inline: 0; }
  .pg-split__head { padding: var(--space-16) var(--gutter, 20px) var(--space-8); }
  .pg-split__panel { border-left: 0; }
  .pg-split__item { padding-inline: var(--gutter, 20px); }
}

/* careers: the homepage's sideways cards. A short line under the title, and the readout's ticks for three cards */
.hscroll__intro { margin: var(--space-4) 0 0; color: var(--color-text-muted); font-size: 16px; line-height: 1.6; }
.careerviz { display: block; width: 100%; flex: 1 1 0; min-height: 56px; }   /* sized like the process cards' diagrams */
.hscroll__cta { margin-top: var(--space-6); }

/* ---------- table rows (careers benefits): title on top, then one full-width column of rows, each with the
   number on the left, the title in the middle and the text on the right (no column lines through it) ---------- */
.pg-table::before, .pg-table::after { display: none; }
.pg-table__list { grid-column: 1 / -1; margin-top: var(--space-16); border-top: 1px solid var(--rule); }
.pg-trow { display: grid; grid-template-columns: minmax(64px, 0.35fr) minmax(0, 1fr) minmax(0, 1.4fr); align-items: center; border-bottom: 1px solid var(--rule); }   /* number, title and text centered in the row */
.pg-trow > * { padding: clamp(24px, 2.4vw, 36px) var(--pad); }
.pg-trow { transition: opacity .9s var(--ease-out) var(--d, 0s), transform .9s var(--ease-out) var(--d, 0s), background-color .3s; }   /* keeps the reveal's fade-up */
.pg-trow:hover { background: var(--color-surface-2); }   /* the row under the cursor lifts to the lighter grey */
.pg-trow__num { font: 400 12px/1 var(--font-mono); letter-spacing: .06em; color: var(--color-orange); }
.pg-trow h3 { margin: 0 0 0 -50px; font-family: var(--font-display); font-weight: var(--weight-headline, 400); font-size: 1.25rem; line-height: 1.3; }   /* H4 size (the wireframe's 1.25rem), 50px left */
.pg-trow h3 { display: flex; align-items: center; gap: 20px; }
.pg-trow__icon { flex: none; width: 28px; height: 28px; color: var(--color-off-white); opacity: .8; transition: opacity .3s ease; }
.pg-trow:hover .pg-trow__icon { opacity: 1; }
.pg-trow__body p { margin: 0; color: var(--color-text-muted); font-size: 16px; line-height: 1.6; }
@media (max-width: 759px) {
  .pg-table__list { margin-top: var(--space-8); }
  .pg-trow { grid-template-columns: 1fr; }
  .pg-trow > * { padding: 0; }
  .pg-trow__num { padding-top: 24px; }
  .pg-trow h3 { padding-top: 12px; margin-left: 0; }
  .pg-trow__body { padding: 10px 0 24px; }
}

/* ---------- Careers, the hiring steps: the heading and its line, the four steps, then three notes on how we hire.
   Under 1100 the steps run down a line on the left; from 1100 they sit in one row on a line across ---------- */
.pg-tl { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-12); padding: var(--space-24) var(--pad); }
.pg-tl::before, .pg-tl::after { display: none; }
.pg-tl__head .pg-intro { max-width: 34em; }
.pg-tl__steps { position: relative; list-style: none; margin: 0; padding: 0; }
.pg-tl__steps::before { content: ""; position: absolute; left: 20px; top: 0; bottom: 0; width: 1px; background: var(--color-orange); opacity: .75; pointer-events: none; }
.pg-tl__step { position: relative; padding: 16px 20px 16px 48px; }
.pg-tl__step::before { content: ""; position: absolute; top: 24.5px; left: 16px; width: 8px; height: 8px; background: var(--color-orange); z-index: 1; }
.pg-tl__step::after { content: ""; position: absolute; top: 28px; left: 20px; width: 14px; height: 1px; background: var(--color-orange); }
.pg-tl__text .pg-row__num { display: block; margin: 0 0 4px; font-size: 12px; color: var(--color-orange); }
.pg-tl__text h3 { margin: 0; font-family: var(--font-display); font-weight: var(--weight-headline, 400); font-size: clamp(18px, 1.6vw, 24px); line-height: 1.25; }
.pg-tl__text p { margin: 6px 0 0; max-width: 34em; color: var(--color-text-muted); font-size: 16px; line-height: 1.6; }
.pg-tl__notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.pg-tl__note { padding: var(--space-8) var(--pad) 0 0; }
.pg-tl__note + .pg-tl__note { padding-left: var(--pad); border-left: 1px solid var(--rule); }
.pg-tl__note h3 { margin: 0; font-family: var(--font-display); font-weight: var(--weight-headline, 400); font-size: 18px; line-height: 1.3; }
.pg-tl__note p { margin: 8px 0 0; color: var(--color-text-muted); font-size: 16px; line-height: 1.6; }
/* from 1100: the four steps in a row, each on a numbered square, a line running between the squares */
@media (min-width: 1100px) {
  .pg-tl__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; }
  .pg-tl__steps::before { left: 0; right: calc((100% - 96px) / 4 - 44px); top: 22px; bottom: auto; width: auto; height: 1px; opacity: .45; }
  .pg-tl__step { padding: 0; }
  .pg-tl__step::before, .pg-tl__step::after { display: none; }
  .pg-tl__text .pg-row__num { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; margin: 0 0 24px; box-sizing: border-box;
    border: 1px solid var(--color-orange); background: var(--color-black); font: 400 12px/1 var(--font-mono); letter-spacing: .04em; }
  .pg-tl__text p { margin-top: 10px; font-size: 16px; }
}
/* an agent, a teal granule, lights each step's marker and travels down the line to the next (js/inner.js, fix G21) */
.pg-tl__agent { position: absolute; left: 0; top: 0; z-index: 2; width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--color-teal);
  box-shadow: 0 0 8px rgba(96, 201, 178, .6); opacity: 0; pointer-events: none; transition: transform .9s cubic-bezier(.65, 0, .35, 1), opacity .3s; }
.pg-tl__step::before { transition: background-color .3s; }
.pg-tl__text .pg-row__num { transition: border-color .3s, color .3s; }
section.pg-tl .pg-tl__step.is-lit::before { background-color: var(--color-teal); }
section.pg-tl .pg-tl__step.is-lit .pg-row__num { border-color: var(--color-teal); color: var(--color-teal); }
@media (max-width: 759px) {
  .pg-tl__notes { grid-template-columns: minmax(0, 1fr); }
  .pg-tl__note, .pg-tl__note + .pg-tl__note { padding: var(--space-6) 0; border-left: 0; }
  .pg-tl__note + .pg-tl__note { border-top: 1px solid var(--rule); }
}

/* ---------- careers job board: a lifted band inside the grid (outside it stays black) in one column; the title and line on top, then a
   row per opening with an Apply button ---------- */
.pg-jobs { grid-template-columns: 1fr; }   /* on the page's charcoal: the grey band above meets it with no line, a full-width line below */
.pg-jobs::before, .pg-jobs::after { left: calc(-1px - var(--svc-l, 0px)); right: auto; top: auto; bottom: auto; width: 100vw; height: 0;
  border-left: 0; border-top: 1px solid var(--rule); }   /* full-width lines along the band's top and bottom (no column lines) */
.pg-jobs::before { display: none; }
.pg-jobs::after { bottom: -1px; }
.pg + .pg-jobs, .pg-jobs + .pg { border-top: 0; }
.pg-jobs .pg-head { grid-column: 1; }
.pg-jobs__list { margin-top: var(--space-16); border-top: 1px solid var(--rule); }
.pg-job { display: flex; align-items: center; justify-content: space-between; gap: var(--space-8); padding: clamp(22px, 2.2vw, 32px) var(--pad);
  border-bottom: 1px solid var(--rule); }
.pg-job h3 { margin: 0; font-family: var(--font-display); font-weight: var(--weight-headline, 400); font-size: clamp(20px, 1.6vw, 24px); line-height: 1.25; }
.pg-job__meta { margin: 8px 0 0; font: 400 12px/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-muted); }
.pg-job .btn { flex: none; }
/* The line the list shows while the roles load, when Greenhouse can't be reached, or when there are none (js/careers-jobs.js) */
.pg-jobs__status { margin: 0; padding: clamp(22px, 2.2vw, 32px) var(--pad); border-bottom: 1px solid var(--rule);
  font-size: clamp(16px, 1.2vw, 18px); line-height: 1.5; color: var(--color-text-muted); }
@media (max-width: 759px) {
  .pg-jobs__list { margin-top: var(--space-8); }
  .pg-jobs::after { display: block; left: 0; }
  .pg-job { flex-direction: column; align-items: flex-start; gap: var(--space-4); padding-inline: 0; }
  .pg-jobs__status { padding-inline: 0; }
}

/* ---------- careers closing: four boxes. The statement top left (centered top to bottom); a field of granules
   being read top right (fills the box); horizontal tick rails with running pulses bottom left; in the bottom right a black box and an amber box, each a
   whole-box link with its label and arrow along the bottom; the amber one (open roles) first ---------- */
.closing--quad .closing__cell { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: minmax(340px, auto) 200px;
  grid-template-areas: "main main art2 art2" "art art cta1 cta2"; }
.closing--quad .closing__main { grid-area: main; align-items: flex-start; justify-content: center; text-align: left; padding: var(--space-12) var(--space-12); }
.closing--quad .closing__lead { margin: var(--space-6) 0 0; text-align: left; }
.closing__art2 { grid-area: art2; position: relative; }
.closing--quad .closing__art { grid-area: art; min-height: 0; }
.closing--quad .readfield, .closing--quad .tickrails { position: absolute; inset: 0; width: 100%; height: 100%; }
.closing__box { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-4); padding: var(--space-8);
  font-family: var(--font-mono); font-size: var(--type-size-small); letter-spacing: var(--mono-letter-spacing); text-transform: var(--mono-transform);
  text-decoration: none; transition: background-color .3s, color .3s; }
.closing__box > span:last-child { transition: transform .3s var(--ease-out); }
.closing__box:hover > span:last-child { transform: translateX(4px); }
.closing__box--dark { grid-area: cta2; background: var(--color-surface-2); color: var(--color-off-white); }   /* the lighter grey */
.closing__box--amber { grid-area: cta1; background: var(--color-orange); color: var(--color-black); }
.closing__box:hover { background: var(--color-off-white); color: var(--color-black); }   /* the site's button hover: fill white */
@media (max-width: 1099px) {
  .closing--quad .closing__cell { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto 240px 160px 140px;
    grid-template-areas: "main main" "art2 art2" "art art" "cta1 cta2"; }
}
@media (max-width: 559px) {
  .closing--quad .closing__cell { grid-template-columns: 1fr; grid-template-rows: auto 220px 120px 120px;
    grid-template-areas: "main" "art2" "cta1" "cta2"; }
  .closing--quad .closing__art { display: none; }
  .closing--quad .closing__main { padding: var(--space-8) var(--space-6); }
}

/* ---------- who we are: the hero as two rows on the full grid (after sigil.framer.ai) ----------
   the H1 with the subhead under it and the buttons side by side to the right, centered on them, then the PanelRow graphic */
.pg-hero--rows { display: block; padding: 0; }
.wr-row { position: relative; }
/* the graphic row's top line runs the full window width, like the job board's */
.wr-row--viz::before { content: ""; position: absolute; left: calc(-1px - var(--svc-l, 0px)); width: 100vw;
  border-top: 1px solid var(--rule); pointer-events: none; }
.wr-row--viz::before { top: 0; }   /* no line at its bottom: the grey band below starts there */
.wr-main { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-12); align-items: center;
  padding: clamp(96px, 10vw, 160px) var(--pad) clamp(56px, 6vw, 96px); }
.pg-hero__title.wr-title { padding: 0; max-width: 9.5em; }   /* "The people behind" over "Granule Labs" */
.wr-copy .pg-hero__sub { max-width: 34em; margin-top: var(--space-8); font-size: 18px; line-height: 1.6; }
.wr-ctas { flex-wrap: nowrap; gap: var(--space-6); margin-top: 0; }
.wr-viz { position: relative; height: clamp(260px, 26vw, 420px); }
.wr-viz canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 759px) {
  .wr-main { grid-template-columns: 1fr; }
}

/* about us: the section under the hero laid out like Version 2's careers band, on a grey band the full window width.
   The heading across the top on two lines, then the paragraphs on the left and the founders' square photos on the
   right (they slide in like the homepage's) */
.pg-tw { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; padding-block: 0;
  background: var(--color-surface-2); box-shadow: 0 0 0 100vmax var(--color-surface-2); clip-path: inset(0 -100vmax); }
.pg-tw::before, .pg-tw::after { display: none; }
.pg + .pg-tw, .pg-tw + .pg { border-top: 0; }   /* the band's own edges, no lines across them */
.pg-tw__title { grid-column: 1 / -1; margin: 0; padding: calc(var(--space-16) + 50px) clamp(24px, 4.5vw, 72px) 0; }
@media (max-width: 759px) {
  .pg-tw { grid-template-columns: 1fr; }
  .pg-tw__title { padding: var(--space-12) 0 0; }
}

/* who we are: the closing box's own pattern, sized like the rails it replaces */
.stackfield, .routefield { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; }

/* ---------- content round 2 (Oct 29) ---------- */

@keyframes pg-reel { to { transform: translateX(-50%); } }

/* why Granule Labs: the homepage's service boxes on an inner page (five of them), on the page grid with a line above */
.v3-svc--page { border-top: 1px solid var(--color-border); --box: 290px; --gap: 110px; }   /* shorter boxes than the homepage's */
.v3-svc--page + .pg { border-top: 1px solid var(--rule); }
.v3-svc__row:nth-child(5) { grid-area: 5 / 1 / 7 / 2; }
.foundviz { position: absolute; inset: 0; width: 100%; height: 100%; }
.v3-svc--page .v3-svc__viz { min-height: 170px; }
/* the hero's pattern fills its box */
.pg-hero__visual .ripplefield { cursor: crosshair; }

/* why Granule Labs, "Delivered by engineers…": a photo filling the left half (black and white, color on hover); the heading and a two-column grid of
   icon items on the right, split by hairlines */
/* Why Us, "Delivered by engineers who have done this before": the heading across the top, then the photo and the
   three reasons beside it, each with its icon at the left */
.pg-feat { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; padding-block: 0; }
.pg-feat::before, .pg-feat::after { display: none; }
.pg-feat__head { grid-column: 1 / -1; padding: var(--space-16) var(--pad) var(--space-12); border-bottom: 1px solid var(--rule); }
.pg-feat__media { position: relative; margin: 0; min-height: 440px; overflow: hidden; border-right: 1px solid var(--rule); }
.pg-feat__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; filter: grayscale(1) contrast(1.05); }
.pg-feat__grid { display: grid; grid-auto-rows: 1fr; }
.pg-feat__item { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 24px; align-content: center; padding: clamp(28px, 3vw, 48px) var(--pad); border-bottom: 1px solid var(--rule); }
.pg-feat__item:last-child { border-bottom: 0; }
.pg-feat__icon { display: block; grid-row: 1 / span 2; width: 32px; height: 32px; fill: none; stroke: var(--color-orange); stroke-width: 2.5; stroke-linejoin: round; }
.pg-feat__item h3 { margin: 0; font-family: var(--font-display); font-weight: var(--weight-headline, 400); font-size: clamp(20px, 1.6vw, 24px); line-height: 1.25; }
.pg-feat__item p { grid-column: 2; margin: 8px 0 0; max-width: 34em; color: var(--color-text-muted); font-size: 16px; line-height: 1.6; }
@media (max-width: 1099px) {
  .pg-feat { grid-template-columns: 1fr; }
  .pg-feat__media { min-height: 300px; border-right: 0; border-bottom: 1px solid var(--rule); }
}
/* 760-1099: the three reasons side by side under the photo, the icon above each title */
@media (min-width: 760px) and (max-width: 1099px) {
  .pg-feat__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; }
  .pg-feat__item { display: block; align-content: start; border-bottom: 0; border-right: 1px solid var(--rule); }   /* block boxes honour align-content too: keep the icons level */
  .pg-feat__item:last-child { border-right: 0; }
  .pg-feat__item h3 { margin-top: 24px; }
}
@media (max-width: 559px) {
  .pg-feat__media { margin-inline: calc(-1 * var(--gutter, 20px)); }
  .pg-feat__head { padding: var(--space-12) 0 var(--space-8); border-bottom: 0; }
  .pg-feat__grid { grid-auto-rows: auto; }   /* each reason as tall as its text */
  .pg-feat__item { padding-inline: 0; }
}

/* services hero: one tall box in the middle of the grid holding the H1, subhead and button at its top and the
   graphic below, wide enough for the H1 on two lines, with two cells stacked down each side, all on hairlines */
.pg-hero--box { grid-template-columns: minmax(0, 1fr) minmax(0, 2.9fr) minmax(0, 1fr); padding: 0; align-items: stretch; }
.pg-hero--box::before, .pg-hero--box::after { display: none; }
.hb-side { display: grid; grid-template-rows: repeat(2, 1fr); }
.hb-cell + .hb-cell { border-top: 1px solid var(--rule); }
.hb-box { grid-column: 2; display: flex; flex-direction: column; min-height: max(720px, calc(100vh - var(--nav-h)));
  border-inline: 1px solid var(--rule); }
.hb-copy { padding: var(--space-12) var(--space-8) 0; }
.pg-hero__title.hb-title { padding: 0; max-width: 13em; font-size: clamp(2.5rem, 4.6vw, 4.5rem); }
.hb-copy .pg-hero__sub { margin-top: var(--space-6); max-width: 30em; font-size: 18px; line-height: 1.6; }
.hb-copy .pg-ctas { margin-top: var(--space-8); }
@media (max-width: 1099px) {
  .pg-hero--box { grid-template-columns: minmax(0, 1fr) minmax(0, 5fr) minmax(0, 1fr); }
}
@media (max-width: 759px) {
  .pg-hero--box { grid-template-columns: 1fr; grid-template-rows: auto; }
  .hb-side { display: none; }
  .hb-box { grid-column: 1; grid-row: auto; min-height: 0; border-inline: 0; }
  .hb-copy { padding: var(--space-16) 0 0; }
}
.pg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pg-chips li { padding: 7px 10px; border: 1px solid var(--rule); background: var(--color-black);
  font: 400 12px/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--color-off-white); }
/* why Granule Labs, the foundations: less room above the title. Its pinned box is shorter and starts under the nav,
   so the title sits a little above the middle of the screen and the boxes start level with it */
.v3-svc--page { padding-top: var(--space-12); }
.v3-svc--page .v3-svc__head { top: var(--nav-h); height: 70vh; }
.v3-svc--page .v3-svc__stack { padding-top: calc(35vh + 60px); }


/* What We Do, the five foundations (moved from Why Granule Labs): the heading's line, closing line and button under it */
.v3-svc--page .v3-svc__head .v3-svc__lead { margin: var(--space-4) 0 0; max-width: 24em; color: var(--color-text-muted); font-size: 16px; line-height: 1.6; }
.v3-svc__cta { margin-top: var(--space-6); }

/* en tablet la seccion iba sin aire a los lados (el diagrama tocaba las lineas) y con la mitad
   del aire de arriba: lleva el mismo relleno lateral que el resto y el de arriba del escritorio */

/* Why Us, "Why we build on ClickHouse": the heading and intro with the partner badge at their right, then the
   certifications a size smaller, each badge with its count, then the companies that rely on ClickHouse, each logo
   linking to its case study. One column of content across the section, no column lines through it */
.pg-partner-sec { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-16); padding: var(--space-24) var(--pad); }
.pg-partner-sec::before, .pg-partner-sec::after { display: none; }
.pg-ch__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: start; }   /* the badge level with the heading's top */
.pg-ch__why .pg-intro { max-width: 36em; }
.pg-ch__partner { display: block; width: 150px; height: auto; filter: invert(1) hue-rotate(180deg); }
.pg-ch__block { display: grid; gap: var(--space-4); }
.pg-ch__block .pg-intro { margin: 0; max-width: 36em; }
.pg-ch__sub { margin: 0; font-family: var(--font-display); font-weight: var(--weight-headline, 400); font-size: clamp(20px, 1.6vw, 24px); line-height: 1.25; }
.pg-ch__products { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; padding: 0; list-style: none; font: 400 12px/1.8 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--color-off-white); }
.pg-ch__products li { white-space: nowrap; }   /* each product whole; the line wraps between them */
.pg-ch__products .pg-ch__products-lead { color: var(--color-text-muted); }   /* names the family once, so each product drops the "ClickHouse" prefix */
.pg-certs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: var(--space-2) 0 0; padding: 0; list-style: none; border-block: 1px solid var(--rule); }
.pg-cert { display: grid; justify-items: center; align-content: start; gap: 12px; padding: 24px 12px; text-align: center; border-right: 1px solid var(--rule); }
.pg-cert:last-child { border-right: 0; }
.pg-cert img { display: block; width: 118px; height: 118px; object-fit: contain; }   /* every badge in the same box, so names and counts line up */
.pg-cert__name { margin: 0; min-height: 2.7em; text-wrap: balance; font: 400 14px/1.35 var(--font-body, inherit); color: var(--color-off-white); }
.pg-cert__count { display: grid; gap: 6px; margin: 0; font: 400 12px/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--color-text-muted); }
.pg-cert__count b { font: 400 30px/1 var(--font-display); letter-spacing: 0; color: var(--color-orange); font-variant-numeric: tabular-nums; }
.pg-users__grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none;
  border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.pg-users__grid li { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.pg-users__grid a { display: grid; grid-template-rows: 56px auto auto; justify-items: center; align-items: center; align-content: center; gap: 10px; height: 136px; padding: 12px 8px; box-sizing: border-box;   /* logo, name and the "case study" link all inside the cell */
  color: color-mix(in srgb, var(--color-off-white) 55%, transparent); text-decoration: none; transition: color .3s ease, background-color .3s ease; }
.pg-users__grid a:hover, .pg-users__grid a:focus-visible { color: var(--color-off-white); background: color-mix(in srgb, var(--color-off-white) 4%, transparent); outline: none; }
.pg-users__mark { display: grid; place-items: center; height: 56px; }   /* one row height for every mark, so the names line up */
.pg-users__mark svg { display: block; width: 30px; height: 30px; fill: currentColor; }
/* Visa, Sony and Cisco are wordmarks: their ink is a short strip inside the square, so they need a bigger box to carry the same weight as the icon marks */
.pg-users__grid li:nth-child(3) .pg-users__mark svg { width: 54px; height: 54px; }   /* Visa */
.pg-users__grid li:nth-child(5) .pg-users__mark svg { width: 64px; height: 64px; }   /* Sony */
.pg-users__grid li:nth-child(7) .pg-users__mark svg { width: 48px; height: 48px; }   /* Cisco */
.pg-users__name, .pg-users__more { font: 400 12px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.pg-users__more { color: var(--color-orange); opacity: 0; transition: opacity .3s ease; }
.pg-users__grid a:hover .pg-users__more, .pg-users__grid a:focus-visible .pg-users__more { opacity: 1; }
@media (max-width: 1099px) {
  .pg-ch__partner { width: 128px; }
  .pg-users__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* under 760: the badge on top, then the heading and intro, centered like the rest of the page; certifications two by two */
@media (max-width: 759px) {
  .pg-partner-sec { row-gap: var(--space-12); }
  .pg-ch__top { grid-template-columns: minmax(0, 1fr); gap: 24px; justify-items: center; text-align: center; }
  .pg-ch__partner { order: -1; width: 96px; }
  .pg-ch__block { justify-items: center; text-align: center; }
  .pg-ch__why .pg-intro, .pg-ch__block .pg-intro { margin-inline: auto; }
  .pg-ch__products { justify-content: center; }
  .pg-ch__products .pg-ch__products-lead { flex-basis: 100%; text-align: center; }   /* the label on its own line, the names under it */
  .pg-certs { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .pg-cert:nth-child(2n) { border-right: 0; }
  .pg-cert:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .pg-cert img { width: 96px; height: 96px; }
  .pg-users__grid { width: 100%; }
  .pg-users__grid a { height: auto; grid-template-rows: 48px auto auto; gap: 8px; padding-block: 14px 12px; }
  .pg-users__mark { height: 48px; }
}
/* phones: the logos two across, so every name fits its cell */
@media (max-width: 559px) { .pg-users__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Why Granule Labs, the tools: logo cards, three across from 760px, each logo over its line */
.pg-tools::before, .pg-tools::after { display: none; }
.pg-tools .pg-head { grid-column: 1 / -1; }
.pg-tools__grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); margin: var(--space-12) var(--pad) 0; }
.pg-tool { display: flex; flex-direction: column; gap: var(--space-6); padding: var(--space-8) var(--space-6) var(--space-6); border: 1px solid var(--rule);
  transition: border-color .3s ease, background-color .3s ease; }
.pg-tool:hover { border-color: var(--color-orange); }
.pg-tool__logo { display: grid; place-items: center; height: 96px; }
.pg-tool__logo img { display: block; max-width: 100%; height: auto; }
.pg-tool p { margin: 0; color: var(--color-text-muted); font-size: 16px; line-height: 1.55; text-align: center; }   /* centered under the logo at every width */
@media (max-width: 759px) { .pg-tools__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .pg-tools__grid { grid-template-columns: 1fr; margin-inline: 0; } }

/* About us, round 3: the leadership team on the grey band. Four across, each a square black-and-white photo that
   turns to color on hover, then the name, the title and a LinkedIn link */
.pg-team .pg-tw__title { padding-bottom: 0; }
.pg-team__row { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px);
  padding: var(--space-12) clamp(24px, 4.5vw, 72px) calc(var(--space-16) + 50px); }
.pg-team__row figure { margin: 0; will-change: translate; }
.pg-team__row img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.pg-team__row img { transition: filter .4s ease; }
.pg-team__row figure:hover img, .pg-team__row figure:focus-within img { filter: none; }   /* color on pointing at the person, or tabbing to their link */
.pg-team__row figcaption { position: relative; margin-top: 16px; padding-right: 32px; font: 400 12px/1.6 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.pg-team__name { display: block; color: var(--color-off-white); }
.pg-team__role { display: block; color: var(--color-text-muted); }
.pg-team__in { position: absolute; right: 0; top: .45em; display: grid; place-items: start end; width: 24px; height: 24px; color: var(--color-text-muted); transition: color .3s ease; }
.pg-team__in svg { width: auto; height: 12px; fill: currentColor; }   /* the viewBox is cropped to the logo itself, so .45em down
   (where the name's capitals start in its 1.6 line) puts the logo's top edge level with them */
.pg-team__in:hover { color: var(--color-orange); }
@media (max-width: 759px) { .pg-team__row { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: var(--space-8) 0 var(--space-12); } }

/* About us, round 3: the values in two columns. The heading in the left third; in the right two thirds the values
   as stacked boxes, each a row: icon on the left, name in the middle, line on the right */
.pg-vals { padding-block: 0; align-items: stretch; }   /* the rows fill the section top to bottom */
.pg-vals::after { display: none; }   /* only the line between the two columns; none through the rows */
.pg-vals .pg-head { padding-block: var(--space-16); }
.pg-vals__list { grid-column: 2 / -1; display: grid; }
/* each value a full-width row of the right two thirds, touching the next, split by hairlines */
.pg-val { display: grid; grid-template-columns: 40px minmax(0, 0.9fr) minmax(0, 1.4fr); align-items: center; gap: var(--space-6);
  padding: var(--space-8) clamp(24px, 3vw, 48px); border-bottom: 1px solid var(--rule); transition: background-color .3s ease; }
.pg-val:last-child { border-bottom: 0; }
.pg-val:hover { background: var(--color-surface-2); }
.pg-val__icon { display: block; margin-left: -15px; width: 24px; height: 24px; fill: none; stroke: var(--color-orange); stroke-width: 2.5; stroke-linejoin: round; }
.pg-val__icon .solid { fill: var(--color-orange); stroke: none; }
.pg-val h3 { margin: 0; font-family: var(--font-display); font-weight: var(--weight-headline, 400); font-size: clamp(20px, 1.6vw, 24px); line-height: 1.25; }
.pg-val p { margin: 0; color: var(--color-text-muted); font-size: 16px; line-height: 1.6; }
.pg-val__text { padding-left: min(115px, 8vw); }   /* 115px on wide screens, a little less on small laptops so the lines keep their length */
.pg-val__text p { max-width: 20em; }   /* shorter lines */
@media (max-width: 759px) {
  .pg-vals .pg-head { padding: var(--space-12) 0 var(--space-6); }
  .pg-vals__list { grid-column: 1; border-top: 1px solid var(--rule); }
  .pg-val { grid-template-columns: 40px minmax(0, 1fr); gap: var(--space-4); padding: var(--space-6) 0; }
  .pg-val__text { grid-column: 2; padding-left: 0; }
}

/* About us, round 3: the investors, set up like the homepage's ClickHouse row: a lifted band, the heading and line
   on the left, the two logos in dark outlined boxes side by side on the right */
.pg-backers { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding-block: var(--space-16); }   /* the heading takes the room the logos leave */
.pg-backers .pg-head { grid-column: 1; grid-row: 1; }
.pg-backers__logos { grid-column: 2; grid-row: 1; justify-self: end; width: min(44vw, 640px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px; padding: 0 var(--pad); box-sizing: border-box; }
.pg-backers__logo { display: grid; place-items: center; gap: 8px; height: 140px; padding: 0 var(--space-3); border: 1px solid var(--color-border); background: var(--color-black); }
.pg-backers__logo img { display: block; max-width: 100%; height: auto; object-fit: contain; opacity: .92; }   /* contain: on phones the box narrows and the logo keeps its shape */
/* each logo links to its firm's site: the box lights up under the cursor or keyboard focus */
a.pg-backers__logo { transition: border-color .2s ease; }
a.pg-backers__logo:hover, a.pg-backers__logo:focus-visible { border-color: var(--color-orange); outline: none; }
a.pg-backers__logo:hover img, a.pg-backers__logo:focus-visible img { opacity: 1; }
@media (max-width: 759px) { .pg-backers { grid-template-columns: 1fr; } .pg-backers .pg-head br { display: none; } .pg-backers__logos { grid-column: 1; grid-row: auto; width: 100%; padding: 0; margin-top: var(--space-8); } .pg-backers__logo { height: 110px; } }

/* About us: the leadership team and the story sit on the page's black, not on grey bands; a line between sections, as elsewhere */
.pg-tw.pg-team, .pg-introlike.pg-story { background: none; box-shadow: none; clip-path: none; }
.pg-team, .pg-story { border-top: 1px solid var(--rule) !important; }

/* careers, round 3: the readout's ticks for five cards */
.hscroll--5 .hscroll__meter::after {
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 1px 100% no-repeat,
    linear-gradient(currentColor, currentColor) 25% 0 / 1px 100% no-repeat,
    linear-gradient(currentColor, currentColor) 50% 0 / 1px 100% no-repeat,
    linear-gradient(currentColor, currentColor) 75% 0 / 1px 100% no-repeat,
    linear-gradient(currentColor, currentColor) 100% 0 / 1px 100% no-repeat;
}

@keyframes pg-sweep { 0% { transform: scaleX(0); opacity: 1; } 70% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }

/* Careers, "How you'll thrive here": the same cards as the home's, grey text under white titles */
.hscroll--5 .careerviz { min-height: 140px; }   /* the card's 4:3 shape, as on the home; the diagram never shorter than its labelled boxes need */

/* What We Do, the five foundations: keep their text-beside-diagram layout (the homepage's service cards now put
   the diagram under the text) */
.v3-svc--page .v3-svc__text { grid-column: 1; grid-row: 2; align-self: center; }
.v3-svc--page .v3-svc__viz { grid-column: 2; grid-row: 2; margin-top: 0; }
@media (max-width: 559px) {
  .v3-svc--page .v3-svc__viz { grid-column: 1; grid-row: 2; height: 240px; min-height: 0; margin: 0 0 20px; }
  .v3-svc--page .v3-svc__text { grid-row: 3; }
}

/* What We Do hero: no side cells or inner lines, only the page's outer vertical lines; the content keeps its place
   in the middle */
.pg-hero--box .hb-side { display: none; }
.pg-hero--box .hb-box { border-inline: 0; }
/* with the sides gone, the hero takes the full width: the text (same sizes as every other hero) moves over to the left,
   the graphic stretches across, and a line runs between them */
@media (min-width: 760px) {
  .pg-hero--box .hb-box { grid-column: 1 / -1; }   /* still the full screen tall */
  .pg-hero--box .hb-copy { padding-inline: var(--pad); }
  .pg-hero--box .pg-hero__title.hb-title { max-width: 9.2em; }   /* same size, still breaking onto two lines */
}
/* Careers: the link to every open role on Greenhouse, under the list */
.pg-jobs__all { margin: var(--space-8) 0 0; padding-inline: var(--pad); }
@media (max-width: 759px) { .pg-jobs__all { padding-inline: 0; text-align: center; } }
