/* AlignAgency — strategic AI alignment */

:root {
  --navy: #1E3A5F;
  --navy-dark: #152A45;
  --navy-light: #2D4F7A;
  --cream: #FFFBEB;
  --cream-dark: #FEF3C7;
  --gold: #CA8A04;
  --gold-light: #EAB308;
  --grey: #64748B;
  --grey-light: #E2E8F0;
  --emerald: #059669;
  --emerald-dark: #047857;
  --white: #FFFFFF;
  --font-heading: 'Libre Franklin', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(30, 58, 95, 0.08);
  --shadow-lg: 0 12px 48px rgba(30, 58, 95, 0.14);
  --transition: 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1180px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--emerald);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2.125rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.375rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-header p {
  color: var(--grey);
  font-size: 1.125rem;
  margin-top: 0.75rem;
}

/* Grid overlay utility */
.grid-overlay {
  position: relative;
}

.grid-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 58, 95, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 58, 95, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.grid-overlay > * {
  position: relative;
  z-index: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid var(--navy);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-primary:hover {
  background: var(--emerald);
  border-color: var(--emerald);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-emerald {
  background: var(--emerald);
  color: var(--white);
  border-color: var(--emerald);
}

.btn-emerald:hover {
  background: var(--emerald-dark);
  border-color: var(--emerald-dark);
  color: var(--white);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--cream);
  border-bottom: 1px solid rgba(30, 58, 95, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  gap: 1.5rem;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
}

.logo span {
  color: var(--gold);
}

.logo:hover {
  color: var(--emerald);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.main-nav a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--navy);
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--emerald);
  transition: width var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--emerald);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.header-cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: var(--transition);
}

/* Hero */
.hero {
  position: relative;
  padding: 5.5rem 0 5rem;
  background: var(--cream);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 58, 95, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 58, 95, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: gridSnap 12s ease-in-out infinite alternate;
}

@keyframes gridSnap {
  0% { background-position: 0 0; }
  100% { background-position: 48px 48px; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content .tagline {
  font-size: 1.25rem;
  color: var(--grey);
  margin: 1.25rem 0 2rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--gold), var(--emerald));
  animation: railDraw 2s ease-out forwards;
}

@keyframes railDraw {
  from { transform: scaleX(0); transform-origin: left; }
  to { transform: scaleX(1); }
}

.hero-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid rgba(30, 58, 95, 0.12);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--emerald);
  border-radius: 50%;
}

/* Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  background: var(--cream);
  border-left: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  transition: all var(--transition);
}

.pillar-card:hover {
  border-left-color: var(--emerald);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.pillar-icon {
  width: 40px;
  height: 40px;
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.125rem;
}

.pillar-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
}

.pillar-card p {
  color: var(--grey);
  font-size: 0.9375rem;
  margin-bottom: 0;
}

/* Partner band */
.partner-band {
  background: var(--navy);
  color: var(--cream);
  padding: 3rem 0;
}

.partner-band .band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.partner-band h2 {
  color: var(--cream);
  font-size: 1.5rem;
}

.partner-band p {
  color: rgba(255, 251, 235, 0.8);
  max-width: 500px;
  margin-bottom: 0;
}

.partner-stats {
  display: flex;
  gap: 2.5rem;
}

.partner-stat {
  text-align: center;
}

.partner-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--gold);
}

.partner-stat span {
  font-size: 0.8125rem;
  color: rgba(255, 251, 235, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Editorial quote */
.editorial-quote {
  background: var(--navy);
  padding: 5rem 0;
  text-align: center;
}

.editorial-quote blockquote {
  max-width: 780px;
  margin: 0 auto;
  font-family: var(--font-heading);
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 500;
  color: var(--cream);
  line-height: 1.5;
  font-style: italic;
}

.editorial-quote cite {
  display: block;
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  color: var(--gold);
  font-style: normal;
  font-family: var(--font-body);
}

/* Services columns */
.services-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-col {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}

.service-col:hover {
  border-color: var(--emerald);
  box-shadow: var(--shadow);
}

.service-col .col-num {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.service-col h3 {
  margin-bottom: 1rem;
}

.service-col p {
  color: var(--grey);
  font-size: 0.9375rem;
}

.service-col ul {
  list-style: none;
  margin-top: 1.25rem;
}

.service-col li {
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--navy);
  border-bottom: 1px solid var(--grey-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-col li::before {
  content: '✓';
  color: var(--emerald);
  font-weight: 700;
}

/* Case study split */
.case-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.case-split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

.case-split-content {
  background: var(--cream);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-split-content .case-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--emerald);
  margin-bottom: 1rem;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.case-metric {
  text-align: center;
  padding: 1rem;
  background: var(--white);
  border-radius: var(--radius);
}

.case-metric strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--navy);
}

.case-metric span {
  font-size: 0.75rem;
  color: var(--grey);
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all var(--transition);
}

.feature-card:hover {
  border-top-color: var(--emerald);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--grey);
  margin-bottom: 0;
}

/* Testimonials carousel */
.testimonials-section {
  background: var(--cream);
}

.carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;
  padding: 2rem 3rem;
  text-align: center;
}

.carousel-slide p {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.carousel-slide .author {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--navy);
}

.carousel-slide .role {
  font-size: 0.875rem;
  color: var(--grey);
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border: 2px solid var(--navy);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.125rem;
  color: var(--navy);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--emerald);
  border-color: var(--emerald);
  color: var(--white);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grey-light);
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}

.carousel-dot.active {
  background: var(--emerald);
}

/* CTA section */
.cta-section {
  background: var(--navy);
  padding: 5rem 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--cream);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 251, 235, 0.8);
  font-size: 1.125rem;
  max-width: 560px;
  margin: 0 auto 2rem;
}

/* Page hero */
.page-hero {
  background: var(--cream);
  padding: 4rem 0 3rem;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 58, 95, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 58, 95, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--grey);
  font-size: 1.125rem;
  max-width: 600px;
}

/* Collection */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.filter-btn {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border: 2px solid var(--navy);
  background: transparent;
  color: var(--navy);
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--navy);
  color: var(--cream);
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.collection-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  background: var(--cream);
  border-left: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all var(--transition);
}

.collection-card:hover {
  border-left-color: var(--emerald);
  box-shadow: var(--shadow);
}

.collection-card.hidden {
  display: none;
}

.collection-card img {
  width: 200px;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius);
}

.collection-card .ref {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.collection-card .category {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--white);
  color: var(--emerald);
  padding: 0.25rem 0.625rem;
  border-radius: 100px;
  margin: 0.5rem 0;
}

.collection-card .price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0.75rem 0;
}

.collection-card p {
  font-size: 0.875rem;
  color: var(--grey);
  margin-bottom: 1rem;
}

/* Services page */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem;
  background: var(--cream);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--navy);
}

.service-block:nth-child(even) {
  direction: rtl;
}

.service-block:nth-child(even) > * {
  direction: ltr;
}

.service-block img {
  border-radius: var(--radius);
  aspect-ratio: 16/10;
  object-fit: cover;
}

.service-block h3 {
  margin-bottom: 1rem;
}

.service-block p {
  color: var(--grey);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-grid img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--cream);
  border-radius: var(--radius-lg);
}

.team-avatar {
  width: 80px;
  height: 80px;
  background: var(--navy);
  color: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.team-card h3 {
  font-size: 1.125rem;
}

.team-card .role {
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.team-card p {
  font-size: 0.875rem;
  color: var(--grey);
}

.cert-strip {
  background: var(--navy);
  padding: 3rem 0;
  margin-top: 4rem;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.cert-item strong {
  display: block;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.cert-item span {
  font-size: 0.8125rem;
  color: rgba(255, 251, 235, 0.75);
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info-block {
  background: var(--cream);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--emerald);
}

.contact-info-block h3 {
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
}

.contact-detail strong {
  color: var(--navy);
  min-width: 70px;
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--grey-light);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--navy);
  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(--emerald);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #DC2626;
}

.form-error {
  display: none;
  font-size: 0.8125rem;
  color: #DC2626;
  margin-top: 0.375rem;
}

.form-error.visible {
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-success {
  display: none;
  background: rgba(5, 150, 105, 0.1);
  border: 2px solid var(--emerald);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--emerald-dark);
  font-weight: 600;
}

.form-success.visible {
  display: block;
}

/* Legal pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.375rem;
  margin: 2.5rem 0 1rem;
}

.legal-content h3 {
  font-size: 1.125rem;
  margin: 1.5rem 0 0.75rem;
}

.legal-content p,
.legal-content li {
  color: var(--grey);
  font-size: 0.9375rem;
}

.legal-content ul {
  margin: 0.75rem 0 1rem 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 251, 235, 0.8);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  color: var(--cream);
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: var(--cream);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.625rem;
}

.footer-col a {
  color: rgba(255, 251, 235, 0.7);
  font-size: 0.875rem;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 251, 235, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
}

.footer-bottom a {
  color: rgba(255, 251, 235, 0.6);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy);
  color: var(--cream);
  padding: 1.25rem 1.5rem;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-inner p {
  font-size: 0.875rem;
  margin-bottom: 0;
  flex: 1;
  min-width: 280px;
}

.cookie-inner a {
  color: var(--gold);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
}

/* Scroll animations */
.slide-up, .fade-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

html.js .slide-up,
html.js .fade-in {
  opacity: 0;
  transform: translateY(28px);
}

html.js .slide-up.visible,
html.js .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .pillars-grid,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-columns {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 1.5rem;
    border-bottom: 1px solid rgba(30, 58, 95, 0.1);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .header-cta {
    display: none;
  }

  .hero-grid,
  .case-split,
  .about-grid,
  .contact-layout,
  .service-block {
    grid-template-columns: 1fr;
  }

  .service-block:nth-child(even) {
    direction: ltr;
  }

  .pillars-grid,
  .features-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .collection-grid {
    grid-template-columns: 1fr;
  }

  .collection-card {
    grid-template-columns: 1fr;
  }

  .collection-card img {
    width: 100%;
    height: 180px;
  }

  .partner-band .band-inner {
    flex-direction: column;
    text-align: center;
  }

  .partner-stats {
    justify-content: center;
  }

  .case-metrics {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
