/* ============================================================
   mouat.co — Stylesheet
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* --- Font Faces --- */
@font-face {
  font-family: 'Mark OT';
  src: url('../fonts/mark-ot-light.woff2') format('woff2'),
       url('../fonts/mark-ot-light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Mark OT';
  src: url('../fonts/mark-ot-bold.woff2') format('woff2'),
       url('../fonts/mark-ot-bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- Design Tokens --- */
:root {
  --font-family: 'Mark OT', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mouat-text: #1a1a2e;
  --mouat-muted: #6b7280;
  --mouat-blue: #2563eb;
  --mouat-dark: #374151;
  --mouat-darker: #1f2937;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --amber-500: #f59e0b;
  --red-500: #ef4444;
  --pink-500: #ec4899;
  --purple-500: #8b5cf6;
  --cyan-500: #06b6d4;
  --container-max: 1100px;
  --px-mobile: 1.5rem;
  --px-desktop: 3rem;
}

/* --- Base Typography --- */
body {
  font-family: var(--font-family);
  font-weight: 300;
  color: var(--mouat-text);
  background: var(--white);
}
::selection { background: var(--mouat-blue); color: var(--white); }

h1, h2, h3, h4, h5, h6 { color: var(--mouat-text); font-weight: 700; line-height: 1.2; }

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--mouat-darker);
  color: var(--white);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* --- Layout --- */
.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--px-mobile);
  padding-right: var(--px-mobile);
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.site-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--mouat-text);
  letter-spacing: 0.1em;
}
.site-logo a { color: inherit; }

/* Desktop Nav */
.site-nav { display: none; align-items: center; gap: 2rem; }
.site-nav a {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mouat-muted);
  transition: color 0.2s;
}
.site-nav a:hover,
.site-nav a:focus-visible { color: var(--mouat-text); }
.site-nav a[aria-current="page"] { color: var(--mouat-text); }

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mouat-muted);
  transition: color 0.2s;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible { color: var(--mouat-text); }
.nav-dropdown-toggle[aria-current="page"] { color: var(--mouat-text); }
.nav-dropdown-toggle svg {
  width: 0.75rem;
  height: 0.75rem;
  transition: transform 0.2s;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 0.75rem;
  min-width: 12rem;
  z-index: 100;
}
.nav-dropdown-menu-inner {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  padding: 0.5rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: var(--mouat-muted);
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown-menu a:hover {
  background: var(--gray-50);
  color: var(--mouat-text);
}
.nav-dropdown-menu a[aria-current="page"] {
  color: var(--mouat-text);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}
.nav-dropdown:hover .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--mouat-text);
}
.nav-toggle svg { width: 1.5rem; height: 1.5rem; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile Nav Panel */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  top: 66px;
  z-index: 40;
  background: var(--white);
  padding: 2rem var(--px-mobile);
  flex-direction: column;
  gap: 1.5rem;
}
.mobile-nav.is-open { display: flex; }
body.nav-open { overflow: hidden; }
.mobile-nav a {
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mouat-text);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-100);
}

/* --- Hero --- */
.hero { padding-top: 4rem; padding-bottom: 2rem; }
.hero-title {
  font-size: 1.75rem;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  max-width: 56rem;
}
.hero-body {
  max-width: 56rem;
}
.hero-body p {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--mouat-text);
  margin-bottom: 1.5rem;
}
.hero-text {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--mouat-text);
  max-width: 56rem;
  margin-bottom: 1.5rem;
}

/* --- Section Divider --- */
.section-divider {
  border: none;
  border-top: 1px dashed var(--gray-300);
  margin: 4rem 0;
}

/* --- Section Label --- */
.section-label {
  font-size: 1rem;
  font-weight: 300;
  color: var(--mouat-muted);
  margin-bottom: 2.5rem;
}

/* --- Project Cards Grid --- */
.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.project-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.project-card-visual {
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  border-radius: 1rem;
  transition: transform 0.5s, box-shadow 0.5s;
}
.project-card:hover .project-card-visual {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
/* Dark overlay on hover */
.project-card-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.5s;
  border-radius: 1rem;
  pointer-events: none;
}
.project-card:hover .project-card-visual::after {
  background: rgba(0,0,0,0.1);
}
.project-card-visual--gradient-dark {
  background: linear-gradient(135deg, #111827, #374151);
}
.project-card-visual--gradient-blue {
  background: linear-gradient(135deg, var(--mouat-blue), #1e40af);
}
.project-card-body {
  padding-top: 1.25rem;
  padding-bottom: 0.5rem;
}
.project-card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.project-card-arrow {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--mouat-muted);
  flex-shrink: 0;
  transition: transform 0.3s, color 0.3s;
}
.project-card:hover .project-card-arrow {
  transform: translate(2px, -2px);
  color: var(--mouat-text);
}
.project-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.project-card-meta {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mouat-muted);
  margin-bottom: 1rem;
}
.project-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0;
}
.project-card-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--mouat-text);
  margin-bottom: 1rem;
}
.project-card-skills {
  border-left: 3px solid var(--mouat-blue);
  padding-left: 0.75rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  margin-top: 1rem;
}
.project-card-skills p {
  font-size: 0.9375rem;
  color: var(--mouat-muted);
}

/* --- Investigation Cards Grid --- */
.investigation-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.investigation-card {
  position: relative;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
}
.investigation-card:hover {
  background: var(--white);
  border-color: var(--gray-200);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}
.investigation-card-accent {
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 3px;
  border-radius: 0 0 9999px 9999px;
  opacity: 0.6;
  transition: opacity 0.3s;
}
.investigation-card:hover .investigation-card-accent {
  opacity: 1;
}
.investigation-card-accent--blue { background: var(--mouat-blue); }
.investigation-card-accent--emerald { background: var(--emerald-500); }
.investigation-card-accent--amber { background: var(--amber-500); }

.investigation-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.investigation-card-number {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mouat-muted);
  margin-bottom: 1rem;
}
.investigation-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  transition: color 0.2s;
}
.investigation-card:hover .investigation-card-title {
  color: #000;
}
.investigation-card-desc {
  font-size: 0.875rem;
  color: var(--mouat-text);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}
.investigation-card-quote {
  border-left: 2px solid var(--gray-200);
  padding-left: 0.75rem;
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
  margin-bottom: 1.5rem;
  margin-top: auto;
  margin-left: 0;
  margin-right: 0;
}
.investigation-card-quote p {
  font-size: 0.875rem;
  font-style: italic;
  color: var(--mouat-text);
  line-height: 1.6;
}
.investigations-intro,
.investigations-outro {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--mouat-text);
  max-width: 48rem;
}
.investigations-intro {
  margin-bottom: 2rem;
}
.investigations-outro {
  margin-top: 2rem;
}
.contact-email {
  margin-top: 0.5rem;
}
.contact-email a {
  font-size: 1.125rem;
  color: var(--mouat-blue);
  font-weight: 700;
  transition: color 0.2s;
}
.contact-email a:hover {
  color: #1d4ed8;
}
.investigation-card-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(243, 244, 246, 0.5);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--mouat-muted);
  transition: color 0.3s;
  margin-top: auto;
}
.investigation-card:hover .investigation-card-cta {
  color: var(--mouat-blue);
}
.investigation-card-cta svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s;
}
.investigation-card:hover .investigation-card-cta svg {
  transform: translate(2px, -2px);
}

/* --- Experience Section --- */
.experience-section { max-width: 48rem; }
.experience-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.experience-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--mouat-text);
  margin-bottom: 1.5rem;
}
.experience-skills {
  border-left: 3px solid var(--mouat-blue);
  padding-left: 1rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  margin-bottom: 2rem;
}
.experience-skills p {
  font-size: 0.875rem;
  color: var(--mouat-muted);
}

/* --- About Page --- */
.about-hero { padding-top: 4rem; padding-bottom: 2rem; }
.about-title {
  font-size: 1.875rem;
  line-height: 1.3;
  margin-bottom: 2.5rem;
}
.about-body {
  max-width: 48rem;
}
.about-body p {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--mouat-text);
  margin-bottom: 1.5rem;
}
.about-grid-3 {
  max-width: 48rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.about-grid-2 {
  max-width: 48rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.about-grid-heading {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--mouat-text);
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: 3px solid #e5e7eb;
}
.about-grid-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.about-grid-list li {
  font-size: 1rem;
  color: var(--mouat-text);
}
.about-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.about-links-list li a {
  font-size: 1rem;
  color: var(--mouat-blue);
  font-weight: 700;
  transition: color 0.2s;
}
.about-links-list li a:hover {
  color: #1d4ed8;
}

/* --- Privacy Policy --- */
.policy-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--mouat-text);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.policy-list {
  margin-bottom: 1.5rem;
  padding-left: 1.25rem;
}
.policy-list li {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--mouat-text);
  margin-bottom: 0.375rem;
  list-style-type: disc;
}
.policy-list li::marker {
  color: #000000;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.875rem;
  transition: background 0.2s, color 0.2s;
}
.btn--dark {
  background: var(--mouat-darker);
  color: var(--white);
}
.btn--dark:hover { background: var(--mouat-dark); }
.btn svg { width: 1rem; height: 1rem; }

/* --- Contact Section --- */
.contact-section { max-width: 48rem; }
.contact-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.contact-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--mouat-text);
  margin-bottom: 1.5rem;
}
.contact-links { display: flex; flex-direction: column; gap: 0.75rem; }
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--mouat-blue);
  font-weight: 700;
  transition: color 0.2s;
}
.contact-link:hover { color: #1d4ed8; }
.contact-link svg { width: 1rem; height: 1rem; }

/* --- Footer --- */
.site-footer {
  border-top: 1px solid var(--gray-100);
  padding: 2rem 0;
  margin-top: 4rem;
}
.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}
.footer-text {
  font-size: 0.75rem;
  color: var(--mouat-muted);
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  font-size: 0.75rem;
  color: var(--mouat-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--mouat-text); }

/* ============================================================
   Investigation Page Styles
   ============================================================ */

/* --- Investigation Hero --- */
.inv-hero { padding-top: 4rem; margin-bottom: 4rem; }
.inv-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--mouat-muted);
  margin-bottom: 2rem;
  font-weight: 700;
  transition: color 0.2s;
}
.inv-back:hover { color: var(--mouat-text); }
.inv-back svg { width: 1rem; height: 1rem; transition: transform 0.2s; }
.inv-back:hover svg { transform: translateX(-3px); }

.inv-number {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mouat-muted);
  margin-bottom: 1rem;
}
.inv-title {
  font-size: 1.875rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.inv-subtitle {
  font-size: 1.125rem;
  color: var(--mouat-text);
  line-height: 1.6;
  max-width: 42rem;
  margin-bottom: 1rem;
}
.inv-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--mouat-muted);
}
.inv-meta-role {
  font-weight: 700;
  color: var(--mouat-text);
}
.inv-meta-divider {
  color: var(--gray-300);
}
.inv-meta-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--gray-100);
  color: var(--gray-800);
}
/* --- Investigation Bottom Nav --- */
.inv-bottom-nav {
  margin-top: 6rem;
  padding-top: 3rem;
  border-top: 1px solid var(--gray-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.inv-bottom-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--mouat-blue);
  transition: color 0.2s;
}
.inv-bottom-link:hover { color: rgba(37, 99, 235, 0.8); }
.inv-bottom-link svg { width: 1.25rem; height: 1.25rem; }
.inv-bottom-link--next { margin-left: auto; }

.inv-insight {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--gray-50);
  border-radius: 0.75rem;
  border-left: 3px solid var(--mouat-blue);
}
.inv-insight-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mouat-muted);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.inv-insight-text {
  font-size: 1rem;
  color: var(--mouat-text);
  font-weight: 700;
  line-height: 1.5;
  font-style: italic;
}

/* --- Investigation Content --- */
.inv-content { padding-bottom: 4rem; }
.inv-sections { display: flex; flex-direction: column; gap: 4rem; }
.inv-section { max-width: 48rem; }
.inv-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid #e5e7eb;
}
.inv-section > p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--mouat-text);
  margin-bottom: 1rem;
}
.inv-section > ul {
  margin-bottom: 1rem;
}
.inv-section > ul > li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--mouat-text);
  margin-bottom: 0.75rem;
}
.inv-section > ul > li::before {
  content: '\25CF';
  flex-shrink: 0;
  font-size: 0.75rem;
  color: #000000;
  margin-top: 0.375rem;
  line-height: 1;
}
.inv-subsections { display: flex; flex-direction: column; gap: 2.5rem; margin-top: 2rem; }
.inv-subsection-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* Decision Cards */
.decision-card {
  background: rgba(239, 246, 255, 0.5);
  border: 1px solid #dbeafe;
  border-radius: 0.75rem;
  padding: 1.5rem;
}
.decision-cards { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 1rem; }

/* ============================================================
   Diagram Components (shared patterns)
   ============================================================ */

/* --- Dark Pipeline (horizontal on desktop, vertical on mobile) --- */
.pipeline-dark {
  width: 100%;
  background: var(--gray-900);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  padding: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.inv-hero .pipeline-dark {
  margin-bottom: 0;
}
.pipeline-dark-header { margin-bottom: 2rem; }
.pipeline-dark-title {
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.pipeline-dark-desc,
.pipeline-dark .pipeline-dark-desc {
  color: #d1d5db;
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 36rem;
}

/* Pipeline Steps (vertical mobile, horizontal desktop) */
.pipeline-steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pipeline-step {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.pipeline-step-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.pipeline-step-icon svg { width: 1.25rem; height: 1.25rem; color: #ffffff; }
.pipeline-step-label,
.pipeline-dark .pipeline-step-label {
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
}
.pipeline-step-sub,
.pipeline-dark .pipeline-step-sub {
  color: #9ca3af;
  font-size: 0.75rem;
  line-height: 1.5;
}
.pipeline-arrow {
  display: flex;
  padding-left: 1.25rem;
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}
.pipeline-arrow svg {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--gray-700);
  transform: rotate(90deg);
}

/* --- Light Card Grid (architecture diagrams) --- */
.card-grid-light {
  width: 100%;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  padding: 1.5rem;
  margin: 2rem 0;
}
.card-grid-light-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.card-grid-light-desc {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 2rem;
}
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.card-grid-item {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  padding: 1rem;
  transition: box-shadow 0.2s;
}
.card-grid-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.card-grid-item-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  border-radius: 0.5rem 0.5rem 0 0;
}
.card-grid-item-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  margin-top: 0.5rem;
}
.card-grid-item-icon svg { width: 1.25rem; height: 1.25rem; }
.card-grid-item-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}
.card-grid-item-desc {
  font-size: 0.75rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* --- Flow Diagram (light bg, steps with arrows) --- */
.flow-light {
  width: 100%;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  padding: 1.5rem;
  margin: 2rem 0;
}
.flow-light-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.flow-light-desc {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 2rem;
}
.flow-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.flow-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 280px;
}
.flow-step-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.flow-step-icon svg { width: 1rem; height: 1rem; color: var(--white); }
.flow-step-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.3;
}
.flow-step-sub {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.3;
}
.flow-arrow {
  display: flex;
  justify-content: center;
  margin-left: -5rem;
}
.flow-arrow svg {
  width: 1rem;
  height: 1rem;
  color: var(--gray-300);
  transform: rotate(90deg);
}

/* --- Scoring Table (dark bg) --- */
.scoring-dark {
  width: 100%;
  background: var(--gray-900);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  padding: 1.5rem;
  margin: 2rem 0;
}
.scoring-dark-title,
.scoring-dark .scoring-dark-title {
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.scoring-dark-desc,
.scoring-dark .scoring-dark-desc {
  color: var(--gray-200);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.scoring-ring-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.scoring-ring { position: relative; flex-shrink: 0; }
.scoring-ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.scoring-ring-value { font-size: 1.875rem; font-weight: 700; color: var(--white); }
.scoring-ring-label { font-size: 0.75rem; color: var(--gray-200); margin-top: 0.125rem; }

.scoring-legend {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  width: 100%;
}
.scoring-legend-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.scoring-legend-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  flex-shrink: 0;
}
.scoring-legend-name,
.scoring-dark .scoring-legend-name {
  color: var(--gray-200);
  font-size: 0.875rem;
  flex: 1;
}
.scoring-legend-pct {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  width: 2.5rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.scoring-legend-total {
  border-top: 1px solid var(--gray-700);
  padding-top: 0.75rem;
  margin-top: 0.25rem;
}

/* Hard Floors */
.hard-floors { border-top: 1px solid var(--gray-700); padding-top: 1.5rem; }
.hard-floors-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.hard-floors-header svg { width: 1.25rem; height: 1.25rem; color: var(--amber-500); }
.hard-floors-title { color: var(--white); font-size: 1rem; font-weight: 700; }
.hard-floors-desc,
.scoring-dark .hard-floors-desc {
  color: var(--gray-200);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.hard-floors-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.hard-floor-card {
  border-radius: 0.5rem;
  border: 1px solid var(--gray-700);
  background: rgba(31, 41, 55, 0.6);
  padding: 1rem;
  position: relative;
  overflow: hidden;
}
.hard-floor-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  border-radius: 0 3px 3px 0;
}
.hard-floor-content { padding-left: 0.75rem; }
.hard-floor-label,
.scoring-dark .hard-floor-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-200);
  margin-bottom: 0.375rem;
}
.hard-floor-value { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.hard-floor-desc,
.scoring-dark .hard-floor-desc { font-size: 0.75rem; color: var(--gray-200); line-height: 1.5; }

/* --- Timeline --- */
.timeline-light {
  width: 100%;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  padding: 1.5rem;
  margin: 2rem 0;
}
.timeline-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.timeline-header svg { width: 1.25rem; height: 1.25rem; color: var(--mouat-muted); }
.timeline-title { font-size: 1.125rem; font-weight: 700; }
.timeline-desc {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Mobile vertical timeline */
.timeline-mobile { display: flex; flex-direction: column; }
.timeline-mobile-item { display: flex; gap: 1rem; }
.timeline-mobile-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.timeline-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  border: 2px solid var(--mouat-blue);
  background: var(--white);
  flex-shrink: 0;
}
.timeline-dot--filled { background: var(--mouat-blue); }
.timeline-line {
  width: 2px;
  flex: 1;
  min-height: 2.5rem;
  background: var(--gray-200);
}
.timeline-mobile-content { padding-bottom: 1.5rem; }
.timeline-version {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--mouat-blue);
  background: rgba(59, 130, 246, 0.08);
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  margin-bottom: 0.375rem;
}
.timeline-decision {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.4;
  margin-bottom: 0.25rem;
}
.timeline-reason {
  font-size: 0.75rem;
  color: var(--mouat-muted);
  line-height: 1.5;
}

/* Desktop horizontal timeline */
.timeline-desktop { display: none; }

/* --- Token Optimization --- */
.token-chart {
  width: 100%;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  padding: 1.5rem;
  margin: 2rem 0;
}
.token-chart-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.token-chart-header svg { width: 1.25rem; height: 1.25rem; color: var(--amber-500); }
.token-chart-title { font-size: 1.125rem; font-weight: 700; }
.token-chart-desc {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 2rem;
}
.token-chart-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.token-chart-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.token-chart-col-title { font-size: 0.875rem; font-weight: 700; color: var(--gray-900); }
.token-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #047857;
  background: #ecfdf5;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
}
.token-badge svg { width: 0.75rem; height: 0.75rem; }
.token-bar-group { margin-bottom: 1rem; }
.token-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  margin-bottom: 0.375rem;
}
.token-bar-label { color: var(--gray-600); font-weight: 700; }
.token-bar-value { color: var(--gray-900); font-weight: 700; }
.token-bar-track {
  width: 100%;
  height: 0.625rem;
  background: var(--gray-200);
  border-radius: 9999px;
}
.token-bar-fill {
  height: 100%;
  border-radius: 9999px;
}
.token-note {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 1rem;
}

/* Before/After comparison */
.token-compare { margin-top: 1.5rem; }
.token-compare-row { margin-bottom: 1.5rem; position: relative; }
.token-compare-label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.375rem;
}
.token-compare-label--before { color: #6b7280; }
.token-compare-label--after { color: #047857; }
.token-compare-bar {
  height: 2rem;
  border-radius: 0 9999px 9999px 0;
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
}
.token-compare-bar--before {
  background: #fee2e2;
  border: 1px solid #fecaca;
  width: 100%;
}
.token-compare-bar--after {
  background: #d1fae5;
  border: 1px solid #a7f3d0;
  width: 30%;
}
.token-compare-text--before { font-size: 0.75rem; font-weight: 700; color: #b91c1c; }
.token-compare-text--after { font-size: 0.75rem; font-weight: 700; color: #047857; white-space: nowrap; }

/* --- Email Comparison Demo --- */
.email-demo {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  padding: 1.5rem;
  margin: 2rem 0;
}
.email-demo-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.email-demo-header svg { width: 1.25rem; height: 1.25rem; }
.email-demo-title { font-size: 1.125rem; font-weight: 700; }
.email-demo-desc {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 2rem;
}
.email-panels { display: flex; flex-direction: column; gap: 1.5rem; }

.email-panel {
  border-radius: 0.5rem;
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  overflow: hidden;
}
.email-panel-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
}
.email-panel-header svg { width: 1rem; height: 1rem; }
.email-panel-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.email-panel-body {
  padding: 1.25rem 1.5rem;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--gray-800);
}
.email-panel-body p { margin-bottom: 1rem; }
.email-panel-body p:last-child { margin-bottom: 0; }
.email-panel-body ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
.email-panel-body ul li {
  margin-bottom: 0.25rem;
  display: list-item;
  list-style-type: disc;
  color: var(--gray-700);
}
.email-panel-body ul li::before { display: none; }

/* Panel variants */
.email-panel--incoming .email-panel-header { background: var(--gray-200); }
.email-panel--incoming .email-panel-header svg { color: var(--gray-600); }
.email-panel--incoming .email-panel-label { color: var(--gray-700); }

.email-panel--no-context { opacity: 0.9; }
.email-panel--no-context .email-panel-header { background: var(--gray-600); }
.email-panel--no-context .email-panel-header svg { color: var(--white); }
.email-panel--no-context .email-panel-label { color: var(--white); }
.email-panel--no-context .email-panel-body { color: var(--gray-600); }

.email-panel--context {
  border: 2px solid #a7f3d0;
  background: rgba(236, 253, 245, 0.5);
  position: relative;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.email-panel--context::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--emerald-500);
}
.email-panel--context .email-panel-header {
  background: var(--emerald-700);
  padding-left: 1.25rem;
}
.email-panel--context .email-panel-header svg { color: var(--white); }
.email-panel--context .email-panel-label { color: var(--white); }
.email-panel--context .email-panel-body {
  color: var(--gray-900);
  padding-left: 1.75rem;
}
.email-panel--context .email-panel-body ul li {
  color: var(--gray-800);
  margin-bottom: 0.5rem;
  list-style-type: disc;
}
.email-panel--context .email-panel-body ul li::marker {
  color: #059669;
}

/* --- CindyAI Pipeline (in project card) --- */
.cindy-pipeline {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 1rem;
  gap: 0.25rem;
}
.cindy-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}
.cindy-step-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.cindy-step-icon svg { width: 1.25rem; height: 1.25rem; color: var(--white); }
.cindy-step-label {
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.03em;
}
.cindy-step-sub {
  color: rgba(255,255,255,0.7);
  font-size: 0.625rem;
  text-align: center;
  line-height: 1.3;
  max-width: 5rem;
}
.cindy-arrow {
  flex-shrink: 0;
  margin-bottom: 2rem;
}
.cindy-arrow svg { width: 1rem; height: 1rem; color: rgba(255,255,255,0.3); }

/* ============================================================
   Cookie Consent Banner
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  padding: 1.25rem var(--px-mobile);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner .container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
.cookie-text {
  font-size: 0.875rem;
  color: var(--mouat-muted);
  line-height: 1.6;
}
.cookie-text a {
  color: var(--mouat-blue);
  text-decoration: underline;
}
.cookie-actions { display: flex; gap: 0.75rem; }
.cookie-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}
.cookie-btn--accept {
  background: var(--mouat-blue);
  color: var(--white);
}
.cookie-btn--accept:hover { background: #2563eb; }
.cookie-btn--decline {
  background: var(--gray-100);
  color: var(--mouat-text);
}
.cookie-btn--decline:hover { background: var(--gray-200); }

/* ============================================================
   Responsive
   ============================================================ */
@media (min-width: 640px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .scoring-legend { grid-template-columns: repeat(2, 1fr); }
  .hard-floors-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  .container {
    padding-left: var(--px-desktop);
    padding-right: var(--px-desktop);
  }
  .site-logo { font-size: 2.25rem; }
  .site-nav { display: flex; }
  .nav-toggle { display: none; }
  .hero { padding-top: 6rem; }
  .hero-title { font-size: 1.75rem; }
  .section-divider { margin: 6rem 0; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .investigation-grid { grid-template-columns: repeat(3, 1fr); }
  .investigation-card { padding: 2rem; }
  .investigation-card-accent { left: 2rem; right: 2rem; }
  .project-card-visual { height: 340px; }
  .inv-hero { margin-bottom: 6rem; }
  .inv-title { font-size: 2.25rem; }
  .card-grid-light { padding: 2rem; }
  .inv-section-title { font-size: 1.5rem; }
  .inv-sections { gap: 6rem; }
  .decision-card { padding: 2rem; }

  /* Pipeline horizontal on desktop */
  .pipeline-dark { padding: 2rem; }
  .pipeline-steps {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .pipeline-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    gap: 0.75rem;
  }
  .pipeline-step-icon { width: 3.5rem; height: 3.5rem; }
  .pipeline-step-icon svg { width: 1.5rem; height: 1.5rem; }
  .pipeline-step-sub { max-width: 8rem; }
  .pipeline-arrow {
    flex-shrink: 0;
    margin-top: 1rem;
    padding-left: 0;
  }
  .pipeline-arrow svg { transform: rotate(0deg); }

  /* Flow horizontal on desktop */
  .flow-steps {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.25rem;
  }
  .flow-step {
    flex-direction: column;
    text-align: center;
    flex: 1;
    max-width: none;
    gap: 0.625rem;
  }
  .flow-arrow {
    flex-shrink: 0;
    margin-top: 0.875rem;
    margin-left: 0;
  }
  .flow-arrow svg { transform: none; }

  /* Scoring side-by-side */
  .scoring-dark { padding: 2rem; }
  .scoring-ring-wrapper { flex-direction: row; gap: 3rem; }

  /* Token chart two-column */
  .token-chart { padding: 2rem; }
  .token-chart-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }

  /* Email demo wider padding */
  .email-demo { padding: 2rem; }

  /* About page desktop */
  .about-hero { padding-top: 6rem; }
  .about-title { font-size: 2.25rem; }
  .about-grid-3 { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
  .about-grid-2 { grid-template-columns: repeat(2, 1fr); gap: 3rem; }

  /* Cookie banner horizontal */
  .cookie-banner { padding: 1.25rem var(--px-desktop); }
  .cookie-banner .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  /* Timeline desktop */
  .timeline-light { padding: 2rem; }
  .timeline-mobile { display: none; }
  .timeline-desktop { display: block; }
  .timeline-labels { display: flex; align-items: flex-end; margin-bottom: 0.75rem; }
  .timeline-labels > div { flex: 1; }
  .timeline-bar {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
  }
  .timeline-bar-line {
    position: absolute;
    inset: 0;
    top: 50%;
    height: 2px;
    background: var(--gray-200);
    transform: translateY(-50%);
  }
  .timeline-bar-dot-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
  }
  .timeline-bar-dot {
    width: 0.875rem;
    height: 0.875rem;
    border-radius: 50%;
    border: 2px solid var(--mouat-blue);
    background: var(--white);
    z-index: 1;
    flex-shrink: 0;
  }
  .timeline-bar-dot--filled { background: var(--mouat-blue); }
  .timeline-bar-connector {
    flex: 1;
    height: 2px;
    background: rgba(59, 130, 246, 0.25);
  }
  .timeline-cards { display: flex; gap: 0.75rem; }
  .timeline-cards > div { flex: 1; min-width: 0; }
  .timeline-cards .timeline-decision { font-size: 0.875rem; margin-bottom: 0.375rem; }
  .timeline-cards .timeline-reason { font-size: 0.75rem; }

  /* Card grid 5 columns on large screens */
  .card-grid--5 { grid-template-columns: repeat(5, 1fr); }
}

@media (min-width: 1024px) {
  .card-grid { grid-template-columns: repeat(5, 1fr); }
  .pipeline-dark { padding: 2.5rem; }
}

/* --- Focus Visible --- */
:focus-visible {
  outline: 2px solid var(--mouat-blue);
  outline-offset: 2px;
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Print --- */
@media print {
  .site-header, .site-footer, .cookie-banner, .nav-toggle { display: none; }
  body { color: #000; }
  a { text-decoration: underline; }
}

/* --- Site Footer responsive --- */
@media (min-width: 640px) {
  .site-footer .container {
    flex-direction: row;
    justify-content: space-between;
  }
}
