/* ==========================================================================
   Rhino International Agencies — site styles
   Palette taken from Assets/Colour palette.jpg (Pantone references noted)
   ========================================================================== */

:root {
  /* Brand palette */
  --midnight: #141c2f;      /* Midnight Sky 20-0195 TPM */
  --sargasso: #36445a;      /* Sargasso Sea 19-4031 TCX */
  --bluestone: #587284;     /* Bluestone 18-4217 TCX */
  --smoke: #6d8994;         /* Smoke Blue 17-4412 TCX */
  --cloud: #f1f0ec;         /* Cloud Dancer 11-4201 TPG */
  --white: #fcfcfa;         /* Bright White 11-0601 TCX (lifted) */
  --cinder: #8a7e78;        /* Cinder 17-1506 TCX */
  --sceptre: #840016;       /* Sceptre Red 20-0076 TPM */
  --sceptre-dark: #6a0012;
  --aubergine: #301728;     /* Aubergine Gleam 20-0124 TPM */

  /* Semantic tokens */
  --bg: var(--white);
  --surface: #ffffff;
  --surface-alt: var(--cloud);
  --text: var(--midnight);
  --text-muted: #4a5568;
  --heading: var(--midnight);
  --border: #dcdad3;
  --border-strong: #b9b6ac;
  --primary: var(--sargasso);
  --link: #2f4a63;
  --cta: var(--sceptre);
  --cta-hover: var(--sceptre-dark);
  --on-cta: #ffffff;
  --focus: #1f6fb2;
  --success: #1e6b45;
  --error: #b00020;

  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-pill: 40px; /* buttons */
  --field-gutter: 20px; /* inner left/right spacing of text fields */
  --shadow-sm: 0 1px 2px rgba(20, 28, 47, .06);
  --shadow: 0 4px 16px rgba(20, 28, 47, .08);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: 180ms;   /* hover / press / focus feedback */
  --t-med: 220ms;    /* state changes: accordion, status messages */
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; } /* never let component display rules reveal hidden elements */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem; /* 17px — comfortable for long reading */
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--sceptre); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--heading);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 600;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--midnight); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

.eyebrow {
  display: inline-block; font-family: var(--font-sans); font-size: .8rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--bluestone); margin-bottom: .75rem;
}
.lead { font-size: 1.2rem; color: var(--text-muted); max-width: 62ch; }
.muted { color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.6rem; border-radius: var(--radius-pill);
  font: 600 1rem/1.2 var(--font-sans); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), transform 120ms var(--ease);
}
/* Pressed: a 1px settle rather than a scale, so text never blurs or jumps */
.btn:active:not([disabled]) { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform var(--t-fast) var(--ease); }
/* Trailing arrow nudges right on hover (only icons that follow the label) */
@media (hover: hover) {
  .btn:hover:not([disabled]) .i-arrow, .card-link:hover .i-arrow { transform: translateX(3px); }
}
.btn-cta:active:not([disabled]) { background: var(--sceptre-dark); box-shadow: inset 0 2px 0 rgba(0,0,0,.18); }
.btn-primary:active:not([disabled]) { box-shadow: inset 0 2px 0 rgba(0,0,0,.25); }
.btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
/* Focus rings on dark surfaces need a light colour to stay visible */
.utility-bar :focus-visible, .stats :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible,
.contact-card :focus-visible, .cert-also :focus-visible, .quote-tray :focus-visible, .card[style*="midnight"] :focus-visible { outline-color: #fff; }
.btn-cta { background: var(--cta); color: var(--on-cta); }
.btn-cta:hover { background: var(--cta-hover); color: var(--on-cta); }
.btn-primary { background: var(--midnight); color: #fff; }
.btn-primary:hover { background: var(--sargasso); color: #fff; }
.btn-outline { background: transparent; border-color: var(--midnight); color: var(--midnight); }
.btn-outline:hover { background: var(--midnight); color: #fff; }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--midnight); }
.btn-sm { min-height: 40px; padding: .45rem .9rem; font-size: .92rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Utility bar + header ---------- */
.utility-bar { background: var(--midnight); color: #dfe4ec; font-size: .9rem; }
.utility-bar .container { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; justify-content: flex-end; padding-top: .45rem; padding-bottom: .45rem; }
.utility-bar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.utility-bar a:hover { text-decoration: underline; color: #fff; }
.utility-bar svg { width: 15px; height: 15px; }

.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(252,252,250,.97);
  border-bottom: 1px solid var(--border); backdrop-filter: saturate(1.2);
  transition: box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 18px -10px rgba(20,28,47,.22); border-bottom-color: transparent; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand img { height: 48px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-serif); font-size: 1.12rem; color: var(--midnight); }
.brand-text span { font-size: .78rem; color: var(--text-muted); letter-spacing: .02em; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.main-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 .8rem;
  color: var(--midnight); text-decoration: none; font-weight: 500; border-radius: var(--radius-sm);
  position: relative; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
/* Underline grows from the left on hover; stays drawn for the current page */
.main-nav a::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: 6px; height: 2px; background: var(--sargasso);
  transform: scaleX(0); transform-origin: left center; transition: transform var(--t-fast) var(--ease);
}
.main-nav a:hover { color: var(--sargasso); }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--sceptre); font-weight: 700; }
.main-nav a[aria-current="page"]::after { background: var(--sceptre); transform: scaleX(1); }
.main-nav .nav-cta { margin-left: .5rem; }
.main-nav .nav-cta a { background: var(--cta); color: #fff; padding: 0 1.3rem; border-radius: var(--radius-pill); font-weight: 600; transition: background-color var(--t-fast) var(--ease), transform 120ms var(--ease), box-shadow var(--t-fast) var(--ease); }
.main-nav .nav-cta a:hover { background: var(--cta-hover); color: #fff; }
.main-nav .nav-cta a:active { transform: translateY(1px); box-shadow: inset 0 2px 0 rgba(0,0,0,.18); }
.main-nav .nav-cta a::after { display: none; }

.nav-toggle {
  display: none; align-items: center; gap: .5rem; min-height: 44px; padding: 0 .9rem;
  border: 1px solid var(--border-strong); background: var(--surface); border-radius: var(--radius-pill);
  font: 600 .95rem var(--font-sans); color: var(--midnight); cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); display: none; }
  .main-nav.is-open { display: block; animation: nav-open var(--t-fast) var(--ease); }
  .main-nav a::after { display: none; }
  .main-nav a:hover, .main-nav a:active { background: var(--cloud); }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: .5rem var(--gutter) 1rem; gap: 0; }
  .main-nav a { display: flex; min-height: 52px; padding: 0 .5rem; border-bottom: 1px solid var(--border); border-radius: 0; font-size: 1.05rem; }
  .main-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--sceptre); padding-left: .9rem; }
  .main-nav .nav-cta a[aria-current="page"] { box-shadow: none; padding-left: 1.1rem; }
  .main-nav .nav-cta { margin: 1rem 0 0; }
  .main-nav .nav-cta a { justify-content: center; border-radius: var(--radius-pill); border: 0; }
}
@media (max-width: 520px) {
  .brand-text { display: none; }
  .utility-bar .container { justify-content: center; }
  .utility-bar .hide-sm { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-alt { background: var(--surface-alt); }
.section-dark { background: var(--midnight); color: #e6e9ef; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: #a9bccb; }
.section-head { max-width: 760px; margin-bottom: 2.75rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* Page hero (inner pages) */
.page-hero { background: var(--cloud); border-bottom: 1px solid var(--border); padding: clamp(40px, 6vw, 72px) 0; }
.page-hero h1 { margin-bottom: .35em; }
.breadcrumb { font-size: .92rem; margin-bottom: 1rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: var(--cinder); }
.breadcrumb a { color: var(--text-muted); }

/* ---------- Home hero ---------- */
.hero { position: relative; background: var(--cloud); overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 30%;
  background: var(--white); z-index: 0;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.badge-pill {
  display: inline-flex; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--border);
  padding: .35rem .85rem; border-radius: 999px; font-size: .88rem; color: var(--sargasso); margin-bottom: 1.25rem;
}
.badge-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sceptre); }
.hero h1 { max-width: 19ch; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--sceptre); }
.hero .lead { margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.hero-art { margin: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(16px, 3vw, 28px) clamp(16px, 3vw, 28px) 1.1rem; }
.hero-art figcaption { margin-top: .5rem; padding-top: .9rem; border-top: 1px solid var(--border); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); text-align: center; }
@media (max-width: 900px) {
  .hero::after { display: none; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; }
}

/* Search box (hero + catalogue) */
.search-box { display: flex; align-items: center; background: #fff; border: 1.5px solid var(--sargasso); border-radius: var(--radius-pill); overflow: hidden; max-width: 640px; box-shadow: var(--shadow-sm); }
.search-box:focus-within { border-color: var(--focus); box-shadow: 0 0 0 4px rgba(31,111,178,.18); }
.search-box label { display: flex; align-items: center; padding-left: var(--field-gutter); color: var(--bluestone); }
.search-box label svg { width: 20px; height: 20px; }
.search-box input, .search-box select {
  border: 0; font: inherit; color: var(--text); background: transparent; min-height: 54px;
}
.search-box input { flex: 1; min-width: 0; padding: 0 var(--field-gutter) 0 12px; }
.search-box input:focus, .search-box select:focus { outline: none; }
.search-box select { border-left: 1px solid var(--border); padding: 0 var(--field-gutter); max-width: 190px; cursor: pointer; }
.search-box button { border: 0; min-height: 44px; margin: 5px; padding: 0 1.5rem; }
@media (max-width: 560px) {
  .search-box { flex-wrap: wrap; border-radius: var(--radius-lg); }
  .search-box input { flex-basis: calc(100% - 44px); }
  .search-box select { flex: 1; max-width: none; border-left: 0; border-top: 1px solid var(--border); }
  .search-box button { flex: 1; margin: 0 5px 5px; }
}
.search-hint { font-size: .92rem; color: var(--text-muted); margin-top: .6rem; }

/* ---------- Stats strip ---------- */
.stats { background: var(--midnight); color: #fff; }
.stats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.stats li { padding: 1.75rem 1.25rem; display: flex; gap: 1rem; align-items: flex-start; }
.stats li + li { border-left: 1px solid rgba(255,255,255,.14); }
.stats .icon { width: 44px; height: 44px; flex: none; border: 1px solid rgba(255,255,255,.3); border-radius: 10px; display: grid; place-items: center; }
.stats .icon svg { width: 22px; height: 22px; }
.stats strong { display: block; font-family: var(--font-serif); font-size: 1.8rem; line-height: 1.1; }
.stats span { color: #c5cedb; font-size: .95rem; }
@media (max-width: 900px) {
  .stats ul { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
}
@media (max-width: 480px) {
  .stats ul { grid-template-columns: 1fr; }
  .stats li + li { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
}

/* ---------- Trusted by ---------- */
.trusted { padding: 48px 0; border-bottom: 1px solid var(--border); }
.trusted p.label { text-align: center; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); font-weight: 700; margin-bottom: 1.5rem; }
.client-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; }
.client-grid li {
  display: flex; align-items: center; gap: .75rem; padding: .9rem 1rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); font-size: .95rem; font-weight: 500; color: var(--sargasso); line-height: 1.35;
}
.client-grid li svg { width: 22px; height: 22px; flex: none; color: var(--bluestone); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.75rem; display: flex; flex-direction: column; gap: .5rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .25rem; }
.card p { color: var(--text-muted); margin: 0; }
.card .card-link { margin-top: auto; padding-top: 1rem; font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; }
.card .card-link svg { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease); }
.i-arrow { transition: transform var(--t-fast) var(--ease); }
.card-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--cloud); color: var(--sargasso); display: grid; place-items: center; margin-bottom: .75rem; }
.card-icon svg { width: 26px; height: 26px; }
.section-alt .card { background: #fff; }

/* Subject chips (ResearchGate-style) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .65rem; }
.chips a {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 1.2rem; border-radius: 999px;
  border: 1.5px solid var(--bluestone); color: var(--sargasso); text-decoration: none; font-weight: 500;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.chips a:hover { background: var(--sargasso); border-color: var(--sargasso); color: #fff; }

/* Feature list */
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.feature-list li { display: flex; gap: 1rem; align-items: flex-start; }
.feature-list .tick { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--sceptre); color: #fff; display: grid; place-items: center; margin-top: 2px; }
.feature-list .tick svg { width: 16px; height: 16px; }
.feature-list strong { display: block; font-size: 1.08rem; color: var(--midnight); }
.feature-list span { color: var(--text-muted); }
.section-dark .feature-list strong { color: #fff; }
.section-dark .feature-list span { color: #c5cedb; }

/* Steps */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem 1.25rem; }
.steps li::before {
  content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-serif);
  font-size: 1.6rem; font-weight: 600; color: var(--sceptre); margin-bottom: .5rem;
}
.steps strong { display: block; color: var(--midnight); margin-bottom: .25rem; }
.steps span { color: var(--text-muted); font-size: .97rem; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Testimonials */
.quote-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; position: relative; }
.quote-card blockquote { margin: 0 0 1.25rem; font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.55; color: var(--midnight); }
.quote-card figcaption strong { display: block; color: var(--midnight); }
.quote-card figcaption span { color: var(--text-muted); font-size: .95rem; }
.quote-mark { width: 36px; height: 36px; color: var(--sceptre); margin-bottom: 1rem; }
.placeholder-tag {
  position: absolute; top: 1rem; right: 1rem; font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; background: #fff4d6; color: #7a5300; border: 1px solid #ecd28a; padding: .2rem .5rem; border-radius: 4px;
}

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--sargasso), var(--midnight)); color: #fff; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1.4fr auto; gap: 1.5rem 2rem; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #d5dce6; margin: 0; max-width: 60ch; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- About / timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: var(--border-strong); }
.timeline li { position: relative; padding: 0 0 2.5rem 64px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .marker { position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 2px solid var(--sargasso); display: grid; place-items: center; color: var(--sargasso); }
.timeline li:last-child .marker { background: var(--sceptre); border-color: var(--sceptre); color: #fff; }
.timeline .marker svg { width: 18px; height: 18px; }
.timeline .when { font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--bluestone); }
.timeline h3 { margin: .2rem 0 .4rem; }
.timeline p { color: var(--text-muted); max-width: 64ch; margin: 0; }

.country-list { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.country-list li { background: var(--cloud); border: 1px solid var(--border); border-radius: 999px; padding: .35rem .9rem; font-weight: 500; color: var(--sargasso); }

.sector-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .75rem; }
.sector-grid li { display: flex; gap: .7rem; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; font-weight: 500; color: var(--midnight); }
.sector-grid svg { width: 22px; height: 22px; color: var(--sceptre); flex: none; }

/* ---------- Publishers ---------- */
.publisher-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.publisher-grid li {
  min-height: 96px; display: grid; place-items: center; text-align: center; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem;
  font-family: var(--font-serif); font-size: 1.08rem; font-weight: 600; color: var(--sargasso);
}
.publisher-grid li img { max-height: 56px; width: auto; }
/* Partner logo grid (reference: "We work with the best partners") */
.partners { background: #fff; border-top: 1px solid var(--border); }
.logo-grid { list-style: none; margin: 0 auto; padding: 0; max-width: 1060px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.logo-grid li {
  height: 124px; display: grid; place-items: center; padding: 1rem 1.5rem; background: #fff;
  border: 1px solid #e7e5df; border-radius: 14px;
  box-shadow: 0 1px 2px rgba(20,28,47,.04), 0 10px 24px -8px rgba(20,28,47,.10);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.logo-grid li:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(20,28,47,.05), 0 16px 32px -10px rgba(20,28,47,.16); }
.logo-grid img { width: auto; max-width: 82%; object-fit: contain; }
.logo-grid .wordmark { font-family: var(--font-sans); font-weight: 700; font-size: 1.9rem; letter-spacing: .02em; color: #1d3c78; }
.center-link { text-align: center; margin: 2.5rem 0 0; }
@media (max-width: 900px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .logo-grid { grid-template-columns: repeat(2, 1fr); gap: .85rem; } .logo-grid li { height: 96px; padding: .75rem; } .logo-grid img { transform: scale(.82); } }
@media (prefers-reduced-motion: reduce) { .logo-grid li { transition: none; } .logo-grid li:hover { transform: none; } }

/* Testimonials from performance certificates */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 1000px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cert-grid { grid-template-columns: 1fr; } }
.cert-card { margin: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; display: flex; flex-direction: column; gap: 1.1rem; border-top: 4px solid var(--sargasso); }
.cert-top { display: flex; justify-content: space-between; align-items: center; }
.cert-since { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sceptre); background: #f8ecee; padding: .3rem .65rem; border-radius: 999px; }
.cert-seal { width: 26px; height: 26px; color: var(--bluestone); }
.cert-card blockquote { margin: 0; font-family: var(--font-serif); font-size: 1.06rem; line-height: 1.6; color: var(--midnight); flex: 1; }
.cert-card figcaption { border-top: 1px solid var(--border); padding-top: 1rem; display: grid; gap: .15rem; }
.cert-card figcaption strong { font-family: var(--font-serif); font-size: 1.1rem; color: var(--midnight); line-height: 1.3; }
.cert-card figcaption span { color: var(--text-muted); font-size: .93rem; }
.cert-card .cert-meta { display: inline-flex; align-items: center; gap: .4rem; margin-top: .4rem; font-size: .85rem; color: var(--bluestone); font-weight: 600; }
.cert-meta svg { width: 15px; height: 15px; }
.cert-also { background: var(--midnight); border-color: var(--midnight); border-top-color: var(--sceptre); color: #dfe4ec; }
.cert-also h3 { color: #fff; margin: 0; font-size: 1.25rem; }
.cert-also ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; flex: 1; }
.cert-also li strong { display: block; color: #fff; }
.cert-also li span { color: #b9c4d3; font-size: .92rem; }
.cert-also .card-link { color: #fff; font-weight: 600; display: inline-flex; gap: .35rem; align-items: center; }
.cert-also .card-link svg { width: 16px; height: 16px; }

.notice {
  display: flex; gap: .75rem; align-items: flex-start; background: #fff8e6; border: 1px solid #ecd28a;
  color: #5c4100; border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 2rem; font-size: .97rem;
}
.notice svg { width: 20px; height: 20px; flex: none; margin-top: 3px; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 260px 1fr; gap: 3rem; align-items: start; }
.faq-nav { position: sticky; top: 100px; }
.faq-nav ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--border); }
.faq-nav a { display: block; padding: .55rem 1rem; color: var(--text-muted); text-decoration: none; margin-left: -2px; border-left: 2px solid transparent; }
.faq-nav a:hover { color: var(--midnight); border-left-color: var(--sargasso); }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } .faq-nav { position: static; } }
.faq-group + .faq-group { margin-top: 3rem; }
.faq-group h2 { font-size: 1.6rem; scroll-margin-top: 100px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; margin-bottom: .75rem; }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 1.25rem; font-weight: 600; font-size: 1.05rem; color: var(--midnight); min-height: 56px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item { transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.faq-item summary { border-radius: var(--radius); touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.faq-item summary:hover { background: var(--cloud); }
.faq-item summary:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.faq-item:has(summary:hover) { border-color: var(--border-strong); }
.faq-item[open] { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.faq-item summary svg { width: 20px; height: 20px; flex: none; transition: transform var(--t-med) var(--ease), color var(--t-fast) var(--ease); color: var(--bluestone); }
.faq-item[open]:not(.is-closing) summary svg { transform: rotate(45deg); color: var(--sceptre); }
.faq-item[open] summary { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.faq-item .answer { overflow: hidden; color: var(--text-muted); }
.faq-item .answer-inner { padding: 1rem 1.25rem 1.25rem; border-top: 1px solid var(--border); }
.faq-item .answer p:last-child { margin: 0; }

/* ---------- Catalogue ---------- */
.catalogue-layout { display: grid; grid-template-columns: 270px 1fr; gap: 2rem; align-items: start; }
@media (max-width: 900px) { .catalogue-layout { grid-template-columns: 1fr; } }
.filters { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; position: sticky; top: 96px; }
.filters h2 { font-size: 1.2rem; margin: 0; }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.filters .field { margin-bottom: 1.1rem; }
.filters .field legend { font-weight: 600; color: var(--midnight); margin-bottom: .45rem; padding: 0; }
.filters-actions { display: flex; gap: .5rem; }
.filters-actions .btn { flex: 1; }
.filters-note { font-size: .9rem; margin: 1rem 0 0; }
.filters-close, #f-apply, .filters-toggle, .filters-backdrop { display: none; }

/* Format: segmented All / Print / Online */
.format-filter { border: 0; padding: 0; margin: 0 0 1.1rem; min-width: 0; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--cloud); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 3px; }
.seg label { position: relative; margin: 0; cursor: pointer; }
.format-filter .seg input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; opacity: 0; cursor: pointer; border: 0; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 38px; border-radius: var(--radius-pill); font-weight: 600; font-size: .92rem; color: var(--text-muted);
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.seg label:hover span { color: var(--midnight); }
.seg input:checked + span { background: #fff; color: var(--midnight); box-shadow: 0 1px 3px rgba(20,28,47,.14); }
.seg input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 1px; }
.seg input:disabled + span { opacity: .45; cursor: not-allowed; }
.seg input:disabled { cursor: not-allowed; }
.format-filter .hint { margin: .5rem 0 0; font-size: .86rem; }

.filter-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--sceptre); color: #fff; font-size: .78rem; font-weight: 700; }
.filter-count[hidden] { display: none; }

@media (max-width: 900px) {
  .filters-toggle { display: inline-flex; }
  .results-bar p { flex: 1 1 100%; order: 3; }
  .filters {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 200; max-height: 85dvh; overflow-y: auto;
    border-radius: 20px 20px 0 0; border-bottom: 0; padding: 1.25rem var(--gutter) calc(1.25rem + env(safe-area-inset-bottom));
    box-shadow: 0 -12px 40px rgba(20,28,47,.25);
    transform: translateY(100%); visibility: hidden;
    transition: transform 260ms var(--ease), visibility 0s linear 260ms;
  }
  .filters.is-open { transform: none; visibility: visible; transition: transform 260ms var(--ease), visibility 0s; }
  .filters-close { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 50%; background: #fff; color: var(--midnight); cursor: pointer; }
  .filters-close svg { width: 20px; height: 20px; }
  #f-apply { display: inline-flex; }
  .filters-backdrop { display: block; position: fixed; inset: 0; z-index: 190; background: rgba(20,28,47,.45); animation: hero-fade var(--t-med) var(--ease); }
  .filters-backdrop[hidden] { display: none; }
  body.filters-open { overflow: hidden; }
  .filters-note { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .filters, .filters.is-open { transition: none; }
  .filters-backdrop { animation: none; }
}
.results-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; margin: 1.25rem 0; }
.results-bar p { margin: 0; color: var(--text-muted); }
.results-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.result {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.25rem;
  display: grid; grid-template-columns: 1fr auto; gap: .5rem 1.25rem; align-items: center;
}
.result h3 { font-size: 1.15rem; margin: 0 0 .2rem; }
.result .meta { display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: .93rem; color: var(--text-muted); margin: 0; }
.result .meta dt { display: inline; font-weight: 600; color: var(--sargasso); }
.result .meta dd { display: inline; margin: 0 0 0 .25rem; }
.result .tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.tag { font-size: .8rem; font-weight: 600; padding: .15rem .55rem; border-radius: 4px; background: var(--cloud); color: var(--sargasso); border: 1px solid var(--border); }
.tag.subject { background: #eef2f6; }
@media (max-width: 600px) { .result { grid-template-columns: 1fr; } }
.btn-add[aria-pressed="true"] { background: var(--success); border-color: var(--success); color: #fff; }
.empty-state { text-align: center; padding: 3rem 1rem; background: #fff; border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); }
.empty-state svg { width: 48px; height: 48px; margin: 0 auto 1rem; color: var(--bluestone); }
.pagination { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-top: 2rem; }
.pagination button { min-width: 44px; min-height: 44px; border: 1px solid var(--border-strong); background: #fff; border-radius: var(--radius-pill); font: 600 .95rem var(--font-sans); color: var(--midnight); cursor: pointer; transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.pagination button:hover:not(:disabled):not([aria-current]) { border-color: var(--sargasso); }
.pagination button[aria-current="page"] { background: var(--midnight); color: #fff; border-color: var(--midnight); }
.pagination button:disabled { opacity: .45; cursor: not-allowed; }

/* Quote tray */
.quote-tray {
  position: fixed; left: 50%; bottom: 16px; transform: translate(-50%, 140%); z-index: 90;
  background: var(--midnight); color: #fff; border-radius: 999px; padding: .5rem .5rem .5rem 1.25rem;
  display: flex; align-items: center; gap: 1rem; box-shadow: 0 10px 30px rgba(20,28,47,.3);
  transition: transform .3s var(--ease); max-width: calc(100% - 32px);
}
.quote-tray.is-visible { transform: translate(-50%, 0); }
.quote-tray p { margin: 0; font-weight: 500; white-space: nowrap; }
.quote-tray .btn { border-radius: 999px; min-height: 44px; }
@media (prefers-reduced-motion: reduce) { .quote-tray { transition: none; } }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--field-gutter); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field .label { display: block; font-weight: 600; color: var(--midnight); margin-bottom: .35rem; transition: color var(--t-fast) var(--ease); }
.field:focus-within > label { color: var(--link); }
.field.has-error > label { color: var(--error); }
.field .req { color: var(--error); margin-left: 2px; }
.field .hint { display: block; font-size: .9rem; color: var(--text-muted); margin-top: .3rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--text); background: #fff;
  border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm); padding: .7rem var(--field-gutter); min-height: 48px;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 4px rgba(31,111,178,.18); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field .error-msg { display: none; color: var(--error); font-size: .92rem; font-weight: 500; margin-top: .35rem; }
.field.has-error .error-msg { display: flex; gap: .35rem; align-items: center; animation: fade-in-down var(--t-med) var(--ease); }
.field.has-error input, .field.has-error select, .field.has-error textarea { background: #fffafa; }
.field fieldset { border: 0; padding: 0; margin: 0; }
.field legend { font-weight: 600; color: var(--midnight); margin-bottom: .35rem; padding: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.radio-row label { display: inline-flex; align-items: center; gap: .5rem; min-height: 46px; padding: 0 1rem; border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm); font-weight: 500; cursor: pointer; background: #fff; margin: 0; touch-action: manipulation; transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease); }
.radio-row label:hover { border-color: var(--bluestone); }
.radio-row label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.radio-row input { width: 18px; height: 18px; min-height: 0; accent-color: var(--sargasso); }
.radio-row label:has(input:checked) { border-color: var(--sargasso); background: #eef2f6; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.error-summary:not([hidden]) { animation: fade-in-down var(--t-med) var(--ease); }
.error-summary { border: 2px solid var(--error); background: #fff5f6; border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.error-summary h2 { font-family: var(--font-sans); font-size: 1.05rem; color: var(--error); margin: 0 0 .5rem; }
.error-summary ul { margin: 0; padding-left: 1.2rem; }
.error-summary a { color: var(--error); font-weight: 600; }
.form-status { border-radius: var(--radius); padding: 1.25rem; margin-top: 1.25rem; display: none; }
.form-status.is-success { display: block; background: #edf7f1; border: 1px solid #9ccdb2; color: var(--success); }
.form-status.is-error { display: block; background: #fff5f6; border: 1px solid #e6a1aa; color: var(--error); }
.form-status.is-success, .form-status.is-error { animation: fade-in-down var(--t-med) var(--ease); }
.form-status:focus { outline: none; }
.form-status:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
form[aria-busy="true"] .field input, form[aria-busy="true"] .field textarea, form[aria-busy="true"] .field select { background: #f7f7f4; }
.form-status strong { display: block; font-size: 1.1rem; margin-bottom: .25rem; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Enquiry-type tabs on the contact page */
.form-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: 1rem; }
.form-tabs [role="tab"] {
  display: flex; align-items: center; gap: .85rem; text-align: left; min-height: 64px; padding: .8rem 1.1rem;
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-lg); cursor: pointer;
  font: inherit; color: var(--midnight); touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.form-tabs [role="tab"] svg { width: 26px; height: 26px; flex: none; color: var(--bluestone); transition: color var(--t-fast) var(--ease); }
.form-tabs [role="tab"] strong { display: block; font-size: 1.02rem; }
.form-tabs [role="tab"] small { display: block; font-size: .86rem; color: var(--text-muted); line-height: 1.35; }
.form-tabs [role="tab"]:hover { border-color: var(--border-strong); }
.form-tabs [role="tab"][aria-selected="true"] { border-color: var(--sargasso); background: #f3f5f8; box-shadow: inset 0 -3px 0 var(--sceptre); }
.form-tabs [role="tab"][aria-selected="true"] svg { color: var(--sceptre); }
.form-panel:not([hidden]) { animation: fade-in-down var(--t-med) var(--ease); }
.form-panel + .form-panel { margin-top: 1.5rem; } /* both visible without JS */
@media (max-width: 560px) { .form-tabs [role="tab"] small { display: none; } .form-tabs [role="tab"] { min-height: 56px; padding: .6rem .8rem; gap: .6rem; } }
@media (prefers-reduced-motion: reduce) { .form-panel:not([hidden]) { animation: none; } }

.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; align-items: start; }
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-card { background: var(--midnight); color: #e6e9ef; border-radius: var(--radius-lg); padding: 2rem; }
.contact-card h2 { color: #fff; font-size: 1.5rem; }
.contact-card ul { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1.1rem; }
.contact-card li { display: flex; gap: .85rem; align-items: flex-start; }
.contact-card li svg { width: 22px; height: 22px; flex: none; color: #a9bccb; margin-top: 3px; }
.contact-card a { color: #fff; }
.contact-card .small { color: #a9bccb; font-size: .9rem; display: block; }
.map-frame { border: 0; width: 100%; height: 260px; border-radius: var(--radius); background: var(--sargasso); }

/* ---------- Footer ---------- */
.site-footer { background: var(--midnight); color: #c5cedb; padding: 64px 0 24px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-family: var(--font-sans); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.site-footer a { color: #e6e9ef; text-decoration: none; display: inline-block; padding: .15rem 0; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-logo { background: #fff; display: inline-block; padding: .5rem .75rem; border-radius: var(--radius-sm); margin-bottom: 1rem; }
.footer-logo img { height: 44px; width: auto; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 3rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: .9rem; }

/* ---------- Reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Shared keyframes ---------- */
@keyframes fade-in-down { from { opacity: 0; transform: translateY(-4px); } }
@keyframes nav-open { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Hero entrance (plays once on load) ---------- */
@keyframes hero-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes hero-fade { from { opacity: 0; } }
.hero-in { animation: hero-in 380ms var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms); }
.hero-in-art { animation-name: hero-fade; animation-duration: 450ms; }
/* Newest issue settles onto the shelf once, after the hero has appeared */
@keyframes issue-arrive { from { opacity: 0; transform: translateY(-28px); } }
.fig-arrive { animation: issue-arrive 520ms var(--ease) 420ms both; }

/* ---------- Reduced motion: keep state changes, drop movement ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-in, .fig-arrive, .main-nav.is-open,
  .field.has-error .error-msg, .error-summary:not([hidden]), .form-status.is-success, .form-status.is-error { animation: none; }
  .btn, .btn svg, .main-nav a::after, .main-nav .nav-cta a, .faq-item summary svg, .logo-grid li { transition-property: color, background-color, border-color, box-shadow, opacity; }
  .btn:active:not([disabled]), .main-nav .nav-cta a:active { transform: none; }
  .i-arrow { transform: none !important; }
  .main-nav a::after { transition: none; }
}

@media print {
  .utility-bar, .site-header, .site-footer, .quote-tray, .nav-toggle { display: none !important; }
  body { font-size: 12pt; }
}
