:root {
  --text-xs: .75rem;
  --text-sm: .875rem;
  --text-base: 1rem;
  --space-2: .5rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --color-ink: #292923;
  --color-paper: #fff;
  --color-border: #c8c8be;
}
/* Preserve the existing visual system. Add only migration safety and accessibility. */
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; }
#loader { display: none !important; }
.wow { visibility: visible !important; animation: none !important; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid #967322;
  outline-offset: 4px;
}
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status {
  padding: var(--space-4);
  margin-bottom: var(--space-6);
  color: var(--color-ink);
  border: 1px solid var(--color-border);
  font-size: var(--text-sm);
  font-weight: 500;
}
.form-status--success { background: #eef5ea; border-color: #6f8f5a; }
.form-status--error { background: #fbeceb; border-color: #a5463f; }
.form-status a { text-decoration: underline; overflow-wrap: anywhere; color: inherit; }
.preview-notice {
  padding: var(--space-4);
  margin-bottom: var(--space-6);
  color: var(--color-ink);
  background: #f4f1e9;
  border: 1px solid var(--color-border);
  font-size: var(--text-sm);
}
.preview-notice p { margin: var(--space-2) 0 0; }
.preview-notice a { text-decoration: underline; overflow-wrap: anywhere; }
button:disabled { cursor: not-allowed; opacity: .65; }
@media (min-width: 992px) {
  .navbar:not(.nav-sticky) { background: rgba(24, 21, 17, .72) !important; }
  .navbar:not(.nav-sticky) .navbar-brand,
  .navbar:not(.nav-sticky) .navbar-nav .nav-link { color: #fff !important; }
  .navbar:not(.nav-sticky) .navbar-nav .nav-link:hover,
  .navbar:not(.nav-sticky) .navbar-nav .nav-link.active { text-decoration: underline; text-underline-offset: .3em; }
}
@media (max-width: 767px) {
  .hero .hero-image img { max-width: 100%; }
  .hero .hero-text h2 { height: auto; min-height: 2.8em; }
  .hero .hero-btn .btn { white-space: normal; max-width: 100%; }
  .hero .hero-btn .btn + .btn { margin-top: var(--space-2); }
  .footer .footer-info a { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  .wow { visibility: visible !important; animation: none !important; }
  *, *::before, *::after { scroll-behavior: auto !important; }
}
