/* THE EDGE COMPANY: component styles. Source of truth for the site (loaded by the
   tec-site mu-plugin as mu-plugins/tec-site/components.css) and for the design system
   artifact (published there as components/bundle.css, byte for byte).

   Load after tokens.css (wp/tokens.css, built by scripts/build-tokens.py). Every colour,
   space, radius, shadow and size is a token. The few literals are the motion timings
   (motion is not a token family), the fluid clamp() of the two largest titles, the hero
   measures in em, the tint's blend strength, the 3px arrow nudge, the transparent
   outline that stands in for the focus ring in forced colours, and the white tick inside
   the checkbox's data URI.

   Inert by design: every selector carries a tec- class, so loading this file changes no
   existing page until an element carries one. No element, body or global rule.
   Text roles come from the tec-t-* type classes of tokens.css, placed in the markup
   next to the component class.

   On the site this file prints after Divi's stylesheet, but Divi's Customizer CSS and
   per-module styles print later still: a rule that has to beat a Divi rule carries more
   than one class of weight (the guard below, .tec-field .tec-input,
   .tec-check input[type="checkbox"], .et_pb_section.tec-section). */

:root { --t-fast: .15s ease; --t-med: .25s ease; }

/* Divi 4 guard. Divi styles bare elements inside page content: lists get bullets, a
   23px bottom padding and a 26px line height (under #left-area and .entry-content),
   headings #333 with 10px padding and, from the Customizer, uppercase with 1px tracking,
   paragraphs 1em padding, blockquotes a 5px border. Components opt out here, at class
   weight and before every component rule, so components still set their own colours.
   The list rule needs !important: Divi's selector carries an id. Spacing on a tec- list
   therefore goes on its items or links, never on the list. */
:where(h1, h2, h3, h4, h5, h6)[class*="tec-"] { color: inherit; padding-bottom: 0; text-transform: none; }
:where(p, figure, figcaption)[class*="tec-"] { padding-bottom: 0; }
:where(blockquote)[class*="tec-"] { margin: 0; padding: 0; border: 0; quotes: none; }
:where(ul, ol)[class*="tec-"] { list-style: none !important; padding: 0 !important; line-height: inherit !important; }

/* Type classes: the casing, fluid sizes and margins the type tokens cannot carry. */
.tec-t-display, .tec-t-h1, .tec-t-h2, .tec-t-h3, .tec-t-stat, .tec-t-eyebrow, .tec-t-button, .tec-t-tag { text-transform: uppercase; }
.tec-t-display { font-size: clamp(2.25rem, 4.5vw + 1rem, 3rem); }
.tec-t-h1 { font-size: clamp(1.75rem, 3vw + .9rem, 2rem); }
.tec-t-display em, .tec-t-h1 em, .tec-t-h2 em, .tec-t-h3 em, .tec-t-stat em { font-style: normal; }
.tec-t-display, .tec-t-h1, .tec-t-h2, .tec-t-h3, .tec-t-stat, .tec-t-subtitle, .tec-t-lead, .tec-t-body, .tec-t-quote,
.tec-t-eyebrow, .tec-t-nav, .tec-t-button, .tec-t-label, .tec-t-meta, .tec-t-fineprint, .tec-t-tag { margin: 0; }
.tec-t-body + .tec-t-body, .tec-t-lead + .tec-t-body { margin-top: var(--space-4); }

.tec-icon { width: var(--icon); height: var(--icon); flex: none; fill: none; stroke: currentColor; stroke-width: var(--stroke-control); stroke-linecap: round; stroke-linejoin: round; }
.tec-icon * { vector-effect: non-scaling-stroke; }
.tec-icon--lg { width: var(--icon-lg); height: var(--icon-lg); }

/* Focus and motion, scoped to the components. The transparent outline is invisible
   until forced colours drop the box-shadow; then it is the focus ring. */
[class*="tec-"]:focus-visible, [class*="tec-"] a:focus-visible, [class*="tec-"] button:focus-visible, [class*="tec-"] input:focus-visible, [class*="tec-"] textarea:focus-visible { outline: 2px solid transparent; outline-offset: 2px; box-shadow: var(--shadow-focus); }
@media (prefers-reduced-motion: reduce) {
  [class*="tec-"], [class*="tec-"]::before, [class*="tec-"]::after, [class*="tec-"] * { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* Layout. The .et_pb_section compounds outweigh Divi's section padding and background,
   which the Customizer prints after this file. */
.tec-container { box-sizing: border-box; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter-sm); }
.tec-section, .et_pb_section.tec-section { padding: var(--section-y-sm) 0; background: var(--surface); }
.tec-section--tint, .et_pb_section.tec-section--tint { background: var(--surface-tint); }
.tec-section--deep, .et_pb_section.tec-section--deep { background: var(--surface-deep); color: var(--on-deep); }
@media (min-width: 768px) {
  .tec-container { padding: 0 var(--gutter); }
  .tec-section, .et_pb_section.tec-section { padding: var(--section-y) 0; }
}

/* Blue tint: the book's institutional rendition, applied in CSS to any photo.
   Grayscale first, then edge-blue-darker in colour blend mode. */
.tec-tint { position: relative; isolation: isolate; }
.tec-tint img { filter: grayscale(1) contrast(1.05); }
.tec-tint::after { content: ""; position: absolute; inset: 0; background: var(--edge-blue-darker); mix-blend-mode: color; opacity: .7; pointer-events: none; }

/* Button */
.tec-btn { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-3); height: var(--control); padding: 0 var(--space-5); border: var(--stroke-control) solid transparent; border-radius: var(--radius-sm); background: transparent; color: var(--link); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast); }
.tec-btn--lg { height: var(--control-lg); }
.tec-btn--sm { height: var(--control-sm); padding: 0 var(--space-4); }
.tec-btn--primary { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.tec-btn--primary:hover, .tec-btn--primary:active { background: var(--primary-hover); border-color: var(--primary-hover); color: var(--on-primary); }
.tec-btn--secondary { border-color: var(--link); color: var(--link); }
.tec-btn--secondary:hover, .tec-btn--secondary:active { background: var(--surface-tint); border-color: var(--link-hover); color: var(--link-hover); }
.tec-btn--on-deep { border-color: var(--on-deep); color: var(--on-deep); }
.tec-btn--on-deep:hover, .tec-btn--on-deep:active { background: var(--on-deep); color: var(--surface-deep); }
.tec-btn.tec-btn--on-deep:focus-visible { box-shadow: var(--shadow-focus-on-deep); }
.tec-btn--text { height: auto; min-height: var(--tap-min); padding: 0; border: 0; color: var(--link); }
.tec-btn--text:hover, .tec-btn--text:active { color: var(--link-hover); text-decoration: underline; }
.tec-btn--text .tec-icon { transition: transform var(--t-fast); }
.tec-btn--text:hover .tec-icon { transform: translateX(3px); }
.tec-btn:disabled, .tec-btn[aria-disabled="true"] { background: var(--disabled-bg); border-color: var(--disabled-bg); color: var(--on-disabled); cursor: not-allowed; }
.tec-btn--text:disabled, .tec-btn--text[aria-disabled="true"] { background: transparent; color: var(--on-disabled); text-decoration: none; }
.tec-btn--text:disabled .tec-icon, .tec-btn--text[aria-disabled="true"] .tec-icon { transform: none; }
.tec-section--deep .tec-btn--text:not(:disabled, [aria-disabled="true"]) { color: var(--on-deep-accent); }
.tec-section--deep .tec-btn--text:not(:disabled, [aria-disabled="true"]):hover, .tec-section--deep .tec-btn--text:not(:disabled, [aria-disabled="true"]):active { color: var(--on-deep); }
@media (max-width: 767px) { .tec-btn:not(.tec-btn--text) { height: var(--control-lg); } }

/* Section heading */
.tec-heading { max-width: calc(var(--container-max) * .618); }
.tec-heading__eyebrow { display: block; margin: 0 0 var(--space-2); color: var(--link); }
.tec-heading__eyebrow::before { content: "_"; content: "_" / ""; }
.tec-heading__title { color: var(--ink); }
.tec-heading--accent .tec-heading__title { color: var(--ink-accent); }
.tec-heading__lead { margin-top: var(--space-4); color: var(--ink); }
.tec-heading--center { margin: 0 auto; text-align: center; }
.tec-section--deep .tec-heading__eyebrow { color: var(--on-deep-accent); }
.tec-section--deep .tec-heading__title, .tec-section--deep .tec-heading__lead { color: var(--on-deep); }

/* Hero. The tint covers everything below 1024px; wider, it fades at 70%, past the
   title's 14em at every width. */
.tec-hero { position: relative; overflow: hidden; background-color: var(--surface-deep); background-size: cover; background-position: center; color: var(--on-deep); }
.tec-hero::before { content: ""; position: absolute; inset: 0; background: var(--overlay-tint); }
@media (min-width: 1024px) { .tec-hero::before { background: linear-gradient(90deg, var(--overlay-tint) 0%, var(--overlay-tint) 70%, var(--overlay-tint-soft) 100%); } }
.tec-hero__inner { position: relative; box-sizing: border-box; max-width: var(--container-max); margin: 0 auto; padding: var(--space-7) var(--gutter-sm); }
.tec-hero__eyebrow { display: block; margin-bottom: var(--space-3); color: var(--on-deep); }
.tec-hero__eyebrow::before { content: "_"; content: "_" / ""; }
.tec-hero__title { max-width: 14em; }
.tec-hero__title em { color: var(--on-deep-accent); }
.tec-hero__lead { max-width: 32em; margin-top: var(--space-4); }
.tec-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); margin-top: var(--space-6); }
.tec-hero--page .tec-hero__inner { padding-top: var(--space-6); padding-bottom: var(--space-6); }
.tec-hero--light { background-color: var(--surface); color: var(--ink); }
.tec-hero--light::before { background: var(--surface); opacity: calc(1 - var(--opacity-eye)); }
.tec-hero--light .tec-hero__eyebrow { color: var(--ink); }
.tec-hero--light .tec-hero__title em { color: var(--edge-blue-darker); }
@media (min-width: 768px) {
  .tec-hero__inner { padding: var(--space-8) var(--gutter); }
  .tec-hero--page .tec-hero__inner { padding-top: var(--space-7); padding-bottom: var(--space-7); }
}

/* Site header. States: tec-header--scrolled (set by the page script), the menu button's
   aria-expanded (opens the nav below 1024px), a toggle's aria-expanded (its submenu). */
.tec-header { position: sticky; top: 0; z-index: 10; background: var(--surface); border-bottom: var(--stroke-hairline) solid var(--line); transition: box-shadow var(--t-med), border-color var(--t-fast); }
.tec-header--scrolled { box-shadow: var(--shadow-soft); border-bottom-color: transparent; }
.tec-header__inner { position: relative; box-sizing: border-box; display: flex; align-items: center; gap: var(--space-5); max-width: var(--container-max); height: calc(var(--logo-h) + 2 * var(--space-4)); margin: 0 auto; padding: 0 var(--gutter-sm); }
.tec-header__skip { position: absolute; top: var(--space-2); left: var(--gutter-sm); z-index: 1; display: inline-flex; align-items: center; min-height: var(--tap-min); padding: 0 var(--space-4); border-radius: var(--radius-sm); background: var(--surface); color: var(--link); opacity: 0; pointer-events: none; }
.tec-header__skip:focus { opacity: 1; pointer-events: auto; }
.tec-header__logo { display: flex; align-items: center; min-height: var(--tap-min); margin-right: auto; }
.tec-header__logo img { display: block; height: var(--logo-h); width: auto; }
.tec-header__nav { display: none; height: 100%; }
.tec-nav { display: flex; align-items: stretch; gap: var(--space-5); height: 100%; margin: 0; padding: 0; list-style: none; }
.tec-nav li { position: relative; display: flex; align-items: stretch; box-sizing: border-box; padding: var(--space-1) 0; }
.tec-nav a { position: relative; display: flex; align-items: center; gap: var(--space-1); color: var(--ink); text-decoration: none; transition: color var(--t-fast); }
.tec-nav a:hover { color: var(--link); }
.tec-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: calc(-1 * var(--space-1)); height: 0; border-bottom: var(--stroke-accent) solid var(--french-rose); }
.tec-nav .tec-icon { width: var(--icon-sm); height: var(--icon-sm); }
.tec-nav__toggle { display: grid; place-items: center; align-self: center; width: var(--tap-min); height: var(--tap-min); margin-right: calc((var(--icon-sm) - var(--tap-min)) / 2); padding: 0; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--ink); cursor: pointer; transition: color var(--t-fast); }
.tec-nav__toggle:hover { color: var(--link); }
.tec-nav__toggle .tec-icon { transition: transform var(--t-fast); }
.tec-nav__toggle[aria-expanded="true"] .tec-icon { transform: rotate(180deg); }
.tec-nav__sub { display: none; position: absolute; top: 100%; left: 0; z-index: 1; min-width: calc(var(--space-8) * 2); margin: 0; background: var(--surface); border-radius: var(--radius-md); box-shadow: var(--shadow-pop); }
.tec-nav__toggle[aria-expanded="true"] + .tec-nav__sub { display: block; }
.tec-nav__sub li { padding: 0; }
.tec-nav__sub a { flex: 1; min-height: var(--tap-min); padding: 0 var(--space-5); white-space: nowrap; transition: color var(--t-fast), background-color var(--t-fast); }
.tec-nav__sub a:hover { background: var(--surface-tint); }
.tec-nav__sub li:first-child a { border-top-left-radius: var(--radius-md); border-top-right-radius: var(--radius-md); }
.tec-nav__sub li:last-child a { border-bottom-left-radius: var(--radius-md); border-bottom-right-radius: var(--radius-md); }
.tec-lang { display: flex; gap: var(--space-1); }
.tec-lang a { display: grid; place-items: center; min-width: var(--tap-min); height: var(--tap-min); border-radius: var(--radius-sm); color: var(--ink-secondary); text-decoration: none; transition: color var(--t-fast), background-color var(--t-fast); }
.tec-lang a:hover { color: var(--link); }
.tec-lang a[aria-current="true"] { color: var(--ink); background: var(--surface-tint); }
.tec-header__menu { display: grid; place-items: center; width: var(--tap-min); height: var(--tap-min); border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--ink); cursor: pointer; transition: color var(--t-fast); }
.tec-header__menu:hover { color: var(--link); }
@media (max-width: 1023px) {
  .tec-header:has(.tec-header__menu[aria-expanded="true"]) .tec-header__nav { display: block; position: absolute; top: 100%; left: 0; right: 0; height: auto; padding: var(--space-3) 0; padding-inline: inherit; background: var(--surface); border-bottom: var(--stroke-hairline) solid var(--line); box-shadow: var(--shadow-pop); }
  .tec-header:has(.tec-header__menu[aria-expanded="true"]) .tec-nav { flex-direction: column; gap: 0; height: auto; }
  .tec-nav li { flex-wrap: wrap; padding: 0; }
  .tec-nav a { flex: 1; min-height: var(--tap-min); }
  .tec-nav a[aria-current="page"]::after { display: none; }
  .tec-nav a[aria-current="page"] { text-decoration: underline var(--stroke-accent) var(--french-rose); text-underline-offset: var(--space-2); }
  .tec-nav__toggle { margin-right: 0; }
  .tec-nav__sub { position: static; flex-basis: 100%; border-radius: 0; box-shadow: none; }
}
@media (min-width: 768px) {
  .tec-header__inner { padding: 0 var(--gutter); }
  .tec-header__skip { left: var(--gutter); }
}
@media (min-width: 1024px) {
  .tec-header__nav { display: block; }
  .tec-header__menu { display: none; }
}

/* The language switch in Divi's header (live site only: tec-site.php section 6 prints it on
   et_header_top; the Astro site has SiteHeader). It floats after Divi's menu, and before
   its menu button below 981px, in the menu's own type (the Customizer's Verdana 12px).
   Divi pads #et-top-navigation from the top, so negative margins centre the 44px targets
   on the menu's text line; the minimised header (et-fixed-header, 40px) takes 40px ones.
   position: relative lifts the links above Divi's .logo_container, an absolute box that
   covers the whole header bar and would otherwise take every click and tap.
   Below 981px Divi leaves 98px beside the logo at 320px wide and the pair needs 130px with
   the menu button, so the phone header shows the other language only, the GOV.UK way. */
#et-top-navigation .tec-lang { position: relative; float: left; margin: -15px 0 -17px var(--space-3); }
#et-top-navigation .tec-lang a { font-family: inherit; font-size: 12px; font-weight: 600; line-height: 1; }
.et-fixed-header #et-top-navigation .tec-lang { margin-top: -13px; margin-bottom: -15px; }
.et-fixed-header #et-top-navigation .tec-lang a { height: 40px; }
@media (max-width: 980px) {
  #et-top-navigation .tec-lang { margin: -6px var(--space-2) -6px 0; }
  #et-top-navigation .tec-lang a[aria-current="true"] { display: none; }
}

/* Site footer */
.tec-footer { background: var(--surface-deep); color: var(--on-deep); }
.tec-footer__inner { box-sizing: border-box; display: grid; gap: var(--space-6); max-width: var(--container-max); margin: 0 auto; padding: var(--space-7) var(--gutter-sm) var(--space-6); }
.tec-footer__logo { display: block; width: auto; height: var(--logo-h-footer); margin-bottom: var(--space-5); }
.tec-footer__heading { margin: 0 0 var(--space-4); color: var(--on-deep-accent); }
.tec-footer__heading::before { content: "_"; content: "_" / ""; }
.tec-footer__list { margin: 0; padding: 0; list-style: none; }
.tec-footer__list li + li { margin-top: var(--space-1); }
.tec-footer__list a { display: flex; align-items: center; gap: var(--space-3); min-height: var(--tap-min); color: var(--on-deep); text-decoration: none; transition: color var(--t-fast); }
.tec-footer__address { margin: 0; font-style: normal; }
.tec-footer__contact { display: flex; align-items: flex-start; gap: var(--space-3); padding: calc((var(--tap-min) - var(--icon)) / 2) 0; color: var(--on-deep); text-decoration: none; transition: color var(--t-fast); }
.tec-footer__contact + .tec-footer__contact { margin-top: var(--space-1); }
.tec-footer__list a:hover, .tec-footer__contact:hover { color: var(--on-deep-accent); text-decoration: underline; }
.tec-footer__contact .tec-icon { color: var(--on-deep-accent); }
.tec-footer__legal { color: var(--on-deep-secondary); }
.tec-footer__legal + .tec-footer__legal { margin-top: var(--space-4); }
.tec-footer__bar { border-top: var(--stroke-hairline) solid var(--edge-blue); }
.tec-footer__bar-inner { box-sizing: border-box; display: flex; flex-wrap: wrap; gap: 0 var(--space-5); align-items: center; max-width: var(--container-max); margin: 0 auto; padding: var(--space-1) var(--gutter-sm); color: var(--on-deep-secondary); }
.tec-footer__bar-inner a { display: inline-flex; align-items: center; min-height: var(--tap-min); color: var(--on-deep-secondary); text-decoration: underline; transition: color var(--t-fast); }
.tec-footer__bar-inner a:hover { color: var(--on-deep-accent); }
@media (min-width: 768px) {
  .tec-footer__inner { grid-template-columns: var(--grid-golden) 1fr; gap: var(--space-5); padding: var(--space-7) var(--gutter) var(--space-6); }
  .tec-footer__bar-inner { padding: var(--space-1) var(--gutter); }
}

/* News card */
.tec-news-grid { display: grid; gap: var(--grid-gap-y) var(--grid-gap-x); }
@media (min-width: 768px) { .tec-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .tec-news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tec-news-card { position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: var(--stroke-hairline) solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-card); transition: box-shadow var(--t-med); }
.tec-news-card:hover { box-shadow: var(--shadow-pop); }
.tec-news-card__cover { position: relative; aspect-ratio: var(--ratio-cover); background: var(--surface-deep); overflow: hidden; }
.tec-news-card__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tec-news-card__body { display: flex; flex-direction: column; gap: var(--space-3); flex: 1; padding: var(--space-5); }
.tec-news-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); color: var(--ink-secondary); }
.tec-news-card__title a { color: var(--ink); text-decoration: none; transition: color var(--t-fast); }
.tec-news-card__title a::after { content: ""; position: absolute; inset: 0; }
.tec-news-card__title a:focus-visible { box-shadow: none; }
.tec-news-card:focus-within { box-shadow: var(--shadow-focus); }
.tec-news-card:hover .tec-news-card__title a { color: var(--link); }
.tec-news-card__excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink); }
.tec-news-card__more { display: inline-flex; align-items: center; gap: var(--space-2); margin-top: auto; padding-top: var(--space-2); color: var(--link); }

/* Chip and tag */
.tec-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.tec-chip { box-sizing: border-box; display: inline-flex; align-items: center; gap: var(--space-2); height: var(--control); padding: 0 var(--space-4); border: var(--stroke-control) solid var(--line-control); border-radius: var(--radius-full); background: var(--surface); color: var(--ink); cursor: pointer; transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast), box-shadow var(--t-med); }
.tec-chip:hover { background: var(--surface-tint); box-shadow: var(--shadow-soft); }
.tec-chip[aria-pressed="true"] { background: var(--surface-deep); border-color: var(--surface-deep); color: var(--on-deep); }
.tec-chip:disabled { background: var(--disabled-bg); border-color: var(--disabled-bg); color: var(--on-disabled); box-shadow: none; cursor: not-allowed; }
.tec-chip .tec-icon { display: none; width: var(--icon-sm); height: var(--icon-sm); }
.tec-chip[aria-pressed="true"] .tec-icon { display: block; }
.tec-tag { display: inline-flex; align-items: center; gap: var(--space-1); padding: var(--space-1) var(--space-3); border-radius: var(--radius-full); background: var(--surface-tint-strong); color: var(--edge-blue-darker); }
@media (max-width: 767px) { .tec-chip { height: var(--control-lg); } }

/* Pagination */
.tec-pagination__list { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.tec-pagination a, .tec-pagination span { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-width: var(--control); height: var(--control); padding: 0 var(--space-3); border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; transition: background-color var(--t-fast), color var(--t-fast); }
.tec-pagination a:hover { background: var(--surface-tint); color: var(--link); }
.tec-pagination [aria-current="page"] { background: var(--primary); color: var(--on-primary); }
.tec-pagination .tec-pagination__gap { min-width: auto; color: var(--ink-secondary); }
.tec-pagination .tec-pagination__step { color: var(--link); }
.tec-pagination .tec-pagination__prev .tec-icon { transform: scaleX(-1); }
@media (max-width: 767px) { .tec-pagination a, .tec-pagination span { min-width: var(--control-lg); height: var(--control-lg); } }

/* Field. On surface-deep or a photo the form sits in a surface panel, so every
   field keeps its light-surface colours. */
.tec-form { display: grid; gap: var(--space-4) var(--space-5); }
@media (min-width: 768px) { .tec-form--2col { grid-template-columns: 1fr 1fr; } .tec-form__full { grid-column: 1 / -1; } }
.tec-field { display: flex; flex-direction: column; gap: var(--space-3); }
.tec-field__label { color: var(--ink); }
.tec-field__label .tec-field__req { color: var(--danger); }
.tec-field .tec-input { box-sizing: border-box; width: 100%; height: var(--control-lg); padding: 0 var(--space-4); border: var(--stroke-control) solid var(--line-control); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); transition: border-color var(--t-fast); }
.tec-field .tec-input::placeholder { color: var(--ink-secondary); opacity: 1; }
.tec-field .tec-input:hover { border-color: var(--line-control-hover); }
.tec-field .tec-input:focus, .tec-field .tec-input:focus-visible { border-color: var(--focus); color: var(--ink); }
.tec-field .tec-input:disabled { background: var(--disabled-bg); border-color: var(--disabled-bg); color: var(--on-disabled); cursor: not-allowed; }
.tec-field .tec-input:disabled::placeholder { color: var(--on-disabled); }
.tec-field textarea.tec-input { height: auto; min-height: var(--space-8); padding: var(--space-3) var(--space-4); resize: vertical; }
.tec-field__help { color: var(--ink-secondary); }
.tec-field__error { display: none; align-items: flex-start; gap: var(--space-3); color: var(--danger); }
.tec-field--error .tec-input, .tec-field--error .tec-input:focus { border-color: var(--danger); }
.tec-field--error .tec-field__error { display: flex; }
.tec-check { display: flex; align-items: flex-start; gap: var(--space-3); color: var(--ink); cursor: pointer; }
.tec-check input[type="checkbox"] { appearance: none; -webkit-appearance: none; flex: none; box-sizing: border-box; width: var(--icon); height: var(--icon); margin: 0; border: var(--stroke-control) solid var(--line-control); border-radius: var(--radius-xs); background: var(--surface) center / calc(var(--icon) - var(--space-2)) no-repeat; cursor: pointer; }
.tec-check input[type="checkbox"]:checked { background-color: var(--primary); border-color: var(--primary); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.tec-check input[type="checkbox"]:not(:checked, :disabled):hover { border-color: var(--line-control-hover); }
.tec-check:has(input:disabled) { color: var(--on-disabled); cursor: not-allowed; }
.tec-check input[type="checkbox"]:disabled { background-color: var(--disabled-bg); border-color: var(--disabled-bg); cursor: not-allowed; }
.tec-check input[type="checkbox"]:disabled:checked { background-color: var(--on-disabled); border-color: var(--on-disabled); }
.tec-field--error .tec-check input[type="checkbox"]:not(:checked) { border-color: var(--danger); }

/* Notice */
.tec-notice { display: flex; gap: var(--space-3); padding: var(--space-4) var(--space-5); border: var(--stroke-hairline) solid; border-radius: var(--radius-md); color: var(--ink); }
.tec-notice__title { font-weight: 700; }
.tec-notice .tec-notice__title + * { margin-top: var(--space-1); }
.tec-notice--success { background: var(--success-bg); border-color: var(--success); }
.tec-notice--success > .tec-icon, .tec-notice--success .tec-notice__title { color: var(--success); }
.tec-notice--danger { background: var(--danger-bg); border-color: var(--danger); }
.tec-notice--danger > .tec-icon, .tec-notice--danger .tec-notice__title { color: var(--danger); }
.tec-notice--info { background: var(--info-bg); border-color: var(--info); }
.tec-notice--info > .tec-icon, .tec-notice--info .tec-notice__title { color: var(--info); }

/* Stat */
.tec-stats { display: grid; gap: var(--grid-gap-y) var(--grid-gap-x); }
@media (min-width: 768px) { .tec-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .tec-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tec-stat { padding-top: var(--space-4); border-top: var(--stroke-accent) solid var(--french-rose); }
.tec-stat__value { display: block; color: var(--edge-blue); }
.tec-stat__label { margin-top: var(--space-3); color: var(--ink); }
.tec-stat__source { margin-top: var(--space-2); color: var(--ink-secondary); }
.tec-section--deep .tec-stat__value, .tec-section--deep .tec-stat__label { color: var(--on-deep); }
.tec-section--deep .tec-stat__source { color: var(--on-deep-secondary); }

/* Quote. The picture sits above the text on mobile and beside it, in the golden
   split, from 768px. The attribution is a <p> inside the body (a figcaption must be
   a direct child of the figure). */
.tec-quote { display: grid; overflow: hidden; margin: 0; border-radius: var(--radius-lg); background: var(--surface-deep); color: var(--on-deep); }
.tec-quote__body { display: flex; flex-direction: column; justify-content: center; gap: var(--space-5); padding: var(--space-6) var(--space-5); }
.tec-quote__text { text-transform: uppercase; }
.tec-quote__text::before { content: "\201C"; }
.tec-quote__text::after { content: "\201D"; }
.tec-quote__cite { color: var(--on-deep-secondary); font-style: italic; }
.tec-quote__cite strong { color: var(--on-deep); }
.tec-quote__cite strong::after { content: "_"; content: "_" / ""; }
.tec-quote__media { position: relative; order: -1; aspect-ratio: var(--ratio-media); }
.tec-quote__media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
@media (min-width: 768px) {
  .tec-quote--with-image { grid-template-columns: var(--grid-golden); }
  .tec-quote__media { order: 0; aspect-ratio: auto; min-height: calc(var(--space-8) * 3); }
  .tec-quote__body { padding: var(--space-7) var(--space-6); }
}

/* Sector list. Link every item or none: links are not marked at rest. */
.tec-sectors { display: flex; flex-direction: column; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.tec-sectors li { display: flex; align-items: baseline; color: var(--ink); }
.tec-sectors li::before { content: "_"; content: "_" / ""; color: var(--french-rose); }
.tec-sectors a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
.tec-sectors a:hover { color: var(--link); text-decoration: underline; }
.tec-sectors--inline { flex-direction: row; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }
.tec-section--deep .tec-sectors li { color: var(--on-deep); }
.tec-section--deep .tec-sectors a:hover { color: var(--on-deep-accent); }
@media (max-width: 767px) { .tec-sectors:has(a) { row-gap: var(--space-1); } .tec-sectors a { display: flex; align-items: center; min-height: var(--tap-min); } }

/* Person card */
.tec-people { display: grid; gap: var(--grid-gap-y) var(--grid-gap-x); margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .tec-people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .tec-people { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tec-person { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-5); border: var(--stroke-hairline) solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.tec-person__name { color: var(--ink); }
.tec-person__role { color: var(--ink-secondary); }
.tec-person__links { display: flex; gap: var(--space-2); margin-top: auto; }
.tec-person__links a { display: inline-flex; align-items: center; gap: var(--space-2); min-height: var(--tap-min); color: var(--link); text-decoration: none; transition: color var(--t-fast); }
.tec-person__links a:hover { color: var(--link-hover); text-decoration: underline; }
.tec-person__links .tec-icon { width: var(--icon-sm); height: var(--icon-sm); }

/* Press list */
.tec-press { margin: 0; padding: 0; list-style: none; border-top: var(--stroke-hairline) solid var(--line); }
.tec-press__item { position: relative; display: grid; gap: var(--space-2); padding: var(--space-5) 0; border-bottom: var(--stroke-hairline) solid var(--line); }
.tec-press__item:focus-within { box-shadow: var(--shadow-focus); }
.tec-press__meta { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; color: var(--ink-secondary); }
.tec-press__outlet { color: var(--edge-blue-darker); }
.tec-press__title { padding-right: calc(var(--icon) + var(--space-2)); }
.tec-press__title a { color: var(--ink); text-decoration: none; transition: color var(--t-fast); }
.tec-press__title a::after { content: ""; position: absolute; inset: 0; }
.tec-press__title a:focus-visible { box-shadow: none; }
.tec-press__item:hover .tec-press__title a { color: var(--link); text-decoration: underline; }
.tec-press__title .tec-icon { display: inline-block; margin: 0 calc(-1 * (var(--icon) + var(--space-2))) 0 var(--space-2); vertical-align: middle; color: var(--link); }
.tec-press__lang { color: var(--ink-secondary); }
@media (min-width: 768px) { .tec-press__item { grid-template-columns: calc(var(--space-8) * 2) 1fr; align-items: baseline; gap: var(--space-5); } }

/* Partner grid */
.tec-partners { display: grid; gap: var(--grid-gap-y) var(--grid-gap-x); margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .tec-partners { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .tec-partners { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tec-partner { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-5); border: var(--stroke-hairline) solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.tec-partner__role { color: var(--ink-secondary); }
.tec-partner__logo { display: flex; align-items: center; height: var(--space-7); margin-top: auto; }
.tec-partner__logo img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }
.tec-partner__name { color: var(--ink); }

/* Forced colours: states drawn with backgrounds get a mark the system colours keep. */
@media (forced-colors: active) {
  .tec-check input[type="checkbox"] { appearance: auto; -webkit-appearance: auto; }
  .tec-pagination [aria-current="page"] { outline: var(--stroke-control) solid; }
  .tec-lang a[aria-current="true"] { outline: var(--stroke-control) solid; }
  .tec-lang a[aria-current="true"]:focus-visible { outline-width: 3px; }
}
