/* Hallmark design system: modern-minimal | nav: three-part | footer: statement-index */

:root {
  --color-nav-bg: #ffffff;
  --color-nav-border: #e2e8f0;
  --color-ink: #121518;
  --color-ink-hover: #1e2227;
  --color-muted: #555555;
  --color-accent: #d6fd70;
  --color-accent-ink: #121518;
  --color-surface-soft: oklch(0.985 0.003 240);
  --color-dark-paper: #111418;
  --color-dark-paper-2: #1c2024;
  --color-dark-border: #262b30;
  --color-dark-muted: #94a3b8;
  --color-white: #ffffff;
  --color-shadow-dropdown: rgba(18, 21, 24, 0.08);
  --nav-height: 60px;
  --shell-max-w: 1120px;
  --z-nav: 9000;
  --z-dropdown: 9100;
}

html {
  scrollbar-color: var(--color-nav-border) var(--color-nav-bg);
}

::selection {
  background: var(--color-accent);
  color: var(--color-accent-ink);
}

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

/* ==========================================================================
   HALLMARK GLOBAL NAVIGATION BAR (Three-part bar · 60px height)
   ========================================================================== */

.hallmark-nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background-color: var(--color-nav-bg);
  border-bottom: 1px solid var(--color-nav-border);
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
}

.hallmark-nav-container {
  width: 100%;
  max-width: var(--shell-max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Brand Identity */
.hallmark-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--color-ink);
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.hallmark-brand-icon {
  display: block;
  object-fit: contain;
}

.hallmark-brand-text {
  color: var(--color-ink);
  line-height: 1;
}

/* Center Menu */
.hallmark-nav-menu {
  display: flex;
  align-items: center;
}

.hallmark-nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hallmark-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink);
  text-decoration: none;
  white-space: nowrap;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.hallmark-nav-link:hover {
  color: var(--color-ink-hover);
  background-color: var(--color-surface-soft);
}

.hallmark-nav-link:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 2px;
}

.hallmark-nav-link:active {
  transform: translateY(0);
}

/* Dropdown Container */
.hallmark-dropdown-item {
  position: relative;
}

.hallmark-dropdown-menu {
  display: none;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-white);
  border: 1px solid var(--color-nav-border);
  border-radius: 12px;
  padding: 20px;
  z-index: var(--z-dropdown);
  min-width: 580px;
}

/* Dropdown Open State */
.hallmark-dropdown-item:hover > .hallmark-dropdown-menu,
.hallmark-dropdown-item.is-open > .hallmark-dropdown-menu {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.hallmark-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.hallmark-dropdown-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hallmark-dropdown-head {
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
  color: var(--color-muted);
  padding: 4px 8px;
  margin-bottom: 4px;
}

.hallmark-dropdown-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-ink);
  text-decoration: none;
  padding: 8px 8px;
  border-radius: 4px;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.hallmark-dropdown-link:hover {
  background-color: var(--color-surface-soft);
  color: var(--color-ink-hover);
}

.hallmark-dropdown-link:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 1px;
}

.hallmark-dropdown-link:active {
  transform: translateY(0);
}

/* Right Actions */
.hallmark-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hallmark-btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background-color: var(--color-ink);
  color: var(--color-white);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}

.hallmark-btn-action:hover {
  background-color: var(--color-ink-hover);
}

.hallmark-btn-action:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 2px;
}

.hallmark-btn-action:active {
  transform: translateY(0);
}

button:disabled, a[aria-disabled="true"], .hallmark-btn-action:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* Mobile Toggle */
.hallmark-mobile-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--color-nav-border);
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
}

.hallmark-hamburger-line {
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--color-ink);
  border-radius: 1px;
  transition: transform 0.15s ease;
}

/* ==========================================================================
   HALLMARK GLOBAL FOOTER (Statement-Index · High-Contrast Pure White)
   ========================================================================== */

.hallmark-footer {
  background-color: var(--color-dark-paper);
  color: var(--color-white);
  border-top: 1px solid var(--color-dark-border);
  margin-top: auto;
  padding: 56px 0 28px;
  font-family: var(--font-body, 'Inter', sans-serif);
}

.hallmark-footer-container {
  max-width: var(--shell-max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.hallmark-footer-top {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-dark-border);
}

/* Footer Brand & Statement */
.hallmark-footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.hallmark-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--color-white);
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.hallmark-footer-brand-icon {
  display: block;
  object-fit: contain;
}

.hallmark-footer-brand-text {
  color: var(--color-white);
}

.hallmark-footer-statement {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-white);
  opacity: 0.9;
  margin: 0;
  max-width: 360px;
}

.hallmark-footer-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hallmark-pill-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--color-dark-paper-2);
  border: 1px solid var(--color-dark-border);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-white);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.hallmark-pill-link:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.hallmark-pill-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.hallmark-pill-link:active {
  transform: translateY(0);
}

/* Footer Columns */
.hallmark-footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.hallmark-footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hallmark-footer-col-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
  color: var(--color-white);
  margin-bottom: 8px;
}

.hallmark-footer-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-white);
  opacity: 0.88;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.hallmark-footer-link:hover {
  opacity: 1;
  color: var(--color-accent);
}

.hallmark-footer-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.hallmark-footer-link:active {
  transform: translateY(0);
}

/* Footer Bottom Bar */
.hallmark-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.hallmark-footer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hallmark-meta-link {
  font-size: 13px;
  color: var(--color-white);
  opacity: 0.85;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.hallmark-meta-link:hover {
  opacity: 1;
  color: var(--color-accent);
}

.hallmark-meta-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

.hallmark-meta-link:active {
  transform: translateY(0);
}

.hallmark-meta-sep {
  font-size: 10px;
  color: var(--color-dark-border);
}

.hallmark-footer-colophon {
  font-size: 13px;
  color: var(--color-white);
  opacity: 0.8;
  white-space: nowrap;
}

/* ==========================================================================
   RESPONSIVE ADAPTATIONS
   ========================================================================== */

@media (max-width: 900px) {
  .hallmark-dropdown-menu {
    min-width: 480px;
  }
  .hallmark-footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .hallmark-nav-menu {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-nav-border);
    padding: 16px 24px 24px;
    border-top: 1px solid var(--color-nav-border);
  }

  .hallmark-nav-menu.is-open {
    display: block;
  }

  .hallmark-nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
  }

  .hallmark-dropdown-menu {
    position: static;
    transform: none;
    border: 1px solid var(--color-nav-border);
    margin-top: 8px;
    min-width: unset;
    width: 100%;
  }

  .hallmark-dropdown-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hallmark-mobile-btn {
    display: flex;
  }

  .hallmark-footer-links-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hallmark-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* Legacy Reset */
.navbar, .footer {
  margin: 0;
}
