/* ============================================
   ALLEGRO ACOUSTICS - Brand Stylesheet v2
   ============================================ */

:root {
  --red: #ED1C24;
  --red-dark: #C41920;
  --red-light: #F04E54;
  --charcoal: #1C1C1E;
  --dark: #2D2D2F;
  --grey-800: #3A3A3C;
  --grey-700: #48484A;
  --grey-600: #636366;
  --grey-500: #8E8E93;
  --grey-400: #A7A9AC;
  --grey-300: #C7C7CC;
  --grey-200: #E5E5EA;
  --grey-100: #F2F2F7;
  --white: #FFFFFF;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --section-py: 6rem;
  --container-max: 1200px;
  --container-px: 1.5rem;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--dark);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-px); }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--charcoal); }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p { font-size: 1.0625rem; color: var(--grey-600); line-height: 1.7; }

.section-label {
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--red); margin-bottom: 0.75rem;
}
.section-title { margin-bottom: 1rem; }
.section-subtitle { font-size: 1.125rem; color: var(--grey-600); max-width: 640px; }
.section-header { margin-bottom: 3.5rem; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body); font-size: 0.9375rem; font-weight: 600;
  padding: 0.875rem 1.75rem; border-radius: 6px; border: none;
  cursor: pointer; transition: all var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(196, 25, 32, 0.28); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid rgba(255, 255, 255, 0.4); }
.btn-secondary:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.1); }
.btn-outline { background: transparent; color: var(--charcoal); border: 2px solid var(--grey-200); }
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.btn-white { background: var(--white); color: var(--red); font-weight: 700; }
.btn-white:hover { background: var(--grey-100); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15); }

.card-link {
  font-size: 0.875rem; font-weight: 600; color: var(--red);
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.card-link .arrow { transition: transform var(--transition); display: inline-block; }
.sector-card:hover .card-link .arrow,
.guide-card:hover .card-link .arrow { transform: translateX(4px); }

/* --- Photo Placeholders --- */
.hero-image-placeholder,
.sector-card-image span,
.guide-card-image > span:first-child,
.featured-project-image span {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey-400);
}

/* --- Header / Navigation --- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: all var(--transition);
}
.header.scrolled { border-bottom-color: var(--grey-200); box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo img { height: 36px; width: auto; }
.logo-text { font-size: 1.375rem; font-weight: 800; color: var(--red); letter-spacing: -0.02em; }
.logo-text span { color: var(--grey-400); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav-link { font-size: 0.9375rem; font-weight: 500; color: var(--grey-600); padding: 0.5rem 1rem; border-radius: 6px; transition: all var(--transition); }
.nav-link:hover { color: var(--charcoal); background: var(--grey-100); }
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { display: flex; align-items: center; gap: 0.35rem; }
.nav-dropdown-trigger svg { width: 12px; height: 12px; transition: transform var(--transition); }
.nav-dropdown:hover .nav-dropdown-trigger svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px); min-width: 240px;
  background: var(--white); border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12); border: 1px solid var(--grey-200);
  padding: 0.5rem; opacity: 0; visibility: hidden; transition: all var(--transition);
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown-item {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem;
  border-radius: 8px; font-size: 0.9375rem; color: var(--grey-600); transition: all var(--transition);
}
.nav-dropdown-item:hover { background: var(--grey-100); color: var(--charcoal); }
.nav-dropdown-item .icon {
  width: 32px; height: 32px; border-radius: 6px; background: var(--grey-100);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--grey-600); transition: all var(--transition);
}
.nav-dropdown-item:hover .icon { background: rgba(227, 27, 35, 0.08); color: var(--red); }
.header-cta { margin-left: 1rem; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--charcoal); margin: 5px 0; transition: all var(--transition); }
.mobile-menu { display: none; }

/* --- Hero --- */
.hero {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  background: var(--charcoal); overflow: hidden; padding-top: 72px; min-height: 100vh;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-image-placeholder {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border: 3px dashed rgba(255,255,255,0.1);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(28,28,30,0.92) 0%, rgba(28,28,30,0.8) 40%, rgba(28,28,30,0.65) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 720px; padding: 4rem var(--container-px) 2rem; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem; align-self: flex-start;
  background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.82);
  font-size: 0.8125rem; font-weight: 600; padding: 0.5rem 1rem;
  border-radius: 100px; margin-bottom: 1.5rem; border: 1px solid rgba(255, 255, 255, 0.16);
}
.hero-badge .dot { width: 6px; height: 6px; background: var(--red); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.8); } }
.hero h1 { color: var(--white); margin-bottom: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
/* Headlines read as one continuous sentence. Colour is not used to emphasise
   individual words mid-line; the markup is kept so this is easy to revisit. */
.hero h1 .highlight { color: inherit; }
.hero-description { font-size: 1.1875rem; color: rgba(255, 255, 255, 0.65); line-height: 1.7; margin-bottom: 2rem; max-width: 560px; }
.hero-ctas { display: flex; gap: 1rem; margin-bottom: 3rem; flex-wrap: wrap; }

/* Sector Selector */
.sector-selector {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px; padding: 1.5rem;
}
.sector-selector-label {
  font-size: 0.8125rem; font-weight: 600; color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem;
}
.sector-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sector-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.1rem; border-radius: 100px; font-size: 0.875rem; font-weight: 500;
  color: rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1); cursor: pointer; transition: all var(--transition);
}
.sector-pill:hover { background: rgba(227, 27, 35, 0.15); border-color: rgba(227, 27, 35, 0.4); color: var(--white); }
.sector-pill svg { opacity: 0.6; }
.sector-pill:hover svg { opacity: 1; }

/* Stats bar */
.hero-stats { position: relative; z-index: 2; border-top: 1px solid rgba(255, 255, 255, 0.08); background: rgba(0, 0, 0, 0.25); backdrop-filter: blur(8px); }
.hero-stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-stat { padding: 1.5rem 2rem; text-align: center; border-right: 1px solid rgba(255, 255, 255, 0.08); }
.hero-stat:last-child { border-right: none; }
.hero-stat-value { font-size: 1.75rem; font-weight: 800; color: var(--white); letter-spacing: -0.02em; }
.hero-stat-value .accent { color: var(--red); }
.hero-stat-label { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.45); margin-top: 0.25rem; }

/* --- Sector Cards --- */
.sectors { padding: var(--section-py) 0; background: var(--white); }
.sectors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.sector-card {
  position: relative; background: var(--white); border: 1px solid var(--grey-200);
  border-radius: 12px; overflow: hidden; transition: all var(--transition-slow);
  display: flex; flex-direction: column;
}
.sector-card:hover { border-color: rgba(227, 27, 35, 0.3); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08); transform: translateY(-4px); }
.sector-card-image {
  height: 180px; background: var(--grey-100); display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; border: 2px dashed var(--grey-200); margin: 0.5rem 0.5rem 0;
  border-radius: 8px;
}
.sector-card-image img { width: 100%; height: 100%; object-fit: cover; }
.sector-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.sector-card-icon {
  width: 44px; height: 44px; border-radius: 10px; background: rgba(227, 27, 35, 0.06);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; color: var(--red);
}
.sector-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.sector-card p { font-size: 0.9375rem; color: var(--grey-600); margin-bottom: 1.25rem; line-height: 1.6; flex: 1; }

/* --- Service Ladder --- */
.services { padding: var(--section-py) 0; background: var(--grey-100); }
.service-ladder { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.service-ladder::before {
  content: ''; position: absolute; top: 48px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(to right, var(--grey-200) 0%, var(--grey-200) 30%, var(--red) 45%, var(--red-dark) 100%);
  z-index: 0;
}
.ladder-step { text-align: center; position: relative; z-index: 1; padding: 0 0.75rem; }
.ladder-step-number {
  width: 40px; height: 40px; border-radius: 50%; background: var(--white);
  border: 2px solid var(--grey-200); display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; font-weight: 700; color: var(--grey-400); margin: 0 auto 1.25rem;
  transition: all var(--transition);
}
.ladder-step.active .ladder-step-number {
  background: var(--red); border-color: var(--red); color: var(--white);
  box-shadow: 0 4px 14px rgba(227, 27, 35, 0.35);
}
.ladder-step h4 { font-size: 0.9375rem; margin-bottom: 0.5rem; color: var(--charcoal); }
.ladder-step p { font-size: 0.8125rem; color: var(--grey-600); line-height: 1.5; }
.ladder-callout {
  margin-top: 3rem; text-align: center; padding: 1.5rem 2rem;
  background: var(--white); border-radius: 12px; border-left: 4px solid var(--red);
}
.ladder-callout p { font-size: 1.0625rem; color: var(--charcoal); font-weight: 500; }
.ladder-callout strong { color: var(--red); }

/* --- Featured Project --- */
.featured-project { padding: var(--section-py) 0; background: var(--white); }
.featured-project-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.featured-project-image {
  height: 420px; background: var(--grey-100); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  border: 2px dashed var(--grey-200); overflow: hidden;
}
.featured-project-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.featured-project-content h2 { margin-bottom: 1rem; }
.featured-project-content p { margin-bottom: 1.5rem; }
.featured-project-stats {
  margin-bottom: 2rem; display: flex; flex-direction: column; gap: 0.75rem;
}
.featured-project-stats li {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.9375rem; font-weight: 500; color: var(--charcoal);
}
.featured-project-stats svg { flex-shrink: 0; }

/* --- Differentiators --- */
.differentiators { padding: var(--section-py) 0; background: var(--grey-100); }
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.diff-card {
  padding: 2rem; border-radius: 12px; background: var(--white);
  border: 1px solid var(--grey-200); transition: all var(--transition-slow);
}
.diff-card:hover { border-color: rgba(227, 27, 35, 0.2); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06); transform: translateY(-3px); }
.diff-icon {
  width: 48px; height: 48px; border-radius: 10px; background: rgba(227, 27, 35, 0.06);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; color: var(--red);
}
.diff-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.diff-card p { font-size: 0.9375rem; line-height: 1.6; }

/* --- Clients --- */
.clients { padding: 4rem 0; background: var(--white); border-top: 1px solid var(--grey-200); border-bottom: 1px solid var(--grey-200); }
.clients-label { text-align: center; font-size: 0.8125rem; font-weight: 600; color: var(--grey-400); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 2rem; }
.clients-logos { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 3rem; }
.client-logo { font-size: 1.125rem; font-weight: 700; color: var(--grey-400); opacity: 0.5; transition: opacity var(--transition); white-space: nowrap; }
.client-logo:hover { opacity: 0.8; }

/* --- Testimonials --- */
.testimonials { padding: var(--section-py) 0; background: var(--charcoal); }
.testimonials .section-label { color: var(--red-light); }
.testimonials .section-title { color: var(--white); }
.testimonials .section-subtitle { color: rgba(255, 255, 255, 0.5); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card {
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px; padding: 2rem; transition: all var(--transition-slow);
  display: flex; flex-direction: column;
}
.testimonial-card:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.15); transform: translateY(-2px); }
.testimonial-quote { margin-bottom: 1rem; }
.testimonial-text { font-size: 0.9375rem; color: rgba(255, 255, 255, 0.7); line-height: 1.7; margin-bottom: 1.5rem; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(227, 27, 35, 0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8125rem; font-weight: 700; color: var(--red-light);
}
.testimonial-name { font-size: 0.9375rem; font-weight: 600; color: var(--white); }
.testimonial-role { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.4); }

/* --- Guides --- */
.guides { padding: var(--section-py) 0; background: var(--white); }
.guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.guide-card { border: 1px solid var(--grey-200); border-radius: 12px; overflow: hidden; transition: all var(--transition-slow); display: flex; flex-direction: column; }
.guide-card:hover { border-color: rgba(227, 27, 35, 0.3); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06); transform: translateY(-4px); }
.guide-card-image {
  height: 180px; background: var(--grey-100); display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; border-bottom: 1px solid var(--grey-200);
}
.guide-card-image img { width: 100%; height: 100%; object-fit: cover; }
.guide-tag {
  position: absolute; top: 0.75rem; left: 0.75rem; font-size: 0.6875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--red);
  background: var(--white); padding: 0.3rem 0.6rem; border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.guide-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.guide-card-body h3 { font-size: 1.0625rem; margin-bottom: 0.5rem; line-height: 1.3; }
.guide-card-body p { font-size: 0.875rem; color: var(--grey-600); margin-bottom: 1rem; line-height: 1.6; flex: 1; }

/* --- CTA Banner --- */
.cta-banner { padding: 4.5rem 0; background: linear-gradient(135deg, var(--red-dark) 0%, #A8141A 55%, #8E1116 100%); position: relative; overflow: hidden; }
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
}
.cta-banner::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 160px rgba(28,28,30,0.35);
  background: radial-gradient(120% 140% at 50% 0%, rgba(255,255,255,0.06), transparent 55%);
}
.cta-content { position: relative; text-align: center; max-width: 600px; margin: 0 auto; }
.cta-content h2 { color: var(--white); margin-bottom: 1rem; }
.cta-content p { color: rgba(255, 255, 255, 0.8); font-size: 1.125rem; margin-bottom: 2rem; }

/* --- Footer --- */
.footer { background: var(--charcoal); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.footer-brand p { color: rgba(255, 255, 255, 0.5); font-size: 0.9375rem; margin-top: 1rem; max-width: 300px; line-height: 1.7; }
.footer-brand .logo-text { font-size: 1.25rem; }
.footer-logo { height: 32px; width: auto; filter: brightness(0) invert(1); }
.footer h4 { color: var(--white); font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.25rem; }
.footer-links a { display: block; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.5); padding: 0.3rem 0; transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.5); margin-bottom: 0.75rem; }
.footer-contact-item svg { flex-shrink: 0; margin-top: 3px; stroke: rgba(255,255,255,0.4); }
.footer-contact-item a { color: rgba(255, 255, 255, 0.5); }
.footer-contact-item a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 0; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.3); }
.footer-bottom a { color: rgba(255, 255, 255, 0.3); }
.footer-bottom a:hover { color: rgba(255, 255, 255, 0.6); }
.sonnite-badge { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.4); margin-top: 1.5rem; }

/* ============================================
   INNER PAGE STYLES
   ============================================ */

/* --- Hero background photo --- */
.hero-bg .hero-image, .page-hero-bg .hero-image, .page-hero > .hero-image {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.service-detail-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }

/* --- Guide feature image --- */
.guide-feature { padding: 2.5rem 0 0; }
.guide-feature-image {
  display: block; width: 100%; max-height: 420px; object-fit: cover;
  border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,0.10);
}

/* --- Page Hero (reusable for all inner pages) --- */
.page-hero {
  background: var(--charcoal); padding: calc(72px + 4rem) 0 4rem; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(28,28,30,0.95), rgba(28,28,30,0.85));
  z-index: 1;
}
.page-hero .hero-image-placeholder {
  position: absolute; inset: 0; z-index: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1a1a2e, #16213e); border: none;
}
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg .hero-image-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1a1a2e, #16213e); border: none; }
.page-hero-bg .hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(135deg, rgba(28,28,30,0.92), rgba(28,28,30,0.8) 40%, rgba(28,28,30,0.65)); }
.page-hero .container, .page-hero-content { position: relative; z-index: 2; }
.page-hero .section-label { color: var(--red-light); }
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1.125rem; max-width: 640px; }
.page-hero .breadcrumb { font-size: 0.8125rem; color: rgba(255,255,255,0.4); margin-bottom: 1rem; }
.page-hero .breadcrumb a { color: rgba(255,255,255,0.5); }
.page-hero .breadcrumb a:hover { color: var(--white); }
.page-hero .hero-ctas, .page-hero .hero-actions { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.page-hero .btn-outline { color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.3); }
.page-hero .btn-outline:hover { color: var(--white); border-color: var(--white); background: rgba(255,255,255,0.1); }

/* --- Stats Bar (sector pages) --- */
.stats-bar { padding: 2.5rem 0; background: var(--white); border-bottom: 1px solid var(--grey-200); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.stat-item { padding: 1rem; }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--charcoal); letter-spacing: -0.02em; margin-bottom: 0.25rem; }
.stat-number .accent { color: var(--red); }
.stat-label { font-size: 0.875rem; color: var(--grey-600); }

/* --- Pain Points Grid (sector pages) --- */
.pain-points { padding: var(--section-py) 0; background: var(--white); }
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.pain-card {
  padding: 1.75rem; border-radius: 12px; border: 1px solid var(--grey-200);
  transition: all var(--transition);
}
.pain-card:hover { border-color: rgba(237,28,36,0.2); box-shadow: 0 8px 24px rgba(0,0,0,0.04); }
.pain-card h4 { margin-bottom: 0.5rem; font-size: 1rem; }
.pain-card p { font-size: 0.9375rem; }
.pain-card .pain-icon {
  width: 40px; height: 40px; border-radius: 8px; background: rgba(237,28,36,0.06);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; color: var(--red);
}

/* --- Sector Services List --- */
.sector-services { padding: var(--section-py) 0; background: var(--grey-100); }
.sector-services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.sector-service-card {
  background: var(--white); border: 1px solid var(--grey-200); border-radius: 12px;
  padding: 2rem; transition: all var(--transition);
}
.sector-service-card:hover { border-color: rgba(237,28,36,0.2); box-shadow: 0 8px 24px rgba(0,0,0,0.04); }
.sector-service-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.sector-service-card p { font-size: 0.9375rem; }

.service-sectors { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-top: 1rem; }
.service-sector-label { font-size: 0.8125rem; font-weight: 600; color: var(--grey-400); }
.service-sector-tag { font-size: 0.8125rem; padding: 0.25rem 0.75rem; background: var(--grey-100); border-radius: 100px; color: var(--grey-600); text-decoration: none; transition: all var(--transition); }
.service-sector-tag:hover { background: rgba(237,28,36,0.1); color: var(--red); }

/* --- Sector Case Studies --- */
.sector-projects { padding: var(--section-py) 0; background: var(--white); }

/* --- Services Page --- */
.service-detail { padding: var(--section-py) 0; }
.service-detail:nth-child(even) { background: var(--grey-100); }
.service-detail-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.service-detail-inner.reverse { direction: rtl; }
.service-detail-inner.reverse > * { direction: ltr; }
.service-detail-image {
  height: 320px; background: var(--grey-100); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  border: 2px dashed var(--grey-200); overflow: hidden;
}
.service-detail-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.service-detail h2 { margin-bottom: 1rem; }
.service-detail p { margin-bottom: 1rem; }
.service-detail ul { margin-bottom: 1.5rem; }
.service-detail ul li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.9375rem; color: var(--grey-600); padding: 0.4rem 0;
}
.service-detail ul li svg { flex-shrink: 0; margin-top: 2px; }
ul.service-deliverables { list-style: none; padding: 0 0 0 0.25rem; margin: 1rem 0 1.25rem; }
ul.service-deliverables li { display: block; font-size: 0.9375rem; color: var(--grey-600); padding: 0.4rem 0 0.4rem 1.5rem; position: relative; line-height: 1.5; }
ul.service-deliverables li::before { content: ''; position: absolute; left: 0; top: 0.75rem; width: 7px; height: 7px; background: var(--red); border-radius: 50%; }

/* --- Projects Grid --- */
.projects-section { padding: var(--section-py) 0; background: var(--white); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.project-card {
  border: 1px solid var(--grey-200); border-radius: 12px; overflow: hidden;
  transition: all var(--transition-slow);
}
.project-card:hover { border-color: rgba(237,28,36,0.3); box-shadow: 0 12px 32px rgba(0,0,0,0.06); transform: translateY(-3px); }
.project-card-image {
  height: 200px; background: var(--grey-100); display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--grey-200); overflow: hidden;
}
.project-card-image img { width: 100%; height: 100%; object-fit: cover; }
.project-card-image span { font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--grey-400); }
.project-card-body { padding: 1.5rem; }
.project-card-body .project-tag {
  display: inline-block; font-size: 0.6875rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--red); background: rgba(237,28,36,0.06);
  padding: 0.25rem 0.5rem; border-radius: 4px; margin-bottom: 0.75rem;
}
.project-card-body h3 { font-size: 1.0625rem; margin-bottom: 0.5rem; }
.project-card-body p { font-size: 0.875rem; color: var(--grey-600); }

/* --- About / Team --- */
.about-intro, .timeline-section, .values-section, .team-section, .sonnite-section { padding: 4rem 0; }
.timeline-section { background: var(--grey-100); }
.about-text p { font-size: 1.0625rem; color: var(--grey-600); line-height: 1.7; margin-bottom: 1rem; }
.about-mission { font-size: 1.125rem; font-weight: 600; color: var(--charcoal); font-style: italic; border-left: 3px solid var(--red); padding-left: 1.25rem; margin-top: 1.5rem; }
.sonnite-content { max-width: 640px; }
.sonnite-content h2 { margin-bottom: 1rem; }
.sonnite-content p { font-size: 1.0625rem; color: var(--grey-600); line-height: 1.7; margin-bottom: 1.5rem; }
.about-section { padding: var(--section-py) 0; }
.about-section:nth-child(even) { background: var(--grey-100); }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-image {
  height: 380px; border-radius: 12px;
  background: linear-gradient(160deg, var(--grey-100) 0%, var(--grey-200) 100%);
  display: flex; align-items: flex-end; justify-content: center; overflow: hidden;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: 12px; }
.about-image span { font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--grey-400); }

/* Timeline */
.timeline { position: relative; padding-left: 2rem; margin: 2rem 0; }
.timeline::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--red), var(--grey-200));
}
.timeline-item { position: relative; padding-bottom: 2rem; padding-left: 1.5rem; }
.timeline-item::before {
  content: ''; position: absolute; left: -2rem; top: 4px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--white); border: 2px solid var(--red);
  margin-left: -5px;
}
.timeline-item h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.timeline-item .timeline-year { font-size: 0.8125rem; font-weight: 700; color: var(--red); margin-bottom: 0.25rem; }
.timeline-item p { font-size: 0.9375rem; color: var(--grey-600); }

/* Team Grid */
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
.team-card { text-align: center; display: block; text-decoration: none; color: inherit; transition: transform 0.25s ease; }
a.team-card:hover { transform: translateY(-4px); }
.team-card-image {
  width: 100%; aspect-ratio: 1; border-radius: 12px;
  background: linear-gradient(160deg, var(--grey-100) 0%, var(--grey-200) 100%);
  display: flex; align-items: flex-end; justify-content: center; margin-bottom: 1rem;
  overflow: hidden;
}
.team-card-image img { width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: 12px; transition: transform 0.4s ease; }
a.team-card:hover .team-card-image img { transform: scale(1.04); }
.team-card-image span { font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--grey-400); }
.team-card h4 { font-size: 0.9375rem; margin-bottom: 0.15rem; }
.team-card p { font-size: 0.8125rem; color: var(--grey-600); }
.team-card .team-role { color: var(--grey-700); font-weight: 600; margin-bottom: 0.1rem; }
.team-card .team-quals { font-size: 0.75rem; color: var(--grey-500); letter-spacing: 0.01em; }

/* Team member landing page */
.team-aside { text-align: left; }
.team-photo { width: 100%; border-radius: 12px; background: linear-gradient(160deg, var(--grey-100) 0%, var(--grey-200) 100%); margin-bottom: 1.25rem; display: block; }
.team-years { font-size: 0.9375rem; color: var(--grey-700); margin-bottom: 1.25rem; }
.team-years span { display: block; font-size: 2rem; font-weight: 800; color: var(--red); line-height: 1.1; }
.team-aside .btn { display: block; text-align: center; width: 100%; }
.team-video { margin: 1.75rem 0; }
.team-video video { width: 100%; border-radius: 12px; display: block; background: #000; }
.team-projects li { margin-bottom: 0.6rem; }

/* Values */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.value-card {
  padding: 2rem; border-radius: 12px; background: var(--white);
  border: 1px solid var(--grey-200); text-align: center;
}
.value-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; color: var(--red); }
.value-card p { font-size: 0.9375rem; }

/* --- Contact Page --- */
.contact-section { padding: var(--section-py) 0; background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group label { font-size: 0.875rem; font-weight: 600; color: var(--charcoal); }
.form-group input, .form-group select, .form-group textarea {
  padding: 0.75rem 1rem; border: 1px solid var(--grey-200); border-radius: 8px;
  font-family: var(--font-body); font-size: 0.9375rem; color: var(--charcoal);
  transition: border-color var(--transition); background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(237,28,36,0.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.contact-info-cards { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-card {
  padding: 1.5rem; border-radius: 12px; background: var(--grey-100);
  display: flex; align-items: flex-start; gap: 1rem;
}
.contact-info-card .contact-info-icon {
  width: 44px; height: 44px; border-radius: 10px; background: rgba(237,28,36,0.06);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--red);
}
.contact-info-card h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.contact-info-card p { font-size: 0.9375rem; color: var(--grey-600); }
.contact-info-card a { color: var(--red); font-weight: 500; }

.calendly-placeholder {
  background: var(--grey-100); border: 2px dashed var(--grey-200); border-radius: 12px;
  padding: 3rem; text-align: center; margin-top: 1.5rem;
}
.calendly-placeholder-inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.calendly-placeholder-inner svg { color: var(--grey-300); }
.calendly-placeholder p { font-size: 0.9375rem; color: var(--grey-400); }

/* --- Guides Hub --- */
.guides-hub { padding: var(--section-py) 0; background: var(--white); }
.guides-hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* --- Generic section --- */
.section { padding: var(--section-py) 0; background: var(--white); }

/* --- Guide Article (prose styling) --- */
.guide-article { max-width: 780px; margin: 0 auto; }
.guide-article h2 { font-size: 1.75rem; font-weight: 700; color: var(--charcoal); margin: 2.5rem 0 1rem; line-height: 1.3; }
.guide-article h2:first-child { margin-top: 0; }
.guide-article h3 { font-size: 1.25rem; font-weight: 600; color: var(--charcoal); margin: 2rem 0 0.75rem; line-height: 1.4; }
.guide-article p { font-size: 1.0625rem; line-height: 1.8; color: var(--grey-600); margin-bottom: 1.25rem; }
.guide-article ul, .guide-article ol { margin: 1rem 0 1.5rem 1.25rem; padding: 0; }
.guide-article ul { list-style: none; margin-left: 0; }
.guide-article ul li { font-size: 1rem; line-height: 1.7; color: var(--grey-600); padding: 0.4rem 0 0.4rem 1.5rem; position: relative; }
.guide-article ul li::before { content: ''; position: absolute; left: 0; top: 0.85rem; width: 7px; height: 7px; background: var(--red); border-radius: 50%; }
.guide-article ol li { font-size: 1rem; line-height: 1.7; color: var(--grey-600); padding: 0.3rem 0; }
.guide-article strong { color: var(--charcoal); font-weight: 600; }
.guide-article table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.9375rem; }
.guide-article th, .guide-article td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--grey-200); }
.guide-article th { font-weight: 600; color: var(--charcoal); background: var(--grey-100); }
.guide-article td { color: var(--grey-600); }

/* --- Inner page responsive --- */
@media (max-width: 1024px) {
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .sector-services-grid { grid-template-columns: 1fr; }
  .service-detail-inner { grid-template-columns: 1fr; }
  .service-detail-inner.reverse { direction: ltr; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .about-content { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .guides-hub-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .page-hero { padding: calc(72px + 2.5rem) 0 2.5rem; }
  .pain-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .guides-hub-grid { grid-template-columns: 1fr; }
  .service-detail-image { height: 240px; }
  .about-image { height: 260px; }
}

/* --- Animations --- */

/* Hero animations fire on load (always above fold) */
.hero-content { opacity: 0; transform: translateY(24px); animation: fadeUp 0.8s ease-out 0.2s both; }
.hero-stats { opacity: 0; animation: fadeIn 0.6s ease-out 0.6s both; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-32px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(32px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

/* Scroll-reveal: elements start hidden, revealed by IntersectionObserver */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.reveal.from-left { transform: translateX(-32px); }
.reveal.from-right { transform: translateX(32px); }
.reveal.from-scale { transform: scale(0.92); }
.reveal.revealed { opacity: 1; transform: translateY(0) translateX(0) scale(1); }

/* Staggered children delays */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.12s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.18s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.24s; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 0.3s; }

/* Section headers reveal */
.section-header.reveal { transform: translateY(16px); }

/* Client logos slide in */
.clients-logos .client-logo { opacity: 0; transform: translateY(12px); transition: opacity 0.4s ease-out, transform 0.4s ease-out; }
.clients-logos.revealed .client-logo { opacity: 1; transform: translateY(0); }
.clients-logos.revealed .client-logo:nth-child(1) { transition-delay: 0s; }
.clients-logos.revealed .client-logo:nth-child(2) { transition-delay: 0.05s; }
.clients-logos.revealed .client-logo:nth-child(3) { transition-delay: 0.1s; }
.clients-logos.revealed .client-logo:nth-child(4) { transition-delay: 0.15s; }
.clients-logos.revealed .client-logo:nth-child(5) { transition-delay: 0.2s; }
.clients-logos.revealed .client-logo:nth-child(6) { transition-delay: 0.25s; }
.clients-logos.revealed .client-logo:nth-child(7) { transition-delay: 0.3s; }
.clients-logos.revealed .client-logo:nth-child(8) { transition-delay: 0.35s; }
.clients-logos.revealed .client-logo:nth-child(9) { transition-delay: 0.4s; }

/* CTA banner reveal */
.cta-banner .cta-content { opacity: 0; transform: translateY(20px) scale(0.97); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.cta-banner.revealed .cta-content { opacity: 1; transform: translateY(0) scale(1); }

/* Featured project reveal */
.featured-project-image.reveal.revealed { transform: translateX(0); }
.featured-project-content.reveal.revealed { transform: translateX(0); }

/* Card hover enhancements */
.sector-card { transition: transform 0.25s ease-out, box-shadow 0.25s ease-out; }
.sector-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); }
.diff-card { transition: transform 0.25s ease-out, box-shadow 0.25s ease-out; }
.diff-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.guide-card { transition: transform 0.25s ease-out, box-shadow 0.25s ease-out; }
.guide-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); }
.ladder-step { transition: transform 0.25s ease-out, box-shadow 0.25s ease-out; }
.ladder-step:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.08); }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: opacity 0.3s ease-out; transform: none !important; }
  .reveal.from-left, .reveal.from-right, .reveal.from-scale { transform: none !important; }
  .hero-content { animation-duration: 0.01ms; transform: none; }
  .hero-stats { animation-duration: 0.01ms; }
  .clients-logos .client-logo { transition: opacity 0.3s ease-out; transform: none !important; }
  .cta-banner .cta-content { transition: opacity 0.3s ease-out; transform: none !important; }
  .sector-card:hover, .diff-card:hover, .guide-card:hover, .ladder-step:hover { transform: none; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .service-ladder { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .service-ladder::before { display: none; }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-project-inner { grid-template-columns: 1fr; }
  .featured-project-image { height: 320px; }
}

@media (max-width: 768px) {
  :root { --section-py: 4rem; }
  .nav, .header-cta { display: none; }
  .mobile-toggle { display: block; }
  .mobile-menu {
    display: block; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    background: var(--white); padding: 1.5rem; z-index: 999;
    transform: translateX(100%); transition: transform var(--transition);
    overflow-y: auto;
  }
  .mobile-menu.open { transform: translateX(0); }
  .mobile-menu a { display: block; padding: 1rem 0; font-size: 1.125rem; font-weight: 500; color: var(--charcoal); border-bottom: 1px solid var(--grey-200); }
  .mobile-menu .btn-primary { display: block; text-align: center; margin-top: 1.5rem; border-bottom: none; color: var(--white); }
  .hero-content { padding: 2rem 0 10rem; }
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .hero-stat { padding: 1rem; }
  .hero-stat:nth-child(2) { border-right: none; }
  .hero-stat:nth-child(3), .hero-stat:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .sectors-grid { grid-template-columns: 1fr; }
  .service-ladder { grid-template-columns: 1fr; gap: 1.5rem; }
  .ladder-step { display: grid; grid-template-columns: 40px 1fr; gap: 1rem; text-align: left; align-items: start; }
  .ladder-step-number { margin: 0; }
  .diff-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .guides-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .clients-logos { gap: 2rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { text-align: center; justify-content: center; }
  .featured-project-image { height: 260px; }
}

@media (max-width: 480px) {
  .sector-pills { flex-direction: column; }
  .sector-pill { justify-content: center; }
}

/* ============================================
   PREMIUM MOTION LAYER
   ============================================ */

/* Hero entrance (CSS-only, no flash, reduced-motion safe) */
@media (prefers-reduced-motion: no-preference) {
  .hero-content > *,
  .page-hero-content > * { animation: heroRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both; }
  .hero-content > *:nth-child(1), .page-hero-content > *:nth-child(1) { animation-delay: 0.05s; }
  .hero-content > *:nth-child(2), .page-hero-content > *:nth-child(2) { animation-delay: 0.14s; }
  .hero-content > *:nth-child(3), .page-hero-content > *:nth-child(3) { animation-delay: 0.23s; }
  .hero-content > *:nth-child(4), .page-hero-content > *:nth-child(4) { animation-delay: 0.32s; }
  .hero-content > *:nth-child(5), .page-hero-content > *:nth-child(5) { animation-delay: 0.41s; }
}
@keyframes heroRise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
.hero-bg .hero-image, .page-hero-bg .hero-image { will-change: transform; }

/* Service ladder — connecting line draws in when in view (JS adds .in-view) */
html.js-motion .service-ladder::before {
  transform: scaleX(0); transform-origin: left center;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}
html.js-motion .service-ladder.in-view::before { transform: scaleX(1); }

/* Premium image zoom on card hover */
.sector-card-image img, .guide-card-image img, .project-card-image img,
.featured-project-image img {
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.sector-card:hover .sector-card-image img,
.guide-card:hover .guide-card-image img,
.project-card:hover .project-card-image img { transform: scale(1.06); }

/* Richer card elevation on hover */
.sector-card, .guide-card, .project-card { transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.3s ease; }

/* Magnetic buttons sit on their own compositing layer */
.btn-primary, .btn-white, .header-cta { will-change: transform; }

/* Client logo marquee */
.clients-marquee {
  position: relative; overflow: hidden; margin-top: 0.5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.clients-track {
  display: flex; align-items: center; gap: 3.5rem; width: max-content;
  animation: marquee 40s linear infinite;
}
.clients-marquee:hover .clients-track { animation-play-state: paused; }
.clients-track .client-logo { white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .clients-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .clients-marquee { -webkit-mask-image: none; mask-image: none; }
}

/* --- Watch our film --- */
.film { padding: var(--section-py) 0; background: var(--charcoal); }
.film .section-label { color: var(--red-light); }
.film .section-title { color: var(--white); }
.film .section-subtitle { color: rgba(255,255,255,0.6); }
.film-frame {
  position: relative; max-width: 960px; margin: 2.5rem auto 0;
  aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45); background: #000;
}
.film-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.film-play {
  position: absolute; inset: 0; margin: auto; width: 88px; height: 88px;
  display: flex; align-items: center; justify-content: center;
  background: var(--red); border: none; border-radius: 50%; cursor: pointer;
  box-shadow: 0 10px 30px rgba(237,28,36,0.45); transition: transform var(--transition), background var(--transition);
}
.film-play svg { margin-left: 4px; }
.film-play:hover { background: var(--red-dark); transform: scale(1.08); }
.film-frame.is-playing .film-play { opacity: 0; pointer-events: none; }
.film-frame::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 120% at 50% 50%, transparent 55%, rgba(0,0,0,0.35));
  transition: opacity var(--transition);
}
.film-frame.is-playing::after { opacity: 0; }

/* --- Service page: other services --- */
.service-other { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--grey-200); }
.service-other h4 { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--grey-400); margin-bottom: 1rem; }
.service-other-link {
  display: inline-flex; align-items: center; gap: 0.4rem; margin: 0 1.5rem 0.75rem 0;
  font-size: 0.9375rem; font-weight: 600; color: var(--charcoal);
}
.service-other-link .arrow { color: var(--red); transition: transform var(--transition); }
.service-other-link:hover { color: var(--red); }
.service-other-link:hover .arrow { transform: translateX(4px); }

/* ============================================
   ASK ALLEGRO ACOUSTICS WIDGET + FORMS
   ============================================ */
.hp-field, .ask-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Success panels */
.form-success { text-align: center; padding: 2rem 1rem; }
.form-success h3 { margin: 0.75rem 0 0.5rem; }
.form-success p { color: var(--grey-600); }

/* Floating widget */
.ask-widget { position: fixed; right: 24px; bottom: 24px; z-index: 1300; }
.ask-fab {
  display: inline-flex; align-items: center; gap: 0.6rem; cursor: pointer;
  background: var(--red-dark); color: var(--white); border: none;
  padding: 0.55rem 1rem 0.55rem 0.55rem; border-radius: 100px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.18), 0 2px 6px rgba(0,0,0,0.12);
  transition: transform var(--transition), background var(--transition);
}
.ask-fab:hover { background: #a8161c; transform: translateY(-2px); }
.ask-fab-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--white); padding: 4px; box-sizing: border-box; display: block; }
.ask-fab-label { font-size: 0.9375rem; font-weight: 600; white-space: nowrap; }
.ask-widget.open .ask-fab { display: none; }

.ask-panel {
  position: absolute; right: 0; bottom: 0; width: 360px; max-width: calc(100vw - 32px);
  background: var(--white); border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.28); border: 1px solid var(--grey-200);
  transform-origin: bottom right; animation: askPop 0.28s cubic-bezier(0.22,1,0.36,1);
}
@keyframes askPop { from { opacity: 0; transform: translateY(12px) scale(0.96); } to { opacity: 1; transform: none; } }
.ask-panel-header { display: flex; align-items: center; gap: 0.75rem; background: var(--charcoal); color: var(--white); padding: 1rem 1.1rem; }
.ask-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--white); padding: 5px; box-sizing: border-box; flex-shrink: 0; }
.ask-title { font-weight: 700; font-size: 1rem; }
.ask-sub { font-size: 0.75rem; color: rgba(255,255,255,0.6); }
.ask-close { margin-left: auto; background: none; border: none; color: rgba(255,255,255,0.7); font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0 0.25rem; }
.ask-close:hover { color: var(--white); }
.ask-panel-body { padding: 1.1rem; max-height: 70vh; overflow-y: auto; }
.ask-intro { font-size: 0.9375rem; color: var(--grey-600); margin-bottom: 0.85rem; line-height: 1.5; }
.ask-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.ask-chip { font-size: 0.8125rem; font-weight: 500; color: var(--charcoal); background: var(--grey-100); border: 1px solid var(--grey-200); border-radius: 100px; padding: 0.35rem 0.7rem; cursor: pointer; transition: all var(--transition); }
.ask-chip:hover { border-color: var(--red); color: var(--red); }
.ask-form { display: flex; flex-direction: column; gap: 0.7rem; }
.ask-field { display: flex; flex-direction: column; gap: 0.25rem; }
.ask-field span { font-size: 0.8125rem; font-weight: 600; color: var(--charcoal); }
.ask-field input, .ask-field textarea { font-family: inherit; font-size: 0.9375rem; padding: 0.6rem 0.7rem; border: 1px solid var(--grey-200); border-radius: 8px; background: var(--white); color: var(--charcoal); resize: vertical; }
.ask-field input:focus, .ask-field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(237,28,36,0.08); }
.ask-submit { justify-content: center; margin-top: 0.25rem; }
.ask-success { text-align: center; padding: 1.5rem 0.5rem; }
.ask-success h3 { margin: 0.6rem 0 0.4rem; font-size: 1.125rem; }
.ask-success p { color: var(--grey-600); font-size: 0.9375rem; }
.ask-form-error { color: var(--red-dark); font-size: 0.8125rem; margin-top: 0.5rem; }

@media (max-width: 480px) {
  .ask-widget { right: 16px; bottom: 16px; }
  .ask-fab-label { display: none; }
  .ask-fab { padding: 0.5rem; }
  .ask-panel { width: calc(100vw - 32px); }
}
@media print { .ask-widget { display: none; } }

/* --- Consent + privacy (enquiry forms) --- */
.consent-field { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.8125rem; color: var(--grey-600); line-height: 1.45; cursor: pointer; margin-top: 0.25rem; }
.consent-field input[type="checkbox"] { margin-top: 0.15rem; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--red); cursor: pointer; }
.privacy-note { font-size: 0.75rem; color: var(--grey-400); line-height: 1.45; margin-top: 0.1rem; }
.privacy-note a { color: var(--red); font-weight: 500; }
.privacy-note a:hover { text-decoration: underline; }

/* --- Ask Allegro chat assistant --- */
.ask-panel { display: flex; flex-direction: column; height: min(560px, 74vh); }
.ask-panel[hidden] { display: none; }
.ask-chat { flex: 1; overflow-y: auto; padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.55rem; background: var(--grey-100); }
.ask-msg { max-width: 86%; padding: 0.6rem 0.8rem; border-radius: 14px; font-size: 0.9rem; line-height: 1.45; animation: askMsg 0.25s ease-out; }
@keyframes askMsg { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ask-bot { align-self: flex-start; background: var(--white); border: 1px solid var(--grey-200); color: var(--charcoal); border-bottom-left-radius: 4px; }
.ask-user { align-self: flex-end; background: var(--red); color: var(--white); border-bottom-right-radius: 4px; }
.ask-msg a { color: var(--red); font-weight: 600; }
.ask-user a { color: #fff; text-decoration: underline; }
.ask-action { display: inline-block; margin-top: 0.5rem; background: var(--charcoal); color: #fff; border: none; border-radius: 100px; padding: 0.4rem 0.85rem; font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: background var(--transition); }
.ask-action:hover { background: var(--red); }
.ask-typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 0.7rem 0.85rem; background: var(--white); border: 1px solid var(--grey-200); border-radius: 14px; border-bottom-left-radius: 4px; }
.ask-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--grey-400); animation: askDot 1.2s infinite ease-in-out; }
.ask-typing span:nth-child(2) { animation-delay: 0.2s; } .ask-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes askDot { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.ask-suggestions { flex-shrink: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.6rem 1.1rem; border-top: 1px solid var(--grey-200); background: var(--white); }
.ask-suggestions:empty { display: none; }
.ask-input-row { flex-shrink: 0; display: flex; gap: 0.5rem; padding: 0.7rem 1.1rem 0.85rem; border-top: 1px solid var(--grey-200); background: var(--white); }
.ask-input-row input { flex: 1; min-width: 0; border: 1px solid var(--grey-200); border-radius: 100px; padding: 0.55rem 0.9rem; font-family: inherit; font-size: 0.9rem; color: var(--charcoal); }
.ask-input-row input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(237,28,36,0.08); }
.ask-send { flex-shrink: 0; width: 42px; height: 42px; border: none; border-radius: 50%; background: var(--red); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.ask-send:hover { background: var(--red-dark); }
.ask-enquiry { flex: 1; overflow-y: auto; padding: 1.1rem; background: var(--white); }

/* Clickable service number labels */
a.service-label-link { display: inline-block; text-decoration: none; transition: color var(--transition); }
a.service-label-link:hover { color: var(--red-dark); text-decoration: underline; }

/* Wider single-quote testimonial on sector pages */
.testimonials-single .testimonial-card { font-size: 1.05rem; padding: 2.5rem 2.75rem; }
.testimonials-single .testimonial-text { font-size: 1.15rem; line-height: 1.7; }

/* ============================================
   PROJECTS: search / filter / detail
   ============================================ */
.projects-controls { margin-bottom: 2rem; }
.proj-search { width: 100%; max-width: 520px; display: block; margin: 0 auto 1.25rem; padding: 0.8rem 1.1rem; font-family: inherit; font-size: 1rem; border: 1px solid var(--grey-200); border-radius: 100px; color: var(--charcoal); }
.proj-search:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(237,28,36,0.08); }
.proj-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.proj-filter { font-size: 0.85rem; font-weight: 600; color: var(--grey-600); background: var(--white); border: 1px solid var(--grey-200); border-radius: 100px; padding: 0.45rem 0.95rem; cursor: pointer; transition: all var(--transition); }
.proj-filter:hover { border-color: var(--red); color: var(--red); }
.proj-filter.active { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }
a.project-card { text-decoration: none; color: inherit; }
.project-tag { display: inline-block; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--red); margin-bottom: 0.5rem; }
.project-loc { font-size: 0.85rem; color: var(--grey-600); margin-top: 0.35rem; }
.proj-empty { text-align: center; color: var(--grey-600); padding: 2rem 0; }

/* Project detail page */
.project-detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; }
.project-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-top: 2rem; }
.project-gallery img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }
.project-facts { position: sticky; top: 96px; background: var(--grey-100); border-radius: 12px; padding: 1.5rem; }
.project-facts h3 { font-size: 1rem; margin-bottom: 1rem; }
.project-facts dl { margin: 0 0 1.25rem; }
.pf-row { padding: 0.6rem 0; border-bottom: 1px solid var(--grey-200); }
.pf-row:last-child { border-bottom: none; }
.pf-row dt { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--grey-400); font-weight: 600; margin-bottom: 0.2rem; }
.pf-row dd { margin: 0; font-size: 0.9rem; color: var(--charcoal); line-height: 1.4; }
.project-facts .btn { width: 100%; justify-content: center; }
@media (max-width: 820px) { .project-detail-grid { grid-template-columns: 1fr; } .project-facts { position: static; } }

/* ============================================
   PREMIUM POLISH v3 — agency-grade refinements
   ============================================ */

/* Typography: tighter display tracking, refined hierarchy */
h1 { letter-spacing: -0.028em; }
h2 { letter-spacing: -0.02em; }
h3 { letter-spacing: -0.01em; }

/* Editorial section label: small red rule before the text */
.section-label { display: inline-flex; align-items: center; gap: 0.6rem; }
.section-label::before { content: ''; width: 22px; height: 2px; background: var(--red); flex-shrink: 0; }
.footer .section-label::before, .service-label-link.section-label::before { width: 16px; }

/* Text selection + keyboard focus */
::selection { background: var(--red); color: var(--white); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

/* Nav links: sliding underline */
.nav-link { position: relative; }
.nav-link::after {
  content: ''; position: absolute; left: 1rem; right: 1rem; bottom: 0.2rem; height: 2px;
  background: var(--red); border-radius: 2px; transform: scaleX(0); transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-link:hover::after { transform: scaleX(1); }
.nav-dropdown-trigger::after { display: none; }

/* Inner page heroes: slow-drifting red ambient glow */
.page-hero::after {
  content: ''; position: absolute; z-index: 1; pointer-events: none;
  width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  right: -20vw; top: -30vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 28, 36, 0.13), transparent 62%);
  animation: heroGlow 14s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.8; }
  to   { transform: translate3d(-8vw, 6vw, 0) scale(1.15); opacity: 1; }
}

/* Breadcrumb: refined */
.page-hero .breadcrumb { letter-spacing: 0.02em; }
.page-hero .breadcrumb a { transition: color var(--transition); }

/* Cards: unified premium easing + deeper elevation */
.pain-card, .sector-service-card, .value-card, .contact-info-card {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.3s ease;
}
.pain-card:hover, .sector-service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07); }
.value-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06); border-color: rgba(237, 28, 36, 0.2); }

/* Team cards: photo panel gains warmth on hover */
a.team-card .team-card-image { transition: box-shadow 0.45s ease; }
a.team-card:hover .team-card-image { box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12); }

/* Project gallery: rounded, zoom on hover */
.project-gallery img { transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1); }
.project-gallery a:hover img, .project-gallery img:hover { transform: scale(1.04); }

/* Prose links: animated underline */
.guide-article a:not(.btn), .project-body a:not(.btn) {
  color: var(--red); font-weight: 500;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.guide-article a:not(.btn):hover, .project-body a:not(.btn):hover { background-size: 100% 1px; }

/* Footer links: nudge on hover */
.footer-links a { transition: color var(--transition), transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.footer-links a:hover { transform: translateX(4px); }

/* Forms: lift on focus */
.form-group input:hover, .form-group select:hover, .form-group textarea:hover { border-color: var(--grey-400); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { transform: translateY(-1px); }

/* Stagger delays extended for larger grids */
.reveal-stagger > .reveal:nth-child(7)  { transition-delay: 0.34s; }
.reveal-stagger > .reveal:nth-child(8)  { transition-delay: 0.38s; }
.reveal-stagger > .reveal:nth-child(9)  { transition-delay: 0.42s; }
.reveal-stagger > .reveal:nth-child(10) { transition-delay: 0.46s; }
.reveal-stagger > .reveal:nth-child(11) { transition-delay: 0.5s; }
.reveal-stagger > .reveal:nth-child(n+12) { transition-delay: 0.54s; }

/* Guide reading progress bar */
.read-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 1400;
  background: var(--red); transform: scaleX(0); transform-origin: left center; pointer-events: none;
}

/* Timeline dots pulse into view */
.timeline-item.reveal .timeline-year { transition: color 0.4s ease 0.2s; }

/* Facts sidebar polish (project + team pages) */
.project-facts { transition: box-shadow 0.4s ease; }
.project-facts:hover { box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06); }

/* Respect reduced motion for everything above */
@media (prefers-reduced-motion: reduce) {
  .page-hero::after { animation: none; }
  .nav-link::after { transition: none; }
  .pain-card:hover, .sector-service-card:hover, .value-card:hover, a.team-card:hover { transform: none; }
  .project-gallery a:hover img, .project-gallery img:hover { transform: none; }
  .footer-links a:hover { transform: none; }
  .read-progress { display: none; }
}

/* Clickable facts + hero label on project pages */
.pf-link { color: inherit; border-bottom: 1px solid var(--grey-300); transition: color var(--transition), border-color var(--transition); }
.pf-link:hover { color: var(--red); border-color: var(--red); }
a.section-label-link { text-decoration: none; }
a.section-label-link:hover { color: var(--red-light); }

/* ============================================
   SIGNATURE LAYER — the brand made visible
   ============================================ */

/* Hero waveform: noise resolving into a controlled signal */
.hero-wave {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  width: 100%; height: 42%; pointer-events: none;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 88%, transparent);
  opacity: 0; animation: waveIn 1.6s ease-out 0.5s forwards;
}
@keyframes waveIn { to { opacity: 1; } }

/* Pointer spotlight on cards */
.has-spot { position: relative; }
.has-spot::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  border-radius: inherit; opacity: 0; transition: opacity 0.4s ease;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(237, 28, 36, 0.07), transparent 62%);
}
.has-spot:hover::before { opacity: 1; }
.has-spot > * { position: relative; z-index: 1; }

/* Page scroll progress hairline */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 1500;
  background: linear-gradient(90deg, var(--red), var(--red-light));
  transform: scaleX(0); transform-origin: left center; pointer-events: none;
}

/* Refined scrollbar */
@supports (scrollbar-color: red white) {
  html { scrollbar-color: var(--grey-300) transparent; scrollbar-width: thin; }
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--grey-300); border-radius: 10px; border: 3px solid var(--white); }
::-webkit-scrollbar-thumb:hover { background: var(--grey-400); }

/* Answer-first summary block (AEO: the quotable paragraph) */
.answer-box {
  border-left: 3px solid var(--red); background: var(--grey-100);
  padding: 1.25rem 1.5rem; border-radius: 0 12px 12px 0; margin: 0 0 2rem;
}
.answer-box p { margin: 0; font-size: 1.0625rem; line-height: 1.7; color: var(--charcoal); }
.answer-box .answer-label {
  display: block; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--red); margin-bottom: 0.5rem;
}

/* Related content rail */
.related { padding: 4rem 0; background: var(--grey-100); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.related-card {
  display: block; background: var(--white); border: 1px solid var(--grey-200);
  border-radius: 12px; padding: 1.5rem; color: inherit;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.3s ease;
}
.related-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.07); border-color: rgba(237,28,36,0.25); }
.related-card .rc-tag { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--red); }
.related-card h3 { font-size: 1.0625rem; margin: 0.5rem 0 0.35rem; }
.related-card p { font-size: 0.875rem; color: var(--grey-600); margin: 0; }
@media (max-width: 900px) { .related-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .hero-wave { animation: none; opacity: 1; }
  .has-spot::before { display: none; }
  .scroll-progress { display: none; }
}
