/* JACKBASE.TECH — theme aligned with brand logo */
:root {
  --bg-deep: #05162e;
  --bg-panel: #0a2244;
  --bg-elevated: #0d2a52;
  --accent: #4fc3f7;
  --accent-dim: #2a8fb8;
  --accent-glow: rgba(79, 195, 247, 0.35);
  --text: #e8f4fc;
  --text-muted: #8ba3b8;
  --border: rgba(79, 195, 247, 0.2);
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --header-h: 72px;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  min-height: 100vh;
}

/* Subtle grid + vignette */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(79, 195, 247, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 195, 247, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(79, 195, 247, 0.12), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

a:hover {
  color: #7dd3fc;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 0;
}

h3 {
  font-size: 1.15rem;
}

p {
  color: var(--text-muted);
  margin: 0 0 1rem;
}

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

ul {
  color: var(--text-muted);
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.5rem;
}

.site-wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Desktop: edge-to-edge content; mobile unchanged */
@media (min-width: 901px) {
  .container {
    max-width: none;
    padding-left: clamp(1.5rem, 4vw, 4.5rem);
    padding-right: clamp(1.5rem, 4vw, 4.5rem);
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(5, 22, 46, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  animation: header-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes header-in {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.06em;
  font-style: italic;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
}

.brand:hover img {
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 0 20px var(--accent-glow);
  filter: brightness(1.08);
}

.brand span {
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand--animated .brand__mark {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  border-radius: 10px;
}

.brand--animated .brand__mark::before {
  content: "";
  position: absolute;
  inset: -14%;
  border: 2px solid transparent;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), transparent 40%, var(--accent-dim)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.45;
  animation: orbit-pulse 8s ease-in-out infinite;
  pointer-events: none;
}

.brand--animated .brand__mark img {
  animation: hero-float 6s ease-in-out infinite;
}

.brand--animated:hover .brand__mark img {
  animation: none;
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 0 20px var(--accent-glow);
  filter: brightness(1.08);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.nav-main ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-main a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  position: relative;
  transition: color 0.25s ease;
}

.nav-main a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dim));
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-main a:hover::after,
.nav-main a[aria-current="page"]::after {
  width: 100%;
}

.nav-main a:hover,
.nav-main a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: transparent;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-main {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(5, 22, 46, 0.97);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .nav-main.is-open {
    max-height: 420px;
  }

  .nav-main ul {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0;
  }

  .nav-main a {
    display: block;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-main a::after {
    display: none;
  }

  .nav-main a[aria-current="page"] {
    border-bottom-color: rgba(79, 195, 247, 0.5);
    color: var(--accent);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dim) 100%);
  color: #05162e;
  box-shadow: 0 0 24px var(--accent-glow);
  background-size: 200% 200%;
  animation: btn-glow 4s ease-in-out infinite;
}

.btn-primary:hover {
  box-shadow: 0 0 36px rgba(79, 195, 247, 0.55);
  color: #05162e;
  transform: translateY(-1px);
}

@keyframes btn-glow {
  0%,
  100% {
    box-shadow: 0 0 22px var(--accent-glow);
    background-position: 0% 50%;
  }
  50% {
    box-shadow: 0 0 36px rgba(79, 195, 247, 0.45);
    background-position: 100% 50%;
  }
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: rgba(79, 195, 247, 0.08);
  color: #7dd3fc;
  border-color: rgba(79, 195, 247, 0.45);
  transform: translateY(-1px);
}

/* Main */
main {
  flex: 1;
}

.section {
  padding: 4rem 0;
}

.section-tight {
  padding: 2.5rem 0;
}

.section-head {
  margin-bottom: 2rem;
  max-width: 640px;
}

.section-head h2 {
  margin-bottom: 0.5rem;
}

.section-head .lede {
  font-size: 1.05rem;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

/* Scroll / load animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section.reveal.is-visible .card {
  animation: card-pop 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.section.reveal.is-visible .card:nth-child(1) {
  animation-delay: 0.05s;
}

.section.reveal.is-visible .card:nth-child(2) {
  animation-delay: 0.1s;
}

.section.reveal.is-visible .card:nth-child(3) {
  animation-delay: 0.15s;
}

.section.reveal.is-visible .card:nth-child(4) {
  animation-delay: 0.2s;
}

.section.reveal.is-visible .card:nth-child(5) {
  animation-delay: 0.25s;
}

.section.reveal.is-visible .card:nth-child(6) {
  animation-delay: 0.3s;
}

.section.reveal.is-visible .card:nth-child(7) {
  animation-delay: 0.35s;
}

.section.reveal.is-visible .card:nth-child(8) {
  animation-delay: 0.4s;
}

@keyframes card-pop {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

.reveal-delay-4 {
  transition-delay: 0.32s;
}

.hero-reveal {
  opacity: 0;
  animation: hero-fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-reveal-delay-1 {
  animation-delay: 0.12s;
}

.hero-reveal-delay-2 {
  animation-delay: 0.24s;
}

.hero-reveal-delay-3 {
  animation-delay: 0.36s;
}

.hero-reveal-delay-4 {
  animation-delay: 0.48s;
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero */
.hero {
  padding: 3.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 20%;
  right: -15%;
  width: 50%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(79, 195, 247, 0.08) 0%, transparent 70%);
  pointer-events: none;
  animation: hero-blob 12s ease-in-out infinite;
}

@keyframes hero-blob {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1) translate(0, 0);
  }
  50% {
    opacity: 1;
    transform: scale(1.08) translate(-4%, 4%);
  }
}

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

@media (min-width: 901px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    width: 100%;
  }
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
    max-width: 280px;
    margin: 0 auto;
  }
}

.hero h1 {
  margin: 0 0 1rem;
  font-style: italic;
}

.hero h1 .highlight {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}

.hero .lede {
  font-size: 1.125rem;
  margin-bottom: 1.75rem;
  max-width: 36ch;
}

@media (max-width: 860px) {
  .hero .lede {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -8%;
  border: 2px solid transparent;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), transparent 40%, var(--accent-dim)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  animation: orbit-pulse 8s ease-in-out infinite;
}

@keyframes orbit-pulse {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
    opacity: 0.45;
  }
  50% {
    transform: rotate(180deg) scale(1.02);
    opacity: 0.65;
  }
}

.hero-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--border);
  animation: hero-float 6s ease-in-out infinite;
}

@keyframes hero-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.card {
  background: linear-gradient(145deg, var(--bg-panel), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover {
  border-color: rgba(79, 195, 247, 0.45);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(79, 195, 247, 0.12);
  transform: translateY(-4px);
}

.card h3 {
  margin: 0 0 0.5rem;
  color: var(--text);
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(79, 195, 247, 0.12);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 1.25rem;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(8deg);
  box-shadow: 0 0 16px var(--accent-glow);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  background: var(--bg-panel);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(5, 22, 46, 0.95));
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

/* Blog */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.blog-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  background: linear-gradient(145deg, var(--bg-panel), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    border-color 0.3s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.blog-card:hover {
  border-color: rgba(79, 195, 247, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.blog-card-thumb {
  display: block;
  min-height: 140px;
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.25rem 1.25rem 1.25rem 0;
}

@media (max-width: 640px) {
  .blog-card {
    grid-template-columns: 1fr;
  }

  .blog-card-body {
    padding: 0 1.25rem 1.25rem;
  }
}

.meta {
  font-size: 0.8rem;
  color: var(--accent-dim);
  margin-bottom: 0.35rem;
}

/* Article (blog post) */
.article {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.article header {
  margin-bottom: 2rem;
}

.article h1 {
  margin-bottom: 0.5rem;
}

.article .prose h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.article .prose p,
.article .prose li {
  font-size: 1.05rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-grid__left {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-map-card .contact-map {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-panel);
  aspect-ratio: 4 / 3;
  min-height: 240px;
  box-shadow: inset 0 0 0 1px rgba(79, 195, 247, 0.06);
}

.contact-map-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-aside .card + .card {
  margin-top: 1rem;
}

.form-note {
  font-size: 0.85rem;
  margin-top: 0.75rem;
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  background: rgba(5, 22, 46, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.4rem;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* About — balanced full-width layout (uses full container, not a narrow left column) */
.page-about .about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.page-about .about-hero__lede {
  max-width: none;
}

.page-about .about-hero__body {
  font-size: 1.05rem;
  margin-bottom: 0;
}

.page-about .about-hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.page-about .about-hero__visual::before {
  content: "";
  position: absolute;
  inset: -6%;
  border: 2px solid transparent;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), transparent 40%, var(--accent-dim)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.45;
  animation: orbit-pulse 8s ease-in-out infinite;
  pointer-events: none;
}

.page-about .about-hero__logo {
  position: relative;
  width: min(100%, 420px);
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--border);
  animation: hero-float 6s ease-in-out infinite;
}

.about-block-title {
  text-align: center;
  margin: 0 0 1.25rem;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  color: var(--text);
}

.about-mission-card {
  max-width: min(56rem, 100%);
  margin: 0 auto;
}

.about-mission-card p:last-child {
  margin-bottom: 0;
}

.section-head--center {
  text-align: center;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

.section-head--center .lede {
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 901px) {
  .about-offer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .about-why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .about-offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .page-about .about-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .page-about .about-hero__intro .lede,
  .page-about .about-hero__body {
    margin-left: auto;
    margin-right: auto;
  }

  .page-about .about-hero__visual {
    order: -1;
  }

  .page-about .about-hero__logo {
    max-width: 260px;
  }

  .about-offer-grid,
  .about-why-grid {
    grid-template-columns: 1fr;
  }
}

/* Legal / prose pages — centered reading column on wide screens */
.prose-page .prose {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.prose-page .prose h2 {
  color: var(--text);
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose-page .prose h2:first-of-type {
  margin-top: 1rem;
}

/* CTA band */
.cta-band {
  position: relative;
  background: linear-gradient(135deg, var(--bg-panel), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: linear-gradient(
    120deg,
    transparent 40%,
    rgba(79, 195, 247, 0.06) 50%,
    transparent 60%
  );
  animation: cta-shimmer 8s linear infinite;
  pointer-events: none;
}

@keyframes cta-shimmer {
  0% {
    transform: translateX(-30%) rotate(12deg);
  }
  100% {
    transform: translateX(30%) rotate(12deg);
  }
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  margin-bottom: 0.5rem;
}

.cta-band p {
  margin-bottom: 1.25rem;
}

.cta-band .hero-actions,
.cta-band .dual-cta {
  justify-content: center;
}

/* Homepage & shared content blocks */
.home-tagline {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--accent);
  text-align: center;
  letter-spacing: 0.02em;
}

.trust-strip-intro {
  text-align: center;
  max-width: 52rem;
  margin: 0 auto 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.trust-strip__item {
  padding: 1rem 1.15rem;
  background: linear-gradient(145deg, var(--bg-panel), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  line-height: 1.35;
}

.home-process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.testimonial-card blockquote {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.5;
}

.testimonial-card footer {
  font-size: 0.85rem;
  color: var(--accent-dim);
}

.dual-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Contact multi-step wizard */
.form-wizard {
  max-width: 640px;
  margin: 0 auto;
}

.wizard-meta {
  font-size: 0.85rem;
  color: var(--accent-dim);
  margin-bottom: 0.75rem;
}

.wizard-progress {
  height: 8px;
  background: var(--bg-panel);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
}

.wizard-progress__fill {
  height: 100%;
  width: 16.66%;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent));
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.form-step h2,
.form-step h3 {
  margin-top: 0;
  font-size: 1.15rem;
  color: var(--text);
}

.wizard-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.wizard-nav .wizard-nav__main {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.wizard-summary__inner {
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.wizard-summary__inner strong {
  color: var(--text);
}

.page-blog .pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.page-blog .pillar-card {
  text-align: left;
}

.page-blog .pillar-card ul {
  margin-bottom: 0;
  font-size: 0.92rem;
}

/* Projects long-form — hero: text + video column */
.page-projects .projects-hero {
  padding-top: clamp(3rem, 8vw, 5rem);
  padding-bottom: clamp(3rem, 8vw, 5rem);
}

.projects-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.page-projects .projects-hero-split .section-head--left .lede {
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .projects-hero-split {
    grid-template-columns: 1fr;
  }

  .projects-hero-split__video {
    order: -1;
  }
}

/* Inline hero video (home, about, training, projects) */
.hero-inline-video video {
  display: block;
  width: 100%;
  max-height: min(52vh, 420px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--border);
  background: var(--bg-panel);
}

.page-about .about-hero__visual--video::before {
  display: none;
}

.page-about .about-hero__visual--video .about-hero__logo {
  animation: none;
}

/* Split hero — text left, animated logo right (blog, gallery, contact) */
.split-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.split-hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.split-hero__visual::before {
  content: "";
  position: absolute;
  inset: -6%;
  border: 2px solid transparent;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), transparent 40%, var(--accent-dim)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.45;
  animation: orbit-pulse 8s ease-in-out infinite;
  pointer-events: none;
}

.split-hero__visual .about-hero__logo {
  position: relative;
  width: min(100%, 420px);
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--border);
  animation: hero-float 6s ease-in-out infinite;
}

@media (max-width: 900px) {
  .split-hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .split-hero__visual {
    order: -1;
    max-width: 280px;
    margin: 0 auto;
  }

  .split-hero__grid .section-head--left {
    text-align: center;
  }

  .split-hero__grid .section-head--left .lede {
    margin-left: auto;
    margin-right: auto;
  }
}

.section-head--left {
  text-align: left;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 1.5rem;
}

.section-head--left .lede {
  margin-left: 0;
  margin-right: 0;
}

/* Site-wide hero typography — smaller type on all main heroes */
.page-home .hero h1,
.page-about .about-hero__intro h1,
.page-training .about-hero__intro h1,
.page-projects .projects-hero h1,
.page-blog .blog-hero h1,
.page-gallery .gallery-hero h1,
.page-contact .contact-hero h1 {
  font-size: clamp(1.4rem, 2.55vw, 2.15rem);
  line-height: 1.2;
}

.page-home .hero .eyebrow,
.page-about .about-hero__intro .eyebrow,
.page-training .about-hero__intro .eyebrow,
.page-projects .projects-hero .eyebrow,
.page-blog .blog-hero .eyebrow,
.page-gallery .gallery-hero .eyebrow,
.page-contact .contact-hero .eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
}

.page-home .hero .lede,
.page-about .about-hero__intro .lede,
.page-training .about-hero__intro .lede,
.page-projects .projects-hero .lede,
.page-blog .blog-hero .lede,
.page-gallery .gallery-hero .lede,
.page-contact .contact-hero .lede {
  font-size: 0.95rem;
  line-height: 1.55;
}

.page-home .hero .home-tagline {
  font-size: 0.85rem;
}

/* Prose / legal pages — top hero block */
.prose-page .section-head h1 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.2;
}

.prose-page .section-head .eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
}

.prose-page .section-head .lede {
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Blog article pages */
article.article > .container > header h1 {
  font-size: clamp(1.35rem, 2.5vw, 2.1rem);
  line-height: 1.2;
}

article.article > .container > header .lede {
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Home — hero video in column */
.page-home .hero-visual--video::before {
  display: none;
}

.page-home .hero-visual--video video {
  display: block;
  width: 100%;
  max-height: min(52vh, 420px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--border);
  background: var(--bg-panel);
}

@media (max-width: 860px) {
  .page-home .hero-visual--video {
    max-width: min(100%, 400px);
  }
}

/* Home hero — tighter type on tablet & mobile */
@media (max-width: 1100px) {
  .page-home .hero h1 {
    font-size: clamp(1.5rem, 3.6vw, 2.35rem);
    line-height: 1.18;
  }

  .page-home .hero .eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }

  .page-home .hero .lede {
    font-size: 1.02rem;
    line-height: 1.55;
  }

  .page-home .hero .home-tagline {
    font-size: 0.88rem;
  }
}

@media (max-width: 600px) {
  .page-home .hero h1 {
    font-size: clamp(1.15rem, 5vw, 1.5rem);
    line-height: 1.22;
  }

  .page-home .hero .eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  .page-home .hero .lede {
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 1.35rem;
  }

  .page-home .hero .home-tagline {
    font-size: 0.8rem;
  }
}

/* Projects — text + side image showcase (in-place cycle, not scrolling marquee) */
.page-projects .projects-split {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: flex-start;
}

.page-projects .projects-split__text {
  flex: 1 1 min(22rem, 100%);
  min-width: 0;
}

.page-projects .projects-split__text .about-mission-card {
  max-width: none;
  margin: 0;
}

.page-projects .projects-split__marquee {
  flex: 1 1 clamp(18rem, 36vw, 30rem);
  min-width: min(100%, 18rem);
  max-width: min(36rem, 100%);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.page-projects .projects-split--reverse {
  flex-direction: row-reverse;
}

@media (max-width: 900px) {
  .page-projects .projects-split,
  .page-projects .projects-split--reverse {
    flex-direction: column;
  }

  .page-projects .projects-split__text {
    order: 1;
  }

  .page-projects .projects-split__marquee {
    order: 2;
    max-width: none;
    width: 100%;
  }
}

.page-projects .image-showcase {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-panel);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  aspect-ratio: 3 / 2;
  width: 100%;
}

.page-projects .image-showcase img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transform-origin: center center;
  will-change: opacity, transform;
  border: 0;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

/* —— 4-image cycle (16s total, 4s per slide) —— */
@keyframes proj-showcase-fade-4 {
  0% {
    opacity: 0;
  }
  3%,
  21% {
    opacity: 1;
  }
  25%,
  100% {
    opacity: 0;
  }
}

@keyframes proj-showcase-zoom-4 {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  3%,
  21% {
    opacity: 1;
    transform: scale(1.02);
  }
  25%,
  100% {
    opacity: 0;
    transform: scale(1.01);
  }
}

@keyframes proj-showcase-slide-4 {
  0% {
    opacity: 0;
    transform: translateX(22px);
  }
  4%,
  21% {
    opacity: 1;
    transform: translateX(0);
  }
  25%,
  100% {
    opacity: 0;
    transform: translateX(-16px);
  }
}

@keyframes proj-showcase-drift-4 {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  5%,
  21% {
    opacity: 1;
    transform: translateY(0);
  }
  25%,
  100% {
    opacity: 0;
    transform: translateY(-12px);
  }
}

/* —— 5-image cycle (20s total, 4s per slide) —— */
@keyframes proj-showcase-fade-5 {
  0% {
    opacity: 0;
  }
  2.5%,
  17% {
    opacity: 1;
  }
  20%,
  100% {
    opacity: 0;
  }
}

@keyframes proj-showcase-zoom-5 {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  2.5%,
  17% {
    opacity: 1;
    transform: scale(1.02);
  }
  20%,
  100% {
    opacity: 0;
    transform: scale(1.01);
  }
}

.page-projects .image-showcase--slots-4.image-showcase--fade img:nth-child(1) {
  animation-name: proj-showcase-fade-4;
  animation-duration: 16s;
  animation-delay: 0s;
}

.page-projects .image-showcase--slots-4.image-showcase--fade img:nth-child(2) {
  animation-name: proj-showcase-fade-4;
  animation-duration: 16s;
  animation-delay: 4s;
}

.page-projects .image-showcase--slots-4.image-showcase--fade img:nth-child(3) {
  animation-name: proj-showcase-fade-4;
  animation-duration: 16s;
  animation-delay: 8s;
}

.page-projects .image-showcase--slots-4.image-showcase--fade img:nth-child(4) {
  animation-name: proj-showcase-fade-4;
  animation-duration: 16s;
  animation-delay: 12s;
}

.page-projects .image-showcase--slots-4.image-showcase--zoom img:nth-child(1) {
  animation-name: proj-showcase-zoom-4;
  animation-duration: 16s;
  animation-delay: 0s;
}

.page-projects .image-showcase--slots-4.image-showcase--zoom img:nth-child(2) {
  animation-name: proj-showcase-zoom-4;
  animation-duration: 16s;
  animation-delay: 4s;
}

.page-projects .image-showcase--slots-4.image-showcase--zoom img:nth-child(3) {
  animation-name: proj-showcase-zoom-4;
  animation-duration: 16s;
  animation-delay: 8s;
}

.page-projects .image-showcase--slots-4.image-showcase--zoom img:nth-child(4) {
  animation-name: proj-showcase-zoom-4;
  animation-duration: 16s;
  animation-delay: 12s;
}

.page-projects .image-showcase--slots-4.image-showcase--slide img:nth-child(1) {
  animation-name: proj-showcase-slide-4;
  animation-duration: 16s;
  animation-delay: 0s;
}

.page-projects .image-showcase--slots-4.image-showcase--slide img:nth-child(2) {
  animation-name: proj-showcase-slide-4;
  animation-duration: 16s;
  animation-delay: 4s;
}

.page-projects .image-showcase--slots-4.image-showcase--slide img:nth-child(3) {
  animation-name: proj-showcase-slide-4;
  animation-duration: 16s;
  animation-delay: 8s;
}

.page-projects .image-showcase--slots-4.image-showcase--slide img:nth-child(4) {
  animation-name: proj-showcase-slide-4;
  animation-duration: 16s;
  animation-delay: 12s;
}

.page-projects .image-showcase--slots-4.image-showcase--drift img:nth-child(1) {
  animation-name: proj-showcase-drift-4;
  animation-duration: 16s;
  animation-delay: 0s;
}

.page-projects .image-showcase--slots-4.image-showcase--drift img:nth-child(2) {
  animation-name: proj-showcase-drift-4;
  animation-duration: 16s;
  animation-delay: 4s;
}

.page-projects .image-showcase--slots-4.image-showcase--drift img:nth-child(3) {
  animation-name: proj-showcase-drift-4;
  animation-duration: 16s;
  animation-delay: 8s;
}

.page-projects .image-showcase--slots-4.image-showcase--drift img:nth-child(4) {
  animation-name: proj-showcase-drift-4;
  animation-duration: 16s;
  animation-delay: 12s;
}

.page-projects .image-showcase--slots-5.image-showcase--fade img:nth-child(1) {
  animation-name: proj-showcase-fade-5;
  animation-duration: 20s;
  animation-delay: 0s;
}

.page-projects .image-showcase--slots-5.image-showcase--fade img:nth-child(2) {
  animation-name: proj-showcase-fade-5;
  animation-duration: 20s;
  animation-delay: 4s;
}

.page-projects .image-showcase--slots-5.image-showcase--fade img:nth-child(3) {
  animation-name: proj-showcase-fade-5;
  animation-duration: 20s;
  animation-delay: 8s;
}

.page-projects .image-showcase--slots-5.image-showcase--fade img:nth-child(4) {
  animation-name: proj-showcase-fade-5;
  animation-duration: 20s;
  animation-delay: 12s;
}

.page-projects .image-showcase--slots-5.image-showcase--fade img:nth-child(5) {
  animation-name: proj-showcase-fade-5;
  animation-duration: 20s;
  animation-delay: 16s;
}

.page-projects .image-showcase--slots-5.image-showcase--zoom img:nth-child(1) {
  animation-name: proj-showcase-zoom-5;
  animation-duration: 20s;
  animation-delay: 0s;
}

.page-projects .image-showcase--slots-5.image-showcase--zoom img:nth-child(2) {
  animation-name: proj-showcase-zoom-5;
  animation-duration: 20s;
  animation-delay: 4s;
}

.page-projects .image-showcase--slots-5.image-showcase--zoom img:nth-child(3) {
  animation-name: proj-showcase-zoom-5;
  animation-duration: 20s;
  animation-delay: 8s;
}

.page-projects .image-showcase--slots-5.image-showcase--zoom img:nth-child(4) {
  animation-name: proj-showcase-zoom-5;
  animation-duration: 20s;
  animation-delay: 12s;
}

.page-projects .image-showcase--slots-5.image-showcase--zoom img:nth-child(5) {
  animation-name: proj-showcase-zoom-5;
  animation-duration: 20s;
  animation-delay: 16s;
}

@media (prefers-reduced-motion: reduce) {
  .page-projects .image-showcase img {
    animation: none !important;
    opacity: 0;
    transform: none !important;
  }

  .page-projects .image-showcase img:first-of-type {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-inline-video video {
    display: none;
  }

  .hero-inline-video {
    min-height: 12rem;
    border-radius: var(--radius-lg);
    background: radial-gradient(ellipse 100% 80% at 50% 0%, rgba(79, 195, 247, 0.12), var(--bg-panel));
    border: 1px solid var(--border);
  }
}

.page-projects .prose-block h3,
.page-gallery .prose-block h3 {
  color: var(--text);
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.page-projects .prose-block h4,
.page-gallery .prose-block h4 {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 1.25rem;
  margin-bottom: 0.35rem;
}

.page-projects .prose-block p + h3 {
  margin-top: 2rem;
}

.page-projects .nested-card {
  margin-top: 1rem;
}

/* Gallery case studies */
.gallery-feature {
  margin-bottom: 1.5rem;
}

.gallery-feature__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .gallery-feature__inner {
    grid-template-columns: 1fr;
  }
}

.gallery-feature__body h3 {
  margin-top: 0;
  color: var(--text);
  font-size: 1.15rem;
}

.gallery-feature__body h4 {
  color: var(--accent);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 1rem 0 0.35rem;
}

.gallery-feature__body h4:first-of-type {
  margin-top: 0;
}

/* Utilities */
.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

/* Welcome + TTS panel (home) */
.welcome-banner {
  position: fixed;
  z-index: 200;
  right: 1rem;
  bottom: 1rem;
  max-width: min(22rem, calc(100vw - 2rem));
  padding: 1rem 1.15rem;
  background: linear-gradient(155deg, rgba(10, 34, 68, 0.97), rgba(5, 22, 46, 0.98));
  border: 1px solid rgba(79, 195, 247, 0.35);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(79, 195, 247, 0.1);
  animation: welcome-pop 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

@keyframes welcome-pop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.welcome-banner[hidden] {
  display: none !important;
}

.welcome-banner__title {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.welcome-banner__text {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.welcome-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.welcome-banner__actions .btn {
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
}

.welcome-banner__tts-error {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--accent, #4fc3f7);
}

.welcome-banner__btn-muted {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  font-family: var(--font);
  font-size: 0.8rem;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.welcome-banner__btn-muted:hover {
  color: var(--accent);
  border-color: rgba(79, 195, 247, 0.4);
  background: rgba(79, 195, 247, 0.06);
}

@media (max-width: 900px) {
  .welcome-banner {
    right: 1.25rem;
    left: 1.25rem;
    max-width: none;
    bottom: 1rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-header,
  .hero-reveal,
  .hero-reveal-delay-1,
  .hero-reveal-delay-2,
  .hero-reveal-delay-3,
  .hero-reveal-delay-4,
  .welcome-banner,
  .btn-primary,
  .hero::before,
  .hero-visual::before,
  .hero-visual img,
  .page-about .about-hero__visual::before,
  .page-about .about-hero__logo,
  .split-hero__visual::before,
  .split-hero__visual .about-hero__logo,
  .brand--animated .brand__mark::before,
  .brand--animated .brand__mark img,
  .cta-band::before {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  .card:hover,
  .blog-card:hover {
    transform: none;
  }

  .brand:hover img,
  .brand--animated:hover .brand__mark img {
    transform: none;
    filter: none;
    box-shadow: none;
  }

  .section.reveal.is-visible .card {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
