/* Co.Labs Training - site styles for the home page and the two package
   pages. Two-package rebuild, December 2026: one stylesheet in place of the
   home page's inline sheet (v0.7 to v1.26) and product.css (v1.24 to v1.28).
   Nothing here is a new design decision. It carries forward what those
   files settled:
   - Palette from the Co.Labs brand guide: Dark Purple #1B0F66 primary,
     Dark Red #AB0841 secondary. The yellow #FCB028 is Co.Link's program
     colour, used provisionally (Co.Labs Training's own accent is not
     chosen). Yellow carries trim and accents; crimson carries focus rings
     and links on light grounds.
   - Type: Inter for body (self-hosted, since v1.14), the Helvetica stack
     for headings, buttons and labels (Helvetica Now pending licence).
   - Home page: the 4 / 8 / 12 column page grid, the photo band with the
     hero card pulled up over it, the plate and its traveling twin in the
     right rail, .field cards on paper, .band rooms in purple, and the
     quiet motion bundle (reveal fade-ups, the FAQ spring, the arrow nudge).
   - Package pages: the 960px column, the two heroes (A: text and photo
     with a facts strip, B: purple band with fact tiles), numbered steps,
     and the "leaves with" block.
   The header, navigation and footer live in chrome.css, shared with the
   Readiness Assessment. The page ships light only (August 12 ruling). */

/* ============ tokens and base ============ */
:root {
  --paper: #F7F7FA; --surface: #FFFFFF; --ink: #1A1733;
  --spruce: #1B0F66; --spruce-deep: #120845;
  --field: #FCB028; --crimson: #AB0841;
  --slate: #5A5A70; --rule: #E2E1EA; --on-spruce: #F2F1F8;
  --radius-lg: 12px; --radius-btn: 8px;
  --col-gap: 1rem;
  /* spacing scale, em-based */
  --space-2xs: 0.6em; --space-xs: 0.8em; --space-sm: 1em; --space-md: 1.5em;
  --space-lg: 2em; --space-xl: 3em; --space-2xl: 6em; --space-3xl: 8em;
}
@media (min-width: 1100px) { :root { --col-gap: 1.25rem; --col-max: 98px; } }
* { box-sizing: border-box; }
/* Smooth anchor scrolling, only when motion is allowed. Not in chrome.css:
   the assessment moves between its screens instantly. */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
/* [hidden] loses to any display rule unless it is forced (September lesson). */
[hidden] { display: none !important; }
@font-face { font-family: Inter; src: url("assets/fonts/inter-variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
html, body { background: var(--paper); }
body {
  margin: 0; color: var(--ink);
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px; line-height: 1.65;
}
h1, h2, h3, h4, .btn, .mono, label, dt, dd {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; /* Helvetica Now pending licence */
}
h1, h2 { font-weight: 800; }
h3, h4 { font-weight: 700; }
.mono { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
a { color: var(--crimson); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--crimson); outline-offset: 2px; }

/* ---- buttons ---- */
.btn {
  display: inline-block; padding: 14px 22px; font-weight: 700; font-size: 16px;
  text-decoration: none; border: 2px solid var(--spruce); cursor: pointer;
  border-radius: var(--radius-btn); background: transparent; color: var(--ink);
  -webkit-appearance: none; appearance: none;
}
.btn.primary { background: var(--spruce); color: var(--on-spruce); }
.btn.ghost { color: var(--ink); background: transparent; }
.btn:focus-visible { outline: 3px solid var(--crimson); outline-offset: 2px; }
.btn[disabled] { opacity: .6; cursor: default; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
/* hover arrow nudge, on every button and "See ..." link */
.arrow { display: inline-block; transition: transform .15s ease-out; margin-left: 6px; }
.btn:hover .arrow, .btn:focus-visible .arrow, .more:hover .arrow, .more:focus-visible .arrow { transform: translateX(4px); }
/* "See ..." links: no underline at rest, a crimson rule grows in on hover */
.more {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 700; font-size: 16px;
  text-decoration: none; padding-bottom: 2px;
  background: linear-gradient(var(--crimson), var(--crimson)) no-repeat 0 100% / 0 2px;
  transition: background-size .3s cubic-bezier(.2,.7,.3,1);
}
.more:hover, .more:focus-visible { background-size: 100% 2px; }

/* ---- lists shared by both layouts ---- */
/* short statements with a yellow rule: the problems we hear, what a build
   could look like */
.points { list-style: none; margin: var(--space-md) 0 0; padding: 0; display: grid; gap: 16px var(--space-lg); }
@media (min-width: 700px) { .points { grid-template-columns: 1fr 1fr; } }
.points li { margin: 0; padding: 1px 0 1px 16px; border-left: 3px solid var(--field); font-size: 16px; line-height: 1.5; }
/* good fit / not the right fit */
.fornot h2, .fornot h3 { font-size: 20px; font-weight: 700; margin: 0 0 12px; }
.fornot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; max-width: none; }
.fornot li { margin: 0; padding-left: 22px; position: relative; font-size: 16px; }
.fornot .yes li::before { content: "+"; position: absolute; left: 0; font-weight: 800; color: var(--spruce); }
.fornot .no li::before { content: "\2013"; position: absolute; left: 0; font-weight: 800; color: var(--slate); }

/* ---- FAQ: <details> with an inline marker; site.js adds the spring
   expand and collapse when motion is allowed ---- */
.faq { margin-top: var(--space-md); }
.faq details { border-top: 1px solid var(--rule); padding: 14px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; gap: 10px; align-items: baseline; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "\25B8"; color: var(--slate); font-size: 14px; flex: none; transition: transform 160ms ease; }
.faq details[open] summary::before { transform: rotate(90deg); }
.faq summary h3 { font-size: 17px; line-height: 1.35; margin: 0; }
.faq .faq-body p { margin: 10px 0 0 24px; color: var(--slate); font-size: 16px; max-width: 60ch; }
.motion .faq-body {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .5s linear(0 0%, 0.18 7.6%, 0.51 16.3%, 0.87 31.75%, 0.97 43%, 1 58.4%, 1 100%);
}
.motion details[open] .faq-body { grid-template-rows: 1fr; }
.faq-body-inner { overflow: hidden; min-height: 0; }

/* ---- the booking form (same fields on every page) ---- */
/* The fields fill their column or card: two across from 640px, with the
   free-text box, the button and the notes spanning both. */
.inquiry-form { display: grid; gap: 14px 16px; margin-top: var(--space-md); }
@media (min-width: 640px) {
  .inquiry-form { grid-template-columns: 1fr 1fr; }
  .inquiry-form > :not(label), .inquiry-form > label.wide { grid-column: 1 / -1; }
}
.inquiry-form label { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
.inquiry-form input, .inquiry-form textarea {
  display: block; width: 100%; margin-top: 6px; font: inherit; font-size: 17px; padding: 11px 12px;
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif; text-transform: none; letter-spacing: normal;
  background: var(--surface); color: var(--ink); border: 1px solid var(--rule); border-radius: var(--radius-btn);
}
.inquiry-form textarea { resize: vertical; min-height: 5.5em; }
.inquiry-form input:focus-visible, .inquiry-form textarea:focus-visible { outline: 3px solid var(--crimson); outline-offset: 2px; border-color: var(--ink); }
.inquiry-form .btn { justify-self: start; }
.form-hint { margin: -4px 0 0; font-size: 14px; color: var(--slate); }
.form-note { margin: 4px 0 0; font-weight: 700; }
.form-next { margin: 0; }
.privacy-line { font-size: 14px; color: var(--slate); margin: 18px 0 0; }

/* ============ home page: the page grid ============ */
/* Content columns carry a [c] line name; a section is a subgrid of the
   page, so anything inside it can address the same lines. Width is a span,
   never a max-width. */
.page {
  display: grid; column-gap: var(--col-gap);
  grid-template-columns:
    [full-start] var(--page-margin)
    [content-start] repeat(4, [c] minmax(0, 1fr)) [content-end]
    var(--page-margin) [full-end];
}
@media (min-width: 700px) {
  .page { grid-template-columns:
    [full-start] var(--page-margin)
    [content-start] repeat(8, [c] minmax(0, 1fr)) [content-end]
    var(--page-margin) [full-end]; }
}
@media (min-width: 1100px) {
  /* columns cap, so content stops at 1396px and the margins absorb the rest */
  .page { grid-template-columns:
    [full-start] minmax(var(--page-margin), 1fr)
    [content-start] repeat(12, [c] minmax(0, var(--col-max))) [content-end]
    minmax(var(--page-margin), 1fr) [full-end]; }
}
.page > * { grid-column: content; }

/* Rhythm: top padding scales with the tier, bottom is fixed, so two
   variable paddings never meet at a seam. */
.sec {
  display: grid; grid-template-columns: subgrid; column-gap: var(--col-gap);
  padding-block: var(--space-xl) var(--space-lg); border-top: 1px solid var(--rule);
}
.sec.tight { padding-block-start: var(--space-lg); }
@media (min-width: 1100px) {
  .sec { padding-block-start: var(--space-2xl); }
  .sec.tight { padding-block-start: var(--space-xl); }
}
.sec.bare { border-top: 0; }
.sec.wide-end { padding-block-end: var(--space-2xl); }
.sec > * { grid-column: content; }
.measure { grid-column: content-start / span 4; }
@media (min-width: 700px)  { .measure { grid-column: content-start / span 6; } }
@media (min-width: 1100px) { .measure { grid-column: content-start / span 7; } } /* columns 8 to 12 stay clear for the traveling plate */
.sec h2 {
  font-size: clamp(26px, 3.6vw, 38px); letter-spacing: -0.015em;
  line-height: 1.15; margin: 10px 0 18px; text-wrap: balance;
}
.sec .measure > :first-child { margin-top: 0; }

/* .field: a raised card inside the content columns. Adjacent fields read
   as one continuous surface. */
.sec.field {
  background: var(--surface); border: 1px solid var(--rule);
  border-radius: var(--radius-lg); padding: var(--space-lg);
}
.sec.field:has(+ .sec.field) { border-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.sec.field + .sec.field { border-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; padding-block-start: var(--space-sm); }
aside.field {
  background: var(--surface); border: 1px solid var(--rule);
  border-radius: var(--radius-lg); padding: var(--space-lg); max-width: 46em;
}
aside.field .mono { margin-bottom: 11px; }
aside.field h3 { font-size: 22px; line-height: 1.2; margin: 0 0 10px; }
aside.field p { margin: 0 0 16px; }

/* .band: a full-bleed purple room with the yellow trim. Never two in a row. */
.sec.band {
  grid-column: full; position: relative; border-top: 0;
  background: var(--spruce); color: var(--on-spruce);
  padding-block: var(--space-xl);
}
@media (min-width: 1100px) { .sec.band { padding-block: var(--space-2xl); } }
.sec.band::before, .final::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--field);
}
.sec.band .mono { color: var(--on-spruce); opacity: .82; }
.sec.band a { color: inherit; }
.band .press { margin-top: 22px; }
.band .press a { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.band .press a span { text-decoration: underline; text-underline-offset: 3px; }
.band .press .press-logo { width: 52px; height: 52px; border-radius: 8px; flex: 0 0 auto; display: block; }

/* ---- hero: photo band, with the hero card pulled up over it ---- */
.photoband {
  grid-column: full; position: relative; height: 44vh; min-height: 300px;
  background: url("assets/web/colabs-up25-02.jpg") center / cover no-repeat;
  border-bottom: 6px solid var(--field);
}
.bandcaption {
  position: absolute; top: 0; right: 0; margin: 14px;
  font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: rgba(255,255,255,.92); background: rgba(15,20,18,.55);
  padding: 6px 12px; border-radius: 999px;
}
.herocard {
  position: relative; z-index: 1; margin-top: -120px; margin-bottom: var(--space-lg);
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-lg);
  padding: var(--space-sm) var(--page-margin);
}
.hero { display: grid; grid-template-columns: 1fr; gap: var(--space-lg); padding-block: var(--space-xs) var(--space-sm); align-items: stretch; }
@media (min-width: 900px)  { .hero { grid-template-columns: 1.4fr 1fr; gap: var(--space-xl); padding-block-start: var(--space-md); } }
@media (min-width: 1100px) { .hero { grid-template-columns: 7fr 5fr; } }
.hero h1 { font-size: clamp(32px, 4vw, 44px); line-height: 1.06; margin: 12px 0 20px; letter-spacing: -0.02em; text-wrap: balance; }
.hero p.sub { font-size: 18px; margin: 0 0 28px; }
/* one-line credibility strip at the foot of the hero card */
.herocard .cred { margin: 0; padding-top: 12px; border-top: 1px solid var(--rule); text-align: center; }
.herocard .cred a { color: inherit; }
.herocard .cred span { white-space: nowrap; }
.herocard .cred span + span::before { content: "\00b7\00a0"; }
@media (max-width: 699px) {
  /* Phones: a shorter band, and the hero plate steps aside (the package
     cards it summarizes follow within two screens). */
  .photoband { height: 30vh; min-height: 220px; }
  .bandcaption { font-size: 11px; }
  .herocard { margin-top: -84px; }
  .hero > .plate { display: none; }
  .herocard .cred span { display: block; white-space: normal; }
  .herocard .cred span + span::before { content: none; }
}

/* ---- the plate: the two packages, label / title / one line each. The
   hero carries one; its fixed twin travels down the right rail. ---- */
.plate { border: 2px solid var(--ink); background: var(--surface); padding: 4px; display: flex; border-radius: var(--radius-lg); }
.plate .inner { padding: 22px; display: grid; gap: 0; align-content: stretch; flex: 1; }
.plate .row {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px;
  padding: 14px 0; border-bottom: 1px solid var(--rule);
  transition: box-shadow .18s ease, border-color .18s ease;
}
.plate .row:last-child { border-bottom: 0; }
.plate .row:hover { box-shadow: inset 0 -3px 0 var(--ink); border-bottom-color: var(--ink); }
.plate .big { font: 700 22px/1.2 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.plate a.big:hover, .plate a.big:focus-visible { text-decoration: underline; text-decoration-color: var(--crimson); text-decoration-thickness: 2px; }
.plate .plate-sub { font: 14px/1.45 "Helvetica Neue", Helvetica, Arial, sans-serif; color: var(--slate); margin-top: 2px; }

.plate-rail { display: none; position: fixed; inset: 0; z-index: 40; pointer-events: none; }
@media (min-width: 1100px) {
  /* the page's own track list, so the twin lands on columns 8 to 12 exactly */
  .plate-rail {
    display: grid; column-gap: var(--col-gap);
    grid-template-columns:
      [full-start] minmax(var(--page-margin), 1fr)
      [content-start] repeat(12, [c] minmax(0, var(--col-max))) [content-end]
      minmax(var(--page-margin), 1fr) [full-end];
    padding-top: 110px; padding-bottom: 24px;
  }
}
.plate.plate-fixed {
  grid-column: c 8 / span 5; justify-self: end; align-self: start;
  width: 100%; max-width: 440px; flex-direction: column;
  border: 1px solid var(--rule); box-shadow: 0 12px 32px rgba(0,0,0,.16);
  max-height: calc(100vh - 134px); overflow-y: auto;
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.plate-fixed.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.plate-fixed .inner { padding: 12px 18px 6px; }
.plate-fixed .row { padding: 10px 0; }
.plate-fixed .big { font-size: 18px; }
.plate-fixed .plate-sub { font-size: 12px; }
.plate-fixed .ctas { padding: 4px 16px 14px; flex-direction: column; align-items: stretch; gap: 8px; }
.plate-fixed .ctas .btn { text-align: center; }
.plate-fixed .plate-link { display: block; text-align: center; color: var(--slate); }

/* ---- cards ---- */
.cards { display: grid; grid-template-columns: 1fr; gap: var(--space-md); margin-top: var(--space-md); }
@media (min-width: 700px) {
  .cards { grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
  .cards.two { grid-template-columns: repeat(2, 1fr); }
}
.card { border-top: 2px solid var(--ink); padding-top: 14px; transition: box-shadow .18s ease; }
.card:hover { box-shadow: inset 0 2px 0 var(--ink); }
.card h3 { font-size: 18px; line-height: 1.3; margin: 6px 0 8px; }
.card p { font-size: 15px; color: var(--slate); margin: 0 0 10px; }
.card p:last-child { margin-bottom: 0; }
/* the two package cards: the name, one paragraph and the link to the
   package page */
.card.pkg { display: flex; flex-direction: column; }
.card.pkg .pkg-head { display: flex; justify-content: space-between; align-items: baseline; gap: 2px 16px; flex-wrap: wrap; margin: 6px 0 10px; }
.card.pkg h3 { font-size: 22px; letter-spacing: -0.01em; margin: 0; }
.card.pkg p { font-size: 16px; color: var(--ink); margin: 0 0 14px; }
.card.pkg p:last-child { margin-top: auto; }
.after-cards { margin: var(--space-md) 0 0; }

/* ---- photos ---- */
.sessionphoto { margin: var(--space-2xs) 0 8px; }
.sessionphoto img { width: 100%; height: auto; display: block; border-radius: 6px; aspect-ratio: 16 / 9; object-fit: cover; }
.sessionphoto figcaption { margin-top: 8px; }
.band .sessionphoto { margin-top: 28px; }
.band .sessionphoto figcaption { color: var(--on-spruce); opacity: .82; }
/* the Why Co.Labs slideshow: slides stacked in a fixed-ratio frame, user
   driven, no autoplay */
.sessionphoto.slider .slider-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: var(--surface); }
.sessionphoto.slider .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s ease; border-radius: 0; }
.sessionphoto.slider .slide.is-active { opacity: 1; }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; border: 0; padding: 0;
  background: color-mix(in srgb, var(--ink) 35%, transparent);
  color: #FFFFFF; font-size: 22px; line-height: 1; cursor: pointer;
  transition: background-color .18s ease;
}
.slider-arrow:hover, .slider-arrow:focus-visible { background: color-mix(in srgb, var(--ink) 65%, transparent); }
.slider-arrow:focus-visible { outline: 3px solid var(--crimson); outline-offset: 2px; }
.slider-arrow.prev { left: 12px; }
.slider-arrow.next { right: 12px; }

/* ---- who you'll work with ---- */
.person { margin: var(--space-md) 0 0; padding-top: 20px; border-top: 2px solid var(--ink); max-width: 46em; display: flex; gap: 24px; align-items: flex-start; }
.person-photo { width: 140px; height: 140px; flex: none; border-radius: var(--radius-lg); object-fit: cover; display: block; }
@media (max-width: 699px) { .person { gap: 16px; } .person-photo { width: 88px; height: 88px; } }
.person h3 { font-size: 22px; letter-spacing: -0.01em; margin: 0 0 4px; }
.person .mono { margin: 0 0 10px; }
.person p { margin: 0; }
.person + p { max-width: 46em; }

/* ---- book and FAQ share one band: the form left, questions right at
   desktop; stacked below 1100px ---- */
.bookfaq { grid-column: content-start / span 4; }
@media (min-width: 700px) { .bookfaq { grid-column: content-start / span 6; } }
.bookfaq .faqcol { margin-top: var(--space-2xl); }
.bookfaq h2 { margin-top: 0; }
@media (min-width: 1100px) {
  .bookfaq {
    grid-column: content-start / content-end;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 48px calc(var(--col-gap) * 4); align-items: start;
  }
  .bookfaq .faqcol { margin-top: 0; }
}

/* ---- closing band ---- */
.final {
  grid-column: full; position: relative;
  display: grid; grid-template-columns: subgrid; column-gap: var(--col-gap);
  background: var(--spruce); color: var(--on-spruce); padding-block: var(--space-xl);
}
.final > * { grid-column: content; }
.final .mono { color: var(--on-spruce); opacity: .82; }
.final h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.015em; line-height: 1.15; margin: 8px 0 14px; text-wrap: balance; }
.final p { margin: 0 0 22px; }
.final .btn.primary { background: var(--field); color: var(--ink); border-color: var(--field); }
.final .btn.ghost { color: inherit; border-color: currentColor; }
@media (min-width: 700px) and (max-width: 1099px) {
  /* no rail to balance at tablet, so the band centres */
  .final > .measure { grid-column: content; text-align: center; }
  .final .ctas { justify-content: center; }
}
@media (min-width: 1100px) {
  .final { padding-block: var(--space-2xl); }
  .final > .measure { grid-column: c 1 / span 7; }
}

/* ---- funder credit band: centred heading, logo beneath ---- */
.funder-inner { text-align: center; padding: 26px 0; }
.funder-inner h2 { margin: 0 auto; }
.funder-logo { display: inline-block; margin-top: 30px; }
.funder-logo img { height: 58px; width: auto; display: block; margin: 0 auto; }

/* ============ package pages: the 960px column ============ */
.wrap { width: 100%; max-width: 960px; margin: 0 auto; padding: 0 24px 96px; }
.wrap h1, .heroB h1 { font-size: clamp(30px, 5vw, 42px); letter-spacing: -0.02em; line-height: 1.1; margin: 12px 0 18px; text-wrap: balance; }
.wrap section { margin-top: 56px; }
.wrap section h2 { font-size: clamp(22px, 4vw, 28px); letter-spacing: -0.01em; line-height: 1.15; margin: 0 0 16px; text-wrap: balance; }
.wrap p, .heroB p { margin: 0 0 12px; max-width: 60ch; }
.wrap ul, .wrap ol { margin: 0 0 12px; padding-left: 22px; max-width: 60ch; }
.wrap li { margin: 0 0 10px; }
.wrap ul.points, .wrap .fornot ul, .wrap .leave ul { padding-left: 0; max-width: none; }
.wrap ul.points { margin-top: 0; }
.wrap ul.points li, .wrap .fornot li { margin: 0; }
.wrap .intro, .heroB .intro { font-size: 18px; margin: 0 0 24px; }

/* photos carry the yellow rule and a caption */
.photo { border-radius: var(--radius-lg); overflow: hidden; border-bottom: 6px solid var(--field); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cap { font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: .04em; color: var(--slate); margin-top: 8px; }

/* hero A: text left, photo right, the facts strip under */
.heroA { padding: 36px 0 0; display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
@media (min-width: 760px) { .heroA { grid-template-columns: 1.1fr 1fr; gap: 40px; } }
.heroA .photo { aspect-ratio: 4 / 3; }
.facts-strip { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--rule); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; margin: 28px 0 0; padding: 0; }
.facts-strip div { padding: 14px 16px; border-left: 1px solid var(--rule); }
.facts-strip div:nth-child(2n+1) { border-left: 0; }
.facts-strip div:nth-child(n+3) { border-top: 1px solid var(--rule); }
.facts-strip dt { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); margin: 0 0 4px; }
.facts-strip dd { margin: 0; font-weight: 700; font-size: 16px; line-height: 1.3; }
@media (max-width: 520px) {
  .facts-strip { grid-template-columns: 1fr; }
  .facts-strip div { border-left: 0; }
  .facts-strip div:nth-child(n+2) { border-top: 1px solid var(--rule); }
}

/* hero B: purple band, the facts as tiles in the band */
.heroB { background: var(--spruce); color: var(--on-spruce); padding: 44px 0 40px; border-bottom: 6px solid var(--field); }
.heroB .wrap-inner { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.heroB .mono { color: var(--field); }
.heroB h1 { color: #fff; max-width: 22ch; }
.heroB .btn.primary { background: var(--field); color: var(--ink); border-color: var(--field); }
.tilesB { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 32px 0 0; padding: 0; }
/* an odd tile out spans the row on phones; from 700px the tiles share one row */
.tilesB div:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 700px) {
  .tilesB { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
  .tilesB div:last-child:nth-child(odd) { grid-column: auto; }
}
.tilesB div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-btn); padding: 12px 14px; }
.tilesB dt { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #B9B4DC; margin: 0 0 4px; }
.tilesB dd { margin: 0; font-weight: 700; color: #fff; font-size: 16px; line-height: 1.3; }
.afterB { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; margin-top: 48px; }
@media (min-width: 760px) { .afterB { grid-template-columns: 1fr 1fr; gap: 40px; } }
.afterB .photo { aspect-ratio: 3 / 2; }
.wrap .afterB section { margin-top: 0; }

/* numbered steps */
.steps { display: grid; grid-template-columns: 1fr; gap: 20px 32px; }
@media (min-width: 700px) { .steps { grid-template-columns: 1fr 1fr; } }
.steps .step { border-top: 2px solid var(--ink); padding-top: 14px; }
.steps .num { font: 700 32px/1 "Helvetica Neue", Helvetica, Arial, sans-serif; color: var(--rule); margin: 0 0 8px; }
.steps h3 { font-size: 18px; margin: 0 0 8px; }
.steps p { font-size: 16px; margin: 0; }

/* "Your team leaves with": a light card on the page whose hero is purple,
   a purple card on the page whose hero is light. Same label on both. */
.leave { border: 1px solid var(--rule); border-left: 4px solid var(--field); border-radius: var(--radius-lg); background: var(--surface); padding: 24px 26px 26px; }
.wrap section.leave h2 { margin: 0 0 14px; }
.leave ul { margin: 0; list-style: none; display: grid; gap: 12px; }
@media (min-width: 700px) { .leave ul { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.leave li { margin: 0; padding-left: 16px; border-left: 3px solid var(--field); font-size: 16px; line-height: 1.5; }
.leave.dark { background: var(--spruce); color: var(--on-spruce); border: 0; padding: 28px 28px 30px; }
.leave.dark h2 { color: #fff; }

/* the IT-manager callout */
.wrap .callout { margin: 16px 0 0; max-width: none; padding: 16px 20px; border: 1px solid var(--rule); border-radius: var(--radius-lg); background: var(--surface); font-size: 16px; }
.callout strong { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }

/* two short sections side by side */
.pair { display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: 56px; }
@media (min-width: 760px) { .pair { grid-template-columns: 1fr 1fr; gap: 48px; } }
.wrap .pair section { margin-top: 0; }

/* the booking card */
.wrap section.book { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 28px; }
.book .inquiry-form { margin-top: 8px; }

/* ============ motion ============ */
/* Every pre-state hangs off .motion, which site.js adds only when
   scripting runs and motion is not reduced, so the resting state is always
   the fallback. */
.motion .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease-out, transform .5s ease-out; }
.motion .reveal.is-in { opacity: 1; transform: none; }
.motion .hero .plate .row { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.3,1), box-shadow .18s ease, border-color .18s ease; }
.motion .hero .plate .row.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
