/* ==========================================================================
   Timothy James & Partners (tjpltd.co.uk) - Master Design System
   Playbook: Professional | Variant C: Approachable Expert
   Locality: The Strand, London WC2R 0DT (Shell Mex House)
   FCA Authorised & Regulated (Ref: 179854) | Companies House: 03138148
   ========================================================================== */

:root {
  /* Exact Palette from design_brief.json */
  --background: #faf9f6;
  --surface: #ffffff;
  --text: #102027;
  --muted: #485f69;
  --primary: #255364;
  --primaryText: #ffffff;
  --accent: #c48227;
  --dark: #0f232b;
  --darkText: #ffffff;

  /* Derived Tonal Tokens (strictly from palette hues) */
  --primary-hover: #1c404d;
  --primary-light: rgba(37, 83, 100, 0.08);
  --primary-border: rgba(37, 83, 100, 0.18);
  --accent-hover: #ad701f;
  --accent-light: rgba(196, 130, 39, 0.12);
  --accent-border: rgba(196, 130, 39, 0.28);
  --dark-surface: #142d37;
  --border-subtle: rgba(16, 32, 39, 0.1);
  --border-medium: rgba(16, 32, 39, 0.18);
  --shadow-sm: 0 2px 8px rgba(16, 32, 39, 0.05);
  --shadow-md: 0 6px 20px rgba(16, 32, 39, 0.08);
  --shadow-lg: 0 16px 36px rgba(16, 32, 39, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Typography Families */
  --font-display: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Figtree', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Fluid Spacing Scale */
  --space-2xs: clamp(0.25rem, 0.2rem + 0.25vw, 0.375rem);
  --space-xs: clamp(0.5rem, 0.4rem + 0.5vw, 0.75rem);
  --space-sm: clamp(0.75rem, 0.6rem + 0.75vw, 1.125rem);
  --space-md: clamp(1rem, 0.8rem + 1vw, 1.5rem);
  --space-lg: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
  --space-xl: clamp(2rem, 1.6rem + 2vw, 3rem);
  --space-2xl: clamp(3rem, 2.4rem + 3vw, 4.5rem);
  --space-3xl: clamp(4rem, 3.2rem + 4vw, 6rem);

  /* Max Container Widths */
  --max-width: 1240px;
  --max-width-narrow: 840px;
  --header-height: 84px;
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--background);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  overflow-x: clip; /* Never overflow-x: hidden on body, prevents breaking position:sticky */
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a:hover {
  color: var(--accent);
}

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

/* Accessible Visible Focus Ring (WCAG 2.4.7 AA Compliance) */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.25rem, 1.8rem + 2.2vw, 3.75rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.35rem, 1.15rem + 1vw, 1.85rem);
  font-weight: 600;
}

h4 {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.35rem);
  font-weight: 600;
}

p {
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3rem);
  line-height: 1.6;
  color: var(--muted);
}

.text-muted {
  color: var(--muted);
}

.text-center {
  text-align: center;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 1rem + 1.2vw, 2.5rem);
}

.container-narrow {
  width: 100%;
  max-width: var(--max-width-narrow);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 1rem + 1.2vw, 2.5rem);
}

/* Section Wrapper */
.section {
  padding-block: var(--space-2xl);
}

.section-dark {
  background-color: var(--dark);
  color: var(--darkText);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--darkText);
}

.section-dark .text-muted {
  color: rgba(255, 255, 255, 0.72);
}

.section-surface {
  background-color: var(--surface);
}

/* Section Header */
.section-header {
  margin-bottom: var(--space-xl);
}

.section-header.text-center {
  max-width: 760px;
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-dark .eyebrow {
  color: #d8993e;
}

/* ==========================================================================
   Header & Sticky Navigation (Direct child of body)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(250, 249, 246, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  background-color: rgba(255, 255, 255, 0.98);
}

/* Top Utility Bar */
.top-bar {
  background-color: var(--dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  padding-block: 0.375rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-bar-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: color 0.2s ease;
}

.top-bar-links a:hover {
  color: #e5a443;
}

/* Header Main Nav */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1.5rem;
}

/* Logo sits at the start and is the Home link */
.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  padding: 0.25rem 0;
}

.brand-logo {
  height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

/* Nav Menu */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.25rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.875rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover {
  color: var(--primary);
  background-color: var(--primary-light);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
  background-color: var(--primary-light);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0.875rem;
  right: 0.875rem;
  height: 2px;
  background-color: var(--accent);
  border-radius: 2px;
}

/* Header Quick Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-shrink: 0;
}

.header-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.header-phone-link:hover {
  background-color: var(--primary-light);
  color: var(--accent);
}

.header-portal-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 0.625rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.header-portal-link:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Hamburger Button */
.mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: var(--text);
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.mobile-nav-toggle:hover {
  background-color: var(--primary-light);
  border-color: var(--primary);
}

.hamburger-box {
  width: 24px;
  height: 18px;
  position: relative;
  display: inline-block;
}

.hamburger-line {
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.hamburger-line:nth-child(1) { top: 0; }
.hamburger-line:nth-child(2) { top: 8px; }
.hamburger-line:nth-child(3) { top: 16px; }

.mobile-nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  top: 8px;
  transform: rotate(45deg);
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  top: 8px;
  transform: rotate(-45deg);
}

/* ==========================================================================
   Buttons & Interactive CTAs
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.75rem 1.5rem;
  min-height: 48px; /* Ergonomic touch target >= 48px */
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primaryText);
  border-color: var(--primary);
  box-shadow: 0 2px 6px rgba(37, 83, 100, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--primaryText);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 83, 100, 0.3);
}

.btn-secondary {
  background-color: var(--surface);
  color: var(--primary);
  border-color: var(--primary-border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(196, 130, 39, 0.35);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--darkText);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-dark:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--darkText);
  color: var(--darkText);
}

.btn-sm {
  padding: 0.5rem 1rem;
  min-height: 40px;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.btn-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Hero Section (Split Layout from Brief)
   ========================================================================== */
.hero-split {
  padding-block: clamp(2.5rem, 2rem + 2.5vw, 4.5rem);
  background: linear-gradient(180deg, var(--background) 0%, rgba(37, 83, 100, 0.04) 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: clamp(2rem, 1.5rem + 2.5vw, 4rem);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-headline {
  font-size: clamp(2.25rem, 1.8rem + 2vw, 3.5rem);
  line-height: 1.15;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-subheadline {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3rem);
  color: var(--muted);
  line-height: 1.6;
  max-width: 620px;
}

.hero-proof-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  width: fit-content;
}

.hero-proof-stars {
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.125rem;
  font-size: 0.9375rem;
}

.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  background-color: var(--surface);
}

.hero-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-media-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 35, 43, 0.88) 100%);
  color: #ffffff;
  padding: 1.5rem 1.25rem 1rem;
  font-size: 0.875rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.hero-media-caption strong {
  font-weight: 600;
  display: block;
}

.hero-media-caption span {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   Section 1: Accreditations & Recognised Fiduciary Excellence
   ========================================================================== */
.accreditations-strip {
  background-color: var(--surface);
  border-bottom: 1px solid var(--border-subtle);
  padding-block: var(--space-lg);
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: center;
  gap: 1.5rem;
}

.award-item {
  display: flex;
  align-items: center;
  gap: 1.125rem;
  padding: 1rem 1.25rem;
  background-color: var(--background);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.award-item:hover {
  transform: translateY(-2px);
  border-color: var(--primary-border);
}

.award-badge-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
}

.award-content h4 {
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.award-content p {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
}

/* ==========================================================================
   Section 2: Who We Advise: Referral-Only Wealth Management
   ========================================================================== */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.sector-card {
  background-color: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.sector-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-border);
}

.sector-icon-pill {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.sector-card h3 {
  font-size: 1.35rem;
  color: var(--text);
}

.sector-card p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.sector-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.sector-checklist li {
  font-size: 0.875rem;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.45;
}

.sector-checklist li svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Notice Box */
.notice-box {
  background-color: var(--primary-light);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 2rem;
}

.notice-box svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.notice-box p {
  font-size: 0.9375rem;
  color: var(--text);
  margin: 0;
  line-height: 1.55;
}

/* ==========================================================================
   Section 3: Comprehensive Advisory Disciplines & Solutions
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background-color: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-border);
}

.service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.service-card-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  background-color: var(--primary-light);
  color: var(--primary);
}

.service-card h3 {
  font-size: 1.25rem;
  color: var(--text);
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.6;
}

.service-deliverables {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.service-deliverables li {
  font-size: 0.8125rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-deliverables li::before {
  content: "•";
  color: var(--accent);
  font-size: 1.2rem;
  line-height: 1;
}

/* Feature Spotlight Card (Dashboard & Portal) */
.portal-spotlight {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  background-color: var(--dark);
  color: var(--darkText);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 1.25rem + 1.5vw, 3rem);
  margin-top: 3rem;
  box-shadow: var(--shadow-lg);
}

.portal-spotlight h3 {
  color: #ffffff;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
  margin-bottom: 0.75rem;
}

.portal-spotlight p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.portal-img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-md);
  background-color: var(--surface);
}

.portal-img-wrap img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* ==========================================================================
   Section 4: The 11-Step Advisory Journey (Variant C Signature Section)
   ========================================================================== */
.process-section {
  background-color: var(--background);
  position: relative;
}

.journey-navigation {
  display: flex;
  overflow-x: auto;
  gap: 0.5rem;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  scrollbar-width: thin;
}

.journey-step-btn {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  background-color: var(--surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.journey-step-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.journey-step-btn.active {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(37, 83, 100, 0.25);
}

.timeline-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.timeline-step-card {
  background-color: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: grid;
  grid-template-columns: 80px 1fr 280px;
  gap: 1.5rem;
  align-items: start;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.timeline-step-card:hover {
  border-color: var(--primary-border);
  box-shadow: var(--shadow-md);
}

.timeline-step-card.highlight {
  border-left: 4px solid var(--accent);
  background: linear-gradient(90deg, rgba(196, 130, 39, 0.03) 0%, #ffffff 100%);
}

.step-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
}

.step-marker small {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.step-content h3 {
  font-size: 1.35rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.step-meta-box {
  background-color: var(--background);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.8125rem;
}

.meta-row {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.meta-label {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-size: 0.6875rem;
}

.meta-val {
  color: var(--text);
  font-weight: 500;
}

/* ==========================================================================
   Section 5: Doing Things the Old-Fashioned Way
   ========================================================================== */
.difference-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 1.5rem + 2.5vw, 4rem);
}

.difference-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background-color: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.pillar-item svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.pillar-item h4 {
  font-size: 1.0625rem;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.pillar-item p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.difference-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
}

.difference-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ==========================================================================
   Section 6: Our People: Leadership & Senior Advisers
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.adviser-card {
  background-color: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.adviser-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-border);
}

.adviser-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--background);
  position: relative;
}

.adviser-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.adviser-card:hover .adviser-img {
  transform: scale(1.04);
}

.adviser-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1;
}

.adviser-name {
  font-size: 1.125rem;
  color: var(--text);
  margin-bottom: 0.125rem;
}

.adviser-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.adviser-credentials {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
}

.adviser-bio {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

/* ==========================================================================
   Section 7: Client Testimonials & Endorsements
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background-color: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  position: relative;
}

.quote-icon {
  color: var(--accent-light);
  width: 36px;
  height: 36px;
  margin-bottom: 0.5rem;
}

.testimonial-text {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  font-style: italic;
  margin: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

.author-meta strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--text);
}

.author-meta span {
  font-size: 0.8125rem;
  color: var(--muted);
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background-color: var(--primary-light);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Section 8: Social Responsibility & Cultural Patronage
   ========================================================================== */
.charity-banner {
  background: linear-gradient(135deg, var(--dark) 0%, #163642 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  box-shadow: var(--shadow-lg);
}

.charity-banner h3 {
  color: #ffffff;
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.35rem);
  margin-bottom: 1rem;
}

.charity-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 780px;
}

.charity-logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.charity-logo-item {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 84px;
  box-shadow: var(--shadow-sm);
}

.charity-logo-item img {
  max-height: 52px;
  max-width: 140px;
  object-fit: contain;
}

/* ==========================================================================
   Section 9: Frequently Asked Questions (FAQ / AEO Structure)
   ========================================================================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 860px;
  margin-inline: auto;
}

.faq-item {
  background-color: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: var(--primary-border);
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
  gap: 1rem;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  border-top: 1px solid rgba(16, 32, 39, 0.06);
  padding-top: 0.875rem;
}

/* ==========================================================================
   Section 10: Shell Mex House Contact & Location
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  align-items: start;
}

.contact-info-card {
  background-color: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-channel-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.contact-channel-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-channel-meta strong {
  display: block;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 2px;
}

.contact-channel-meta a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.contact-channel-meta a:hover {
  color: var(--accent);
}

.transport-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.transport-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  background-color: var(--background);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

/* Map Embed */
.map-embed-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  height: 240px;
  margin-top: 0.5rem;
}

.map-embed-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Contact Form */
.enquiry-form-card {
  background-color: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.375rem;
}

.form-label small {
  color: var(--muted);
  font-weight: 400;
  margin-left: 0.25rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  background-color: #ffffff;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px var(--primary-light);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

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

.form-help {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.form-success-banner {
  display: none;
  background-color: var(--primary-light);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
  align-items: center;
  gap: 0.75rem;
}

.form-success-banner.is-visible {
  display: flex;
}

/* ==========================================================================
   Comprehensive Multi-Column Footer
   ========================================================================== */
.site-footer {
  background-color: var(--dark);
  color: var(--darkText);
  padding-top: var(--space-2xl);
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand-logo {
  height: 40px;
  width: auto;
  max-width: 200px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-brand-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(2px);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-contact-list a {
  color: #ffffff;
  text-decoration: none;
}

.footer-contact-list a:hover {
  color: var(--accent);
}

/* Statutory Disclosures & Compliance Strip */
.footer-disclosures {
  padding-block: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}

.risk-warning-box {
  background-color: rgba(0, 0, 0, 0.25);
  border-left: 3px solid var(--accent);
  padding: 0.875rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 1rem;
}

.risk-warning-box strong {
  color: #ffffff;
}

.footer-bottom {
  padding-block: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links {
  display: flex;
  gap: 1.25rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* ==========================================================================
   Back-to-Top Button
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: var(--primary);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background-color 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--accent);
}

/* ==========================================================================
   Motion & Scroll Reveal
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Visible without JavaScript */
.no-js .reveal-on-scroll {
  opacity: 1 !important;
  transform: none !important;
}

/* ==========================================================================
   Page Hero (For Inner Pages: About, Services, Process, Contact)
   ========================================================================== */
.inner-hero {
  background: linear-gradient(180deg, var(--dark) 0%, #15323e 100%);
  color: var(--darkText);
  padding-block: clamp(3rem, 2.5rem + 2.5vw, 5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.inner-hero h1 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.inner-hero .lead {
  color: rgba(255, 255, 255, 0.85);
  max-width: 760px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .sectors-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .timeline-step-card {
    grid-template-columns: 64px 1fr;
    gap: 1.25rem;
  }

  .timeline-step-card .step-meta-box {
    grid-column: 1 / -1;
  }

  .difference-split {
    grid-template-columns: 1fr;
  }

  .portal-spotlight {
    grid-template-columns: 1fr;
  }

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none; /* Streamline mobile viewport */
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--surface);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    gap: 1.5rem;
    overflow-y: auto;
    border-top: 1px solid var(--border-subtle);
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    box-shadow: var(--shadow-lg);
  }

  .main-nav.is-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    width: 100%;
  }

  .nav-link {
    font-size: 1.125rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
  }

  .nav-link.active::after {
    display: none;
  }

  .header-actions {
    display: none; /* Rendered inside drawer on mobile */
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .mobile-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .back-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
  }
}

@media (min-width: 769px) {
  .mobile-drawer-actions {
    display: none !important;
  }
}
