/* ==========================================================================
   Miralogic Talent Partners — website styles

   Colour, type and logo usage follow the Miralogic Branding Guidelines:
   Montserrat throughout; gold as the main colour, Carol Red as the accent,
   soft white as the ground. The logo only ever sits on the ground colour
   or on Carol Red.

   Contents
   01  Fonts
   02  Brand tokens
   03  Base
   04  Layout
   05  Buttons, links, icons
   06  Header and navigation
   07  Hero and page mastheads
   08  Content components
   09  Forms
   10  Footer
   ========================================================================== */


/* 01  Fonts ---------------------------------------------------------------- */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/montserrat-latin-wght-italic.woff2") format("woff2");
}


/* 02  Brand tokens --------------------------------------------------------- */

:root {
  /* Brand palette (Branding Guidelines, "Brand Color Palette") */
  --gold: #C6962E;          /* Main colour */
  --red: #AA2423;           /* Accent colour: Carol Red */
  --gold-liminal: #BA8559;  /* Liminal colour */
  --gold-bright: #EFC37C;   /* Bright colour */
  --ground: #FBFAF8;        /* Ground colour */

  /* Supporting tones */
  --ink: #1F1C1A;           /* off-black: headings and dark bands */
  --ink-2: #4A4541;         /* body text */
  --ink-3: #6E6761;         /* secondary text */
  --stone: #F3EEE6;         /* tinted ground for alternate bands */
  --red-deep: #8D1C1B;      /* hover state for red */
  --gold-pale: #F4D49B;     /* tint of the bright colour: small text on red */
  --white: #FFFFFF;

  --rule: rgba(31, 28, 26, .16);
  --rule-strong: rgba(31, 28, 26, .34);
  --rule-gold: rgba(198, 150, 46, .62);
  --rule-light: rgba(251, 250, 248, .2);

  /* Type */
  --font: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --fs-hero: clamp(2rem, .9rem + 3.2vw, 3.6rem);
  --fs-h1: clamp(2.125rem, 1.3rem + 3.1vw, 3.75rem);
  --fs-h2: clamp(1.75rem, 1.2rem + 1.9vw, 2.75rem);
  --fs-h3: 1.25rem;
  --fs-lead: clamp(1.0625rem, 1rem + .4vw, 1.25rem);
  --fs-small: .875rem;
  --fs-label: .8125rem;

  /* Space */
  --gutter: clamp(20px, 4.4vw, 64px);
  --wrap: 1240px;
  --section: clamp(72px, 9vw, 136px);
  --header-h: 92px;
}

@media (max-width: 1080px) {
  :root { --header-h: 76px; }
}


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

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 300;
  line-height: 1.16;
  letter-spacing: -.015em;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 1.1em; }

img, svg { max-width: 100%; height: auto; }

a { color: inherit; }

::selection { background: var(--gold-bright); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.on-dark :focus-visible { outline-color: var(--gold-bright); }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 14px 20px;
  background: var(--ink);
  color: var(--ground);
  font-size: var(--fs-small);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus { top: 16px; }


/* 04  Layout --------------------------------------------------------------- */

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

.section { padding-block: var(--section); }
.section--stone { background: var(--stone); }
.section--ink { background: var(--ink); color: rgba(251, 250, 248, .76); }
.section--ink h2,
.section--ink h3 { color: var(--ground); }

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(40px, 5vw, 72px);
}

.section-head h2 { font-size: var(--fs-h2); }

.section-head p {
  margin-top: 20px;
  max-width: 38rem;
  font-size: var(--fs-lead);
  line-height: 1.6;
}

.section-foot { margin-top: clamp(32px, 4vw, 56px); }

/* Heading on the left, supporting text on the right */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(24px, 6vw, 96px);
  align-items: start;
}

.split h2 { font-size: var(--fs-h2); }
.split__text { font-size: var(--fs-lead); line-height: 1.65; max-width: 38rem; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
}

/* Small tracked label, set like the "Talent Partners" line of the logo */
.label {
  margin: 0 0 18px;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
}

.section--ink .label { color: var(--gold-bright); }


/* 05  Buttons, links, icons ------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--font);
  font-size: var(--fs-label);
  font-weight: 600;
  line-height: 1;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.btn--red { background: var(--red); color: var(--ground); }
.btn--red:hover { background: var(--red-deep); }

.btn--gold { background: var(--gold-bright); color: var(--ink); }
.btn--gold:hover { background: var(--ground); }

.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--ground); }

.btn--line-light { border-color: rgba(251, 250, 248, .6); color: var(--ground); background: transparent; }
.btn--line-light:hover { background: var(--ground); border-color: var(--ground); color: var(--red-deep); }

.btn--small { min-height: 46px; padding: 0 24px; font-size: .75rem; }

.text-link {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  transition: color .18s ease;
}

.text-link:hover { color: var(--red); }

.section--ink .text-link { color: var(--ground); text-decoration-color: var(--gold); }
.section--ink .text-link:hover { color: var(--gold-bright); }

.prose a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

.prose a:hover { color: var(--red); }

/* Icons come from the inline sprite at the top of each page:
   <svg class="icon"><use href="#i-name"/></svg> */
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  display: inline-block;
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
  vertical-align: middle;
}

/* An icon set in a fine gold ring */
.medal {
  display: grid;
  place-items: center;
  flex: none;
  width: 64px;
  height: 64px;
  border: 1px solid var(--rule-gold);
  border-radius: 50%;
  background: var(--ground);
  color: var(--gold);
}

.medal .icon { width: 30px; height: 30px; }

.medal--small { width: 48px; height: 48px; }
.medal--small .icon { width: 24px; height: 24px; }

.medal--large { width: 88px; height: 88px; }
.medal--large .icon { width: 42px; height: 42px; }

.section--stone .medal { background: var(--white); }

.section--ink .medal {
  border-color: rgba(239, 195, 124, .5);
  background: transparent;
  color: var(--gold-bright);
}


/* 06  Header and navigation ------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ground);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}

.site-header.is-stuck { border-bottom-color: var(--rule); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: var(--header-h);
}

/* Logo: never below 200px wide; padding keeps the 0.5X clear space */
.brand {
  display: inline-flex;
  flex: none;
  padding: 16px 16px 16px 0;
}

.brand img {
  display: block;
  width: 228px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.6vw, 44px);
}

.nav__list {
  display: flex;
  gap: clamp(22px, 2.6vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__link {
  position: relative;
  display: inline-block;
  padding-block: 10px;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .2s ease;
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 0 0 12px;
  border: 0;
  background: none;
  font-family: var(--font);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle__bars {
  position: relative;
  width: 26px;
  height: 12px;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ink);
  transition: transform .2s ease, top .2s ease;
}

.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { top: 10px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 5px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .brand img { width: 204px; }

  /* Without JavaScript the links simply wrap below the logo */
  .site-header__inner { flex-wrap: wrap; }
  .nav { flex-wrap: wrap; padding-bottom: 16px; }
  .nav__list { flex-wrap: wrap; }

  .js .site-header__inner { flex-wrap: nowrap; }
  .js .nav-toggle { display: inline-flex; }

  .js .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 40px;
    background: var(--ground);
    border-top: 1px solid var(--rule);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transition: opacity .2s ease, visibility .2s ease;
  }

  .js .nav.is-open { visibility: visible; opacity: 1; }

  .js .nav__list { flex-direction: column; flex-wrap: nowrap; gap: 0; }

  .js .nav__link {
    display: block;
    padding-block: 20px;
    border-bottom: 1px solid var(--rule);
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: -.01em;
  }

  .js .nav__link::after { display: none; }
  .js .nav__link[aria-current="page"] { color: var(--red); }

  .js .nav .btn { align-self: flex-start; margin-top: 32px; }
}


/* Small phones: the logo keeps its 200px minimum, so the toggle drops its
   visible word (it stays available to screen readers). */
@media (max-width: 420px) {
  .site-header__inner { gap: 12px; }
  .brand { padding-right: 0; }
  .brand img { width: 200px; }

  .js .nav-toggle { padding-left: 0; }

  .nav-toggle__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}


/* 07  Hero and page mastheads ---------------------------------------------- */

/* Home hero: Carol Red field with the gold mark at monumental scale,
   as on the brand's own banner artwork. */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--red);
  color: var(--ground);
}

.hero::before,
.masthead::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url("../img/lines.svg") center / cover no-repeat;
}

.hero::after,
.masthead::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(120% 100% at 18% 20%, rgba(141, 28, 27, 0) 45%, rgba(104, 17, 17, .42) 100%);
}

/* The mark is cropped by the right and bottom edges and never runs under the text */
.hero__mark {
  position: absolute;
  z-index: -1;
  left: 61%;
  top: 12%;
  width: clamp(640px, 74vw, 1080px);
  max-width: none;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 1100px) {
  .hero__mark { left: 66%; }
}

.hero__inner {
  padding-block: clamp(84px, 11.5vw, 172px) clamp(92px, 12vw, 180px);
}

.hero__title {
  margin: 0;
  color: var(--gold-bright);
  font-size: var(--fs-hero);
  font-weight: 300;
  line-height: 1.16;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-wrap: initial;
}

.hero__title span { display: block; }
.hero__title span + span { font-weight: 600; }

.hero__lead {
  max-width: 35rem;
  margin-top: clamp(24px, 3vw, 36px);
  font-size: var(--fs-lead);
  line-height: 1.62;
  color: rgba(251, 250, 248, .94);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(32px, 4vw, 48px);
}

/* Narrow screens: the mark moves below the text and rises from the bottom edge.
   The bottom padding is derived from the mark's size so the two never touch. */
@media (max-width: 860px) {
  .hero { --mark-w: min(92vw, 540px); }

  .hero__inner { padding-bottom: calc(var(--mark-w) * .806 - 20px); }

  .hero__mark {
    left: auto;
    top: auto;
    right: -14%;
    bottom: -84px;
    width: var(--mark-w);
  }
}

@media (max-width: 480px) {
  .hero__actions .btn { width: 100%; }
}

/* Inner-page masthead */
.masthead {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--red);
  color: var(--ground);
}

/* A laurel branch from the brand artwork closes the right-hand side */
.masthead__laurel {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: clamp(-72px, -4vw, -32px);
  width: clamp(260px, 30vw, 470px);
  max-width: none;
  transform: translateY(-48%);
  pointer-events: none;
  user-select: none;
}

@media (max-width: 1000px) {
  .masthead__laurel { display: none; }
}

.masthead__inner {
  max-width: 46rem;
  padding-block: clamp(60px, 7.5vw, 112px) clamp(56px, 7vw, 104px);
}

.masthead__label {
  margin: 0 0 22px;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-pale);
}

.masthead h1 {
  color: var(--ground);
  font-size: var(--fs-h1);
  line-height: 1.1;
}

.masthead__intro {
  max-width: 40rem;
  margin-top: clamp(20px, 2.4vw, 30px);
  font-size: var(--fs-lead);
  line-height: 1.62;
  color: rgba(251, 250, 248, .92);
}

.masthead__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(28px, 3.4vw, 40px);
}


/* 08  Content components --------------------------------------------------- */

/* Key facts: a white bar that overlaps the foot of the hero */
.facts-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: calc(-1 * clamp(36px, 4.4vw, 56px)) 0 0;
  padding: 0;
  list-style: none;
  background: var(--white);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 30px 60px -36px rgba(31, 28, 26, .4), 0 0 0 1px rgba(31, 28, 26, .06);
}

.facts-bar__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: clamp(20px, 2.2vw, 28px) clamp(16px, 2vw, 28px);
  border-left: 1px solid var(--rule);
}

.facts-bar__item:first-child { border-left: 0; }

.facts-bar .icon {
  width: 30px;
  height: 30px;
  margin-top: 2px;
  color: var(--gold);
}

.facts-bar__label {
  display: block;
  margin-bottom: 4px;
  color: var(--red);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.facts-bar__value {
  display: block;
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.4;
}

/* The same bar inside a page section (about page) */
.facts-bar--inline {
  margin-top: clamp(48px, 6vw, 88px);
  box-shadow: 0 0 0 1px var(--rule);
}

@media (max-width: 1100px) {
  .facts-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-bar__item:nth-child(odd) { border-left: 0; }
  .facts-bar__item:nth-child(n + 3) { border-top: 1px solid var(--rule); }
}

@media (max-width: 520px) {
  .facts-bar { grid-template-columns: 1fr; }
  .facts-bar__item { border-left: 0; }
  .facts-bar__item:nth-child(n + 2) { border-top: 1px solid var(--rule); }
}

/* Industry cards with a line illustration */
.plates {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(48px, 6vw, 80px);
}

.plates--flush { margin-top: 0; }

.plate {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--rule);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.plate:hover {
  border-color: var(--rule-gold);
  box-shadow: 0 24px 48px -32px rgba(31, 28, 26, .32);
}

.plate__art {
  display: block;
  width: 100%;
  height: auto;
  background: var(--stone);
  border-bottom: 1px solid var(--rule);
}

.plate__body { padding: clamp(22px, 2.4vw, 30px) clamp(20px, 2.2vw, 30px) clamp(26px, 2.8vw, 34px); }

.plate h3 {
  margin-bottom: 10px;
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -.005em;
}

.plate p { font-size: 1rem; line-height: 1.65; }

@media (max-width: 900px) {
  .plates { grid-template-columns: 1fr; }
  .plate { flex-direction: row; }

  .plate__art {
    align-self: stretch;
    width: 42%;
    object-fit: contain;
    border-right: 1px solid var(--rule);
    border-bottom: 0;
  }

  .plate__body { flex: 1; align-self: center; }
}

@media (max-width: 560px) {
  .plate { flex-direction: column; }

  .plate__art {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }
}

/* Mira + Logic: the two halves of the name */
.duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(20px, 4.5vw, 72px);
  align-items: start;
}

.duo__word {
  margin: 0 0 clamp(16px, 2vw, 26px);
  color: var(--ink);
  font-size: clamp(3.25rem, 1.6rem + 7vw, 7.5rem);
  line-height: .95;
}

.duo__word--mira { font-style: italic; font-weight: 300; letter-spacing: -.01em; }
.duo__word--logic { font-weight: 600; letter-spacing: -.035em; }

.duo__plus {
  padding-top: .18em;
  color: var(--gold);
  font-size: clamp(2.25rem, 1.2rem + 4.2vw, 5rem);
  font-weight: 200;
  line-height: 1;
}

.duo__text { max-width: 26rem; }

.duo__sum {
  margin-top: clamp(40px, 5vw, 72px);
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--rule-gold);
  color: var(--ink);
  font-size: clamp(1.25rem, 1rem + 1.1vw, 1.875rem);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -.01em;
}

@media (max-width: 700px) {
  .duo { grid-template-columns: 1fr; gap: 12px; }
  .duo__plus { padding-top: 0; }
}

/* Services as a colonnade: four columns standing on one base line */
.colonnade {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}

/* Each pillar shares the colonnade's rows (subgrid), so the titles,
   descriptions and lists line up across all four columns. */
.pillar {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 5;
  align-content: start;
  padding: 0 clamp(18px, 2vw, 30px) 40px;
  border-left: 1px solid var(--rule-gold);
}

.pillar:first-child { padding-left: 0; border-left: 0; }
.pillar:last-child { padding-right: 0; }

.pillar::before {
  content: "";
  width: 40px;
  height: 4px;
  margin-bottom: 28px;
  background: var(--gold);
}

.pillar__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  color: var(--gold);
}

.pillar h3 {
  margin-bottom: 14px;
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.005em;
}

.pillar p { font-size: 1rem; line-height: 1.65; }

.pillar .list {
  align-content: start;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  font-size: .9375rem;
}

@media (max-width: 1100px) {
  .colonnade { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar { padding-bottom: 36px; }
  .pillar:nth-child(odd) { padding-left: 0; border-left: 0; }
  .pillar:nth-child(even) { padding-right: 0; }
  .pillar:nth-child(n + 3) { border-top: 1px solid var(--rule); }
}

@media (max-width: 600px) {
  .colonnade { grid-template-columns: 1fr; }

  .pillar,
  .pillar:nth-child(even) { padding-inline: 0; border-left: 0; }

  .pillar:nth-child(n + 2) { border-top: 1px solid var(--rule); }
}

/* List with a small gold diamond marker */
.list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.55;
}

.list li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: .58em;
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* Index of disciplines: icon, name, summary, arrow */
.index {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.index__row {
  display: grid;
  grid-template-columns: auto minmax(0, 5fr) minmax(0, 7fr) auto;
  gap: 6px clamp(16px, 2.4vw, 32px);
  align-items: center;
  padding: clamp(18px, 2.2vw, 26px) clamp(8px, 1.2vw, 16px);
  border-bottom: 1px solid var(--rule);
  color: inherit;
  text-decoration: none;
  transition: background-color .18s ease;
}

.index__row:hover { background: var(--stone); }

.index__icon {
  width: 34px;
  height: 34px;
  color: var(--gold);
}

.index__name {
  color: var(--ink);
  font-size: clamp(1.1875rem, 1.05rem + .7vw, 1.5rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -.01em;
}

.index__detail { font-size: 1rem; line-height: 1.6; }

.index__go {
  width: 22px;
  height: 22px;
  color: var(--ink-3);
  transition: transform .18s ease, color .18s ease;
}

.index__row:hover .index__go {
  color: var(--red);
  transform: translateX(4px);
}

@media (max-width: 760px) {
  .index__row { grid-template-columns: auto minmax(0, 1fr) auto; }
  .index__icon { grid-row: 1 / span 2; align-self: start; margin-top: 2px; }
  .index__name { grid-column: 2; }
  .index__detail { grid-column: 2; grid-row: 2; }
  .index__go { grid-column: 3; grid-row: 1 / span 2; }
}

/* A numbered sequence on a gold line: used only for real step-by-step processes */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 28px 0 0;
  list-style: none;
}

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

/* Steps share rows (subgrid) so icons, numbers, titles and text align */
.steps__item {
  position: relative;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  align-content: start;
  padding: 0 clamp(20px, 2.6vw, 40px) 0 0;
  border-top: 1px solid var(--gold);
}

.steps__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: -28px 0 22px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--ground);
  color: var(--gold);
}

.steps__icon .icon { width: 26px; height: 26px; }

.section--stone .steps__icon { background: var(--stone); }

.section--ink .steps__icon {
  border-color: var(--gold-bright);
  background: var(--ink);
  color: var(--gold-bright);
}

.steps__n {
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: .16em;
}

.section--ink .steps__n { color: var(--gold-bright); }

.steps__item h3 {
  margin-bottom: 10px;
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -.01em;
}

.steps__item p { font-size: 1rem; line-height: 1.65; }

/* Narrow screens: the line runs down the left-hand side */
@media (max-width: 900px) {
  .steps,
  .steps--three { grid-template-columns: 1fr; padding-top: 0; padding-left: 28px; }

  .steps__item {
    padding: 14px 0 40px 52px;
    border-top: 0;
    border-left: 1px solid var(--gold);
  }

  .steps__item:last-child { padding-bottom: 0; border-left-color: transparent; }

  .steps__icon {
    position: absolute;
    top: 0;
    left: -28px;
    margin: 0;
  }
}

/* Two ways in: employers and candidates */
.paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.path {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 8px clamp(24px, 5vw, 80px);
  border-left: 1px solid var(--rule-gold);
}

.path:first-child { padding-left: 0; border-left: 0; }
.path:last-child { padding-right: 0; }

.path h2 { font-size: var(--fs-h2); }
.path p { max-width: 30rem; margin-top: 18px; }
.path .btn { margin-top: 32px; }

@media (max-width: 760px) {
  .paths { grid-template-columns: 1fr; }

  .path,
  .path:first-child,
  .path:last-child { padding: 0; border-left: 0; }

  .path + .path {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--rule-gold);
  }
}

/* Detailed service rows on the employers page */
.service {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 28px clamp(28px, 6vw, 96px);
  padding-block: clamp(40px, 5vw, 68px);
  border-top: 1px solid var(--rule);
}

.service:first-child { border-top-color: var(--ink); }
.service:last-child { padding-bottom: 0; }

.service__head,
.discipline__head {
  display: flex;
  gap: clamp(18px, 2vw, 28px);
  align-items: flex-start;
}

.service h3 {
  margin-bottom: 18px;
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem);
  line-height: 1.2;
}

@media (max-width: 560px) {
  .service__head,
  .discipline__head { flex-direction: column; }
}

.service__included h4 {
  margin-bottom: 20px;
  color: var(--red);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.service__included .list { gap: 14px; }

@media (max-width: 860px) {
  .service { grid-template-columns: 1fr; }
}

/* Two-by-two grid of short statements, divided by fine rules */
.quad {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
}

.quad__item {
  display: flex;
  gap: clamp(16px, 1.8vw, 24px);
  align-items: flex-start;
  padding: clamp(28px, 3.4vw, 44px) clamp(24px, 4vw, 64px) clamp(30px, 3.6vw, 48px) 0;
  border-bottom: 1px solid var(--rule);
}

.quad__item:nth-child(even) {
  padding-left: clamp(24px, 4vw, 64px);
  padding-right: 0;
  border-left: 1px solid var(--rule);
}

.quad__item h3 {
  margin-bottom: 12px;
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -.005em;
}

.quad__item p { max-width: 30rem; }

.section--ink .quad,
.section--ink .quad__item { border-color: var(--rule-light); }

@media (max-width: 700px) {
  .quad { grid-template-columns: 1fr; }

  .quad__item,
  .quad__item:nth-child(even) { padding-inline: 0; border-left: 0; }
}

/* Discipline rows on the expertise page */
.discipline {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 24px clamp(28px, 6vw, 96px);
  padding-block: clamp(36px, 4.4vw, 60px);
  border-top: 1px solid var(--rule);
}

.discipline:first-child { border-top-color: var(--ink); }
.discipline:last-child { padding-bottom: 0; }

.discipline h3 {
  margin-bottom: 16px;
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem);
  line-height: 1.2;
}

.roles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: start;
  gap: 0 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}

.roles li {
  padding-block: 13px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 860px) {
  .discipline { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .roles { grid-template-columns: 1fr; }
}

/* Links to each discipline */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.tags a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px 0 18px;
  border: 1px solid var(--rule-strong);
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}

.tags a:hover { border-color: var(--ink); background: var(--ink); color: var(--ground); }

.tags .icon {
  width: 22px;
  height: 22px;
  color: var(--gold);
  transition: color .18s ease;
}

.tags a:hover .icon { color: var(--gold-bright); }

/* The mark and what it stands for (about page): numbered pins on the emblem */
.mark {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.mark__figure {
  display: grid;
  place-items: center;
  margin: 0;
  padding: clamp(56px, 8vw, 112px) clamp(40px, 6vw, 88px);
  background: var(--white);
  border: 1px solid var(--rule-gold);
}

.mark__art {
  position: relative;
  width: min(100%, 340px);
}

.mark__art img { display: block; width: 100%; height: auto; }

.pin {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--red);
  color: var(--ground);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1;
}

.mark__art .pin {
  position: absolute;
  margin: -15px 0 0 -15px;
  box-shadow: 0 0 0 4px var(--white);
}

.pin--laurel { left: 1%; top: 30%; }
.pin--pillars { left: 23%; top: 62%; }
.pin--star { left: 50%; top: -7%; }

.mark__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mark__list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding-block: 26px;
  border-top: 1px solid var(--rule);
}

.mark__list li:first-child { padding-top: 0; border-top: 0; }
.mark__list li:last-child { padding-bottom: 0; }

.mark__list h3 {
  margin-bottom: 8px;
  font-size: var(--fs-h3);
  font-weight: 600;
}

@media (max-width: 860px) {
  .mark { grid-template-columns: 1fr; }
}

/* The standard, framed by the two laurel branches of the brand artwork */
.pledge {
  display: grid;
  grid-template-columns: auto minmax(0, 33rem) auto;
  gap: clamp(20px, 3.4vw, 56px);
  align-items: center;
  justify-content: center;
  text-align: center;
}

.pledge__laurel {
  display: block;
  width: clamp(88px, 13vw, 168px);
  height: auto;
}

.pledge .label { margin-bottom: 20px; }

.pledge__text {
  color: var(--ink);
  font-size: clamp(1.5rem, 1.05rem + 2.1vw, 2.625rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.22;
  letter-spacing: -.01em;
  text-wrap: balance;
}

.pledge + .paths {
  margin-top: clamp(56px, 7vw, 104px);
  padding-top: clamp(48px, 6vw, 88px);
  border-top: 1px solid var(--rule);
}

@media (max-width: 700px) {
  .pledge {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 12px;
  }

  .pledge__laurel { width: 76px; }
  .pledge__laurel:first-child { order: 1; }
  .pledge__laurel:last-child { order: 2; }

  .pledge__body {
    order: 3;
    flex-basis: 100%;
    margin-top: 24px;
  }
}

/* What a client receives: text beside an illustrative set of reports */
.evidence {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.evidence h2 { font-size: var(--fs-h2); }

.evidence__lead {
  margin-top: 20px;
  font-size: var(--fs-lead);
  line-height: 1.6;
}

.evidence__text .list { margin-top: 28px; }
.evidence__text .section-foot { margin-top: 32px; }

.icon-list {
  display: grid;
  gap: 24px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.icon-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.icon-list h3 {
  margin-bottom: 6px;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0;
}

.icon-list p { font-size: 1rem; line-height: 1.6; }

.reports {
  position: relative;
  height: 508px;
  color: var(--ink-2);
  font-size: .75rem;
  line-height: 1.4;
}

.report {
  position: absolute;
  padding: 22px 24px 24px;
  background: var(--white);
  border: 1px solid rgba(31, 28, 26, .1);
  box-shadow: 0 30px 60px -34px rgba(31, 28, 26, .5);
}

.report--pay { z-index: 2; top: 0; right: 0; width: 54%; }
.report--progress { z-index: 1; top: 112px; left: 0; width: 80%; }
.report--shortlist { z-index: 3; right: 0; bottom: 0; width: 60%; }

.report__kicker {
  margin: 0 0 6px;
  color: var(--red);
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.report__title {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
}

.report__bars {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.report__bars li {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.bar {
  position: relative;
  display: block;
  height: 8px;
  background: var(--stone);
}

.bar::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: var(--gold);
}

.range {
  position: relative;
  height: 26px;
  margin: 16px 0 8px;
}

.range::before {
  content: "";
  position: absolute;
  top: 11px;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--stone);
}

.range__band {
  position: absolute;
  top: 8px;
  right: 20%;
  left: 22%;
  height: 10px;
  background: linear-gradient(90deg, var(--gold-bright), var(--gold));
}

.range__tick {
  position: absolute;
  top: 3px;
  width: 1px;
  height: 20px;
  background: var(--ink);
}

.range__tick--low { left: 22%; }
.range__tick--mid { left: 50%; }
.range__tick--high { left: 80%; }

.range__offer {
  position: absolute;
  top: 5px;
  left: 62%;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 1px var(--red);
}

.range__labels {
  position: relative;
  height: 16px;
  color: var(--ink-3);
  font-size: .625rem;
}

.range__labels span {
  position: absolute;
  transform: translateX(-50%);
  white-space: nowrap;
}

.range__labels span:nth-child(1) { left: 22%; }
.range__labels span:nth-child(2) { left: 50%; }
.range__labels span:nth-child(3) { left: 80%; }

.report__key {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  color: var(--ink);
  font-size: .6875rem;
  font-weight: 500;
}

.report__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.report__people {
  display: grid;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.report__people li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding-block: 10px;
  border-top: 1px solid var(--rule);
}

.report__people li:first-child { padding-top: 0; border-top: 0; }
.report__people li:last-child { padding-bottom: 0; }

.report__avatar {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--rule-gold);
  border-radius: 50%;
  background: var(--stone);
  color: var(--ink);
  font-size: .6875rem;
  font-weight: 600;
}

.report__name {
  color: var(--ink);
  font-size: .8125rem;
  font-weight: 600;
}

.report__checks {
  display: flex;
  gap: 4px;
  align-items: center;
  color: var(--ink-3);
  font-size: .625rem;
}

.report__checks .icon {
  width: 12px;
  height: 12px;
  margin-left: 6px;
  color: var(--gold);
}

.reports__caption {
  margin-top: 18px;
  color: var(--ink-3);
  font-size: var(--fs-small);
}

@media (max-width: 1180px) {
  .evidence { grid-template-columns: 1fr; }
  .evidence__visual { max-width: 600px; }
}

@media (max-width: 600px) {
  .reports {
    display: grid;
    gap: 14px;
    height: auto;
  }

  .report {
    position: static;
    width: auto;
  }
}

/* Where the talent is: dotted world map with hub markers */
.hubs { margin: clamp(40px, 5vw, 72px) 0 0; }

.hubs__map { position: relative; }

.hubs__map img {
  display: block;
  width: 100%;
  height: auto;
}

.hub {
  position: absolute;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 4px rgba(239, 195, 124, .2);
}

.hub__label {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  color: rgba(251, 250, 248, .86);
  font-size: .6875rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 0 4px var(--ink), 0 0 8px var(--ink), 0 0 12px var(--ink);
}

.hub--label-left .hub__label { right: 16px; left: auto; }

/* Headquarters: the North Star of the brand mark */
.hub--hq {
  z-index: 2;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  background: none;
  box-shadow: none;
  color: var(--gold-bright);
}

.hub--hq .icon { display: block; width: 30px; height: 30px; }

.hub--hq .hub__label {
  right: 40px;
  color: var(--gold-bright);
  font-size: .8125rem;
}

.hubs__legend {
  margin-top: clamp(28px, 3.6vw, 48px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid var(--rule-light);
}

.hubs__key {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  margin: 0 0 clamp(24px, 3vw, 36px);
  padding: 0;
  list-style: none;
  color: rgba(251, 250, 248, .86);
  font-size: var(--fs-small);
}

.hubs__key li {
  display: flex;
  gap: 10px;
  align-items: center;
}

.hubs__key .icon { width: 20px; height: 20px; color: var(--gold-bright); }

.hubs__dot {
  width: 8px;
  height: 8px;
  margin-inline: 6px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 4px rgba(239, 195, 124, .2);
}

.hubs__regions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px clamp(20px, 3vw, 48px);
  margin: 0;
}

.hubs__regions dt {
  margin-bottom: 8px;
  color: var(--gold-pale);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hubs__regions dd {
  margin: 0;
  color: rgba(251, 250, 248, .88);
  font-size: .9375rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .hub__label { display: none; }

  .hub {
    width: 6px;
    height: 6px;
    margin: -3px 0 0 -3px;
    box-shadow: 0 0 0 3px rgba(239, 195, 124, .2);
  }

  .hub--hq {
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    box-shadow: none;
  }

  .hub--hq .icon { width: 20px; height: 20px; }
}

@media (max-width: 700px) {
  .hubs__regions { grid-template-columns: 1fr; }
}

/* Leadership */
.leader {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: center;
}

.leader__photo {
  position: relative;
  isolation: isolate;
  margin: 0 18px 18px 0;
  aspect-ratio: 4 / 5;
}

.leader__photo::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: -1;
  border: 1px solid var(--gold);
}

.leader__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
}

.leader__name { font-size: var(--fs-h2); }

.leader__role {
  margin: 12px 0 24px;
  color: var(--red);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.leader__text { max-width: 34rem; }
.leader__text .text-link { display: inline-block; margin-top: 28px; }

@media (max-width: 800px) {
  .leader { grid-template-columns: 1fr; }
  .leader__photo { max-width: 340px; }
}

/* Closing call to action on inner pages */
.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px clamp(32px, 6vw, 96px);
  align-items: center;
}

.cta h2 { font-size: var(--fs-h2); }
.cta p { max-width: 36rem; margin-top: 16px; font-size: var(--fs-lead); line-height: 1.6; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }

@media (max-width: 860px) {
  .cta { grid-template-columns: 1fr; }
}

/* Short reassurance line */
.note {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: clamp(32px, 4vw, 48px);
  padding: 22px 26px;
  border-left: 3px solid var(--gold);
  background: var(--stone);
  color: var(--ink);
  font-weight: 500;
}

.note .icon { width: 26px; height: 26px; color: var(--gold); }

.section--stone .note { background: var(--ground); }

/* Contact layout */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}

/* Europe in dots, with London marked */
.locator {
  position: relative;
  margin-bottom: 4px;
  background: var(--white);
  border: 1px solid var(--rule);
}

.locator img {
  display: block;
  width: 100%;
  height: auto;
}

.locator__pin {
  position: absolute;
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  color: var(--red);
}

.locator__pin .icon { display: block; width: 32px; height: 32px; }

.locator__label {
  position: absolute;
  margin: -11px 0 0 24px;
  padding: 5px 10px;
  background: var(--ink);
  color: var(--ground);
  font-size: .6875rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.contact__details { margin: 0; }

.contact__details div {
  padding-block: 24px;
  border-top: 1px solid var(--rule);
}

.contact__details div:first-child { border-top: 0; }

.contact__details dt {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
  color: var(--red);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.contact__details dt .icon { width: 20px; height: 20px; color: var(--gold); }

.contact__details dd {
  margin: 0;
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.55;
}

.contact__details a {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

.contact__details a:hover { color: var(--red); }

.contact__details small {
  display: block;
  margin-top: 6px;
  color: var(--ink-3);
  font-size: var(--fs-small);
}

@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; }
}

/* Form beside an explanation (candidates page) */
.register {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}

.register h2 { font-size: var(--fs-h2); }
.register__intro p { margin-top: 20px; }
.register__intro .list { margin-top: 28px; }

@media (max-width: 900px) {
  .register { grid-template-columns: 1fr; }
}

/* 404 */
.lost {
  display: grid;
  gap: 28px;
  justify-items: start;
  padding-block: clamp(88px, 12vw, 176px);
}

.lost .medal { margin-bottom: 4px; }
.lost h1 { font-size: var(--fs-h1); }
.lost p { max-width: 34rem; font-size: var(--fs-lead); }


/* 09  Forms ---------------------------------------------------------------- */

.form {
  display: grid;
  gap: 24px;
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.form__row:has(> .field[hidden]) { grid-template-columns: 1fr; }

@media (max-width: 600px) {
  .form__row { grid-template-columns: 1fr; }
}

.form--card {
  padding: clamp(24px, 3.2vw, 48px);
  background: var(--white);
  border-top: 3px solid var(--gold);
  box-shadow: 0 30px 60px -40px rgba(31, 28, 26, .4), 0 0 0 1px rgba(31, 28, 26, .06);
}

.field {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field[hidden] { display: none; }

.field--set { display: block; }
.field--set .field__label { display: block; margin-bottom: 8px; }

.field__label {
  padding: 0;
  color: var(--ink);
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.4;
}

.field__optional { color: var(--ink-3); font-weight: 400; }

.field__hint { color: var(--ink-3); font-size: var(--fs-small); line-height: 1.5; }

.input {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid var(--rule-strong);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.4;
  appearance: none;
  transition: border-color .18s ease;
}

.input:hover { border-color: var(--ink-3); }

.input:focus-visible {
  border-color: var(--ink);
  outline: 2px solid var(--gold);
  outline-offset: 0;
}

textarea.input { min-height: 160px; resize: vertical; }

select.input {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231F1C1A' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}

.file {
  width: 100%;
  color: var(--ink-2);
  font-family: var(--font);
  font-size: .9375rem;
}

.file::file-selector-button {
  min-height: 46px;
  margin-right: 16px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
}

/* Enquiry type: three choices in one bar */
.segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--rule-strong);
  background: var(--white);
}

.segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 8px 12px;
  border-left: 1px solid var(--rule-strong);
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}

.segmented label:first-of-type { border-left: 0; }
.segmented input:checked + label { background: var(--ink); color: var(--ground); }
.segmented input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 3px; }

@media (max-width: 600px) {
  .segmented { grid-template-columns: 1fr; }
  .segmented label { border-left: 0; border-top: 1px solid var(--rule-strong); }
  .segmented label:first-of-type { border-top: 0; }
}

.check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  font-size: var(--fs-small);
  line-height: 1.55;
}

.check input {
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--red);
}

.field__error {
  color: var(--red);
  font-size: var(--fs-small);
  font-weight: 500;
  line-height: 1.45;
}

.field__error:empty { display: none; }

.field--error .input { border-color: var(--red); }

.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.form__status {
  color: var(--red);
  font-size: var(--fs-small);
  font-weight: 500;
}

.form__status:empty { display: none; }

/* Confirmation shown in place of a sent form */
.confirm {
  padding: clamp(32px, 4vw, 52px);
  border: 1px solid var(--rule-gold);
  border-top: 4px solid var(--gold);
  background: var(--white);
}

.confirm h3 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem); }
.confirm p { max-width: 32rem; margin-top: 14px; }

.confirm__demo {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  color: var(--ink-3);
  font-size: var(--fs-small);
}


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

.site-footer {
  background: var(--red);
  color: rgba(251, 250, 248, .88);
  font-size: .9375rem;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)) minmax(max-content, 1fr);
  gap: 48px clamp(24px, 3vw, 48px);
  padding-block: clamp(64px, 8vw, 104px) clamp(48px, 6vw, 72px);
}

/* Secondary logo: gradient gold on Carol Red, at least 200px wide */
.site-footer__logo {
  display: inline-block;
  margin-bottom: 26px;
}

.site-footer__logo img {
  display: block;
  width: 224px;
  height: auto;
}

.site-footer__tagline {
  max-width: 17rem;
  color: var(--gold-pale);
  font-size: 1.0625rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
}

.site-footer h2 {
  margin-bottom: 18px;
  color: var(--gold-pale);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.site-footer ul {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li { line-height: 1.45; overflow-wrap: anywhere; }

.site-footer__contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.site-footer__contact .icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--gold-pale);
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 4px;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--gold-bright);
}

.site-footer__legal {
  padding-block: 24px 32px;
  border-top: 1px solid rgba(239, 195, 124, .38);
  color: rgba(251, 250, 248, .8);
  font-size: var(--fs-label);
  line-height: 1.65;
}

.site-footer__legal p { max-width: 62rem; }

@media (max-width: 1020px) {
  .site-footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(max-content, 1fr); }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .site-footer__contact .icon { display: none; }
}

@media (max-width: 380px) {
  .site-footer__top { grid-template-columns: 1fr; gap: 32px; }
}


/* Motion: the site keeps to quiet state changes; honour reduced-motion fully */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

@media print {
  .site-header { position: static; }
  .nav, .nav-toggle, .hero__mark { display: none; }
}
