@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');

/* ─── TOKENS ──────────────────────────────────────────────────── */
:root {
  --teal:        #2D8FA3;
  --teal-dark:   #1C6474;
  --teal-subtle: rgba(45,143,163,.06);
  --slate:       #637080;
  --gold:        #C08C34;
  --gold-hover:  #A87829;
  --navy:        #1B2436;
  --navy-mid:    #243050;
  --grey-50:     #F6F9FA;
  --grey-100:    #EDF1F4;
  --grey-200:    #D3DADF;
  --grey-400:    #8EA0AE;
  --ink:         #1E2430;
  --ink-light:   #4A5568;
  --white:       #FFFFFF;

  --max-w:    1400px;
  --gutter:   clamp(20px, 4vw, 40px);
  --header-h: 112px;

  --sp-1: 8px;   --sp-2: 16px;  --sp-3: 24px;  --sp-4: 32px;
  --sp-5: 48px;  --sp-6: 64px;  --sp-7: 96px;  --sp-8: 128px;

  --font-d: 'Cormorant Garamond', Georgia, serif;
  --font-b: 'DM Sans', system-ui, sans-serif;

  --radius:            12px;
  --radius-sm:         8px;
  --shadow-card:       0 8px 26px rgba(27,36,54,.08);
  --shadow-card-hover: 0 18px 44px rgba(27,36,54,.14);
}

/* ─── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { font-size: 16px; scroll-behavior: smooth; }
body  {
  font-family: var(--font-b);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.72;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img   { display: block; max-width: 100%; height: auto; }
a     { color: inherit; }
ul,ol { list-style: none; }

/* ─── TYPOGRAPHY ──────────────────────────────────────────────── */
h1,h2,h3,h4 { font-family: var(--font-d); font-weight: 400; line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.2rem; }
p  { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-b);
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--teal);
}

/* ─── LAYOUT ──────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--wide {
  max-width: 1720px;
}
.section    { padding: var(--sp-7) 0; }
.section--tinted { background: var(--grey-50); }

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-3);
}
.grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-4);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

/* ─── HEADER ──────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--grey-200);
}
.header-inner {
  height: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

/* Logo */
.logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  justify-self: start;
  gap: 5px;
  line-height: 1;
  flex-shrink: 0;
}
.logo-name {
  font-family: var(--font-d);
  font-size: 2.15rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--slate);
  padding-bottom: 4px;
  border-bottom: 2px solid var(--teal);
}
.logo-sub {
  font-family: var(--font-b);
  font-size: .62rem;
  font-weight: 400;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--grey-400);
}

/* Supplied brand lockup for the light site header. The existing text remains
   in the link as its accessible name and as the dark-footer treatment. */
.site-header .logo {
  width: 244px;
  height: 81px;
  background: url('assets/logo.webp') center / contain no-repeat;
}
.site-header .logo-name,
.site-header .logo-sub {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}
.site-nav a {
  font-size: .9rem;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-light);
  text-decoration: none;
  transition: color .2s;
}
.site-nav a:hover, .site-nav a.active { color: var(--teal); }

.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: .6rem; opacity: .5; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-top: 2px solid var(--teal);
  min-width: 210px;
  padding: var(--sp-2) 0;
  box-shadow: 0 8px 28px rgba(0,0,0,.08);
}
/* invisible bridge over the gap below the nav link so hover isn't lost moving into the menu */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
}
.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: .78rem;
  text-transform: none;
  letter-spacing: .02em;
  color: var(--ink-light);
}
.dropdown-menu a:hover { background: var(--grey-50); color: var(--teal); }
.nav-dropdown:hover .dropdown-menu { display: block; }

.header-cta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: var(--sp-3);
}
.header-contact {
  font-size: .9rem;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-light);
  text-decoration: none;
  padding: 8px 20px;
  border: 1.5px solid var(--grey-200);
  transition: color .2s, border-color .2s;
}
.header-contact:hover { color: var(--teal); border-color: var(--teal); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--ink); transition: all .25s; }

/* ─── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 28px;
  font-family: var(--font-b);
  font-size: .74rem;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .25s;
  white-space: nowrap;
}
.btn-primary   { background: #2563EB; color: var(--white); border-color: #2563EB; }
.btn-primary:hover { background: #1D4ED8; border-color: #1D4ED8; }
.btn-outline   { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-outline-dark { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline-dark:hover { background: var(--teal); color: var(--white); }

/* ─── CARDS: PROJECT ──────────────────────────────────────────── */
.card-project { display: block; text-decoration: none; color: var(--ink); }
.card-project__img { overflow: hidden; aspect-ratio: 4/3; background: var(--grey-100); }
.card-project__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.card-project:hover .card-project__img img { transform: scale(1.04); }
.card-project__body { padding: var(--sp-3) 0 0; }
.card-project__tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.tag {
  font-size: .62rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  padding: 3px 9px;
  border: 1px solid var(--teal);
  line-height: 1.4;
  border-radius: 4px;
}
.card-project__title {
  font-family: var(--font-d);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 6px;
  transition: color .2s;
}
.card-project:hover .card-project__title { color: var(--teal-dark); }
.card-project__meta { font-size: .78rem; color: var(--grey-400); }

/* ─── PROJECTS LIST: full-bleed grid + frosted cards ─────────── */
.projects-list {
  background: linear-gradient(180deg, #F6F9FA 0%, #EDF3F5 30%, #E3EEF1 100%);
  padding: var(--sp-5) 0 var(--sp-7);
}
.projects-bleed {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.projects-list .card-project {
  background: rgba(255,255,255,.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.75);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: var(--shadow-card);
  transition: transform .3s ease, box-shadow .3s ease, opacity .25s;
}
.projects-list .card-project:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.projects-list .card-project__img { border-radius: var(--radius-sm); }
.projects-list .card-project__body { padding: var(--sp-2) 6px 6px; }
.card-project__img--logo { background: var(--white); }
.card-project__img--logo img { object-fit: contain; padding: var(--sp-3); }
@media (min-width: 1500px) {
  .project-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ─── HOME PAGE: wash + frosted cards ────────────────────────── */
body.home {
  background: linear-gradient(170deg, #F6F9FA 0%, #EAF1F4 55%, #E0EBEF 100%);
  background-attachment: fixed;
}
body.home::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("assets/project-images/southwell-minster.jpg") center / cover no-repeat;
  opacity: .09;
  filter: grayscale(60%);
  pointer-events: none;
}
.home .link-cards,
.home .section--tinted { background: transparent; }

.home .card-project,
.home .card-team {
  background: rgba(255,255,255,.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.75);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: var(--shadow-card);
  transition: transform .3s ease, box-shadow .3s ease;
}
.home .card-project:hover,
.home .card-team:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.home .card-project__img,
.home .card-team__img { border-radius: var(--radius-sm); }
.home .card-project__body,
.home .card-team__body { padding: var(--sp-2) 6px 6px; }

.home .link-cards__grid {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

/* ─── CARDS: TEAM ─────────────────────────────────────────────── */
.card-team { display: block; text-decoration: none; color: var(--ink); }
.card-team__img { overflow: hidden; aspect-ratio: 3/4; background: var(--grey-100); }
.card-team__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(15%); transition: filter .35s; }
.card-team:hover .card-team__img img { filter: grayscale(0%); }
.card-team__body { padding: var(--sp-2) 0 0; }
.card-team__name { font-family: var(--font-d); font-size: 1.35rem; font-weight: 500; margin-bottom: 4px; }
.card-team__role { font-size: .76rem; color: var(--slate); letter-spacing: .05em; }
/* Two-up principals layout — keeps cards portrait-sized, not stretched */
.team-principals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-3);
  max-width: 620px;
}
@media (max-width: 640px) {
  .team-principals { grid-template-columns: 1fr; max-width: 360px; }
}

/* Editorial split — text block left, principal cards right */
.team-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 620px);
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-6);
}
.team-feature--top { align-items: start; }
.team-feature__text .eyebrow { margin-bottom: var(--sp-2); }
.team-feature__text h1,
.team-feature__text h2 { margin-bottom: var(--sp-3); }
.team-feature__lede {
  max-width: 46ch;
  color: var(--ink-light);
  margin-bottom: var(--sp-4);
}
.team-feature__text .btn { margin-top: var(--sp-1); }

/* Compact specialist rows — slim entries, secondary to principal cards */
.specialist-list { border-top: 1px solid var(--grey-200); }
.specialist-row {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--grey-200);
  text-decoration: none;
  color: var(--ink);
}
.specialist-row__img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--grey-100);
  filter: grayscale(15%);
  transition: filter .35s;
}
.specialist-row__name { font-family: var(--font-d); font-size: 1.35rem; font-weight: 500; margin-bottom: 2px; }
.specialist-row__role { font-size: .76rem; color: var(--slate); letter-spacing: .05em; }
.specialist-row__arrow { margin-left: auto; color: var(--teal); font-size: 1.1rem; transition: transform .25s; }
a.specialist-row:hover .specialist-row__img { filter: grayscale(0%); }
a.specialist-row:hover .specialist-row__img--monochrome,
.specialist-row__img--monochrome { filter: grayscale(100%); }
a.specialist-row:hover .specialist-row__arrow { transform: translateX(4px); }

/* ─── CARDS: INSIGHT ──────────────────────────────────────────── */
.card-insight { display: block; text-decoration: none; color: var(--ink); }
.card-insight__img { overflow: hidden; aspect-ratio: 16/9; background: var(--grey-100); margin-bottom: var(--sp-3); }
.card-insight__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.card-insight:hover .card-insight__img img { transform: scale(1.04); }
.card-insight__title { font-family: var(--font-d); font-size: 1.25rem; font-weight: 500; line-height: 1.3; margin-bottom: 8px; transition: color .2s; }
.card-insight:hover .card-insight__title { color: var(--teal-dark); }
.card-insight__excerpt { font-size: .88rem; color: var(--ink-light); }

/* ─── SECTION HEADER ──────────────────────────────────────────── */
.section-header {
  margin-bottom: var(--sp-5);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.section-header__text .eyebrow { margin-bottom: var(--sp-2); }
.section-header__text h2 { margin: 0; }

/* ─── HOME: HERO ──────────────────────────────────────────────── */
.hero { padding-block: var(--sp-7); overflow: hidden; }
.hero__inner {
  display: block;
}
.hero__text {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.hero__text .eyebrow { display: none; }
.hero__text h1 { margin-bottom: var(--sp-3); font-style: normal; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 400; letter-spacing: -0.01em; }
.hero__text p { font-size: 1.05rem; color: var(--ink-light); max-width: 430px; margin-bottom: var(--sp-4); }

/* ─── HOME: LINK CARDS ────────────────────────────────────────── */
.link-cards { background: var(--grey-50); padding: var(--sp-6) 0; }
.link-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--grey-200);
}
.link-card {
  background: var(--white);
  padding: var(--sp-5) var(--sp-4);
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  transition: background .25s;
}
.link-card:hover { background: var(--teal-subtle); }
.link-card__num  { font-family: var(--font-d); font-size: 2.6rem; color: var(--grey-200); line-height: 1; }
.link-card__title { font-family: var(--font-d); font-size: 1.55rem; font-weight: 500; }
.link-card p { font-size: .9rem; color: var(--ink-light); line-height: 1.65; flex: 1; }
.link-card__arrow { color: var(--teal); font-size: 1rem; transition: transform .25s; display: inline-block; }
.link-card:hover .link-card__arrow { transform: translateX(5px); }

/* ─── CTA BAND ────────────────────────────────────────────────── */
.cta-band { background: var(--navy); padding: var(--sp-7) 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); flex-wrap: wrap; }
.cta-band__text .eyebrow { color: rgba(255,255,255,.35); margin-bottom: var(--sp-2); }
.cta-band__text h2 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.8rem); }

/* ─── FOOTER ──────────────────────────────────────────────────── */
.site-footer { background: var(--ink); padding: var(--sp-7) 0 var(--sp-4); }
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-5);
  flex-wrap: wrap;
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: var(--sp-4);
}
.footer-brand .logo-name { color: rgba(255,255,255,.8); border-bottom-color: var(--teal); }
.footer-brand .logo-sub  { color: rgba(255,255,255,.3); }
.footer-subscribe h5 {
  font-family: var(--font-b);
  font-size: .65rem;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: var(--sp-3);
}
.subscribe-form { display: flex; gap: 10px; flex-wrap: wrap; }
.subscribe-form input {
  background: transparent;
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  font-family: var(--font-b);
  font-size: .84rem;
  padding: 10px 14px;
  min-width: 240px;
  transition: border-color .2s;
}
.subscribe-form input::placeholder { color: rgba(255,255,255,.35); }
.subscribe-form input:focus { outline: none; border-color: rgba(255,255,255,.6); }
.subscribe-form .ml-field-group { flex: 1; min-width: 240px; }
.subscribe-form .ml-field-group input { width: 100%; }
.subscribe-form .ml-field-group.ml-error input { border-color: #e07a5f; }
.subscribe-success { font-size: .84rem; color: rgba(255,255,255,.6); }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  padding-bottom: var(--sp-4);
}
.footer-nav a { text-decoration: none; font-size: .84rem; color: rgba(255,255,255,.5); transition: color .2s; }
.footer-nav a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; }
.footer-copy  { font-size: .72rem; color: rgba(255,255,255,.28); }

/* Museums Association membership mark, kept in the association's own red.
   The label is muted to sit with the rest of the footer, but the mark itself
   carries no opacity so the brand colour reads true. */
.footer-member {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  flex-shrink: 0;
  text-decoration: none;
}
.footer-member__label {
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  white-space: nowrap;
  transition: color .2s;
}
.footer-member:hover .footer-member__label,
.footer-member:focus-visible .footer-member__label { color: var(--white); }
.footer-member img {
  width: 128px;
  height: auto;
}

/* ─── LEGAL / LONG-FORM PAGES ─────────────────────────────────── */
.legal-hero { padding: var(--sp-7) 0 var(--sp-3); border-bottom: 1px solid var(--grey-100); }
.legal-updated { color: var(--slate); font-size: .9rem; margin-top: var(--sp-1); }
.legal-body { padding: var(--sp-5) 0 var(--sp-7); }
.legal-body .container { max-width: 820px; }
.legal-body h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: var(--sp-5); margin-bottom: var(--sp-2); }
.legal-body h3 { font-size: 1.3rem; margin-top: var(--sp-3); margin-bottom: var(--sp-1); }
.legal-body p { color: var(--ink-light); }
.legal-body ul { list-style: disc; padding-left: 1.4em; margin: 0 0 1em; color: var(--ink-light); }
.legal-body li { margin-bottom: .4em; }
.legal-body a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.legal-body a:hover { color: var(--teal-dark); }
.legal-body strong { color: var(--ink); font-weight: 500; }

/* ─── ABOUT: INTRO ────────────────────────────────────────────── */
.about-intro { padding: var(--sp-6) 0; }
.about-intro__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--sp-6); align-items: start; }
.about-intro__text h1 { margin-bottom: var(--sp-3); font-size: clamp(1.9rem, 3.6vw, 3rem); }
.about-intro__text p  { font-size: 1.05rem; color: var(--ink-light); }
.about-intro__image img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: var(--radius); }

/* ABOUT: MEDIA-TEXT ROWS */
.media-text-rows { padding: var(--sp-3) 0 var(--sp-6); }
.media-text-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  align-items: center;
  padding: var(--sp-4) 0;
}
.media-text-row__img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: var(--radius); }
.media-text-row__text h3 { margin-bottom: var(--sp-3); }
.media-text-row--rev { direction: rtl; }
.media-text-row--rev > * { direction: ltr; }

/* ABOUT: CARD IMAGE WELLS */
.about .card-project__img,
.about .card-team__img { border-radius: var(--radius-sm); }

/* ABOUT: EXPERTISE */
.expertise-block { background: var(--grey-50); padding: var(--sp-6) 0; }
.expertise-grid  { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); margin-top: var(--sp-4); }
.expertise-group h4 {
  font-family: var(--font-b);
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--sp-2);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--grey-200);
}
.expertise-group li {
  font-size: .88rem;
  color: var(--ink-light);
  padding: 7px 0;
  border-bottom: 1px solid var(--grey-100);
}

/* ─── PROJECTS INDEX ──────────────────────────────────────────── */
.projects-header { padding: var(--sp-6) 0 var(--sp-4); }
.projects-header h1 { margin-bottom: var(--sp-3); font-family: var(--font-b); font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 500; }
.projects-header p  { max-width: 560px; color: var(--ink-light); }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) 0;
  border-top: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
  margin-bottom: var(--sp-3);
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 7px; flex: 1; }
.chip {
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 7px 15px;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink-light);
  cursor: pointer;
  transition: all .2s;
}
.chip:hover { border-color: var(--teal); color: var(--teal); }
.chip.active { background: var(--teal); border-color: var(--teal); color: var(--white); }

.search-wrap { position: relative; }
.search-wrap::before { content: '⌕'; position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--grey-400); font-size: 1rem; pointer-events: none; }
.search-input {
  padding: 8px 14px 8px 32px;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-b);
  font-size: .82rem;
  color: var(--ink);
  background: var(--white);
  width: 220px;
}
.search-input:focus { outline: none; border-color: var(--teal); }

.project-grid { margin-bottom: 0; }
.project-grid .card-project { transition: opacity .25s; }
.project-grid .card-project.hidden { display: none; }

/* ─── PROJECT DETAIL ──────────────────────────────────────────── */
.project-hero-wrap { }
.project-hero {
  position: relative;
  width: 100%;
  height: clamp(280px, 34vw, 420px);
  overflow: hidden;
  background: var(--grey-100);
  display: flex;
  align-items: flex-end;
}
.project-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(.8);
}
.project-hero--soft img {
  filter: grayscale(1) contrast(1.05) brightness(.8) blur(7px);
  transform: scale(1.08); /* hides the blurred edge vignette */
}
.project-hero--photo::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(4,52,44,.35), rgba(4,52,44,0) 45%),
    linear-gradient(rgba(28,100,116,.68), rgba(28,100,116,.68));
}
.project-hero--flat {
  background:
    radial-gradient(120% 160% at 85% 110%, rgba(28,100,116,.55), rgba(28,100,116,0) 60%),
    linear-gradient(115deg, var(--navy) 0%, #1D3140 100%);
}
.project-hero__text {
  position: relative;
  z-index: 1; /* above the --photo ::after overlay */
  width: 100%;
  padding-bottom: var(--sp-4);
}
.project-hero__text .eyebrow { color: rgba(255,255,255,.72); margin-bottom: 8px; }
.project-hero__text h2 {
  color: var(--white);
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.1;
  max-width: 900px;
  margin: 0;
  text-wrap: balance;
}
.project-hero-credit { font-size: 0.72rem; color: var(--grey-400); text-align: right; padding: 4px var(--sp-2) 0; }

@media (max-width: 640px) {
  .project-hero { height: clamp(230px, 55vw, 320px); }
  .project-hero__text { padding-bottom: var(--sp-3); }
}

.project-body { padding: var(--sp-6) 0; }
.project-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--sp-6);
  align-items: start;
}
.project-meta {
  background: var(--grey-50);
  padding: var(--sp-4);
  border-top: 3px solid var(--teal);
  position: sticky;
  top: calc(var(--header-h) + var(--sp-4));
}
.project-meta dt {
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 4px;
  margin-top: var(--sp-3);
}
.project-meta dt:first-child { margin-top: 0; }
.project-meta dd { font-size: .9rem; color: var(--ink); }
.project-meta .tags { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 5px; }
.project-content h2 { font-size: clamp(1.6rem, 2.5vw, 2.3rem); margin-bottom: var(--sp-3); }
.project-content p  { max-width: 640px; color: var(--ink-light); }

.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}
.project-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--grey-100);
}
@media (max-width: 640px) {
  .project-gallery { grid-template-columns: repeat(2, 1fr); }
  .project-gallery img { height: 150px; }
}

/* ─── TEAM MEMBER ─────────────────────────────────────────────── */
.team-hero { padding: var(--sp-7) 0; }
.team-hero__inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--sp-6);
  align-items: start;
}
.team-hero__portrait { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: grayscale(10%); }
.team-hero__portrait--monochrome { filter: grayscale(100%); }
.team-hero__name { font-size: clamp(2rem, 4vw, 3.6rem); margin-bottom: var(--sp-1); }
.team-hero__role {
  font-family: var(--font-b);
  font-size: .82rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--sp-4);
}
.team-hero__text p { max-width: 540px; color: var(--ink-light); }

.team-bio { padding: var(--sp-5) 0; border-top: 1px solid var(--grey-200); }
.team-bio__inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }

.cv-block { padding: var(--sp-5) 0 var(--sp-6); border-top: 1px solid var(--grey-200); }
.cv-block .eyebrow { margin-bottom: var(--sp-4); }

.cv-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--grey-100);
  cursor: pointer;
  text-decoration: none;
  color: var(--ink);
}
.cv-item h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); font-weight: 400; transition: color .2s; }
.cv-item:hover h3 { color: var(--teal-dark); }
.cv-item__arrow { color: var(--teal); font-size: 1.1rem; transition: transform .25s; }
.cv-item:hover .cv-item__arrow { transform: translateX(5px); }

.cv-publications { border-bottom: 1px solid var(--grey-100); }
.cv-publications__summary {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) 0;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.cv-publications__summary::-webkit-details-marker { display: none; }
.cv-publications__summary::marker { content: ''; }
.cv-publications__summary:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 6px;
}
.cv-publications__heading {
  flex: 1;
  font-family: var(--font-d);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 400;
  line-height: 1.15;
  transition: color .2s;
}
.cv-publications__summary:hover .cv-publications__heading { color: var(--teal-dark); }
.cv-publications__count {
  color: var(--grey-400);
  font-size: .76rem;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.cv-publications__chevron {
  color: var(--teal);
  font-size: 1.35rem;
  line-height: 1;
  transition: transform .25s ease;
}
.cv-publications[open] .cv-publications__chevron { transform: rotate(180deg); }
.cv-publications__content { padding: 0 0 var(--sp-4); }
.publication-list { border-top: 1px solid var(--grey-100); }
.publication-list__item {
  display: grid;
  gap: 4px;
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--grey-100);
}
.publication-list__title {
  width: fit-content;
  max-width: 100%;
  color: var(--ink);
  font-family: var(--font-d);
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  font-weight: 500;
  line-height: 1.3;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
  transition: color .2s, text-decoration-color .2s;
}
.publication-list__title:hover {
  color: var(--teal-dark);
  text-decoration-color: currentColor;
}
.publication-list__title:focus-visible,
.cv-publications__profile-link:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
.publication-list__meta {
  color: var(--ink-light);
  font-size: .84rem;
  line-height: 1.5;
}
.cv-publications__profile-link {
  display: inline-block;
  margin-top: var(--sp-3);
  color: var(--teal-dark);
  font-size: .86rem;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 500px) {
  .cv-publications__summary { align-items: flex-start; gap: var(--sp-1); }
  .cv-publications__count { margin-top: 4px; font-size: .65rem; letter-spacing: .05em; }
  .cv-publications__chevron { margin-top: 2px; }
  .publication-list__item { padding: 14px 0; }
  .publication-list__meta { font-size: .78rem; }
}

/* ─── CONTACT ─────────────────────────────────────────────────── */
body.contact {
  background: linear-gradient(170deg, #F6F9FA 0%, #EAF1F4 55%, #E0EBEF 100%);
  background-attachment: fixed;
}
body.contact::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("assets/project-images/leas-lift.jpg") center / cover no-repeat;
  opacity: .09;
  filter: grayscale(60%);
  pointer-events: none;
}
.contact .contact-wrap { background: transparent; }
.contact-wrap {
  min-height: calc(90vh - var(--header-h));
  background: var(--grey-50);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-7) var(--gutter);
}
.contact-card {
  background: var(--navy);
  padding: var(--sp-6);
  width: 100%;
  max-width: 620px;
}
.contact-card .eyebrow { color: rgba(255,255,255,.35); margin-bottom: var(--sp-3); }
.contact-card h1 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: var(--sp-5); font-style: italic; }
.form-field { margin-bottom: var(--sp-3); }
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  color: var(--white);
  font-family: var(--font-b);
  font-size: .9rem;
  font-weight: 300;
  transition: border-color .2s;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255,255,255,.3); }
.form-field input:focus,
.form-field textarea:focus { outline: none; border-color: var(--teal); }
.form-field textarea { height: 160px; resize: vertical; }
.form-status { color: rgba(255,255,255,.6); font-size: .84rem; margin-top: var(--sp-2); }
.form-status:empty { display: none; }
.enquiry-thanks h2 { color: var(--white); font-size: 1.4rem; font-style: italic; margin-bottom: var(--sp-2); }
.enquiry-thanks p { color: rgba(255,255,255,.6); font-size: .9rem; }

/* ─── DIVIDERS & MISC ─────────────────────────────────────────── */
.divider { height: 1px; background: var(--grey-200); margin: 0; }

/* ─── ANIMATIONS ──────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up            { animation: fadeUp .65s ease both; }
.fade-up-1          { animation: fadeUp .65s .1s ease both; }
.fade-up-2          { animation: fadeUp .65s .2s ease both; }
.fade-up-3          { animation: fadeUp .65s .32s ease both; }

/* ─── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__inner { gap: var(--sp-5); }
}
@media (max-width: 900px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .site-nav.open { display: flex; flex-direction: column; position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--white); padding: var(--sp-4); border-bottom: 1px solid var(--grey-200); gap: var(--sp-3); }
  .header-contact { display: none; }
  .nav-toggle { display: flex; }
  .hero__inner,
  .about-intro__inner,
  .team-bio__inner,
  .team-hero__inner { grid-template-columns: 1fr; }
  .team-feature { grid-template-columns: 1fr; gap: var(--sp-5); }
  .media-text-row { grid-template-columns: 1fr; direction: ltr !important; }
  .project-layout { grid-template-columns: 1fr; }
  .project-meta { position: static; }
}
@media (max-width: 1100px) {
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .grid-6 { grid-template-columns: 1fr 1fr; }
  .grid-5 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .link-cards__grid { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .footer-top { flex-direction: column; }
  .expertise-grid { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  .grid-6, .grid-5, .grid-3 { grid-template-columns: 1fr; }
  .subscribe-form input { min-width: 0; flex: 1; }
  .subscribe-form .ml-field-group { min-width: 0; }
  .specialist-row { gap: var(--sp-3); }
  .specialist-row__img { width: 84px; height: 84px; }
}

/* ─── SERVICE PAGES ───────────────────────────────────────────── */
body.service {
  background: linear-gradient(170deg, #F6F9FA 0%, #EAF1F4 55%, #E0EBEF 100%);
  background-attachment: fixed;
}
body.service .section--tinted { background: transparent; }

/* Service hero - split text / framed image */
.service-hero { padding: var(--sp-7) 0 var(--sp-6); }
.service-hero__inner {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: var(--sp-6);
  align-items: center;
}
.service-hero__text .eyebrow { margin-bottom: var(--sp-3); }
.service-hero__text h1 { margin-bottom: var(--sp-3); }
.service-hero__text .lead {
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--ink-light);
  max-width: 520px;
  margin-bottom: var(--sp-4);
}
.service-hero__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.service-hero__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.service-hero__media figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  font-size: .68rem;
  letter-spacing: .04em;
  color: rgba(255,255,255,.92);
  background: linear-gradient(0deg, rgba(27,36,54,.62), rgba(27,36,54,0));
  padding: var(--sp-4) var(--sp-3) 10px;
  text-align: right;
}

/* Capabilities - "what we do" */
.service-capabilities { padding: var(--sp-5) 0; }
.service-capabilities__head { max-width: 640px; margin-bottom: var(--sp-4); }
.service-capabilities__head .eyebrow { margin-bottom: var(--sp-2); }
.service-capabilities__head p { color: var(--ink-light); font-size: 1.02rem; }
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4) var(--sp-6);
}
.capability { padding-top: var(--sp-3); border-top: 1px solid var(--grey-200); }
.capability__num { font-family: var(--font-d); color: var(--teal); font-size: 1.15rem; }
.capability h4 { font-family: var(--font-d); font-size: 1.35rem; font-weight: 500; margin: 6px 0 8px; }
.capability p { font-size: .92rem; color: var(--ink-light); margin: 0; }

/* Frosted project cards on service pages */
.service .card-project {
  background: rgba(255,255,255,.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.75);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: var(--shadow-card);
  transition: transform .3s ease, box-shadow .3s ease;
}
.service .card-project:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.service .card-project__img { border-radius: var(--radius-sm); }
.service .card-project__body { padding: var(--sp-2) 6px 6px; }

/* Other-services strip */
.other-services { padding: var(--sp-6) 0; }
.other-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--grey-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.os-card {
  background: var(--white);
  padding: var(--sp-4);
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 150px;
  transition: background .25s;
}
.os-card:hover { background: var(--teal-subtle); }
.os-card .os-card__eyebrow {
  font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--grey-400);
}
.os-card h4 { font-family: var(--font-d); font-size: 1.2rem; font-weight: 500; line-height: 1.25; }
.os-card__arrow { color: var(--teal); font-size: 1.1rem; margin-top: auto; transition: transform .25s; }
.os-card:hover .os-card__arrow { transform: translateX(5px); }

/* Services hub cards */
.services-hub { padding: var(--sp-5) 0 var(--sp-7); }
.services-hub__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.hub-card {
  background: rgba(255,255,255,.62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.75);
  border-radius: var(--radius);
  padding: var(--sp-5) var(--sp-4);
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  box-shadow: var(--shadow-card);
  transition: transform .3s ease, box-shadow .3s ease;
}
.hub-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.hub-card__num { font-family: var(--font-d); font-size: 2.4rem; color: var(--grey-200); line-height: 1; }
.hub-card__title { font-family: var(--font-d); font-size: 1.5rem; font-weight: 500; line-height: 1.2; }
.hub-card p { font-size: .9rem; color: var(--ink-light); line-height: 1.6; flex: 1; }
.hub-card__arrow { color: var(--teal); font-size: 1rem; transition: transform .25s; }
.hub-card:hover .hub-card__arrow { transform: translateX(5px); }

@media (max-width: 900px) {
  .service-hero__inner { grid-template-columns: 1fr; }
  .capabilities-grid { grid-template-columns: 1fr; }
  .services-hub__grid { grid-template-columns: 1fr 1fr; }
  .other-services__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .services-hub__grid, .other-services__grid { grid-template-columns: 1fr; }
}

/* ---- Project shell pages (placeholders awaiting images/copy) ---- */
.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grey-100);
  color: var(--grey-400);
}
.img-placeholder span {
  font-family: var(--font-d);
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: .02em;
}
.project-meta .meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.project-meta .meta-list li {
  margin-bottom: var(--sp-1);
  line-height: 1.4;
}
.project-tags .tag { margin-right: 6px; }
.project-placeholder-note {
  color: var(--ink-light);
  font-style: italic;
}

/* ============================================================
   INSIGHTS - editorial index
   ============================================================ */
.insight-featured {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--sp-6);
  align-items: center;
  margin-bottom: var(--sp-7);
  text-decoration: none;
  color: var(--ink);
}
.insight-featured__img {
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--grey-100);
}
.insight-featured__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s;
}
.insight-featured:hover .insight-featured__img img { transform: scale(1.03); }
.insight-featured__label {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
}
.insight-featured__title {
  font-family: var(--font-d);
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 500;
  line-height: 1.12;
  margin: 12px 0 var(--sp-2);
  transition: color .2s;
}
.insight-featured:hover .insight-featured__title { color: var(--teal-dark); }
.insight-featured__standfirst {
  color: var(--ink-light);
  max-width: 52ch;
  margin-bottom: var(--sp-3);
}
.insight-featured__meta,
.card-insight__cat {
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grey-400);
}
.card-insight__cat { margin-bottom: 8px; }
.card-insight__cat strong { font-weight: 500; color: var(--teal); }

/* Duotone placeholder panel (used where no photograph exists yet) */
.ph-map {
  position: relative;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 65%, var(--teal) 100%);
}
.ph-map svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: .38;
}

/* ============================================================
   INSIGHTS - article pages
   ============================================================ */
.article-hero {
  height: 54vh;
  min-height: 340px;
  max-height: 620px;
  overflow: hidden;
  background: var(--grey-100);
}
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-hero-credit {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 10px var(--gutter) 0;
  text-align: right;
  font-size: .72rem;
  color: var(--grey-400);
}
.article-head {
  max-width: 860px;
  margin: 0 auto;
  padding: var(--sp-6) var(--gutter) var(--sp-5);
  text-align: center;
}
.article-head h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 500;
  line-height: 1.1;
  margin: var(--sp-2) 0 var(--sp-3);
}
.article-standfirst {
  font-family: var(--font-d);
  font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.5;
  color: var(--ink-light);
  max-width: 46ch;
  margin: 0 auto;
}
.article-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: var(--sp-3);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--grey-400);
}
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--gutter) var(--sp-7);
}
.article-body p {
  line-height: 1.75;
  color: var(--ink-light);
  margin-bottom: var(--sp-3);
}
.article-body h2 {
  font-family: var(--font-d);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.25;
  margin: var(--sp-5) 0 var(--sp-2);
}
.article-body a { color: var(--teal-dark); }
.pullquote {
  border-left: 2px solid var(--teal);
  margin: var(--sp-5) 0;
  padding: 4px 0 4px var(--sp-4);
  font-family: var(--font-d);
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1.4;
  color: var(--ink);
}
.article-related {
  border-top: 1px solid var(--grey-100);
  padding: var(--sp-6) 0 var(--sp-7);
}
.article-related .eyebrow { margin-bottom: var(--sp-4); }

@media (max-width: 900px) {
  .insight-featured { grid-template-columns: 1fr; gap: var(--sp-4); }
  .article-hero { height: 42vh; min-height: 260px; }
}

/* ─── PROJECT PREV/NEXT NAV ───────────────────────────────────── */
.project-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2; /* above the hero duotone overlay */
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
}
.project-nav-arrow--prev { left: var(--sp-3); }
.project-nav-arrow--next { right: var(--sp-3); flex-direction: row-reverse; }
.project-nav-arrow__circle {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.project-nav-arrow__circle svg { width: 20px; height: 20px; transition: transform .25s ease; }
.project-nav-arrow--prev .project-nav-arrow__circle svg { transform: rotate(180deg); }
.project-nav-arrow:hover .project-nav-arrow__circle {
  background: rgba(255,255,255,.24);
  border-color: rgba(255,255,255,.6);
  transform: scale(1.06);
}
.project-nav-arrow--next:hover .project-nav-arrow__circle svg { transform: translateX(3px); }
.project-nav-arrow--prev:hover .project-nav-arrow__circle svg { transform: rotate(180deg) translateX(3px); }
.project-nav-arrow:focus-visible { outline: none; }
.project-nav-arrow:focus-visible .project-nav-arrow__circle {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
.project-nav-arrow__tip {
  display: flex;
  flex-direction: column;
  font-family: var(--font-b);
  font-size: .82rem;
  line-height: 1.35;
  max-width: 200px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}
.project-nav-arrow--next .project-nav-arrow__tip { transform: translateX(6px); text-align: right; }
.project-nav-arrow:hover .project-nav-arrow__tip,
.project-nav-arrow:focus-visible .project-nav-arrow__tip { opacity: 1; transform: translateX(0); }
.project-nav-arrow__tip small {
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}

/* page fade between project pages - opacity only: a transform on body
   would create a containing block and break the sticky .project-meta */
@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
body.page-enter { animation: pageFadeIn .4s ease both; }
body.page-leaving { opacity: 0; transition: opacity .25s ease; }

@media (max-width: 640px) {
  .project-nav-arrow--prev { left: 10px; }
  .project-nav-arrow--next { right: 10px; }
  .project-nav-arrow__circle { width: 40px; height: 40px; flex-basis: 40px; }
  .project-nav-arrow__circle svg { width: 17px; height: 17px; }
  .project-nav-arrow__tip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  body.page-enter { animation: none; }
  body.page-leaving { opacity: 1; transition: none; }
  .project-nav-arrow__circle,
  .project-nav-arrow__circle svg,
  .project-nav-arrow__tip { transition: none; }
}
