/* Imperium Litrae — custom theme (Bootstrap used lightly for grid only) */

:root {
  --font-sans: "Inter", system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-display: "Cinzel", "Times New Roman", serif;

  --obsidian: oklch(12% 0.004 60);
  --charcoal: oklch(18% 0.012 60);
  --gold: oklch(72% 0.09 80);
  --champagne: oklch(87% 0.07 85);
  --ivory: oklch(94% 0.02 80);
  --parchment: oklch(83% 0.05 80);
  --mahogany: oklch(27% 0.035 45);
  --bronze: oklch(50% 0.07 70);

  --background: var(--obsidian);
  --foreground: var(--ivory);
  --card: var(--charcoal);
  --primary: var(--gold);
  --primary-foreground: var(--obsidian);
  --muted-foreground: oklch(76% 0.03 80);
  --border: oklch(72% 0.09 80 / 0.22);
  --input: oklch(72% 0.09 80 / 0.35);
  --ring: var(--gold);

  --gradient-gold: linear-gradient(135deg, var(--champagne), var(--gold) 45%, var(--bronze));
  --gradient-vignette: radial-gradient(ellipse at center, transparent 20%, oklch(12% 0.004 60 / 0.85) 75%, var(--obsidian));
  --shadow-glow: 0 0 60px -10px oklch(72% 0.09 80 / 0.35);
}

html { overflow-x: clip; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
}

/* Override Bootstrap defaults that clash */
a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; }
.container-xl { max-width: 80rem; }

::selection {
  background: oklch(72% 0.09 80 / 0.35);
  color: var(--ivory);
}

.font-display { font-family: var(--font-display); font-style: normal; }
.font-ui { font-family: var(--font-sans); }

.eyebrow {
  font-family: var(--font-sans);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 0.7rem;
  margin: 0;
}

.text-gilded {
  background: var(--gradient-gold);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.bg-gilded { background: var(--gradient-gold); }
.bg-vignette { background: var(--gradient-vignette); }
.bg-charcoal { background: var(--charcoal); }
.text-champagne { color: var(--champagne); }
.text-ivory-85 { color: oklch(94% 0.02 80 / 0.85); }
.text-ivory-80 { color: oklch(94% 0.02 80 / 0.8); }
.text-ivory-75 { color: oklch(94% 0.02 80 / 0.75); }
.text-bronze { color: var(--bronze); }
.text-muted-il { color: var(--muted-foreground); }

.gold-frame {
  border: 1px solid oklch(72% 0.09 80 / 0.35);
  outline: 1px solid oklch(72% 0.09 80 / 0.12);
  outline-offset: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  z-index: 100;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 1rem;
}
.skip-link:focus { left: 1rem; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.5s, border-color 0.5s, backdrop-filter 0.5s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: oklch(12% 0.004 60 / 0.9);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.brand:hover { color: inherit; }
.logo-mark {
  position: relative;
  display: inline-block;
  overflow: hidden;
  width: 2.5rem;
  height: 2.5rem;
}
.logo-mark img {
  position: absolute;
  width: 366%;
  max-width: none;
  left: -133%;
  top: -90%;
  mix-blend-mode: lighten;
}
.brand-text {
  font-size: 0.875rem;
  letter-spacing: 0.2em;
}
@media (min-width: 768px) {
  .brand-text { font-size: 1rem; }
}

.primary-nav { align-items: center; gap: 1.5rem; }
.nav-link-il {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: oklch(94% 0.02 80 / 0.8);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 1.5rem 0;
}
.nav-link-il:hover,
.nav-link-il.active { color: var(--primary); }
.nav-link-il .chevron { width: 0.75rem; height: 0.75rem; }

.nav-dropdown { position: relative; }
.dropdown-panel {
  position: absolute;
  left: 50%;
  top: 100%;
  width: 15rem;
  transform: translateX(-50%);
  border: 1px solid var(--border);
  background: oklch(18% 0.012 60 / 0.95);
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(12px);
  transition: opacity 0.2s, visibility 0.2s;
}
.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
  opacity: 1;
  visibility: visible;
}
.dropdown-panel a {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: oklch(94% 0.02 80 / 0.75);
  padding: 0.5rem 1.25rem;
}
.dropdown-panel a:hover {
  background: var(--mahogany);
  color: var(--primary);
}

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.menu-toggle {
  background: none;
  border: 0;
  color: var(--champagne);
  padding: 0.5rem;
}
.mobile-nav {
  border-top: 1px solid var(--border);
  background: var(--background);
  max-height: calc(100vh - 5rem);
  overflow-y: auto;
}
.mobile-nav-inner { padding: 1.5rem; }
.mobile-nav-block {
  border-bottom: 1px solid oklch(72% 0.09 80 / 0.12);
  padding: 0.75rem 0;
}
.mobile-nav-block > a {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--champagne);
}
.mobile-sub {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-left: 0.75rem;
}
.mobile-sub a {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: oklch(94% 0.02 80 / 0.7);
}

/* Buttons */
.btn-il {
  font-family: var(--font-sans);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 0.75rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  border: 1px solid transparent;
  transition: box-shadow 0.5s, filter 0.5s, background 0.5s, border-color 0.5s, color 0.5s;
  cursor: pointer;
  text-align: center;
}
.btn-il-solid {
  background: var(--gradient-gold);
  color: var(--primary-foreground);
  border: 0;
}
.btn-il-solid:hover {
  color: var(--primary-foreground);
  box-shadow: var(--shadow-glow);
  filter: brightness(1.1);
}
.btn-il-outline {
  background: transparent;
  border-color: oklch(72% 0.09 80 / 0.6);
  color: var(--champagne);
}
.btn-il-outline:hover {
  border-color: var(--primary);
  background: oklch(72% 0.09 80 / 0.1);
  color: var(--primary);
}

/* Ornament */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--primary);
}
.ornament .line {
  height: 1px;
  width: 4rem;
}
.ornament .line-l { background: linear-gradient(to right, transparent, oklch(72% 0.09 80 / 0.7)); }
.ornament .line-r { background: linear-gradient(to left, transparent, oklch(72% 0.09 80 / 0.7)); }

/* Sections */
.section { padding: 7rem 0; }
.section-tight { padding: 6rem 0; }
.section-cta { padding: 8rem 0; position: relative; overflow: hidden; }
.section-border-y {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--charcoal);
  padding: 9rem 0 7rem;
  text-align: center;
}
.page-hero .bg-vignette {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 56rem; margin: 0 auto; padding: 0 1.5rem; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.1;
  margin: 1.5rem 0 0;
}
.page-hero .lead { margin: 2rem auto 0; max-width: 42rem; color: oklch(94% 0.02 80 / 0.85); font-size: 1.125rem; }

.section-heading { max-width: 48rem; }
.section-heading.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 3rem);
  line-height: 1.2;
  margin: 1.25rem 0 0;
}
.section-heading .body { margin-top: 1.5rem; }

/* Hero home */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: 3.2s cubic-bezier(0.2, 0.7, 0.2, 1) forwards light-reveal;
}
.hero-vignette,
.hero-dim,
.hero-fade,
.hero-dust {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-dim { background: oklch(12% 0.004 60 / 0.45); }
.hero-fade {
  background: var(--background);
  animation: 2.4s ease-out forwards fade-from-black;
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
}
.hero-logo {
  width: 9rem;
  margin: 0 auto;
  mix-blend-mode: lighten;
  animation: 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.8s both rise-in;
}
@media (min-width: 768px) {
  .hero-logo { width: 11rem; }
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin: 1.5rem 0 0;
  animation: 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 1.5s both rise-in;
}
.hero .eyebrow { animation: 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 1.3s both rise-in; margin-top: 1.5rem; }
.hero .ornament { animation: 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 1.7s both rise-in; margin-top: 2rem; }
.hero-lead {
  max-width: 42rem;
  margin: 2rem auto 0;
  color: oklch(94% 0.02 80 / 0.85);
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  animation: 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 1.9s both rise-in;
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
  animation: 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 2.3s both rise-in;
}
@media (min-width: 576px) {
  .hero-ctas { flex-direction: row; }
}
.hero-enter {
  display: inline-block;
  margin-top: 3.5rem;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: oklch(87% 0.07 85 / 0.7);
  animation: 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 2.8s both rise-in;
}
.hero-enter:hover { color: var(--primary); }

.dust {
  position: absolute;
  border-radius: 999px;
  background: var(--champagne);
  animation: linear infinite drift;
}

/* Cards / grids */
.card-il {
  display: block;
  border: 1px solid var(--border);
  background: oklch(12% 0.004 60 / 0.45);
  padding: 2rem;
  transition: border-color 0.3s, background 0.3s;
  height: 100%;
  color: inherit;
}
.card-il:hover {
  border-color: var(--primary);
  background: var(--card);
  color: inherit;
}
.card-il h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 1rem 0 0;
}
.card-il .roman {
  font-family: var(--font-display);
  font-size: 1.875rem;
  color: var(--bronze);
  margin: 0;
}
.card-il .subtitle { color: oklch(87% 0.07 85 / 0.9); margin-top: 0.5rem; }
.card-il .cta {
  display: inline-block;
  margin-top: 2rem;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--primary);
}

.genre-grid { display: grid; gap: 1px; background: var(--border); }
@media (min-width: 576px) { .genre-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .genre-grid { grid-template-columns: repeat(3, 1fr); } }
.genre-cell {
  display: block;
  background: var(--background);
  padding: 2rem;
  color: inherit;
  transition: background 0.3s;
}
.genre-cell:hover { background: var(--card); color: inherit; }
.genre-cell h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--champagne);
  margin: 0;
}
.genre-cell:hover h3 { color: var(--primary); }
.genre-cell p { margin: 0.75rem 0 0; color: oklch(94% 0.02 80 / 0.75); font-size: 1rem; }

.chapter-grid { display: grid; gap: 1px; background: var(--border); margin-top: 5rem; }
@media (min-width: 768px) { .chapter-grid { grid-template-columns: repeat(3, 1fr); } }
.chapter-cell { background: var(--background); padding: 2rem; }
.chapter-cell h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--champagne);
  margin: 1rem 0 0;
}
.chapter-note {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--bronze);
  margin-top: 1.5rem;
}

.commit-num {
  font-family: var(--font-display);
  font-size: 1.875rem;
  color: var(--bronze);
  margin: 0;
}
.commit-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--champagne);
  margin: 1rem 0 0;
}

/* Globe — Beyond Borders */
.globe-wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.globe-layout {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 992px) {
  .globe-layout { grid-template-columns: 1.1fr 1fr; gap: 3rem; }
}
.globe-col { position: relative; }
.globe-glow {
  position: absolute;
  inset: 8%;
  border-radius: 999px;
  background: oklch(72% 0.09 80 / 0.1);
  filter: blur(48px);
  z-index: 0;
  pointer-events: none;
}
.globe-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  aspect-ratio: 1;
  cursor: grab;
  user-select: none;
  touch-action: none;
  overflow: hidden;
}
.globe-stage:active { cursor: grabbing; }
.globe-svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.55));
}
.globe-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  position: relative;
  z-index: 1;
}
.globe-ctrl-btn {
  font-family: var(--font-sans);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--champagne);
  padding: 0.5rem 1rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  transition: border-color 0.2s, color 0.2s;
}
.globe-ctrl-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.globe-copy { min-width: 0; }
.globe-heading {
  font-size: clamp(1.875rem, 3.5vw, 2.25rem);
  line-height: 1.2;
  margin: 1rem 0 0;
}
.dest-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.dest-btn {
  font-family: var(--font-sans);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--champagne);
  padding: 0.75rem 1.25rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.dest-btn.active,
.dest-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: oklch(72% 0.09 80 / 0.15);
}
.dest-panel { margin-top: 2.5rem; min-height: 220px; }
.dest-placeholder {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--muted-foreground);
  margin: 0;
}
.dest-card {
  background: oklch(18% 0.012 60 / 0.7);
  padding: 2rem;
}
.dest-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--champagne);
  margin: 0.75rem 0 0;
}
.dest-card-text {
  margin: 1rem 0 0;
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}
.dest-card-cta {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--primary);
}
.dest-card-cta:hover { color: var(--champagne); }
.globe-pin text {
  pointer-events: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* CTA band */
.cta-band-bg {
  position: absolute;
  inset: 0;
}
.cta-band-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.cta-band-bg .dim {
  position: absolute;
  inset: 0;
  background: oklch(12% 0.004 60 / 0.8);
}
.cta-band-inner {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}
.cta-band-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 3rem);
  line-height: 1.2;
  margin: 0;
}

/* Forms */
.inquiry-form {
  max-width: 42rem;
  margin: 0 auto;
  border: 1px solid var(--border);
  background: oklch(18% 0.012 60 / 0.6);
  padding: 2rem;
}
@media (min-width: 768px) {
  .inquiry-form { padding: 2.5rem; }
}
.form-label-il {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: oklch(87% 0.07 85 / 0.8);
  margin-bottom: 0.5rem;
}
.form-control-il {
  display: block;
  width: 100%;
  border: 1px solid var(--input);
  background: oklch(12% 0.004 60 / 0.6);
  color: var(--ivory);
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
}
.form-control-il:focus { border-color: var(--primary); box-shadow: none; }
.form-control-il option { background: var(--charcoal); color: var(--ivory); }
.form-note { font-size: 0.875rem; color: oklch(94% 0.02 80 / 0.7); }
.form-note a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.form-status {
  border: 1px solid var(--border);
  background: oklch(12% 0.004 60 / 0.5);
  padding: 1rem;
  font-size: 0.875rem;
  color: oklch(87% 0.07 85 / 0.9);
}
.form-status-error {
  border-color: oklch(62% 0.18 28 / 0.5);
  color: oklch(80% 0.08 40);
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.filter-bar {
  border: 1px solid var(--border);
  background: oklch(18% 0.012 60 / 0.4);
  padding: 1.5rem;
}

.chip {
  font-family: var(--font-sans);
  border: 1px solid var(--border);
  background: transparent;
  color: oklch(94% 0.02 80 / 0.7);
  padding: 0.5rem 1rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.chip.active,
.chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.panel-box {
  border: 1px solid var(--border);
  padding: 2rem;
}
.faq details {
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.faq summary {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--champagne);
  cursor: pointer;
}
.faq details[open] { background: oklch(18% 0.012 60 / 0.4); }
.related-chip {
  font-family: var(--font-sans);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: oklch(94% 0.02 80 / 0.75);
  display: inline-block;
}
.related-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--charcoal);
}
.footer-tagline {
  font-size: 0.875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: oklch(87% 0.07 85 / 0.8);
  margin: 0;
}
.footer-nav a {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: oklch(94% 0.02 80 / 0.7);
}
.footer-nav a:hover { color: var(--primary); }
.footer-copy {
  border-top: 1px solid var(--border);
}
.footer-copy p {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted-foreground);
  margin: 0;
}

/* Animations */
@keyframes fade-from-black {
  0% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes light-reveal {
  0% { filter: brightness(0.15) saturate(0.6); transform: scale(1.08); }
  100% { filter: brightness(1) saturate(1); transform: scale(1.02); }
}
@keyframes rise-in {
  0% { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes drift {
  0% { opacity: 0; transform: translate(0, 0); }
  20% { opacity: 0.8; }
  100% { opacity: 0; transform: translate(40px, -160px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-fade { opacity: 0; }
  .hero-bg img { filter: none; transform: scale(1.02); }
  .motion-hide { display: none; }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
}
