/* ==========================================================================
   THE VAULT — Nicholson
   Design tokens (matched to client screenshots)
   ========================================================================== */
:root {
  --brown: #48342f;
  --brown-dark: #2a1d14;
  --brown-field: #4a3628;
  --line: rgba(243, 233, 219, 0.35);
  --cream: #f6efe3;
  --teal: #5bc6c1;
  --teal-dim: #479e9a;
  --mustard: #de8a3d;
  --mustard-dark: #bf7530;

  --font-display: "Bodoni Moda", "Playfair Display", "Georgia", serif;
  --font-script-thin: "Mrs Saint Delafield", cursive;
  --font-script-bold: "Pacifico", cursive;
  --font-body: "Jost", "Segoe UI", sans-serif;

  --page-max: 1200px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--brown);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  min-height: 100vh;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

a { color: inherit; text-decoration: none; }

.page {
  max-width: var(--page-max);
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* ---------- Top bar / hamburger ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  width: var(--page-max);
  position: fixed;
}

.topbar .brand-mini {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--cream);
}

.burger {
  width: 40px;
  height: 34px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--teal);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-panel {
  position: fixed;
  inset: 0;
  background: rgba(20, 13, 8, 0.96);
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.nav-panel.open { opacity: 1; pointer-events: auto; }

.nav-panel-close {
  position: absolute;
  top: 20px;
  right: max(20px, calc((100vw - var(--page-max)) / 2 + 20px));
  background: transparent;
  border: 1px solid var(--line);
  color: var(--cream);
  width: 40px;
  height: 34px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 1.1rem;
}

.nav-list { list-style: none; padding: 0; margin: 0; text-align: center; }
.nav-list a {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  padding: 14px 24px;
  color: var(--cream);
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}
.nav-list a:hover, .nav-list a:focus-visible { color: var(--teal); }
.nav-list a.is-current { color: var(--mustard); }
.nav-list .nav-future {
  color: var(--teal);
  font-size: 1.05rem;
  font-family: var(--font-script-bold);
  font-weight: 400;
}

/* ---------- Hero (stacked) — index + future-ideas ---------- */
.hero { padding: 6px 32px 34px; text-align: center; }

.coming {
  font-family: var(--font-script-thin);
  font-size: 2.1rem;
  color: var(--cream);
  display: block;
  line-height: 1;
}
.soon {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.35em;
  color: var(--mustard);
  display: block;
  margin: 2px 0 4px 0.35em;
}

.bridge-icon { width: 74px; height: auto; margin: 10px auto 6px; display: block; }
.bridge-icon path, .bridge-icon line, .bridge-icon rect { stroke: var(--teal); fill: none; }

.the-script {
  font-family: var(--font-script-thin);
  font-size: 1.7rem;
  color: var(--cream);
  display: block;
  line-height: 1;
  margin-bottom: -10px;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.4rem;
  letter-spacing: 0.01em;
  margin: 0;
  line-height: 0.9;
}

.wordmark small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.5em;
  color: var(--teal);
  margin-top: 12px;
}

.logo-main {
  display: block;
  max-width: 108%;
  height: auto;
  margin: 6px auto 4px;
}

hr.rule { border: none; border-top: 1px solid var(--line); width: 78%; margin: 22px auto; }

.lede {
  font-size: 1.03rem;
  font-weight: 600;
  color: var(--teal);
  max-width: 40ch;
  margin: 0 auto;
}

/* ---------- CTA tiles (main page) ---------- */
.cta-row { display: flex; gap: 16px; justify-content: center; padding: 6px 24px 48px; flex-wrap: wrap; align-items: center; }

.cta-tile {
  flex: 1 1 170px;
  max-width: 220px;
  transition: transform 0.2s ease;
}
.cta-tile:hover, .cta-tile:focus-visible { transform: translateY(-2px); }
.cta-tile img { display: block; width: 100%; height: auto; }

/* ---------- Section hero (inline "the VAULT") — coffee depot / marketplace / apply / contact ---------- */
.section-hero { padding: 34px 32px 26px; text-align: center; }

.section-icon { width: 60px; height: auto; margin: 0 auto 12px; display: block; }
.section-icon path, .section-icon circle, .section-icon ellipse, .section-icon line { stroke: var(--teal); fill: none; }

.wordmark-inline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.7rem;
  margin: 0;
  line-height: 1;
  color: var(--cream);
}
.wordmark-inline .the-inline {
  font-family: var(--font-script-thin);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--cream);
  vertical-align: 60%;
  margin-right: 2px;
}

.section-script {
  /* font-family: var(--font-script-bold); */
  color: var(--mustard);
  font-size: 2.1rem;
  display: block;
  margin-top: 2px;
  font-weight: bold;
}

.section-kicker {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  color: var(--teal);
  display: block;
  margin-top: 4px;
}

/* ---------- Feature list ---------- */
.feature-list { padding: 6px 30px 10px; display: grid; gap: 20px; }
.feature { }
.feature-title {
  color: var(--mustard);
  font-weight: 600;
  font-size: 0.98rem;
  margin: 0 0 4px;
  display: inline;
}
.feature-body {
  margin: 0;
  color: var(--cream);
  font-size: 0.94rem;
  display: inline;
}

/* ---------- Buttons ---------- */
.actions { display: flex; gap: 14px; justify-content: center; padding: 26px 24px 48px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 128px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  padding: 15px 20px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-align: center;
}
.btn-teal { background: var(--teal); }
.btn-teal:hover, .btn-teal:focus-visible { background: var(--teal-dim); }
.btn-mustard { background: var(--mustard); }
.btn-mustard:hover, .btn-mustard:focus-visible { background: var(--mustard-dark); }
.btn-outline { background: transparent; border: 1px solid var(--line); color: var(--cream); }
.btn-outline:hover, .btn-outline:focus-visible { border-color: var(--teal); color: var(--teal); }

/* ---------- Future ideas grid ---------- */
.section-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 30px 22px;
}
.section-divider hr { flex: 1; border: none; border-top: 1px solid var(--line); margin: 0; }
.section-divider span {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.35em;
  color: var(--teal);
  white-space: nowrap;
}

.idea-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; padding: 4px 24px 12px; }

.idea-card { text-align: center; }
.idea-card img { display: block; width: 100%; height: auto; border-radius: 3px; }

/* ---------- Forms ---------- */
.form-wrap { padding: 8px 30px 60px; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--brown-field);
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); }
.field textarea { resize: vertical; min-height: 110px; }

.field-row { display: flex; gap: 14px; }
.field-row .field { flex: 1; }

.submit-row { padding-top: 6px; }
.submit-row .btn { width: 100%; }

.form-success { display: none; text-align: center; padding: 60px 30px; }
.form-success.show { display: block; }
.form-success .section-icon { margin-bottom: 18px; }
.form-success h2 { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; margin: 0 0 10px; }
.form-success p { color: var(--cream); }

.hp-field { position: absolute; left: -9999px; }

footer.site-footer {
  margin-top: auto;
  text-align: center;
  padding: 24px 20px 30px;
  font-size: 16px;
  letter-spacing: 0.1em;
  color: var(--teal);
  /* border-top: 1px solid var(--line); */
}

@media (min-width: 640px) {
  .wordmark { font-size: 3.9rem; }
  .wordmark-inline { font-size: 3.1rem; }
  .section-script { font-size: 2.4rem; }
}


 .jm-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 110px;
    border: 3px solid #ffffff;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    font-size: 26px;
    line-height: 0.8;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);

    transition: transform 0.12s ease, box-shadow 0.12s ease;
  }
 
  /* .jm-btn:hover {
    transform: translate(2px, 2px);
    box-shadow: 6px 6px 0px 0px #241812;
  }
 
  .jm-btn:active {
    transform: translate(8px, 8px);
    box-shadow: 0px 0px 0px 0px #241812;
  } */
 
  .jm-btn--vendor {
    background-color: #6EC6D1;
  }
 
  .jm-btn--contact {
    background-color: #C6791E;
  }

  .vault-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
}

.vault-popup.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vault-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

.vault-popup-box {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 650px;
    padding: 40px;
    background: #4b3934;
    border: 1px solid #d89a38;
    box-shadow: 0 15px 50px rgba(0,0,0,0.4);
    text-align: center;
    color: #fff;
}

.vault-popup-box h2 {
    margin-bottom: 20px;
    font-size: 40px;
}

.vault-popup-box p {
    line-height: 1.7;
    font-size: 16px;
}

.vault-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 35px;
    cursor: pointer;
}

.vault-popup-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.vault-popup-btn {
    display: inline-block;
    padding: 13px 25px;
    background: #d89a38;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 600px) {
    .vault-popup-box {
        padding: 30px 20px;
    }

    .vault-popup-buttons {
        flex-direction: column;
    }
}

