/* Inner pages. Each part is an ordinary block (group, heading, paragraph, list, image, buttons) with one of
   the class names below, so pages are edited in the normal editor and keep the site's look.
   The same file is loaded into the editor, so what an editor sees matches the page. */

.editor-styles-wrapper { background: var(--paper); color: var(--paper-ink); }
/* Each section sets its own width; the editor should not narrow them. */
.is-root-container > .wp-block-group { max-width: none; margin-inline: 0; }
.wp-block-post-content > * { margin-block: 0; }
.wp-block-post-content figure.wp-block-image { margin: 0; }

/* ---------- Buttons ---------- */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.wp-block-buttons .wp-block-button__link {
  display: inline-flex; align-items: center; gap: 0.6em; min-height: 2.9rem; padding: 0.7rem 1.5rem;
  border: 1.5px solid transparent; border-radius: 999px; background: none; color: inherit;
  font-family: var(--font-head); font-size: 0.97rem; font-weight: 600; line-height: 1.15; text-decoration: none;
  transition: background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
.wp-block-buttons .is-primary .wp-block-button__link { background: var(--orange); color: var(--paper-ink); }
.wp-block-buttons .is-primary .wp-block-button__link:hover { background: var(--orange-hi); }
.wp-block-buttons .is-secondary .wp-block-button__link { border-color: currentColor; }
.wp-block-buttons .is-secondary .wp-block-button__link:hover { background: rgb(255 255 255 / 0.1); }
.wp-block-buttons .is-ink .wp-block-button__link { background: var(--paper-ink); color: #fff; }
.wp-block-buttons .is-ink .wp-block-button__link:hover { background: var(--blue); }
.wp-block-buttons .is-ink-outline .wp-block-button__link { border-color: var(--paper-ink); color: var(--paper-ink); }
.wp-block-buttons .is-ink-outline .wp-block-button__link:hover { background: rgb(23 50 79 / 0.08); }

/* ---------- Opening band: dark, under the clear header, words left and picture right ---------- */
.pg-hero {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(2rem, 5vw, 5rem); row-gap: 2.5rem; align-items: center;
  padding: calc(var(--bar-h) + clamp(3rem, 7vw, 6rem)) var(--edge) clamp(3.5rem, 7vw, 6rem);
  background: var(--ground); color: var(--ink); color-scheme: dark;
}
.pg-hero h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); font-weight: 600; line-height: 1.06; letter-spacing: -0.025em; max-width: 16ch; color: #fff; }
.pg-hero .pg-lede { margin-top: 1.25rem; max-width: 34rem; font-size: var(--fs-lede); line-height: 1.5; color: var(--ink-2); }
.pg-hero .wp-block-buttons { margin-top: 2rem; }
.pg-hero .wp-block-buttons .is-secondary .wp-block-button__link { color: #fff; }
.pg-hero img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }

.pg-hero.is-text { grid-template-columns: minmax(0, 1fr); padding-bottom: clamp(3rem, 6vw, 5rem); }
.pg-hero.is-text h1 { max-width: 20ch; }

/* ---------- Sections ---------- */
.pg-section { padding: clamp(4rem, 8vw, 7rem) var(--edge); }
.pg-section.is-tint { background: var(--tint); }
.pg-section > h2 { font-size: var(--fs-h2); font-weight: 600; line-height: 1.12; letter-spacing: -0.015em; max-width: 24ch; }
.pg-section > .pg-intro { margin-top: 1rem; max-width: 40rem; font-size: var(--fs-lede); color: var(--paper-ink-2); }

/* What a service covers: a ruled grid, not boxes. */
.pg-items { margin-top: clamp(2rem, 4vw, 3.25rem); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.75rem var(--col-gap); }
.pg-item { padding-top: 1.25rem; border-top: 1.5px solid var(--paper-ink); }
.pg-item h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.25; }
.pg-item p { margin-top: 0.6rem; font-size: 1.0625rem; line-height: 1.55; color: var(--paper-ink-2); }
.pg-item { scroll-margin-top: calc(var(--header-h) + 1.5rem); }

/* A sequence that matters, numbered. */
.pg-steps { margin-top: clamp(2rem, 4vw, 3.25rem); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem var(--col-gap); counter-reset: pg-step; }
.pg-steps li { counter-increment: pg-step; padding-top: 1rem; border-top: 1px solid var(--paper-rule); color: var(--paper-ink-2); }
.pg-steps li::before { content: counter(pg-step); display: block; margin-bottom: 0.6rem; font-family: var(--font-head); font-size: 0.95rem; font-weight: 700; color: var(--orange); }
/* Three steps fill the row in three columns rather than leaving a fourth empty. */
@media (min-width: 62.01rem) { .pg-steps:has(> li:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pg-steps strong { display: block; margin-bottom: 0.45rem; font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; line-height: 1.25; color: var(--paper-ink); }

/* The device in the 3D network, with a way into it. */
.pg-network {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(2rem, 5vw, 5rem); row-gap: 2rem; align-items: center;
  padding: clamp(4rem, 8vw, 6.5rem) var(--edge); background: var(--ground); color: var(--ink); color-scheme: dark;
}
/* The renders sit on a slightly different navy; "lighten" lets the band's own colour show through it. */
.pg-network img { width: 100%; max-width: 26rem; height: auto; margin-inline: auto; mix-blend-mode: lighten; }
.pg-network h2 { font-size: var(--fs-h2); font-weight: 600; line-height: 1.12; letter-spacing: -0.015em; color: #fff; }
.pg-network p { margin-top: 1rem; max-width: 34rem; font-size: var(--fs-lede); color: var(--ink-2); }
.pg-network .wp-block-buttons { margin-top: 2rem; }
.pg-network .wp-block-buttons .is-secondary .wp-block-button__link { color: #fff; }

/* Overview cards */
.pg-cards { margin-top: clamp(2rem, 4vw, 3.25rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem var(--col-gap); }
.pg-card { display: flex; flex-direction: column; }
.pg-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; }
.pg-card h2 { margin-top: 1.5rem; font-size: clamp(1.35rem, 1.9vw, 1.7rem); font-weight: 600; line-height: 1.2; }
.pg-card h2 a { color: inherit; text-decoration: none; }
.pg-card h2 a:hover { text-decoration: underline; }
.pg-card .pg-card-lead { margin-top: 0.6rem; font-size: 1.08rem; font-weight: 560; }
.pg-card .wp-block-list { margin-top: 0.9rem; padding-left: 1.1rem; list-style: disc; color: var(--paper-ink-2); }
.pg-card .wp-block-list li + li { margin-top: 0.25rem; }
.pg-card .wp-block-list li::marker { color: var(--orange); }
.pg-card .wp-block-buttons { margin-top: auto; padding-top: 1.5rem; }

/* Cards without pictures sit on a ruled line. */
.pg-cards.is-plain .pg-card { padding-top: 1.5rem; border-top: 1.5px solid var(--paper-ink); }
.pg-card > h2:first-child { margin-top: 0; }

/* Work done for a client */
.pg-proof {
  padding: clamp(4rem, 8vw, 6.5rem) var(--edge); background: var(--ground-2, var(--ground)); color: var(--ink); color-scheme: dark;
  scroll-margin-top: var(--header-h);
}
.pg-proof h2 { font-size: var(--fs-h2); font-weight: 600; line-height: 1.12; letter-spacing: -0.015em; color: #fff; max-width: 20ch; }
.pg-proof h3 { margin-top: 1.75rem; font-size: 1.35rem; font-weight: 600; color: var(--cyan); }
.pg-proof .pg-proof-rows { margin-top: 1.5rem; max-width: 46rem; border-top: 1px solid var(--rule); }
.pg-proof .pg-proof-rows li { display: grid; grid-template-columns: 15rem 1fr; gap: 1rem; padding-block: 1rem; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.pg-proof .pg-proof-rows strong { font-family: var(--font-head); font-weight: 600; color: #fff; }
.pg-proof .pg-proof-also { margin-top: 1.75rem; max-width: 40rem; color: var(--ink-2); }
.pg-proof .pg-proof-also strong { color: #fff; font-weight: 600; }
@media (max-width: 40rem) { .pg-proof .pg-proof-rows li { grid-template-columns: 1fr; gap: 0.2rem; } }

/* Contact: the form beside the ways to reach us */
.pg-contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(2rem, 6vw, 6rem); row-gap: 3rem; align-items: start; }
.pg-contact h2 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.2; }
.pg-contact .contact-form { margin-top: 0.75rem; max-width: 36rem; justify-self: start; }
.pg-contact-details { padding-top: 1.25rem; border-top: 1.5px solid var(--paper-ink); }
.pg-contact-details p { margin-top: 1rem; color: var(--paper-ink-2); }
.pg-contact-details p:first-of-type { margin-top: 1.25rem; }
.pg-contact-details a { display: inline-block; padding-block: 0.3rem; font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; color: var(--blue); }
.pg-contact-details .pg-urgent { margin-top: 2rem; padding: 1rem 1.15rem; border-radius: 12px; background: var(--tint); color: var(--paper-ink); }
.pg-contact-details .pg-urgent a { color: var(--blue); }

/* Company: the route beside the map */
.pg-story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(2rem, 5vw, 5rem); row-gap: 2.5rem; align-items: start; }
.pg-story h2 { font-size: var(--fs-h2); font-weight: 600; line-height: 1.12; letter-spacing: -0.015em; }
.pg-story .pg-intro { margin-top: 1.25rem; font-size: var(--fs-lede); color: var(--paper-ink-2); }

@media (max-width: 52rem), (orientation: portrait) and (max-width: 64rem) {
  .pg-contact, .pg-story { grid-template-columns: minmax(0, 1fr); }
}

/* Neighbouring pages */
.pg-related { padding: clamp(3rem, 6vw, 4.5rem) var(--edge); border-top: 1px solid var(--paper-rule); }
.pg-related h2 { font-size: var(--fs-h3); font-weight: 600; }
.pg-related .wp-block-list { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.5rem 2.5rem; }
.pg-related a { display: inline-block; padding-block: 0.5rem; font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; color: var(--blue); text-decoration-thickness: 1.5px; text-underline-offset: 0.3em; }
.pg-related a:hover { color: var(--blue-hover); }

/* Closing band */
.pg-cta {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--col-gap); row-gap: 2rem; align-items: end;
  padding: clamp(4rem, 8vw, 6.5rem) var(--edge); background: var(--orange); color: var(--paper-ink);
}
.pg-cta h2 { font-size: var(--fs-h2); font-weight: 600; line-height: 1.12; letter-spacing: -0.015em; max-width: 18ch; }
.pg-cta p { margin-top: 0.9rem; font-size: var(--fs-lede); font-weight: 500; }
.pg-cta .wp-block-buttons { justify-content: flex-end; }
.pg-cta ::selection { background: var(--paper-ink); color: #fff; }

@media (max-width: 62rem) {
  .pg-items, .pg-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 52rem), (orientation: portrait) and (max-width: 64rem) {
  .pg-hero, .pg-network, .pg-cta { grid-template-columns: minmax(0, 1fr); }
  .pg-hero { padding-top: calc(var(--bar-h) + 2.5rem); }
  .pg-network img { max-width: 18rem; }
  .pg-cta .wp-block-buttons { justify-content: flex-start; }
}
@media (max-width: 40rem) {
  .pg-items, .pg-cards, .pg-steps { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- What happens next, hours and the 24/7 line (beside the contact form) ---------- */
.next-steps-title { margin-top: 2.5rem; font-size: 1.1rem; font-weight: 650; line-height: 1.3; }
.next-steps { margin-top: 0.9rem; display: grid; gap: 0.8rem; max-width: 30rem; counter-reset: next-step; }
.next-steps li { position: relative; padding-left: 2.2rem; line-height: 1.45; counter-increment: next-step; }
.next-steps li::before {
  content: counter(next-step); position: absolute; left: 0; top: 0.05rem; display: grid; place-items: center;
  width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--paper-ink); color: #fff;
  font-family: var(--font-head); font-size: 0.8rem; font-weight: 700;
}
.next-steps strong, .contact-hours strong, .contact-urgent strong { font-weight: 650; }
.contact-hours { margin-top: 1.5rem; }
.contact-urgent { margin-top: 0.5rem; }
.contact-urgent a { font-weight: 650; white-space: nowrap; }
.pg-contact-details .next-steps li, .pg-contact-details .contact-hours, .pg-contact-details .contact-urgent { color: var(--paper-ink); }
.pg-contact-details .contact-urgent { margin-top: 1.25rem; padding: 1rem 1.15rem; border-radius: 12px; background: var(--tint); }
.pg-contact-details .contact-urgent a { font-size: inherit; padding: 0; }
.signal .contact-urgent a { color: var(--paper-ink); text-decoration: underline; text-underline-offset: 0.2em; }

/* Solution pages open on their own device from the 3D network, lit on the dark band like in the scene. */
.pg-hero img[src*="/device-"] { aspect-ratio: 1; max-width: 30rem; justify-self: center; object-fit: contain; border-radius: 0; mix-blend-mode: lighten; }
.pg-network.is-text { grid-template-columns: minmax(0, 1fr); }
/* A band without a picture lays its heading beside its words, using the full width. */
@media (min-width: 52.01rem) {
  .pg-network.is-text .pg-network-copy { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--col-gap); align-items: start; }
  .pg-network.is-text .pg-network-copy > h2 { grid-row: span 2; margin: 0; }
  .pg-network.is-text .pg-network-copy > p { margin-top: 0; }
}
/* Contact: a short title band, so the form starts on the first screen. */
.pg-hero.is-text { padding-bottom: clamp(2rem, 4vw, 3rem); }
.pg-hero.is-text h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
/* Urgent: while the visitor is reporting an attack, the normal-day promise steps aside. */
.is-urgent .next-steps-title, .is-urgent .next-steps, .is-urgent .contact-hours { display: none; }
.pg-contact .form-call { background: var(--orange); border-color: var(--orange); color: var(--paper-ink); }
.pg-contact .form-call:hover { background: var(--orange-hi); }

/* Attack story steps carry a still from the 3D network above their number. */
.pg-steps li:has(> .pg-step-img) { display: flex; flex-direction: column; padding-top: 0; border-top: 0; }
.pg-step-img { order: -1; display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 1rem; border-radius: 12px; background: #04102e; }
.pg-steps li:has(> .pg-step-img)::before { padding-top: 0.9rem; border-top: 1px solid var(--paper-rule); }

/* Under attack, the form's own call button is the one call: the band's call buttons and line step aside. */
.is-urgent .contact-copy .wp-block-buttons, .is-urgent .contact-urgent { display: none; }

/* Services: what to do under attack sits in its own dark band, apart from the normal-day steps above it. */
#under-attack { background: var(--ground-2); color: var(--ink); color-scheme: dark; }
#under-attack h2, #under-attack .pg-intro, #under-attack .pg-steps li { color: var(--ink); }
#under-attack .pg-steps li { border-top-color: var(--rule); }
#under-attack .wp-block-buttons { margin-top: 2.25rem; }
#under-attack :focus-visible { outline-color: var(--cyan); }

/* What happens next: the step that differs by topic (set on <html data-topic> by the form). */
.ns-quote, .ns-proposal { display: none; }
[data-topic="quote"] .ns-any, [data-topic="proposal"] .ns-any { display: none; }
[data-topic="quote"] .ns-quote, [data-topic="proposal"] .ns-proposal { display: inline; }

/* Critique 15 ------------------------------------------------------------ */
/* Solutions cards end on the same text link as the home cards. */
.pg-card .card-go { margin-top: auto; padding-top: 1.5rem; }
.pg-card .card-go a, .pj .card-go a { color: var(--blue); }

/* Insights projects: client, role and status under each title. */
.pj-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1.25rem; margin-top: 0.7rem !important; font-size: 0.92rem !important; color: var(--paper-ink-2); }
.pj-label { font-weight: 640; color: var(--paper-ink); }
.pj-status { order: -1; display: inline-block; padding: 0.15rem 0.6rem; border: 1px solid currentColor; border-radius: 999px; font-size: 0.85rem; font-weight: 620; line-height: 1.4; }
.pj-status.is-live { color: var(--blue); background: var(--tint); }
.pj-status.is-done, .pj-status.is-review { color: var(--paper-ink); background: var(--tint); }
.pj-status.is-building { color: var(--paper-ink); border-color: var(--orange); background: rgb(255 158 22 / 0.12); }
.pj .card-go { margin-top: 0.4rem; }

/* Home, under attack: the band's heading spans the row, and the call box sits under it. */
@media (min-width: 52.01rem) {
  .is-urgent .contact-grid > .contact-copy { grid-column: 1 / -1; }
  }

/* Critique 16 ------------------------------------------------------------ */
/* Under attack, the form's own call button is the call: the line above the topic steps aside. */
.is-urgent .form-top-urgent { display: none; }

/* Home band, under attack: the heading across the top, the call button on the left, the three steps on the right. */
.contact-copy h2 { scroll-margin-top: calc(var(--header-h) + 1.25rem); }
@media (min-width: 52.01rem) {
  .is-urgent .contact-grid > .contact-form { grid-column: 1 / -1; justify-self: stretch; max-width: none; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--col-gap); align-content: start; align-items: start; }
  .is-urgent .contact-grid > .contact-form > * { grid-column: 1; }
  .is-urgent .contact-grid > .contact-form > .form-urgent { grid-column: 2; grid-row: 1 / span 8; margin-top: 0; }
}
/* Home, the Ministry slide: on wide screens the 3D rack sits right of the headline (phones keep the slide's own focal point). */
@media (min-width: 64.01rem) {
  .slider .slides > .slide .slide-img[src*="network-landscape"] { object-position: 0% 50% !important; }
  /* The globe behind the headline fades into the navy, so the words stay clear of it. */
  .slider .slides > .slide .slide-img[src*="network-landscape"] { -webkit-mask-image: linear-gradient(90deg, rgb(0 0 0 / 0.15) 36%, #000 60%); mask-image: linear-gradient(90deg, rgb(0 0 0 / 0.15) 36%, #000 60%); }
}

/* Critique 17 ------------------------------------------------------------ */
/* The facts a buyer checks first: since when, how many, certified by whom. */
.pg-facts { display: flex; flex-wrap: wrap; gap: 0.5rem 0; margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }
.pg-facts span + span::before { content: ""; display: inline-block; width: 0.3rem; height: 0.3rem; margin: 0 0.9rem 0.2rem; border-radius: 50%; background: var(--orange); vertical-align: middle; }
.pg-facts-band { padding-block: clamp(1.5rem, 3vw, 2.25rem); border-bottom: 1px solid var(--paper-rule); color: var(--paper-ink); }
.pg-proof .pg-facts { margin-top: 0.9rem; color: #fff; }

/* Government: the Ministry panel uses its width (heading and facts left, the work right). */
@media (min-width: 64.01rem) {
  .pg-proof { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--col-gap); align-items: start; }
  .pg-proof > * { grid-column: 1; }
  .pg-proof > .pg-proof-rows { grid-column: 2; grid-row: 1 / span 4; margin-top: 0; max-width: none; }
  .pg-proof > .pg-proof-also { grid-column: 2; max-width: none; }
}

/* A button after numbered steps keeps its distance from the last step. */
.pg-steps + .wp-block-buttons { margin-top: 2rem; }

/* Home band, under attack: the address steps aside; the call box says it is answered 24/7. */
.is-urgent .contact-address { display: none; }
/* In the Ministry panel the facts stack, each with its dot; the work rows keep a narrower label column. */
.pg-proof .pg-facts { flex-direction: column; align-items: flex-start; gap: 0.35rem; font-size: 0.98rem; }
.pg-proof .pg-facts span::before { content: ""; display: inline-block; width: 0.3rem; height: 0.3rem; margin: 0 0.65rem 0.2rem 0; border-radius: 50%; background: var(--orange); vertical-align: middle; }
@media (min-width: 64.01rem) { .pg-proof > .pg-proof-rows li { grid-template-columns: 9rem 1fr; } }

/* Critique 18: inner pages ------------------------------------------------ */
/* Stills from the 3D network sit in the navy as part of it, not as framed photographs. */
.pg-hero img[src*="/story-"], .pg-hero img[src*="/network-"] {
  border-radius: 0;
  -webkit-mask-image: radial-gradient(ellipse 70% 68% at 50% 50%, #000 52%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 68% at 50% 50%, #000 52%, transparent 100%);
}

/* Services: a request's path from left to right, each stop with its time. */
.pg-timeline { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem var(--col-gap); margin-top: clamp(2rem, 4vw, 3rem); padding: 0; list-style: none; counter-reset: none; }
.pg-timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 0.45rem; height: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.pg-timeline li { position: relative; padding-top: 2rem; font-size: 1.02rem; line-height: 1.5; color: var(--paper-ink-2); }
.pg-timeline li::before { content: ""; position: absolute; left: 0; top: 0; width: 0.95rem; height: 0.95rem; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-sizing: border-box; }
.pg-timeline li:last-child::before { border-color: var(--orange); }
.pg-timeline .tl-when { display: block; margin-bottom: 0.5rem; font-family: var(--font-head); font-size: 0.86rem; font-weight: 640; color: var(--blue); }
.pg-timeline strong { color: var(--paper-ink); font-weight: 600; }
@media (max-width: 52rem) {
  .pg-timeline { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; padding-left: 1.75rem; }
  .pg-timeline::before { left: 0.4rem; right: auto; top: 0.3rem; bottom: 0.3rem; width: 2px; height: auto; background: linear-gradient(180deg, var(--blue), var(--cyan)); }
  .pg-timeline li { padding-top: 0; }
  .pg-timeline li::before { left: -1.75rem; top: 0.1rem; }
}

/* A grid of three sits in three columns, so no cell is left empty. */
@media (min-width: 52.01rem) {
  .pg-items:has(> .pg-item:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Procurement terms, as a ruled sheet: the term, then what it means. */
.pg-terms-rows { margin-top: clamp(1.5rem, 3vw, 2.25rem); padding: 0; list-style: none; border-top: 1.5px solid var(--paper-ink); max-width: 52rem; }
.pg-terms-rows li { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1rem; padding-block: 1rem; border-bottom: 1px solid var(--paper-rule); font-size: 1.05rem; color: var(--paper-ink-2); }
.pg-terms-rows strong { font-family: var(--font-head); font-weight: 600; color: var(--paper-ink); }
@media (max-width: 40rem) { .pg-terms-rows li { grid-template-columns: minmax(0, 1fr); gap: 0.2rem; } }

/* Critique 20 ------------------------------------------------------------ */
/* Pages that open on words alone (Company, Contact): heading left, the line and buttons right, so the band is used. */
@media (min-width: 64.01rem) {
  .pg-hero.is-text .pg-hero-copy { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--col-gap); align-items: end; }
  .pg-hero.is-text .pg-hero-copy > h1 { grid-row: 1 / span 3; max-width: 18ch; }
  .pg-hero.is-text .pg-hero-copy > :not(h1) { grid-column: 2; }
  .pg-hero.is-text .pg-lede { margin-top: 0; }
}
/* Closing band with two buttons: stacked at one width, so their edges line up. */
.pg-cta .wp-block-buttons:has(> .wp-block-button + .wp-block-button) { display: grid; grid-template-columns: max-content; justify-content: end; gap: 0.75rem; }
.pg-cta .wp-block-buttons:has(> .wp-block-button + .wp-block-button) .wp-block-button__link { display: block; width: 100%; text-align: center; }
@media (max-width: 52rem) { .pg-cta .wp-block-buttons:has(> .wp-block-button + .wp-block-button) { justify-content: start; } }
