/* ============================================================
   shared.css — Feel the Room
   Single source of truth. All pages inherit from here.
   To change a colour — change it once, here.
   ============================================================ */

/* ── Brand font ── */
@font-face {
  font-family: 'Molen Surplus';
  src: url('molen-surplus.woff2') format('woff2'),
       url('Molen Surplus.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-brand: 'Molen Surplus', Georgia, serif;
}

/* ── Design tokens — always light mode ── */
:root {
  color-scheme: light;
  --bg:           #f0e8d1;
  --bg2:          #fff4e3;
  --bg3:          #e8dcc4;
  --text:         #1C1A17;
  --text2:        #6B6457;
  --gold:         #ff0800;
  --gold2:        #cc0600;
  --gold-dim:     rgba(255,8,0,0.07);
  --border:       rgba(28,26,23,0.12);
  --radius:       12px;
  --radius-sm:    8px;

  /* Aliases — keeps existing page CSS working without renaming */
  --accent:        var(--gold);
  --accent-light:  var(--gold-dim);
  --muted:         var(--text2);
  --surface:       var(--bg2);
  --surface2:      var(--bg3);
}


/* ── Base styles ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}
a { color: var(--gold); text-decoration: none; }

/* ── Text highlight (bold + red) ── */
.hl { color: var(--accent); font-weight: 700; font-style: normal; }

/* ── Eyebrow label ── */
.eyebrow { font-size: 13px; color: var(--accent); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; margin-bottom: 16px; }

/* ── Divider ── */
.divider { height: 0.5px; background: var(--border); margin: 0 48px; }

/* ── Buttons ── */
/* Full-width submit button (forms) */
.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: var(--bg) !important;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 2px 0 rgba(0,0,0,0.25);
}
.btn-submit:hover {
  background: var(--gold2);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255,8,0,0.35), 0 2px 0 rgba(0,0,0,0.2);
}

/* Dark hero button (used inline on index + the-room) */
.btn-dark {
  background: var(--accent);
  color: var(--bg) !important;
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  display: inline-block;
  font-family: inherit;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 2px 0 rgba(0,0,0,0.25);
}
.btn-dark:hover {
  background: var(--gold2);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255,8,0,0.35), 0 2px 0 rgba(0,0,0,0.2);
}

.btn-primary {
  background: var(--accent);
  color: var(--bg) !important;
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  display: inline-block;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 2px 0 rgba(0,0,0,0.25);
}
.btn-primary:hover {
  background: var(--gold2);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255,8,0,0.35), 0 2px 0 rgba(0,0,0,0.2);
}

.btn-secondary {
  background: var(--accent);
  color: var(--bg) !important;
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  text-decoration: none;
  display: inline-block;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 2px 0 rgba(0,0,0,0.25);
}
.btn-secondary:hover {
  background: var(--gold2);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255,8,0,0.35), 0 2px 0 rgba(0,0,0,0.2);
}

/* ── Navigation ── */
nav {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 48px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 0.5px solid var(--border);
  background: var(--bg);
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 54px;
  width: auto;
  display: block;
}

.nav-logo-dark  { display: none; }
.nav-logo-light { display: block; }
.logo-light { display: block; }
.logo-dark  { display: none; }

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

.nav-links a {
  font-size: 22px;
  color: var(--text);
  text-decoration: none;
  transition: color .2s;
  font-family: var(--font-brand);
  font-weight: 500;
}

.nav-links a:hover, .nav-links a:active { color: var(--gold); }
.nav-links a.active { color: var(--gold); font-weight: 600; }

.btn-nav {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: var(--bg) !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px !important;
  transition: background .2s, transform .2s, box-shadow .2s;
  text-decoration: none;
  font-family: var(--font-brand);
  border: none;
  cursor: pointer;
  line-height: 1;
  box-shadow: 0 2px 0 rgba(0,0,0,0.25);
}
.btn-nav:hover {
  background: var(--gold2);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255,8,0,0.35), 0 2px 0 rgba(0,0,0,0.2);
}

/* Connect with me dropdown */
.nav-connect-wrap { position: relative; }
.btn-connect {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: var(--bg);
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  font-family: var(--font-brand);
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 2px 0 rgba(0,0,0,0.25);
}
.btn-connect:hover {
  background: var(--gold2);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255,8,0,0.35), 0 2px 0 rgba(0,0,0,0.2);
}
.connect-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  min-width: 220px;
  overflow: hidden;
  z-index: 200;
}
.connect-menu.open { display: block; }
.connect-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  background: none;
  border: none;
  width: 100%;
  cursor: pointer;
  text-align: left;
  transition: background .12s;
}
.connect-menu-item:hover { background: var(--bg2); }
.connect-menu-item.cta { color: var(--accent); font-weight: 600; }
.connect-menu-divider { height: 0.5px; background: var(--border); }
.connect-menu-icon { font-size: 13px; color: var(--text2); width: 18px; text-align: center; flex-shrink: 0; }
.connect-menu-item.cta .connect-menu-icon { color: var(--accent); }

/* Join modal */
.modal-overlay { display:none; position:fixed; inset:0; background:rgba(28,26,23,0.55); z-index:500; align-items:center; justify-content:center; }
.modal-overlay.open { display:flex; }
.modal-box { background:var(--bg); border-radius:var(--radius); padding:44px 40px; max-width:520px; width:calc(100% - 48px); position:relative; box-shadow:0 24px 64px rgba(0,0,0,0.18); }
.modal-close { position:absolute; top:16px; right:18px; background:none; border:none; font-size:22px; color:var(--text2); cursor:pointer; line-height:1; }
.modal-close:hover { color:var(--text); }
.modal-title { font-size:22px; font-weight:600; letter-spacing:-0.01em; margin-bottom:8px; }
.modal-sub { font-size:14px; color:var(--text2); line-height:1.6; margin-bottom:28px; }
.modal-field { display:flex; flex-direction:column; gap:6px; margin-bottom:16px; }
.modal-field label { font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:0.08em; color:var(--text2); }
.modal-field input { padding:11px 14px; border-radius:var(--radius-sm); border:0.5px solid var(--border); background:var(--bg2); color:var(--text); font-size:15px; outline:none; }
.modal-field input:focus { border-color:var(--accent); }
.modal-submit { width:100%; margin-top:8px; }
.modal-note { font-size:12px; color:var(--text2); text-align:center; margin-top:12px; }

/* ── Testimonial Carousel ────────────────────────────── */
.testi-section { background: var(--bg2); padding: 80px 48px; }
.testi-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.testi-arrows { display: flex; gap: 8px; padding-bottom: 4px; }
.testi-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0.5px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
  color: var(--text);
}
.testi-arrow:hover:not(:disabled) {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255,8,0,0.3);
}
.testi-arrow:disabled { opacity: 0.3; cursor: default; }
.testi-overflow { overflow: hidden; margin-top: 36px; }
.testi-track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.testi-card {
  flex-shrink: 0;
  width: calc((100% - 32px) / 3);
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px;
  border: 0.5px solid var(--border);
  display: flex;
  flex-direction: column;
}
.testi-divider { height: 2px; width: 24px; background: var(--accent); margin-bottom: 16px; opacity: 0.4; }
.testi-quote { font-size: 15px; line-height: 1.75; color: var(--text2); margin-bottom: 18px; font-style: italic; flex: 1; }
.testi-name { font-size: 14px; font-weight: 600; color: var(--text); }
.testi-role { font-size: 13px; color: var(--text2); }
.testi-dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.testi-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}
.testi-dot.active { background: var(--accent); transform: scale(1.3); }
.testi-footer { margin-top: 36px; text-align: center; }
.testi-footer a { font-size: 14px; color: var(--accent); font-weight: 600; text-decoration: none; }
.testi-footer a:hover { text-decoration: underline; }
@media (max-width: 768px) {
  .testi-card { width: 82vw; }
  .testi-section-head { align-items: flex-start; flex-direction: column; gap: 16px; }
}

/* Print button (freebie pages) */
.btn-print {
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--gold);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.15s;
}
.btn-print:hover { border-color: var(--gold); }

/* ── Mobile nav ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Hidden on desktop, shown inside mobile menu */
.nav-mobile-cta { display: none !important; }

@media (max-width: 640px) {
  nav { padding: 12px 20px; height: auto; }
  .nav-hamburger {
    display: flex;
    background: var(--accent);
    border-radius: 7px;
    padding: 9px 11px;
    gap: 4px;
    box-shadow: 0 3px 0 rgba(0,0,0,0.28);
    transition: transform .12s, box-shadow .12s;
  }
  .nav-hamburger:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.28);
  }
  .nav-hamburger span {
    background: var(--bg);
    width: 20px;
  }
  .nav-logo-img { height: 36px; }
  .btn-nav { display: none; }
  .nav-connect-wrap { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 0.5px solid var(--border);
    flex-direction: column;
    padding: 20px 24px 24px;
    gap: 16px;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-mobile-cta {
    display: inline-flex !important;
    align-self: flex-start;
    margin-top: 4px;
  }

  /* Global layout */
  .divider { margin: 0; }
  .testi-section { padding: 60px 24px; }
  .testi-section-head h2 { font-size: 26px; }
  .btn-row { flex-wrap: wrap; gap: 10px; }
  .btn-row .btn-dark { font-size: 13px; padding: 11px 18px; }

  /* Ticker */
  .ticker-section { padding: 6px 0; margin-bottom: 40px; }
  .ticker-quote { font-size: 9px; }
  .ticker-attr { font-size: 8px; }
}

/* ── TICKER ──────────────────────────────────────────────── */
.ticker-section {
  background: var(--accent);
  overflow: hidden;
  padding: 18px 0;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: ticker-scroll 90s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  flex-shrink: 0;
}
.ticker-quote {
  font-size: 13px;
  color: rgba(240,232,209,0.9);
  font-style: italic;
}
.ticker-attr {
  font-size: 12px;
  color: rgba(240,232,209,0.65);
  font-weight: 600;
  font-style: normal;
}
.ticker-dot {
  color: rgba(240,232,209,0.5);
  font-size: 9px;
  flex-shrink: 0;
}

/* ── FOOTER ──────────────────────────────────────────────── */
.ftr-footer {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-top: 0.5px solid var(--border);
  padding: 56px 48px 40px;
  background: var(--bg);
  min-height: 220px;
}
.ftr-footer-left {
  display: flex;
  gap: 48px;
  margin-left: 80px;
}
.ftr-footer-center {
  position: absolute;
  left: calc(50% - 50px);
  transform: translateX(-50%);
  top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.ftr-footer-right {
  display: flex;
  margin-right: 120px;
}
.ftr-footer-logo { text-decoration: none; display: flex; justify-content: center; }
.ftr-footer-copy {
  font-size: 12px;
  color: var(--text2);
  text-align: center;
  margin-left: 60px;
}
.ftr-footer-col-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 16px;
}
.ftr-footer-col a,
.ftr-footer-col button {
  display: block;
  font-size: 14px;
  color: var(--text2);
  text-decoration: none;
  margin-bottom: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  text-align: left;
  transition: color .15s;
}
.ftr-footer-col a:hover,
.ftr-footer-col button:hover { color: var(--accent); }
@media (max-width: 900px) {
  .ftr-footer {
    display: grid;
    grid-template-columns: auto auto auto;
    grid-template-areas:
      "explore getstarted connect"
      ".       logo        .";
    grid-column-gap: 24px;
    grid-row-gap: 32px;
    padding: 40px 24px 32px;
    min-height: auto;
    justify-content: space-between;
  }
  .ftr-footer-left { display: contents; }
  .ftr-footer-right { display: contents; }
  .ftr-col-explore { grid-area: explore; }
  .ftr-col-getstarted { grid-area: getstarted; }
  .ftr-col-connect { grid-area: connect; }
  .ftr-footer-center {
    grid-area: logo;
    position: static;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .ftr-footer-logo { width: auto; justify-content: center; }
  .ftr-footer-copy { text-align: center; margin-left: 0; }
}
