/* 997Website V2 — Kiplinglee patented style (navy / cream / gold) */

:root {
  --navy: #0B1220;
  --ink: #0B1220;
  --paper: #F7F5F0;
  --mut: #9a948a;
  --gold: #D4A72C;
  --blue: #2563EB;
  --line: #1e293b;
  --card: #111827;
}

.w997-v2 {
  background: var(--navy);
  color: var(--paper);
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.w997-v2 img {
  max-width: 100%;
  height: auto;
  display: block;
}

.w997-preview-banner {
  display: none;
}

/* ── Header / nav (kiplinglee pattern) ── */
.w997-site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
  font-family: Helvetica, Arial, sans-serif;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 18, 32, 0.96);
  backdrop-filter: blur(10px);
  max-width: 70rem;
  margin-inline: auto;
}

.w997-site-logo {
  color: var(--paper);
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.5px;
}

.w997-site-logo span {
  color: var(--gold);
}

.w997-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--paper);
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-family: Helvetica, Arial, sans-serif;
}

.w997-site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.w997-site-nav a {
  color: var(--mut);
  text-decoration: none;
  font-size: 14px;
}

.w997-site-nav a:hover {
  color: var(--paper);
}

.w997-nav-cta {
  background: var(--blue) !important;
  color: #fff !important;
  padding: 10px 16px !important;
  border-radius: 6px;
  font-weight: 700 !important;
  white-space: nowrap;
}

.w997-nav-cta:hover {
  background: #1d4ed8 !important;
  color: #fff !important;
}

/* Dropdown nav */
.w997-nav-dropdown {
  position: relative;
}

.w997-nav-dropbtn {
  background: none;
  border: none;
  color: var(--mut);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
}

.w997-nav-dropbtn:hover,
.w997-nav-dropdown:hover .w997-nav-dropbtn {
  color: var(--paper);
}

.w997-nav-dropmenu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  z-index: 200;
}

.w997-nav-dropdown:hover .w997-nav-dropmenu,
.w997-nav-dropdown:focus-within .w997-nav-dropmenu {
  display: block;
}

.w997-nav-dropmenu a {
  display: block;
  padding: 10px 16px;
  color: var(--mut) !important;
  font-size: 14px;
  text-decoration: none;
}

.w997-nav-dropmenu a:hover {
  color: var(--gold) !important;
  background: rgba(212, 167, 44, 0.08);
}

.w997-nav-price {
  color: var(--gold) !important;
  font-weight: 700;
}

@media (max-width: 760px) {
  .w997-nav-toggle { display: block; }
  .w997-site-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 0 8px;
    width: 100%;
  }
  .w997-site-nav.open { display: flex; }
  .w997-site-header { flex-wrap: wrap; }
  .w997-nav-dropmenu {
    position: static;
    display: block;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 12px;
    min-width: 0;
  }
  .w997-nav-dropdown:hover .w997-nav-dropmenu { display: block; }
}

/* ── Shared typography helpers ── */
.w997-eyebrow {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.w997-v2 main a:not(.w997-btn):not(.w997-nav-cta) {
  color: var(--gold);
}

/* ── Buttons ── */
.w997-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 14px 32px;
  background: var(--blue);
  color: #fff !important;
  border-radius: 6px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}

.w997-btn:hover {
  background: #1d4ed8;
}

.w997-btn-primary {
  background: var(--blue);
}

.w997-btn-secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--paper) !important;
}

.w997-btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold) !important;
  background: transparent;
}

.w997-btn-gold {
  background: var(--gold);
  color: var(--navy) !important;
}

.w997-btn-gold:hover {
  background: #e2c14f;
  color: var(--navy) !important;
}

.w997-btn-ghost-on-dark {
  background: transparent;
  border: 1px solid rgba(247, 245, 240, 0.35);
  color: var(--paper) !important;
}

.w997-btn-ghost-on-dark:hover {
  border-color: var(--gold);
  color: var(--gold) !important;
}

.w997-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.25rem;
}

/* ── Footer grid ── */
.w997-site-footer {
  padding: 40px 24px 52px;
  border-top: 1px solid var(--line);
  margin-top: 24px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #6f6a62;
  max-width: 70rem;
  margin-inline: auto;
}

.w997-site-footer a {
  color: var(--mut);
  text-decoration: none;
}

.w997-site-footer a:hover {
  color: var(--gold);
}

.w997-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.w997-footer-grid h4 {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.w997-footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.w997-footer-grid li {
  margin: 6px 0;
}
