/* ==========================================================================
   Pickering Power — design system (v2)
   Tokens sampled from pickeringtest.com reference imagery:
   indigo gradients (#231663 → #090934), azure accent (#0590ff), Roboto.
   ========================================================================== */

/* ---- Tokens ------------------------------------------------------------- */
:root {
  /* Brand — indigo */
  --indigo-900: #090934;   /* darkest gradient end (footer/header right) */
  --indigo-800: #150f4a;
  --indigo-700: #231663;   /* primary brand / header centre */
  --indigo-600: #243c8b;   /* hero blue / header left */
  /* Accent — azure */
  --azure:      #0590ff;   /* links, buttons, keywords on light */
  --azure-300:  #52a1ff;   /* accent on dark */
  --azure-soft: #e7f2ff;
  /* Ink / surfaces */
  --ink:    #2b3447;       /* body */
  --head:   #2a3650;       /* headings (slate) */
  --muted:  #6b7689;
  --line:   #e3e7f0;
  --bg:     #ffffff;
  --bg-alt: #f5f7fb;

  /* Typography — Roboto (matches pickeringtest) */
  --font-head: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Layout / shape */
  --container: 1480px;
  --radius:   2px;
  --radius-sm: 2px;
  --btn-radius: 2px;
  --shadow:    0 22px 48px -22px rgba(9, 9, 52, 0.32);
  --shadow-sm: 0 10px 26px -14px rgba(9, 9, 52, 0.28);
  --header-h: 84px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  /* gradients */
  --grad-header: linear-gradient(90deg, #243d8c 0%, #231663 45%, #090934 100%);
  --grad-footer: linear-gradient(120deg, #243d8c 0%, #231663 45%, #090934 100%);
  --grad-hero:   linear-gradient(125deg, #231663 0%, #243c8b 100%);
}

/* ---- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img, svg, video { height: auto; }
a { color: var(--azure); text-decoration: none; transition: color 0.18s var(--ease); }
a:hover { color: #0072d6; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.18; color: var(--head); font-weight: 700; overflow-wrap: break-word; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--azure); outline-offset: 2px; border-radius: 4px; }

/* ---- Layout helpers ----------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); }
.section { padding-block: clamp(56px, 7vw, 100px); }
.section--alt { background: var(--bg-alt); }
.narrow { max-width: 820px; }
.center { text-align: center; margin-inline: auto; }

.eyebrow {
  font-family: var(--font-head); font-weight: 700;
  font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--azure); margin-bottom: 14px;
}
.accent { color: var(--azure); }
.circuit-bg .eyebrow, .circuit-bg .accent { color: var(--azure-300); }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head.center { margin-inline: auto; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: 14px; letter-spacing: -0.01em; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.circuit-bg .section-head p { color: #aeb6dd; }

/* ---- Buttons (pickeringtest style: uppercase, azure, arrow) ------------- */
.btn {
  --_bg: var(--azure); --_fg: #fff; --_bd: var(--azure);
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.09em; text-transform: uppercase;
  padding: 13px 24px; border-radius: var(--btn-radius);
  border: 2px solid var(--_bd); background: var(--_bg); color: var(--_fg);
  cursor: pointer; transition: background 0.18s var(--ease), color 0.18s var(--ease), box-shadow 0.18s var(--ease), transform 0.18s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(5, 144, 255, 0.6); }
.btn .arrow { transition: transform 0.18s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { --_bg: transparent; --_fg: var(--azure); --_bd: var(--azure); }
.btn--ghost:hover { --_bg: var(--azure); --_fg: #fff; }
.btn--light { --_bg: #fff; --_fg: var(--indigo-700); --_bd: #fff; }
.btn--light:hover { --_bg: var(--azure-soft); --_fg: var(--indigo-700); color: var(--indigo-700); }
.btn--on-dark.btn--ghost { --_fg: #fff; --_bd: rgba(255,255,255,0.55); }
.btn--on-dark.btn--ghost:hover { --_bg: #fff; --_fg: var(--indigo-700); }

.textlink {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--azure);
}
.textlink .arrow { transition: transform 0.18s var(--ease); }
.textlink:hover .arrow { transform: translateX(4px); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--grad-header);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 12px 30px -16px rgba(0, 0, 0, 0.7); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 42px; width: auto; }

.main-nav ul { display: flex; align-items: center; gap: clamp(8px, 1.6vw, 28px); }
.main-nav a {
  display: inline-block; padding: 9px 4px; color: #d7dcf5;
  font-family: var(--font-head); font-weight: 500; font-size: 0.98rem;
  position: relative; white-space: nowrap;
}
.main-nav a::after {
  content: ""; position: absolute; left: 4px; right: 4px; bottom: 2px; height: 2px;
  background: var(--azure-300); transform: scaleX(0); transform-origin: left;
  transition: transform 0.2s var(--ease);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #fff; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; padding: 11px; border-radius: 8px; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; position: relative; height: 2px; width: 24px; background: #fff; border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after  { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: linear-gradient(180deg, #161c54 0%, #0b1038 100%);
    box-shadow: 0 26px 44px -22px rgba(0, 0, 0, 0.75);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    max-height: 0; overflow: hidden; transition: max-height 0.34s var(--ease);
  }
  .main-nav.is-open { max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; padding: 14px clamp(12px, 4vw, 20px) 20px; }
  .main-nav li { border: 0; }
  .main-nav a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 15px 16px; font-size: 1.06rem; font-weight: 500; color: #d7dcf5;
    border-radius: 2px; transition: background 0.16s var(--ease), color 0.16s var(--ease);
  }
  .main-nav a::after {
    content: ""; position: static; width: 8px; height: 8px; transform: rotate(45deg);
    border: 0; border-top: 2px solid currentColor; border-right: 2px solid currentColor;
    opacity: 0.45; background: none; transition: opacity 0.16s var(--ease);
  }
  .main-nav a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
  .main-nav a:hover::after { opacity: 0.8; }
  .main-nav a[aria-current="page"] { color: #fff; background: rgba(82, 161, 255, 0.16); box-shadow: inset 3px 0 0 var(--azure); }
}

/* ==========================================================================
   Indigo background + circuit dot field
   ========================================================================== */
.circuit-bg {
  position: relative;
  background:
    radial-gradient(1100px 560px at 88% -15%, rgba(82, 161, 255, 0.30), transparent 60%),
    var(--grad-hero);
  color: #e9ecff; overflow: hidden;
}
.circuit-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.7;
  background-image: radial-gradient(rgba(120, 170, 255, 0.28) 1.4px, transparent 1.8px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,0.35) 32%, transparent 60%);
          mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,0.35) 32%, transparent 60%);
}
.circuit-bg > * { position: relative; z-index: 1; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding-block: clamp(56px, 8vw, 116px); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(32px, 5vw, 76px); align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.8vw, 3.7rem); letter-spacing: -0.02em; margin-bottom: 22px; font-weight: 700; }
.hero p.lead { font-size: clamp(1.06rem, 1.5vw, 1.28rem); color: #c2c9ee; max-width: 48ch; margin-bottom: 32px; }
.hero .btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* contained media panel (image or slideshow) */
.hero-media, .hero-slideshow {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 44px 84px -34px rgba(0, 0, 0, 0.7); border: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-media img { width: 100%; }
.hero-slideshow { aspect-ratio: 3 / 2; background: var(--indigo-800); }
.hero-slideshow img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s var(--ease); }
.hero-slideshow img.is-active { opacity: 1; }
.hero-media .accent-bar { position: absolute; left: -8px; bottom: 28px; width: 6px; height: 92px; background: var(--azure); border-radius: 4px; z-index: 2; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media, .hero-slideshow { order: -1; }
}

/* Compact page hero */
.page-hero { padding-block: clamp(48px, 6vw, 84px); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -0.02em; margin-bottom: 14px; }
.page-hero p { color: #c2c9ee; font-size: 1.12rem; max-width: 64ch; }

.breadcrumbs { font-size: 0.86rem; margin-bottom: 18px; color: #9aa2d6; }
.breadcrumbs a { color: #c4cbf3; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span { margin-inline: 8px; opacity: 0.6; }

/* ==========================================================================
   Cards / grids
   ========================================================================== */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease); }
a.card { color: inherit; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card .media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--indigo-700); }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.card:hover .media img { transform: scale(1.05); }
.card .body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card .icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 2px; background: var(--azure-soft); color: var(--azure); margin-bottom: 4px; }
.card .icon svg { width: 27px; height: 27px; }
.card h3 { font-size: 1.22rem; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card .textlink { margin-top: auto; padding-top: 10px; }

/* ==========================================================================
   Why / feature trio
   ========================================================================== */
.why { padding: 28px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.why .num { font-family: var(--font-head); font-weight: 700; color: var(--azure); font-size: 0.95rem; margin-bottom: 10px; display: inline-flex; align-items: center; gap: 8px; }
.why .num::before { content: ""; width: 22px; height: 2px; background: var(--azure); display: inline-block; }
.why h3 { font-size: 1.14rem; margin-bottom: 8px; }
.why p { color: var(--muted); font-size: 0.97rem; }

/* ==========================================================================
   Logo strip (trust band) — white tiles normalise mixed logo backgrounds
   ========================================================================== */
.logo-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.logo-strip .tile {
  background: #fff; border: 1px solid var(--line); border-radius: 2px;
  height: 74px; padding: 12px 16px; display: grid; place-items: center;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.logo-strip .tile:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.logo-strip .tile img { max-height: 40px; max-width: 100%; width: auto; object-fit: contain; }
@media (max-width: 1200px) { .logo-strip { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .logo-strip { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   Products page — brand blocks + category cards
   ========================================================================== */
.anchor-nav { position: sticky; top: var(--header-h); z-index: 40; background: rgba(255,255,255,0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.anchor-nav ul { display: flex; flex-wrap: wrap; gap: 6px; padding-block: 12px; }
.anchor-nav a { font-family: var(--font-head); font-weight: 500; font-size: 0.88rem; color: var(--muted); padding: 7px 14px; border-radius: 2px; border: 1px solid transparent; }
.anchor-nav a:hover { color: var(--indigo-700); background: var(--bg-alt); border-color: var(--line); }

.brand-block { padding-block: clamp(40px, 5vw, 68px); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 64px); }
.brand-block:first-of-type { border-top: 0; }
.brand-block .head { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; margin-bottom: 34px; }
.brand-block .head.no-media { grid-template-columns: 1fr; }
.brand-block .brand-logo { height: 48px; margin-bottom: 16px; display: flex; align-items: center; }
.brand-block .brand-logo img { max-height: 48px; max-width: 230px; width: auto; object-fit: contain; }
.brand-block .kicker { font-family: var(--font-head); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--azure); margin-bottom: 12px; }
.brand-block .head p { color: var(--muted); font-size: 1.04rem; max-width: 54ch; }
.brand-block .head .media img { border-radius: var(--radius); box-shadow: var(--shadow-sm); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 880px) { .brand-block .head { grid-template-columns: 1fr; } .brand-block .head .media { order: -1; } }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(244px, 1fr)); gap: 16px; }
.cat-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--head); font-family: var(--font-head); font-weight: 500; font-size: 1rem; transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s var(--ease); }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--azure); color: var(--head); }
.cat-card .ext { color: var(--muted); flex-shrink: 0; transition: color 0.18s var(--ease), transform 0.18s var(--ease); }
.cat-card:hover .ext { color: var(--azure); transform: translate(2px, -2px); }

/* ==========================================================================
   Partner blocks (with real YouTube embeds)
   ========================================================================== */
.partner { padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.partner:first-of-type { border-top: 0; }
.partner-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.partner:nth-child(even) .partner-media { order: 2; }
.partner-logo { height: 46px; margin-bottom: 16px; display: flex; align-items: center; }
.partner-logo img { max-height: 46px; max-width: 220px; width: auto; object-fit: contain; }
.partner .role { font-family: var(--font-head); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--azure); margin: 0 0 16px; }
.partner p { color: var(--muted); margin-bottom: 20px; max-width: 56ch; }
.partner-media { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: #05071e; }
.partner-media iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 840px) {
  .partner-grid { grid-template-columns: 1fr; }
  /* video after the text on mobile, for every partner */
  .partner-media, .partner:nth-child(even) .partner-media { order: 0; }
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta { text-align: center; }
.cta h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 14px; }
.cta p { color: #b8bfe6; max-width: 58ch; margin: 0 auto 28px; font-size: 1.1rem; }
.cta .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 5vw, 60px); }
@media (max-width: 840px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.contact-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .ic { width: 44px; height: 44px; border-radius: 2px; background: var(--azure-soft); color: var(--azure); display: grid; place-items: center; flex-shrink: 0; }
.contact-item .ic svg { width: 22px; height: 22px; }
.contact-item h3 { font-size: 1rem; margin-bottom: 2px; }
.contact-item p, .contact-item a { color: var(--muted); font-size: 0.98rem; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 320px; }
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-family: var(--font-head); font-weight: 500; font-size: 0.9rem; margin-bottom: 6px; color: var(--head); }
.form-field input, .form-field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font: inherit; color: var(--ink); background: #fff; transition: border-color 0.18s var(--ease); }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--azure); }
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:disabled, .form-field textarea:disabled { opacity: 0.6; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }
.form-error { color: #c0392b; font-size: 0.9rem; margin-top: 14px; }
.form-success { text-align: center; padding: 40px 24px; animation: form-success-in 0.4s var(--ease); }
.form-success-icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(5, 144, 255, 0.12); color: var(--azure); margin-bottom: 18px; }
.form-success h2 { font-size: 1.5rem; margin-bottom: 8px; }
.form-success p { color: var(--muted); margin: 0; }
@keyframes form-success-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Team / people
   ========================================================================== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 980px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .team-grid { grid-template-columns: 1fr; } }
.person { background: #fff; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.person:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.person img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: center top; background: var(--bg-alt); }
.person .pbody { padding: 16px 18px; }
.person h3 { font-size: 1.06rem; margin-bottom: 2px; }
.person .ptitle { color: var(--head); font-weight: 500; font-size: 0.92rem; }
.person .pcompany { color: var(--muted); font-size: 0.85rem; margin-top: 1px; }
.person .pcontact { margin-top: 10px; font-size: 0.88rem; display: flex; flex-direction: column; gap: 3px; }
.person .pcontact a { color: var(--azure); overflow-wrap: anywhere; }

/* CSR / supporter badges */
.support-badges { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; align-items: flex-start; }
.support-badges img { width: 400px; max-width: 90vw; height: auto; border-radius: 2px; box-shadow: var(--shadow-sm); display: block; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--grad-footer); color: #aeb6dd; padding-block: clamp(48px, 6vw, 72px) 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; }
.footer-brand img { height: 40px; margin-bottom: 18px; }
.footer-brand p { color: #9099c7; font-size: 0.93rem; max-width: 32ch; }
.footer-address { margin-top: 14px; line-height: 1.7; }
.footer-address a { color: #aeb6dd; }
.footer-address a:hover { color: #fff; }
.footer-social { display: inline-flex; margin-top: 16px; color: #aeb6dd; }
.footer-social:hover { color: #fff; }
.footer-social svg { width: 22px; height: 22px; }
.footer-col h4 { color: #fff; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; font-family: var(--font-head); font-weight: 700; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #aeb6dd; font-size: 0.93rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 44px; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; font-size: 0.85rem; color: #828bc0; }
.web-by { display: inline-flex; align-items: center; gap: 9px; color: #828bc0; }
.web-by span { font-size: 0.82rem; letter-spacing: 0.02em; }
.web-by img { height: 21px; width: auto; filter: brightness(0) invert(1); opacity: 0.78; transition: opacity 0.18s var(--ease); }
.web-by:hover { color: #aeb6dd; }
.web-by:hover img { opacity: 1; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ==========================================================================
   Misc / utilities
   ========================================================================== */
.prose p { margin-bottom: 16px; color: var(--ink); }
.prose p:last-child { margin-bottom: 0; }
.lead-text { font-size: 1.14rem; color: var(--muted); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; align-items: center; }
.tag { font-family: var(--font-head); font-size: 0.8rem; font-weight: 500; color: var(--azure); background: var(--azure-soft); padding: 6px 13px; border-radius: 2px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: #fff; color: var(--indigo-700); padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0; font-weight: 700; }
.skip-link:focus { left: 0; }

/* Long-form legal pages (privacy policy etc.) */
.legal { max-width: 820px; }
.legal > p:first-child { color: var(--muted); font-size: 0.92rem; margin-bottom: 24px; }
.legal h2 { font-size: 1.4rem; margin: 38px 0 12px; }
.legal h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.legal p { color: var(--ink); margin-bottom: 14px; }
.legal ul { list-style: disc; padding-left: 22px; margin: 0 0 16px; }
.legal li { margin-bottom: 8px; color: var(--ink); }
.legal a { color: var(--azure); overflow-wrap: anywhere; }
.legal address { font-style: normal; color: var(--ink); line-height: 1.7; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero-slideshow img { transition: none; }
}
