/* Homepage header styles; shared nav.css and footer.css supply the menus and footer. */
:root {
      --black: #000000;
      --off-black: #0a0a0a;
      --dark: #111111;
      --mid: #1a1a1a;
      --border: rgba(255, 255, 255, 0.08);
      --border-bright: rgba(255, 255, 255, 0.18);
      --white: #ffffff;
      --off-white: #e8e8e8;
      --muted: #888888;
      --accent: hsla(217, 70%, 59%, 0.386);
      --accent-dim: rgba(59, 130, 246, 0.15);
      --accent-glow: rgba(59, 130, 246, 0.4);
      --red: #ef4444;
      --orange: #f97316;
      --silver: #c0c0c0;
    }
/* ─── ANNOUNCEMENT BAR ─── */
    #announce-bar {
      background: var(--white);
      color: var(--black);
      text-align: center;
      padding: 10px 24px;
      font-size: 13px;
      font-weight: 500;
      letter-spacing: 0.02em;
      position: relative;
      z-index: 100;
    }

    #announce-bar a {
      color: var(--black);
      text-decoration: underline;
    }

    /* ─── NAV ─── */
    nav {
      position: fixed;
      top: 33px;
      left: 0;
      right: 0;
      z-index: 99;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 40px;
      min-height: 80px;
      background: rgba(0, 0, 0, 0.72);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--border);
      transition: top 0.3s;
    }

    .nav-logo {
      font-size: 18px;
      font-weight: 800;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--white);
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .nav-logo-mark {
      width: 32px;
      height: 32px;
      border: 2px solid var(--white);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      font-weight: 900;
      letter-spacing: 0.05em;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
      list-style: none;
    }

    .nav-links a {
      color: var(--off-white);
      text-decoration: none;
      font-size: 13px;
      font-weight: 500;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      opacity: 0.75;
      transition: opacity 0.2s;
    }

    .nav-links a:hover {
      opacity: 1;
    }

    /* ─── MEGA DROPDOWN SYSTEM ─── */
    .nav-links>li {
      position: relative;
    }

    /* Generic dropdown trigger */
    .nav-has-dropdown:hover>.nav-dropdown,
    .nav-dropdown:hover {
      opacity: 1;
      visibility: visible;
      transform: translateX(-50%) translateY(0);
      transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0s;
    }

    .nav-dropdown {
      opacity: 0;
      visibility: hidden;
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%) translateY(-8px);
      background: var(--dark);
      border: 1px solid var(--border-bright);
      border-top: 24px solid transparent;
      margin-top: -4px;
      background-clip: padding-box;
      width: max-content;
      max-width: 1400px;
      z-index: 200;
      box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
      transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
      display: flex;
    }

    .nav-dropdown::before {
      content: '';
      position: absolute;
      top: -7px;
      left: 50%;
      transform: translateX(-50%) rotate(45deg);
      width: 10px;
      height: 10px;
      background: var(--dark);
      border-left: 1px solid var(--border-bright);
      border-top: 1px solid var(--border-bright);
    }

    /* ── SUMMARY / LEFT COLUMN ── */
    .dd-all-col {
      background: var(--off-black);
      border-right: 1px solid var(--border);
      padding: 28px 24px;
      min-width: 200px;
      display: flex;
      flex-direction: column;
    }

    .dd-all-label {
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 12px;
    }

    .dd-all-link {
      display: flex;
      align-items: center;
      gap: 10px;
      color: var(--white);
      text-decoration: none;
      font-size: 14px;
      font-weight: 700;
      transition: color 0.2s;
      text-transform: none;
      letter-spacing: normal;
      opacity: 1;
    }

    .dd-all-link:hover {
      color: var(--accent);
      opacity: 1;
    }

    .dd-all-sub {
      font-size: 12px;
      color: var(--muted);
      line-height: 1.55;
      margin-top: 8px;
      text-transform: none;
      letter-spacing: normal;
    }

    .dd-arrow {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 22px;
      height: 22px;
      background: var(--accent-dim);
      border: 1px solid var(--accent-glow);
      color: var(--accent);
      font-size: 11px;
      flex-shrink: 0;
    }

    /* Stats chips in summary col */
    .dd-stat-chips {
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin-top: 20px;
    }

    .dd-stat-chip {
      display: flex;
      align-items: center;
      gap: 8px;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid var(--border);
      padding: 8px 12px;
    }

    .dd-stat-chip-num {
      font-family: 'Share Tech Mono', monospace;
      font-size: 18px;
      font-weight: 700;
      color: var(--accent);
      line-height: 1;
    }

    .dd-stat-chip-label {
      font-size: 11px;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    /* ── COLS WRAPPER ── */
    .dd-cols {
      display: grid;
      grid-template-columns: repeat(3, minmax(210px, 1fr));
      flex: 1;
    }

    .dd-col {
      padding: 22px 18px;
      border-right: 1px solid var(--border);
      position: relative;
    }

    .dd-col:last-child {
      border-right: none;
    }

    .dd-col-title {
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 10px;
      padding-bottom: 8px;
      border-bottom: 1px solid var(--border);
    }

    .dd-col-title+.dd-col-title {
      margin-top: 18px;
    }

    .dd-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 1px;
    }

    /* Basic link rows */
    .dd-col ul li a {
      display: block;
      padding: 5px 0;
      color: rgba(255, 255, 255, 0.5);
      text-decoration: none;
      font-size: 12px;
      font-weight: 400;
      letter-spacing: 0.01em;
      text-transform: none;
      opacity: 1;
      transition: color 0.15s, padding-left 0.15s;
    }

    .dd-col ul li a:hover {
      color: var(--white);
      padding-left: 5px;
      opacity: 1;
    }

    /* ── WEERG-STYLE EXPANDABLE ROWS (hover → flyout) ── */
    .dd-expandable {
      position: relative;
    }

    /* The parent row button */
    .dd-expand-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 6px 0;
      cursor: default;
      transition: background 0.15s;
    }

    .dd-expand-label {
      display: flex;
      align-items: center;
      gap: 8px;
      color: rgba(255, 255, 255, 0.65);
      font-size: 12.5px;
      font-weight: 500;
      text-decoration: none;
      text-transform: none;
      letter-spacing: 0.01em;
      transition: color 0.15s;
    }

    .dd-expand-count {
      font-family: 'Share Tech Mono', monospace;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.06em;
      background: rgba(255, 255, 255, 0.07);
      border: 1px solid var(--border);
      color: var(--muted);
      padding: 1px 6px;
      border-radius: 2px;
      transition: background 0.15s, color 0.15s, border-color 0.15s;
    }

    .dd-expand-caret {
      font-size: 9px;
      color: var(--muted);
      transition: color 0.15s;
      flex-shrink: 0;
    }

    .dd-expandable:hover .dd-expand-label {
      color: var(--white);
    }

    .dd-expandable:hover .dd-expand-count {
      background: var(--accent-dim);
      border-color: var(--accent-glow);
      color: var(--accent);
    }

    .dd-expandable:hover .dd-expand-caret {
      color: var(--accent);
    }

    /* The fly-out sub-panel */
    .dd-flyout {
      display: none;
      position: absolute;
      top: -22px;
      left: calc(100% + 1px);
      background: #0e0e0e;
      border: 1px solid var(--border-bright);
      padding: 16px 0;
      min-width: 220px;
      z-index: 300;
      box-shadow: 12px 12px 40px rgba(0, 0, 0, 0.7);
      animation: flyoutIn 0.18s ease;
    }

    @keyframes flyoutIn {
      from {
        opacity: 0;
        transform: translateX(-6px);
      }

      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    .dd-expandable:hover .dd-flyout {
      display: block;
    }

    .dd-flyout-title {
      font-size: 9px;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--muted);
      padding: 0 18px 10px;
      border-bottom: 1px solid var(--border);
      margin-bottom: 6px;
    }

    .dd-flyout a {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 7px 18px;
      color: rgba(255, 255, 255, 0.55);
      text-decoration: none;
      font-size: 12.5px;
      font-weight: 400;
      transition: background 0.12s, color 0.12s;
      text-transform: none;
      letter-spacing: normal;
      opacity: 1;
    }

    .dd-flyout a:hover {
      background: rgba(255, 255, 255, 0.04);
      color: var(--white);
      opacity: 1;
      padding-left: 18px;
      /* override parent indent rule */
    }

    .dd-flyout-badge {
      font-family: 'Share Tech Mono', monospace;
      font-size: 10px;
      color: var(--muted);
      letter-spacing: 0.06em;
    }

    /* ── FINISHES col specific ── */
    .dd-finish-row {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 6px 0;
      color: rgba(255, 255, 255, 0.55);
      text-decoration: none;
      font-size: 12.5px;
      font-weight: 400;
      transition: color 0.15s, padding-left 0.15s;
      text-transform: none;
      letter-spacing: normal;
      opacity: 1;
    }

    .dd-finish-row:hover {
      color: var(--white);
      padding-left: 4px;
      opacity: 1;
    }

    .dd-finish-swatch {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      flex-shrink: 0;
      border: 1px solid rgba(255, 255, 255, 0.15);
    }

    /* ── CARET ── */
    .nav-caret {
      font-size: 9px;
      transition: transform 0.2s;
      display: inline-block;
    }

    .nav-has-dropdown:hover .nav-caret {
      transform: rotate(180deg);
    }

    .nav-cta {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .btn-outline {
      padding: 9px 20px;
      border: 1px solid rgba(255, 255, 255, 0.5);
      color: var(--white);
      background: transparent;
      font-family: 'Inter', sans-serif;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      cursor: pointer;
      text-decoration: none;
      transition: background 0.2s, border-color 0.2s;
    }

    .btn-outline:hover {
      background: rgba(255, 255, 255, 0.08);
      border-color: var(--white);
    }

    .btn-solid {
      padding: 9px 22px;
      background: var(--white);
      color: var(--black);
      font-family: 'Inter', sans-serif;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      cursor: pointer;
      text-decoration: none;
      border: none;
      transition: background 0.2s, transform 0.15s;
    }

    .btn-solid:hover {
      background: var(--off-white);
      transform: translateY(-1px);
    }

    
#main-nav ul { margin: 0; padding: 0; }
#main-nav { line-height: normal; }
#main-nav img { height: auto; }
#main-nav .nav-links { flex-wrap: nowrap; }
body > main { padding-top: 145px; }
@media (max-width: 600px) { #main-nav { padding-left: 16px; padding-right: 16px; } #main-nav .nav-logo img { max-width: 170px; object-fit: contain; } }
@media print { #main-nav, #announce-bar, .site-footer { display: none; } body > main { padding-top: 20px; } }
