/* Alect public site */
:root {
  --brand: #0e1d42;
  --brand-2: #1b3270;
  --brand-3: #2c4ea3;
  --accent: #f4b223;
  --accent-hover: #ffc54d;
  --accent-ink: #0e1d42;
  --bg: #ffffff;
  --bg-tint: #f3f5fa;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --text: #0f172a;
  --heading: #0e1d42;
  --muted: #4a5568;
  --border: #dfe4ee;
  --link: #1f45a8;
  --focus: #2563eb;
  --shadow: 0 1px 2px rgba(14, 29, 66, .06), 0 8px 24px rgba(14, 29, 66, .08);
  --shadow-lg: 0 18px 48px rgba(14, 29, 66, .16);
  --radius: 10px;
  --radius-lg: 18px;
  --font: Calibri, "Segoe UI", Arial, "Helvetica Neue", Helvetica, sans-serif;
  --container: 1200px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1226; --bg-tint: #0f1a34; --surface: #121f3e; --surface-2: #17264a;
    --text: #e6ebf5; --heading: #f4f7fc; --muted: #a9b5cc; --border: #26375e;
    --link: #9cb8ff; --accent-ink: #0e1d42; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a1226; --bg-tint: #0f1a34; --surface: #121f3e; --surface-2: #17264a;
  --text: #e6ebf5; --heading: #f4f7fc; --muted: #a9b5cc; --border: #26375e;
  --link: #9cb8ff; --accent-ink: #0e1d42; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--heading); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
.icon { width: 24px; height: 24px; flex-shrink: 0; }
.icon-sm { width: 18px; height: 18px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 6px; z-index: 100; font-weight: 700; }
.skip-link:focus { left: 8px; }
.preview-bar { background: #b45309; color: #fff; text-align: center; padding: 8px 16px; font-weight: 700; font-size: .95rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; font-weight: 700; color: var(--brand-3); margin-bottom: .75em; }
:root[data-theme="dark"] .eyebrow { color: var(--accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .eyebrow { color: var(--accent); } }
.lead { font-size: 1.15rem; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; vertical-align: middle; font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1.25; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 38px; padding: 7px 16px; font-size: 15px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-2); }
:root[data-theme="dark"] .btn-primary { background: #2c4ea3; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-primary { background: #2c4ea3; } }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-outline { border-color: var(--border); color: var(--heading); background: var(--surface); }
.btn-outline:hover { border-color: var(--heading); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.06); }
.btn-ghost:hover { background: rgba(255,255,255,.16); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }
.btn-row.center { justify-content: center; }
.btn-row:empty { display: none; }
.link-button { background: none; border: 0; color: inherit; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--border); }
.topbar { background: var(--brand); color: #dbe4f7; font-size: .88rem; }
.topbar-inner { display: flex; align-items: center; gap: 20px; min-height: 38px; overflow: hidden; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; color: #dbe4f7; text-decoration: none; white-space: nowrap; }
a.topbar-item:hover { color: #fff; }
.topbar-spacer { flex: 1; }
@media (max-width: 760px) { .topbar-inner > .topbar-item:first-child, .hide-sm { display: none; } }
/* Long area lists end in an ellipsis instead of pushing the email off screen; office hours
   (also in the footer) drop out of the top bar before they would be clipped. */
.topbar-areas { min-width: 0; flex-shrink: 1; }
.topbar-areas > span { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1240px) { .topbar-hours { display: none; } }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: block; flex-shrink: 0; }
.logo { height: 46px; width: auto; }
.logo-dark { display: none; }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-light { display: none; } :root:not([data-theme="light"]) .logo-dark { display: block; } }
.main-nav { margin-left: auto; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: 10px 12px; color: var(--heading); text-decoration: none; font-weight: 600; font-size: 1rem; border-radius: 8px; }
.main-nav a:hover, .main-nav a.current { color: var(--brand-3); background: var(--bg-tint); }
:root[data-theme="dark"] .main-nav a:hover, :root[data-theme="dark"] .main-nav a.current { color: var(--accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .main-nav a:hover, :root:not([data-theme="light"]) .main-nav a.current { color: var(--accent); } }
.sub-toggle { display: none; }
.sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.has-children:hover > .sub-menu, .has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { font-weight: 500; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--heading); text-decoration: none; padding: 8px 14px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); white-space: nowrap; }
.header-phone:hover { background: var(--accent-hover); }
.theme-toggle { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--heading); cursor: pointer; }
.theme-toggle:hover { background: var(--bg-tint); }
.theme-icon-sun { display: none; }
:root[data-theme="dark"] .theme-icon-sun { display: block; }
:root[data-theme="dark"] .theme-icon-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-icon-sun { display: block; } :root:not([data-theme="light"]) .theme-icon-moon { display: none; } }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; padding: 11px 10px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: var(--heading); border-radius: 2px; transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .header-phone span { display: none; }
  .header-phone { padding: 10px; }
  .main-nav { position: fixed; inset: 114px 0 0 0; background: var(--bg); overflow-y: auto; padding: 16px; display: none; margin: 0; border-top: 1px solid var(--border); }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: center; }
  .main-nav > ul > li > a { flex: 1; padding: 14px 8px; font-size: 1.1rem; }
  .sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: none; color: var(--heading); cursor: pointer; }
  .sub-toggle .icon { transform: rotate(90deg); transition: .2s; }
  .sub-toggle[aria-expanded="true"] .icon { transform: rotate(-90deg); }
  .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; width: 100%; padding: 0 0 10px 12px; background: transparent; }
  .sub-menu.open { display: block; }
  .header-inner { gap: 12px; }
  .logo { height: 40px; }
}
@media (max-width: 760px) { .main-nav { inset: 76px 0 0 0; } }

/* Breadcrumbs & page head */
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 14px; font-size: .9rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .55; }
.breadcrumbs a { color: inherit; }
.page-head { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%); color: #dbe4f7; padding: 48px 0 52px; }
.page-head h1 { color: #fff; margin-bottom: .25em; }
.page-head .breadcrumbs { color: #c6d3ef; }
.page-lead { font-size: 1.2rem; max-width: 760px; margin: .4em 0 0; }
.page-meta { margin: 0; color: #c6d3ef; }
.breadcrumbs-float { position: relative; z-index: 3; margin-top: 18px; margin-bottom: -50px; color: #e5ecfa; }
.breadcrumbs-float a, .breadcrumbs-float span { color: #e5ecfa; }
.has-hero .breadcrumbs-float + main .hero-plain, .has-hero .breadcrumbs-float + main .hero-photo { padding-top: 110px; }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero h1, .hero h2 { color: #fff; max-width: 900px; }
.hero .eyebrow { color: var(--accent); }
.hero-inner { position: relative; z-index: 2; padding: 96px 16px 104px; }
@media (min-width: 768px) { .hero-inner { padding: 120px 32px 128px; } }
.hero-sub { font-size: clamp(1.1rem, 1.8vw, 1.3rem); max-width: 720px; color: #e3eaf8; }
.hero-photo { background: var(--brand); min-height: 560px; display: flex; align-items: center; }
.hero-photo .hero-inner { width: 100%; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10,20,48,.93) 0%, rgba(10,20,48,.78) 45%, rgba(10,20,48,.35) 100%); }
.hero-plain { background: radial-gradient(1200px 500px at 85% -10%, rgba(244,178,35,.18), transparent 60%), linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%); }
.hero-points { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 8px; }
.hero-points li { display: flex; gap: 10px; align-items: center; color: #eef2fb; font-weight: 600; }
.hero-points .icon { color: var(--accent); }
.hero-split { background: var(--bg-tint); color: var(--text); }
.hero-split h1, .hero-split h2 { color: var(--heading); }
.hero-split .eyebrow { color: var(--brand-3); }
.hero-split .hero-sub { color: var(--muted); }
.hero-split .hero-points li { color: var(--text); }
.hero-split .hero-points .icon { color: var(--brand-3); }
:root[data-theme="dark"] .hero-split .eyebrow, :root[data-theme="dark"] .hero-split .hero-points .icon { color: var(--accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero-split .eyebrow, :root:not([data-theme="light"]) .hero-split .hero-points .icon { color: var(--accent); } }
.hero-split-grid { display: grid; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
@media (min-width: 960px) { .hero-split-grid { grid-template-columns: 1.05fr 1fr; padding-top: 88px; padding-bottom: 88px; } }
.hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* Sections */
.block { padding: 72px 0; }
@media (min-width: 768px) { .block { padding: 96px 0; } }
.block + .block:not(.tone-tint):not(.tone-dark):not(.block-cta) { padding-top: 0; }
.tone-tint + .block, .block-testimonials + .block { padding-top: 72px !important; }
@media (min-width: 768px) { .tone-tint + .block, .block-testimonials + .block { padding-top: 96px !important; } }
.tone-tint { background: var(--bg-tint); }
.tone-dark { background: var(--brand); color: #dbe4f7; }
.tone-dark h2, .tone-dark h3 { color: #fff; }
.tone-dark .lead { color: #c6d3ef; }
.section-head { max-width: 780px; margin-bottom: 44px; }
.section-head h2:last-child { margin-bottom: 0; }

/* Prose */
.prose { max-width: 760px; }
.prose-wide { max-width: none; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--accent); font-size: 1.15rem; color: var(--heading); }
.prose table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: 1rem; }
.prose th, .prose td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.prose th { background: var(--bg-tint); }

/* Split */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split-left .split-media { order: -1; } }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* Cards */
.card-grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; color: var(--text); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-icon-wrap, .card-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 14px; background: var(--brand); color: var(--accent); margin: 28px 28px 0; }
.card-icon .icon { width: 28px; height: 28px; }
.card-body { padding: 22px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .4em; }
.card-body p { color: var(--muted); font-size: 1rem; }
.card-date { font-size: .88rem !important; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .4em; }
.card-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--link); font-size: .98rem; }
a.card:hover .card-link .icon { transform: translateX(3px); }
.card-link .icon { transition: transform .2s; }
.card-media { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-tint); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
a.card:hover .card-media img { transform: scale(1.04); }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px 32px; }
@media (min-width: 760px) { .checklist { grid-template-columns: 1fr 1fr; } }
.checklist li { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.checklist .icon { color: #15803d; margin-top: 2px; }
:root[data-theme="dark"] .checklist .icon { color: #4ade80; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .checklist .icon { color: #4ade80; } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.step p { color: var(--muted); font-size: 1rem; margin: 0; }
.step-num { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 1.15rem; margin-bottom: 16px; }
.tone-dark .step { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); }
.tone-dark .step p { color: #c6d3ef; }

/* FAQ */
.faq-list { max-width: 860px; display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--heading); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron { transform: rotate(90deg); transition: transform .2s; }
.faq-item[open] .faq-chevron { transform: rotate(-90deg); }
.faq-answer { padding: 0 22px 20px; color: var(--muted); }

/* Testimonials */
.quote-grid { display: grid; gap: 24px; }
@media (min-width: 760px) { .quote-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .quote-grid { grid-template-columns: repeat(3, 1fr); } }
.quote-card { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.quote-card blockquote { margin: 0 0 20px; font-size: 1.08rem; color: var(--text); flex: 1; }
.quote-card blockquote::before { content: "\201C"; display: block; font-size: 3.4rem; line-height: .8; color: var(--accent); font-family: Georgia, serif; height: 28px; }
.quote-card figcaption { font-size: .95rem; color: var(--muted); display: flex; flex-direction: column; }
.quote-card figcaption strong { color: var(--heading); }
.stars { display: flex; gap: 2px; margin-bottom: 12px; color: var(--accent); }
.star { fill: currentColor; }

/* Accreditations */
.accred-strip { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.accred-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 20px; height: 92px; display: flex; align-items: center; justify-content: center; min-width: 150px; }
.accred-logo { max-height: 62px; max-width: 150px; width: auto; object-fit: contain; }
.accred-name { font-weight: 700; color: #0e1d42; }
.accred-list { display: grid; gap: 20px; }
@media (min-width: 900px) { .accred-list { grid-template-columns: 1fr 1fr; } }
.accred-card { display: flex; gap: 20px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.accred-logo-wrap { flex-shrink: 0; width: 120px; height: 90px; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; padding: 10px; }
.accred-logo-wrap .accred-logo { max-width: 100px; max-height: 70px; }
.accred-card p { font-size: 1rem; color: var(--muted); margin-bottom: .5em; }

/* Gallery & lightbox */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery-item { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--bg-tint); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5,10,25,.92); display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; max-width: 100%; border-radius: 8px; }
.lightbox-close { position: absolute; top: 14px; right: 18px; width: 48px; height: 48px; border-radius: 999px; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 30px; cursor: pointer; }

/* CTA */
.block-cta { padding: 72px 0; }
.cta-band { background: radial-gradient(800px 300px at 100% 0%, rgba(244,178,35,.22), transparent 60%), linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%); color: #dbe4f7; border-radius: var(--radius-lg); padding: 44px 32px; display: grid; gap: 20px; align-items: center; box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr auto; padding: 56px 56px; } }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; font-size: 1.1rem; }
.cta-band .btn-row { margin-top: 0; }

/* Contact */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list strong { display: block; color: var(--heading); }
.contact-list a { font-weight: 600; }
.contact-icon { display: inline-flex; width: 48px; height: 48px; border-radius: 12px; background: var(--brand); color: var(--accent); align-items: center; justify-content: center; flex-shrink: 0; }
.enquiry-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
@media (min-width: 768px) { .enquiry-form { padding: 36px; } }
.form-row.two { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; color: var(--heading); margin-bottom: 6px; font-size: 1rem; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-2); color: var(--text); font-size: 1rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(37,99,235,.25); }
.req { color: #b91c1c; }
:root[data-theme="dark"] .req { color: #fca5a5; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .req { color: #fca5a5; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 14px 16px; border-radius: 8px; margin-bottom: 16px; font-weight: 600; }
.form-status.ok { background: #dcfce7; color: #14532d; }
.form-status.err { background: #fee2e2; color: #7f1d1d; }
.spinner { width: 18px; height: 18px; display: none; animation: spin 1s linear infinite; }
.is-loading .spinner { display: inline-block; }
.opacity-25 { opacity: .25; } .opacity-90 { opacity: .9; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Footer */
.site-footer { background: #0a1530; color: #b9c5dd; font-size: 1rem; margin-top: 0; }
.footer-grid { display: grid; gap: 36px; padding-top: 64px; padding-bottom: 48px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); } }
.logo-footer { height: 52px; width: auto; margin-bottom: 18px; }
.footer-title { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #d5def0; text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.footer-contact a, .footer-address { display: inline-flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--accent); margin-top: 3px; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: rgba(255,255,255,.08); }
.social a:hover { background: var(--accent); color: var(--accent-ink); }
.footer-base { border-top: 1px solid rgba(255,255,255,.1); font-size: .9rem; }
.footer-base-inner { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; padding-top: 20px; padding-bottom: 20px; }
.footer-base p { margin: 0; }
.legal-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.legal-links .link-button { color: #d5def0; text-decoration: none; font-size: .9rem; }

/* Cookie banner */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; max-width: 560px; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 20px; }
.cookie-banner p { margin: 0; font-size: 1rem; }
.cookie-banner .btn-row { margin-top: 14px; }

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

/* ===================================================================== */
/* Visual uplift (2026-10-12): photos, depth and motion                   */
/* ===================================================================== */

/* Angled base on banners and page heads */
.hero-photo, .hero-plain, .page-head, .page-head-photo { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), 0 100%); }
.hero-photo .hero-inner, .hero-plain .hero-inner { padding-bottom: 150px; }
.hero-overlay { background: linear-gradient(90deg, rgba(10,20,48,.94) 0%, rgba(10,20,48,.82) 38%, rgba(10,20,48,.38) 72%, rgba(10,20,48,.15) 100%); }
.hero-plain { background: radial-gradient(1000px 420px at 88% -10%, rgba(244,178,35,.22), transparent 60%), radial-gradient(700px 400px at -10% 120%, rgba(44,78,163,.5), transparent 60%), linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%); }
.hero h1 { text-wrap: balance; }
.page-head { padding-bottom: 96px; }

/* Photo page head for services, sectors and areas */
.page-head-photo { position: relative; color: #fff; background: var(--brand); overflow: hidden; }
.page-head-photo .phd-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-head-photo .phd-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,20,48,.95) 0%, rgba(10,20,48,.82) 45%, rgba(10,20,48,.35) 100%); }
.page-head-photo .container { position: relative; z-index: 2; padding-top: 56px; padding-bottom: 130px; }
@media (min-width: 768px) { .page-head-photo .container { padding-top: 80px; padding-bottom: 160px; } }
.page-head-photo h1 { color: #fff; max-width: 820px; }
.page-head-photo .breadcrumbs, .page-head-photo .breadcrumbs a { color: #d6e0f5; }
.page-head-photo .page-lead { color: #e3eaf8; max-width: 680px; }
.page-head-photo .btn-row { margin-top: 1.6rem; }

/* Highlights strip, overlapping the banner above it */
.block-highlights { position: relative; z-index: 5; padding: 40px 0 0; }
.block-highlights.overlap { margin-top: -110px; padding-top: 0; }
.highlights { display: grid; gap: 1px; background: var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
@media (min-width: 700px) { .highlights { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .highlights { grid-template-columns: repeat(4, 1fr); } }
.highlight { background: var(--surface); padding: 24px 22px; display: flex; gap: 14px; align-items: flex-start; }
.highlight strong { display: block; color: var(--heading); font-size: 1.05rem; line-height: 1.25; margin-bottom: 4px; }
.highlight span { color: var(--muted); font-size: .95rem; line-height: 1.45; display: block; }
.highlight .highlight-icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; background: rgba(244,178,35,.18); color: #8a5a00; display: inline-flex; align-items: center; justify-content: center; }
:root[data-theme="dark"] .highlight .highlight-icon { color: var(--accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .highlight .highlight-icon { color: var(--accent); } }
.block-highlights + .block { padding-top: 80px !important; }

/* Image and text: framed photo, second photo, badge, tick list */
.split-media { position: relative; }
.media-frame { position: relative; }
.media-frame::before { content: ""; position: absolute; z-index: 0; inset: 18px -18px -18px 18px; border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(244,178,35,.85), rgba(244,178,35,.3)); }
.split-left .media-frame::before { inset: 18px 18px -18px -18px; }
.media-frame img { position: relative; z-index: 1; }
.split-media.has-second { padding-bottom: 70px; }
.media-second { position: absolute; z-index: 2; width: 46%; bottom: 0; left: -24px; border-radius: var(--radius-lg); overflow: hidden; border: 6px solid var(--bg); box-shadow: var(--shadow-lg); }
.split-left .media-second { left: auto; right: -24px; }
.tone-tint .media-second { border-color: var(--bg-tint); }
.split-media .media-second img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 0; box-shadow: none; }
@media (max-width: 959px) { .media-second { left: 12px; } .split-left .media-second { right: 12px; } .media-frame::before { inset: 12px -10px -12px 12px; } }
.media-badge { position: absolute; z-index: 3; top: 22px; right: -14px; display: flex; align-items: center; gap: 10px; background: var(--surface); color: var(--heading); padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow-lg); font-weight: 700; max-width: 240px; line-height: 1.25; }
.split-left .media-badge { right: auto; left: -14px; }
.media-badge .icon { color: #8a5a00; width: 30px; height: 30px; }
:root[data-theme="dark"] .media-badge .icon { color: var(--accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .media-badge .icon { color: var(--accent); } }
@media (max-width: 959px) { .media-badge { right: 10px; } .split-left .media-badge { left: 10px; } }
.tick-list { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--heading); }
.tick-list .icon { color: #15803d; margin-top: 3px; }
:root[data-theme="dark"] .tick-list .icon { color: #4ade80; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tick-list .icon { color: #4ade80; } }

/* Photo cards with icon badge */
.card-style-image { overflow: visible; }
.card-style-image .card-media { position: relative; aspect-ratio: 16/10; overflow: visible; }
.card-style-image .card-media img { border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0; }
.card-badge { position: absolute; left: 22px; bottom: -26px; z-index: 2; width: 54px; height: 54px; border-radius: 14px; background: var(--brand); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(14,29,66,.3); border: 3px solid var(--surface); }
.card-style-image .card-media + .card-body { padding-top: 40px; }
.card-style-image:hover .card-media img { transform: none; }
.card-style-image .card-media { clip-path: none; }
/* Overlay tiles */
.card-style-overlay { min-height: 400px; justify-content: flex-end; color: #fff; border: 0; background: var(--brand); overflow: hidden; }
.card-style-overlay .card-media { position: absolute; inset: 0; aspect-ratio: auto; }
.card-style-overlay .card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,20,48,.05) 20%, rgba(10,20,48,.94) 100%); }
.card-style-overlay .card-body { position: relative; z-index: 2; flex: 0; }
.card-style-overlay h3 { color: #fff; font-size: 1.45rem; }
.card-style-overlay .card-body p { color: #dbe4f7; }
.card-style-overlay .card-link { color: var(--accent); }

/* Photo band */
.photo-band { position: relative; overflow: hidden; color: #fff; background: var(--brand); min-height: 480px; display: flex; align-items: center; }
.photo-band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-band-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,20,48,.93) 0%, rgba(10,20,48,.72) 45%, rgba(10,20,48,.15) 100%); }
.photo-band.align-right .photo-band-overlay { background: linear-gradient(270deg, rgba(10,20,48,.93) 0%, rgba(10,20,48,.72) 45%, rgba(10,20,48,.15) 100%); }
.photo-band.align-center .photo-band-overlay { background: rgba(10,20,48,.7); }
.photo-band-inner { position: relative; z-index: 2; width: 100%; padding-top: 80px; padding-bottom: 80px; display: flex; }
.photo-band.align-right .photo-band-inner { justify-content: flex-end; }
.photo-band.align-center .photo-band-inner { justify-content: center; text-align: center; }
.photo-band.align-center .btn-row { justify-content: center; }
.photo-band-text { max-width: 600px; }
.photo-band h2 { color: #fff; }
.photo-band p { color: #e3eaf8; font-size: 1.15rem; }
.photo-band .eyebrow { color: var(--accent); }
.photo-band + .block { padding-top: 80px !important; }

/* Featured quote */
.quote-feature { display: grid; border-radius: var(--radius-lg); overflow: hidden; background: var(--brand); color: #fff; box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .quote-feature { grid-template-columns: 1fr 1.1fr; } .quote-right .qf-media { order: 2; } }
.qf-media img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.qf-body { margin: 0; padding: 40px 32px; display: flex; flex-direction: column; justify-content: center; background: radial-gradient(500px 300px at 100% 0%, rgba(244,178,35,.18), transparent 60%); }
@media (min-width: 900px) { .qf-body { padding: 56px; } }
.qf-mark { font-family: Georgia, serif; font-size: 6rem; line-height: .9; color: var(--accent); height: 56px; }
.qf-body blockquote { margin: 0 0 24px; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.45; color: #fff; font-weight: 600; }
.qf-body figcaption { display: flex; flex-direction: column; color: #c6d3ef; }
.qf-body figcaption strong { color: #fff; }

/* Testimonial cards: initials */
.quote-card figcaption { flex-direction: row; align-items: center; gap: 12px; }
.quote-card .avatar { width: 42px; height: 42px; border-radius: 999px; background: var(--brand); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }
.quote-card .who { display: flex; flex-direction: column; }
.quote-card .who strong { color: var(--heading); }
.quote-card { transition: transform .2s, box-shadow .2s; }
.quote-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* Steps: connecting line */
@media (min-width: 1100px) {
  .steps { position: relative; }
  .steps::before { content: ""; position: absolute; top: 50px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 10px, transparent 10px 18px); opacity: .6; }
  .step { position: relative; }
}
.step-num { box-shadow: 0 0 0 6px rgba(244,178,35,.18); }

/* Gallery: first photo large */
@media (min-width: 900px) {
  .gallery-feature { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; }
  .gallery-feature .gallery-item { aspect-ratio: auto; }
  .gallery-feature .gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
}

/* Checklist hover */
.checklist li { transition: border-color .2s, transform .2s; }
.checklist li:hover { border-color: var(--accent); transform: translateX(3px); }
.checklist .icon { flex-shrink: 0; }

/* Textures */
.tone-tint { background-color: var(--bg-tint); background-image: radial-gradient(rgba(14,29,66,.07) 1px, transparent 1px); background-size: 22px 22px; }
:root[data-theme="dark"] .tone-tint { background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tone-tint { background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); } }
.tone-dark { background: radial-gradient(900px 400px at 100% 0%, rgba(244,178,35,.14), transparent 60%), var(--brand); }

/* Heading accent bar */
.section-head h2::after, .split-text h2::after, .prose h2:first-child::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; background: var(--accent); margin-top: 16px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Scroll reveal: JS adds .reveal; nothing hidden without JS or with reduced motion */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; } }

/* Gentle settle on banner photos */
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-bg, .phd-bg { animation: settle 9s ease-out both; }
@media (prefers-reduced-motion: reduce) { .hero-bg, .phd-bg { animation: none; } }

/* Sections after a coloured band always get their top spacing back */
.tone-dark + .block, .block-quote-feature + .block, .block-gallery + .block-quote-feature { padding-top: 72px !important; }
@media (min-width: 768px) { .tone-dark + .block { padding-top: 96px !important; } }
.block-quote-feature { padding: 72px 0; }

/* Feature gallery on small screens: first photo spans the row so five photos fill the grid */
.gallery-feature .gallery-item:first-child { grid-column: span 2; aspect-ratio: 16/10; }
@media (min-width: 900px) { .gallery-feature .gallery-item:first-child { aspect-ratio: auto; } }
