/* Experiential.co.uk — light theme, gold accent */

:root {
  --ink: #f7f4ef;              /* page background, warm white */
  --ink-2: #ffffff;            /* cards, forms, elevated surfaces */
  --ink-3: #f3efe8;            /* hover / alternate fill */
  --ink-4: #ebe6de;            /* deeper fill */
  --cream: #1c1916;            /* headings, charcoal */
  --cream-soft: #2a2622;       /* body text */
  --muted: #534e48;            /* secondary text, 8.2:1 on white */
  --muted-2: #5c574f;          /* labels and tertiary text, 7.2:1 */
  --gold: #8a5a12;             /* links and small accent text, 5.9:1 on white */
  --gold-bright: #6e4c0e;      /* hover / emphasis, 7.8:1 on white */
  --gold-deep: #6e4c0e;
  --gold-fill: #d4a84a;        /* button faces; use only with dark text */
  --gold-fill-hover: #e2b657;
  --btn-ink: #1a1408;          /* 7.9:1 on gold-fill */
  --copper: #a05f2e;
  --line: rgba(28, 25, 22, 0.12);
  --line-strong: #8a5a12;
  --wash-gold: rgba(138, 90, 18, 0.10);
  --wash-wine: rgba(140, 60, 55, 0.06);
  --wash-teal: rgba(40, 90, 85, 0.05);
  --danger: #8a2424;
  --ok: #1e5c32;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px rgba(28, 25, 22, 0.08);
  --header-h: 76px;
  --font-serif: "Instrument Serif", "Times New Roman", Times, serif;
  --font-sans: "Outfit", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--cream-soft);
  background: var(--ink);
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--cream);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--gold-fill);
  color: var(--btn-ink);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

/* Ambient stage lighting */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 88% -10%, var(--wash-gold), transparent 60%),
    radial-gradient(800px 700px at -10% 20%, var(--wash-wine), transparent 55%),
    radial-gradient(700px 500px at 70% 85%, var(--wash-teal), transparent 60%),
    var(--ink);
  pointer-events: none;
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.wrap-wide {
  width: min(1200px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  background: rgba(247, 244, 239, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(247, 244, 239, 0.94);
}

.site-header .wrap-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--cream);
  text-decoration: none;
}

.logo:hover {
  color: var(--cream);
}

.logo-mark {
  width: 34px;
  height: 34px;
  flex: none;
}

.logo-word {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 0.18rem;
}

.logo-word strong {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.logo-word span {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.55rem;
}

.nav a {
  color: var(--cream-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 400;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--gold-bright);
}

.header-cta {
  margin-left: 0.4rem;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--cream);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  border-radius: 2px;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  padding: 0.9rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:hover {
  text-decoration: none;
}

.btn:focus-visible,
.nav a:focus-visible,
.logo:focus-visible,
.menu-toggle:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(180deg, var(--gold-fill-hover), var(--gold-fill));
  color: var(--btn-ink);
  box-shadow: 0 8px 24px rgba(138, 90, 18, 0.18);
}

.btn-primary:hover {
  color: var(--btn-ink);
  transform: translateY(-1px);
  background: linear-gradient(180deg, #ebc56a, var(--gold-fill-hover));
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  color: var(--cream);
  border-color: var(--gold);
  background: var(--wash-gold);
}

.btn-full {
  width: 100%;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

/* Hero */
.hero {
  position: relative;
  padding: 4.5rem 0 5.5rem;
  min-height: calc(88vh - var(--header-h));
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.35rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-size: clamp(2.7rem, 5.4vw, 5rem);
  max-width: 12ch;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-bright);
}

.lede {
  margin-top: 1.5rem;
  max-width: 38rem;
  font-size: 1.12rem;
  color: var(--cream-soft);
}

.hero-note {
  margin-top: 1.5rem;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Dossier visual */
.dossier {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.5rem 1.5rem 1.35rem;
  box-shadow: var(--shadow);
}

.dossier::before {
  content: "";
  position: absolute;
  inset: auto -18px -28px 40px;
  height: 70%;
  border-radius: 22px;
  background: linear-gradient(180deg, var(--wash-gold), transparent);
  border: 1px solid var(--line);
  z-index: -1;
  transform: rotate(3deg);
}

.dossier-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.dossier-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.dossier-status {
  font-size: 0.75rem;
  color: var(--cream-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.dossier-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7dbe8a;
  display: inline-block;
  box-shadow: 0 0 0 4px rgba(125, 190, 138, 0.15);
}

.dossier dl {
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.dossier .row {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.8rem;
  font-size: 0.95rem;
}

.dossier dt {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 0.2rem;
}

.dossier dd {
  margin: 0;
  color: var(--cream);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-size: 0.78rem;
  color: var(--cream-soft);
}

.dossier-foot {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  letter-spacing: 0;
}

/* Sections */
section {
  padding: 5.25rem 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.75rem;
}

.section-head.centre,
.centre {
  text-align: center;
  margin-inline: auto;
}

.section-kicker {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.85rem;
}

.section-head h2,
.split h2,
.human h2 {
  font-size: clamp(2rem, 3.6vw, 3.15rem);
}

.section-head p,
.split p.intro,
.human .intro {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.08rem;
}

/* How it works */
.how {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), transparent 40%);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.step {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem 1.8rem;
  min-height: 100%;
}

.step-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1.1rem;
}

.step h3 {
  font-size: 1.55rem;
  margin-bottom: 0.7rem;
}

.step p {
  color: var(--muted);
  font-size: 1rem;
}

/* Audiences */
.audiences {
  padding-top: 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: var(--ink-2);
}

.split-pane {
  padding: 2.6rem 2.3rem 2.4rem;
  display: flex;
  flex-direction: column;
}

.split-pane + .split-pane {
  border-left: 1px solid var(--line);
}

.split-pane h2 {
  margin: 0.3rem 0 1rem;
}

.points {
  list-style: none;
  margin-top: 1.5rem;
  display: grid;
  gap: 0.85rem;
}

.points li {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.75rem;
  align-items: start;
  color: var(--cream-soft);
}

.points li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.5rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--wash-gold);
}

.split-pane .points {
  flex: 1;
  margin-bottom: 1.8rem;
}

.split-pane .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Categories */
.categories {
  border-top: 1px solid var(--line);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.cat {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.4rem 1.25rem 1.3rem;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s var(--ease);
}

.cat:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  background: var(--ink-3);
}

.cat-icon {
  width: 36px;
  height: 36px;
  color: var(--gold);
  margin-bottom: 1rem;
}

.cat h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.cat p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Human touch */
.human {
  position: relative;
}

.human-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.pull {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.25;
  color: var(--cream);
  margin-top: 1rem;
}

.human-points {
  display: grid;
  gap: 1.15rem;
  margin-top: 0.4rem;
}

.human-points article {
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.human-points article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.human-points h3 {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0;
  margin-bottom: 0.3rem;
}

.human-points p {
  color: var(--muted);
}

/* Forms */
.start {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--wash-gold), transparent 50%);
}

.form-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
  align-items: start;
}

.form-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.8rem 1.6rem 1.7rem;
}

.form-card h3 {
  font-size: 1.85rem;
}

.form-card .form-lede {
  margin: 0.7rem 0 1.4rem;
  color: var(--muted);
}

.form-note {
  font-size: 0.82rem;
  color: var(--muted-2);
  margin-top: 0.9rem;
}

form {
  display: grid;
  gap: 0.9rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

label {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="number"],
input[type="date"],
select,
textarea {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.72rem 0.8rem;
  color: var(--cream);
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--wash-gold);
}

input::placeholder,
textarea::placeholder {
  color: var(--muted-2);
}

textarea {
  min-height: 7.5rem;
  resize: vertical;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%238A5A12' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  padding-right: 2.2rem;
}

select option {
  background: var(--ink-3);
  color: var(--cream);
}

.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 0.8rem;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.92rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--cream-soft);
  font-weight: 400;
  cursor: pointer;
}

.check input {
  margin-top: 0.25rem;
  accent-color: var(--gold);
  width: 1rem;
  height: 1rem;
}

.form-success {
  display: none;
  border: 1px solid var(--line-strong);
  background: var(--wash-gold);
  color: var(--cream);
  border-radius: 12px;
  padding: 1rem 1.1rem;
}

.form-success.is-visible,
.form-card.is-sent form {
  /* toggled in JS */
}

.form-card.is-sent form {
  display: none;
}

.form-card.is-sent .form-success {
  display: block;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 2.2rem;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.4rem;
}

.footer-brand .logo {
  margin-bottom: 0.9rem;
}

.footer-brand p {
  max-width: 28rem;
}

.site-footer h2 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.footer-links a {
  color: var(--cream-soft);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold-bright);
}

.placeholder-block {
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  color: var(--muted);
  font-size: 0.92rem;
  background: var(--wash-gold);
}

.placeholder-block strong {
  display: block;
  color: var(--gold);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

/* Mobile nav */
@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 1.25rem 1.2rem;
    background: rgba(247, 244, 239, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .header-cta {
    margin: 0.9rem 0 0.3rem;
  }

  .hero-grid,
  .steps,
  .split,
  .human-inner,
  .form-grid,
  .footer-grid,
  .field-row,
  .checks {
    grid-template-columns: 1fr;
  }

  .cat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .split-pane .btn {
    align-self: stretch;
    text-align: center;
  }

  .dossier-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
  }

  .split-pane + .split-pane {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .hero {
    min-height: 0;
    padding: 2.6rem 0 3.4rem;
  }

  .hero h1 {
    max-width: none;
  }

  .dossier {
    margin-top: 0.5rem;
  }

  .dossier .row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  section {
    padding: 3.6rem 0;
  }

  .checks {
    grid-template-columns: 1fr;
  }

  .wrap,
  .wrap-wide {
    width: min(1120px, calc(100% - 1.6rem));
  }
}

@media (min-width: 701px) and (max-width: 900px) {
  .cat-grid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .steps .step:last-child {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .cat {
    transition: none;
  }

  .btn:hover,
  .cat:hover {
    transform: none;
  }
}

/* -------------------------------------------------------------------------- */
/* Multi-page hub additions                                                     */
/* -------------------------------------------------------------------------- */

.nav a[aria-current="page"] {
  color: var(--gold-bright);
}

.page-hero {
  padding: 3.4rem 0 2.4rem;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 4.1rem);
  max-width: 18ch;
}

.page-hero .lede {
  margin-top: 1.25rem;
}

.page-hero .hero-actions {
  margin-top: 1.6rem;
}

.hero.hub {
  min-height: 0;
  padding: 4.2rem 0 3.6rem;
}

.hero.hub h1 {
  max-width: 16ch;
}

.hero-aside {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.6rem 1.5rem 1.4rem;
  box-shadow: var(--shadow);
}

.hero-aside h2 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1rem;
}

.hero-aside ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.hero-aside li a {
  color: var(--cream);
  text-decoration: none;
  display: grid;
  gap: 0.15rem;
}

.hero-aside li a:hover {
  color: var(--gold-bright);
}

.hero-aside strong {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
}

.hero-aside span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.hub-card {
  display: block;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s var(--ease);
}

.hub-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  background: var(--ink-3);
  color: inherit;
  text-decoration: none;
}

.hub-card h3 {
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
  color: var(--cream);
}

.hub-card p {
  color: var(--muted);
}

.hub-card .card-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 500;
}

.define {
  border-top: 1px solid var(--line);
}

.define-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.prose {
  color: var(--muted);
  display: grid;
  gap: 1rem;
  max-width: 42rem;
}

.prose p,
.prose li {
  color: var(--muted);
}

.aside-note {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
}

.aside-note h2,
.aside-note h3 {
  font-size: 1.7rem;
  margin-bottom: 0.7rem;
}

.aside-note p {
  color: var(--muted);
}

.aside-note p + p {
  margin-top: 0.8rem;
}

.match-note {
  border-top: 1px solid var(--line);
  padding: 3.4rem 0 4.5rem;
}

.match-note .aside-note {
  max-width: 46rem;
}

/* Directory */
.directory-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2.4rem 0 5rem;
}

.filters {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.15rem 1.1rem 1.2rem;
  max-height: calc(100vh - var(--header-h) - 2rem);
  overflow: auto;
}

.filters h2 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.85rem;
}

.filters .search-field {
  margin-bottom: 0.9rem;
}

.filter-group {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
  padding: 0.75rem 0 0.2rem;
}

.filter-group legend {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream-soft);
  font-weight: 500;
  padding: 0;
  margin-bottom: 0.45rem;
}

.filter-options {
  display: grid;
  gap: 0.28rem;
  max-height: 11.5rem;
  overflow: auto;
  padding-right: 0.2rem;
}

.filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.btn-tiny {
  padding: 0.45rem 0.8rem;
  font-size: 0.8rem;
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.btn-tiny:hover {
  border-color: var(--gold);
  background: var(--wash-gold);
}

.filter-toggle {
  display: none;
  width: 100%;
  margin-bottom: 1rem;
}

.results-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}

.results-head p {
  color: var(--muted);
  font-size: 0.95rem;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.listing {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 100%;
}

.listing h2 {
  font-size: 1.45rem;
}

.listing-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.listing .chips {
  margin-top: 0.15rem;
}

.chip-specialism {
  border-color: var(--line-strong);
  color: var(--cream);
}

.chip-sector,
.chip-scale,
.chip-region,
.chip-capability,
.chip-service {
  color: var(--cream-soft);
}

.listing-links {
  margin-top: auto;
  padding-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.9rem;
}

.empty-state {
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  padding: 2rem 1.4rem;
  color: var(--muted);
  text-align: center;
  grid-column: 1 / -1;
}

.source-note {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--muted-2);
  max-width: 46rem;
}

/* Expertise guide */
.guide-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.5rem 0 0;
}

.guide-nav a {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  text-decoration: none;
  color: var(--cream-soft);
  font-size: 0.88rem;
}

.guide-nav a:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.guide-block {
  padding: 3.4rem 0;
  border-top: 1px solid var(--line);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.guide-item {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.35rem 1.25rem 1.3rem;
}

.guide-item h3 {
  font-size: 1.4rem;
  margin-bottom: 0.55rem;
}

.guide-item p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* Articles: trends and news */
.article-list {
  display: grid;
  gap: 1.15rem;
  padding: 2.4rem 0 4.5rem;
}

.article-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.6rem 1.5rem 1.5rem;
}

.article-card h2 {
  font-size: 1.7rem;
  margin: 0.35rem 0 0.8rem;
}

.article-meta {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.article-card p {
  color: var(--muted);
}

.article-card p + p {
  margin-top: 0.8rem;
}

.article-source {
  margin-top: 1rem;
  font-size: 0.92rem;
}

.update-note {
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.cat-grid.nine {
  grid-template-columns: repeat(3, 1fr);
}

.form-wide {
  max-width: 720px;
}

.checkbox-set {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 0.8rem;
}

@media (max-width: 1040px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 1.25rem 1.2rem;
    background: rgba(247, 244, 239, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .header-cta {
    margin: 0.9rem 0 0.3rem;
  }

  .directory-layout,
  .define-grid,
  .hub-grid,
  .listing-grid,
  .guide-grid,
  .checkbox-set {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
    max-height: none;
  }

  .filters.is-collapsed .filter-group,
  .filters.is-collapsed .filter-actions,
  .filters.is-collapsed .search-field {
    display: none;
  }

  .filter-toggle {
    display: inline-flex;
  }

  .hero.hub {
    padding-top: 2.6rem;
  }
}

@media (min-width: 701px) and (max-width: 1040px) {
  .hub-grid,
  .listing-grid,
  .guide-grid,
  .cat-grid.nine {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hub-card {
    transition: none;
  }

  .hub-card:hover {
    transform: none;
  }
}

/* Signup band and footer capture */
.signup-band {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--wash-gold), transparent 65%);
  padding: 3.2rem 0;
}

.signup-band-inner,
.footer-signup {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 1.8rem 2.2rem;
  align-items: start;
}

.signup-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.signup-copy p {
  margin-top: 0.7rem;
  color: var(--muted);
  max-width: 32rem;
}

.signup-form {
  display: grid;
  gap: 0.75rem;
}

.signup-fields {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(10rem, 0.9fr) auto;
  gap: 0.65rem;
  align-items: end;
}

.signup-form .optional {
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted-2);
  font-weight: 400;
}

.signup-consent {
  align-items: flex-start;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--muted);
}

.signup-consent a {
  color: var(--gold);
  white-space: nowrap;
}

.signup-status {
  min-height: 0;
  margin: 0;
  font-size: 0.9rem;
  border-radius: 10px;
}

.signup-status:not(:empty) {
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
}

.signup-status.is-soon {
  border-color: var(--line-strong);
  background: var(--wash-gold);
  color: var(--cream);
}

.signup-status.is-success {
  border-color: #5d9a6a;
  background: #f1f7f2;
  color: var(--ok);
}

.signup-status.is-error {
  border-color: #c47070;
  background: #fdf2f2;
  color: var(--danger);
}

.footer-signup {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.35rem 1.3rem 1.25rem;
  margin-bottom: 2rem;
  background: var(--ink-2);
}

.site-footer .footer-signup h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--cream);
  font-weight: 400;
  margin-bottom: 0.35rem;
}

.footer-signup .signup-copy p {
  margin-top: 0.35rem;
  font-size: 0.95rem;
}

.footer-base a {
  color: var(--cream-soft);
  text-decoration: none;
}

.footer-base a:hover {
  color: var(--gold-bright);
}

.prose-page {
  padding: 2.2rem 0 4.5rem;
  display: grid;
  gap: 0.95rem;
  max-width: 46rem;
}

.prose-page h2 {
  font-size: 1.7rem;
  margin-top: 1.1rem;
}

.prose-page p,
.prose-page li {
  color: var(--muted);
}

.prose-page ul {
  padding-left: 1.2rem;
  display: grid;
  gap: 0.35rem;
}

@media (max-width: 1040px) {
  .signup-band-inner,
  .footer-signup,
  .signup-fields {
    grid-template-columns: 1fr;
  }

  .signup-fields .btn {
    width: 100%;
  }
}
