:root {
  color-scheme: light;
  --ink: #0b0f1f;
  --muted: #4c5466;
  --accent: #1c5bff;
  --accent-dark: #1447cc;
  --surface: #f4f6fb;
  --surface-strong: #e6eaf5;
  --sand: #f8f3e8;
  --line: #d9deea;
  --glass: rgba(255, 255, 255, 0.78);
  --glass-strong: rgba(255, 255, 255, 0.92);
  --radius: 18px;
  --shadow: 0 24px 60px rgba(11, 15, 31, 0.16);
  --shadow-soft: 0 14px 30px rgba(11, 15, 31, 0.08);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f4f6fb;
  --muted: #b7c0d6;
  --accent: #6aa4ff;
  --accent-dark: #4a83e6;
  --surface: #0f172a;
  --surface-strong: #0b1220;
  --sand: #0f172a;
  --line: rgba(255, 255, 255, 0.12);
  --glass: rgba(16, 22, 36, 0.75);
  --glass-strong: rgba(12, 18, 30, 0.9);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 14px 30px rgba(0, 0, 0, 0.35);
}

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

body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f6f7fb 0%, #ffffff 48%, #f4f2ee 100%);
  line-height: 1.6;
  scroll-behavior: smooth;
}

:root[data-theme="dark"] body {
  background: linear-gradient(180deg, #0b0f1f 0%, #0f1626 50%, #0b0f1f 100%);
}

.skip-link {
  position: absolute;
  left: 1.5rem;
  top: 1.2rem;
  padding: 0.6rem 1rem;
  background: #0b0f1f;
  color: #fff;
  border-radius: 999px;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
  z-index: 30;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(28, 91, 255, 0.4);
  outline-offset: 2px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 6vw;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(217, 222, 234, 0.6);
}

:root[data-theme="dark"] .site-header {
  background: rgba(9, 12, 24, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.04em;
}

:root[data-theme="dark"] .brand-mark {
  background: #f4f6fb;
  color: #0b0f1f;
}

.brand-text {
  font-size: 1.02rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav a {
  color: var(--muted);
  font-weight: 500;
}

.nav-cta {
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--ink);
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.theme-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(28, 91, 255, 0.15);
}

:root[data-theme="dark"] .theme-toggle {
  background: rgba(16, 22, 36, 0.7);
  border-color: rgba(255, 255, 255, 0.2);
}

:root[data-theme="dark"] .theme-indicator {
  background: #f4f6fb;
  box-shadow: 0 0 0 4px rgba(106, 164, 255, 0.2);
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 1.3fr) minmax(280px, 1fr);
  gap: 3rem;
  padding: 5rem 6vw 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  --hero-bg: linear-gradient(135deg, #ffffff 0%, #eef3ff 48%, #fff2df 100%);
  --hero-edge: rgba(255, 255, 255, 0.9);
  background-image: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 0%,
      var(--hero-edge) 18%,
      var(--hero-edge) 85%,
      rgba(255, 255, 255, 0) 100%
    ),
    var(--hero-bg);
  background-size: 100% 100%, 200% 200%;
  background-position: 50% 50%, 0% 50%;
  animation: gradientShift 28s ease-in-out infinite;
}

:root[data-theme="dark"] .hero {
  --hero-bg: linear-gradient(135deg, #0f172a 0%, #121b33 50%, #101826 100%);
  --hero-edge: rgba(11, 15, 31, 0.9);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 12% 6% auto auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle at 30% 30%, rgba(125, 215, 255, 0.75), transparent 55%);
  filter: blur(10px);
  opacity: 0.85;
  z-index: 0;
  animation: glow 12s ease-in-out infinite, driftA 36s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -160px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle at 40% 40%, rgba(255, 201, 140, 0.6), transparent 60%);
  filter: blur(8px);
  opacity: 0.75;
  z-index: 0;
  animation: driftB 42s ease-in-out infinite;
}

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

.hero-content h1 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2.4rem, 3.4vw, 3.6rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.button.primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.button.primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.button.primary:hover::after {
  transform: translateX(100%);
}

.button.ghost {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}

.button.ghost.light {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

:root[data-theme="dark"] .button.ghost {
  background: rgba(16, 22, 36, 0.6);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.hero-highlights strong {
  display: block;
  font-size: 1.1rem;
}

.hero-highlights span {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-card {
  background: var(--glass-strong);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.7);
  animation: float 7s ease-in-out infinite;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

:root[data-theme="dark"] .hero-card {
  border-color: rgba(255, 255, 255, 0.15);
}

.hero-aside {
  display: grid;
  gap: 1.8rem;
}

.hero-visual {
  display: grid;
  gap: 1.8rem;
  align-content: center;
}

.image-stack {
  position: relative;
  min-height: 240px;
}

.image-frame {
  display: block;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: linear-gradient(135deg, #f7f9ff, #eef2fb);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

:root[data-theme="dark"] .image-frame {
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, #101827, #0b1220);
}

.image-frame picture {
  display: block;
  height: 100%;
}

.image-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.image-frame.large {
  min-height: 240px;
}

.image-frame.small {
  position: absolute;
  right: -10%;
  bottom: -18%;
  width: 60%;
  min-height: 160px;
  background: linear-gradient(135deg, #ffffff, #edf3ff);
  box-shadow: var(--shadow);
}

.image-frame.wide {
  min-height: 220px;
}

.image-frame.tall {
  min-height: 280px;
}


.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.card-header span {
  color: var(--muted);
  font-size: 0.9rem;
}

.card-header strong {
  font-size: 1.1rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.card-footer {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.section {
  padding: 4rem 6vw;
  position: relative;
  overflow: hidden;
  --section-bg: linear-gradient(180deg, #ffffff 0%, #f4f6fb 100%);
  --glow-a: rgba(28, 91, 255, 0.22);
  --glow-b: rgba(255, 201, 140, 0.2);
  --edge-fade: rgba(255, 255, 255, 0.78);
  background-image: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 0%,
      var(--edge-fade) 28%,
      var(--edge-fade) 72%,
      rgba(255, 255, 255, 0) 100%
    ),
    var(--section-bg);
  background-size: 100% 100%, 200% 200%;
  background-position: 50% 50%, 0% 50%;
  animation: gradientShift 32s ease-in-out infinite;
}

section[id] {
  scroll-margin-top: 110px;
}

.section.alt {
  --section-bg: linear-gradient(135deg, #f2f5fb 0%, #ffffff 70%, #f9f0e4 100%);
}

.section::before,
.section::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow-a), transparent 60%);
  filter: blur(12px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

.section::before {
  top: -120px;
  right: -160px;
  animation: driftA 36s ease-in-out infinite;
}

.section::after {
  bottom: -140px;
  left: -140px;
  background: radial-gradient(circle, var(--glow-b), transparent 65%);
  animation: driftB 40s ease-in-out infinite;
  opacity: 0.45;
}

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

.section.visuals {
  padding-top: 2rem;
}

.industry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.industry-tag {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-soft);
  font-weight: 600;
  font-size: 0.95rem;
}

:root[data-theme="dark"] .industry-tag {
  border-color: rgba(255, 255, 255, 0.18);
}

#advantages {
  --section-bg: linear-gradient(140deg, #f8f9fd 0%, #f1f4fb 50%, #f9f2e9 100%);
  --glow-a: rgba(28, 91, 255, 0.2);
  --glow-b: rgba(125, 215, 255, 0.18);
}

#industries {
  --section-bg: linear-gradient(135deg, #f6f7fb 0%, #f2f7ff 50%, #fbf4ea 100%);
  --glow-a: rgba(28, 91, 255, 0.18);
  --glow-b: rgba(255, 201, 140, 0.18);
}

.section.visuals {
  --section-bg: linear-gradient(140deg, #fbf7f0 0%, #f6f4fb 52%, #f1f7ff 100%);
  --glow-a: rgba(255, 201, 140, 0.25);
  --glow-b: rgba(28, 91, 255, 0.18);
}

#components {
  --section-bg: linear-gradient(135deg, #f1f4fb 0%, #f7f9ff 45%, #faf3ea 100%);
  --glow-a: rgba(28, 91, 255, 0.22);
  --glow-b: rgba(166, 214, 255, 0.2);
}

#process {
  --section-bg: linear-gradient(140deg, #f3faf8 0%, #f1f6ff 55%, #ffffff 100%);
  --glow-a: rgba(94, 208, 192, 0.2);
  --glow-b: rgba(28, 91, 255, 0.18);
}

#faq {
  --section-bg: linear-gradient(135deg, #f7f8fc 0%, #f2f5fb 50%, #fbf3ea 100%);
  --glow-a: rgba(28, 91, 255, 0.18);
  --glow-b: rgba(255, 201, 140, 0.2);
}

#contact {
  --section-bg: linear-gradient(135deg, #faf3ea 0%, #f4f6ff 55%, #ffffff 100%);
  --glow-a: rgba(255, 201, 140, 0.22);
  --glow-b: rgba(28, 91, 255, 0.18);
}

:root[data-theme="dark"] .section {
  --edge-fade: rgba(9, 12, 24, 0.85);
}

:root[data-theme="dark"] #advantages {
  --section-bg: linear-gradient(140deg, #10182b 0%, #121c35 50%, #0f172a 100%);
  --glow-a: rgba(106, 164, 255, 0.16);
  --glow-b: rgba(125, 215, 255, 0.12);
}

:root[data-theme="dark"] #industries {
  --section-bg: linear-gradient(135deg, #0f172a 0%, #121d35 50%, #101826 100%);
  --glow-a: rgba(106, 164, 255, 0.14);
  --glow-b: rgba(255, 201, 140, 0.1);
}

:root[data-theme="dark"] .section.visuals {
  --section-bg: linear-gradient(140deg, #121a31 0%, #10182b 52%, #0f172a 100%);
  --glow-a: rgba(255, 201, 140, 0.12);
  --glow-b: rgba(106, 164, 255, 0.12);
}

:root[data-theme="dark"] #components {
  --section-bg: linear-gradient(135deg, #0f172a 0%, #121c35 45%, #0f1626 100%);
  --glow-a: rgba(106, 164, 255, 0.14);
  --glow-b: rgba(166, 214, 255, 0.12);
}

:root[data-theme="dark"] #process {
  --section-bg: linear-gradient(140deg, #0f1b2b 0%, #121c33 55%, #0f1626 100%);
  --glow-a: rgba(94, 208, 192, 0.14);
  --glow-b: rgba(106, 164, 255, 0.12);
}

:root[data-theme="dark"] #faq {
  --section-bg: linear-gradient(135deg, #0f172a 0%, #121b32 50%, #0f1626 100%);
  --glow-a: rgba(106, 164, 255, 0.12);
  --glow-b: rgba(255, 201, 140, 0.1);
}

:root[data-theme="dark"] #contact {
  --section-bg: linear-gradient(135deg, #0f1626 0%, #121b33 55%, #0f172a 100%);
  --glow-a: rgba(255, 201, 140, 0.12);
  --glow-b: rgba(106, 164, 255, 0.12);
}

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

.section.dark {
  --section-bg: linear-gradient(135deg, #0b0f1f, #151a2f);
  --glow-a: rgba(28, 91, 255, 0.35);
  --glow-b: rgba(125, 215, 255, 0.25);
  --edge-fade: rgba(11, 15, 31, 0.9);
  color: #fff;
}

.section.dark p {
  color: #d9deea;
}

.section.dark::before,
.section.dark::after {
  opacity: 0.45;
}

.section-header {
  max-width: 42rem;
  margin-bottom: 2.6rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  margin: 0 0 0.8rem;
}


.section-header p {
  margin: 0;
  color: var(--muted);
}

.section.dark .section-header p {
  color: #c9cfdf;
}

.grid {
  display: grid;
  gap: 1.8rem;
}

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

.feature,
.pill-card,
.step,
.contact-card,
.quote-form {
  background: var(--glass);
  border-radius: var(--radius);
  padding: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

:root[data-theme="dark"] .feature,
:root[data-theme="dark"] .pill-card,
:root[data-theme="dark"] .step,
:root[data-theme="dark"] .contact-card,
:root[data-theme="dark"] .quote-form {
  border-color: rgba(255, 255, 255, 0.12);
}

.feature:hover,
.pill-card:hover,
.step:hover,
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #c6d2ef;
}

:root[data-theme="dark"] .feature:hover,
:root[data-theme="dark"] .pill-card:hover,
:root[data-theme="dark"] .step:hover,
:root[data-theme="dark"] .contact-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  stroke-width: 1.8;
  fill: none;
}


.pill-card {
  position: relative;
  overflow: hidden;
}

.icon-chip {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--surface);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.icon-chip svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  stroke-width: 1.8;
  fill: none;
}

.category-photo {
  min-height: 190px;
  margin: -0.6rem -0.6rem 1rem;
  padding: 0;
  border-radius: 16px;
}

.section.alt .pill-card {
  background: var(--glass-strong);
}

.feature h3,
.pill-card h3,
.step h3,
.contact-card h3 {
  margin-top: 0;
}

.feature p,
.pill-card p,
.step p {
  color: var(--muted);
}

.step span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  border-radius: 12px;
  font-weight: 600;
}


.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.4rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-soft);
}

:root[data-theme="dark"] .faq details {
  background: var(--glass);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

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

.quote-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  pointer-events: none;
}

.quote-form input,
.quote-form textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  font: inherit;
}

:root[data-theme="dark"] .quote-form input,
:root[data-theme="dark"] .quote-form textarea {
  background: rgba(9, 12, 24, 0.6);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.15);
}

:root[data-theme="dark"] .quote-form input::placeholder,
:root[data-theme="dark"] .quote-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.quote-form {
  padding-bottom: 1.2rem;
}

.quote-form textarea {
  min-height: 140px;
}

.quote-form button {
  width: 100%;
  margin-top: 0.5rem;
}

.turnstile {
  display: grid;
  justify-items: start;
  margin-bottom: 0.6rem;
}

.form-status {
  margin: 0.6rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.form-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0.4rem 0 0;
}

.contact-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: grid;
  gap: 0.6rem;
}

.contact-highlights {
  display: grid;
  gap: 0.8rem;
  margin: 1.2rem 0;
}

.mini-card {
  padding: 0.8rem 1rem;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.mini-card strong {
  display: block;
  margin-bottom: 0.2rem;
}

.contact-card a {
  color: var(--accent);
}

.trust {
  margin-top: 1.5rem;
  padding: 0.9rem 1rem;
  background: var(--surface);
  border-radius: 12px;
  font-weight: 600;
}

.footer {
  padding: 2.6rem 6vw 3rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  background: #fff;
}

:root[data-theme="dark"] .footer {
  background: #0b0f1f;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer span {
  color: var(--muted);
  display: block;
}

.footer-links {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  color: var(--muted);
}

.footer-note {
  color: var(--muted);
  font-size: 0.85rem;
  max-width: 48rem;
}

[data-animate] {
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0ms);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@keyframes glow {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-12px) scale(1.05);
    opacity: 0.9;
  }
}

@keyframes gradientShift {
  0% {
    background-position: 50% 50%, 0% 50%;
  }
  50% {
    background-position: 50% 50%, 100% 50%;
  }
  100% {
    background-position: 50% 50%, 0% 50%;
  }
}

@keyframes driftA {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-24px, 18px);
  }
}

@keyframes driftB {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(22px, -20px);
  }
}


@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero,
  .section,
  .hero::before,
  .hero::after,
  .section::before,
  .section::after {
    animation: none !important;
  }
}

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

  .nav {
    display: none;
  }

  .site-header {
    justify-content: space-between;
  }

  .hero-card {
    animation: none;
  }

  .image-frame.small {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 1.2rem;
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 1.1rem 5vw;
  }

  .hero {
    padding-top: 3.5rem;
    gap: 2rem;
  }

  .hero::before {
    width: 220px;
    height: 220px;
    opacity: 0.45;
  }

  .hero::after {
    width: 240px;
    height: 240px;
    opacity: 0.5;
  }

  .section::before,
  .section::after {
    width: 220px;
    height: 220px;
    opacity: 0.55;
  }

  .section,
  .hero {
    background-size: 240% 240%;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 3.2rem 6vw;
  }

  .category-photo {
    min-height: 170px;
    margin: -0.4rem -0.4rem 0.8rem;
  }

  .theme-toggle {
    padding: 0.5rem 0.8rem;
  }

  .theme-label {
    display: none;
  }

}
