@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* Firedstone Sourcing Ltd — static site stylesheet */

:root {
  --navy: #1b1f2a;
  --navy-darker: #14171f;
  --gold: #d4a843;
  --gold-light: #e6c878;
  --cream: #f6f3ec;
  --grey: #9aa0ad;
  --grey-light: #c7cbd3;
  --border: rgba(255,255,255,0.08);
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--navy);
  color: var(--cream);
  line-height: 1.6;
}
h1, h2, h3, .serif {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  margin: 0 0 0.5em;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* Header / Nav */
header.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20,23,31,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-width); margin: 0 auto; padding: 18px 24px;
}
.logo { font-family: "Playfair Display", Georgia, serif; font-size: 1.5rem; color: var(--cream); letter-spacing: 0.5px; display: flex; align-items: center; gap: 10px; }
.logo-icon { height: 30px; width: auto; display: block; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 0.95rem; color: var(--grey-light); transition: color 0.15s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 6px;
  font-size: 0.9rem; font-weight: 600; text-align: center; cursor: pointer;
  border: none; transition: transform 0.15s, opacity 0.15s;
}
.btn-gold { background: var(--gold); color: var(--navy-darker); }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline { background: transparent; border: 1px solid var(--grey); color: var(--cream); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.nav-toggle { display: none; background: none; border: none; color: var(--cream); font-size: 1.6rem; cursor: pointer; }

@media (max-width: 860px) {
  .nav-links { position: fixed; top: 73px; left: 0; right: 0; bottom: 0; background: var(--navy-darker);
    flex-direction: column; align-items: flex-start; padding: 24px; gap: 18px; transform: translateX(-100%);
    transition: transform 0.2s; }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: block; }
}

/* Hero */
.hero { position: relative; padding: 110px 0 90px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(20,23,31,0.55), rgba(20,23,31,0.92)), var(--navy);
  background-size: cover; background-position: center;
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.eyebrow { color: var(--gold); font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { font-size: 2.6rem; line-height: 1.2; margin-bottom: 18px; }
.hero p.lead { color: var(--grey-light); font-size: 1.05rem; margin-bottom: 28px; max-width: 560px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-points { display: flex; gap: 24px; flex-wrap: wrap; color: var(--grey-light); font-size: 0.9rem; }
.hero-points span::before { content: "✓ "; color: var(--gold); }

/* Sections */
section { padding: 70px 0; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: 2rem; }
.section-head p { color: var(--grey-light); }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 10px;
  padding: 28px; transition: border-color 0.15s;
}
.card:hover { border-color: var(--gold); }
.card h3 { font-size: 1.1rem; color: var(--cream); }
.card p { color: var(--grey-light); font-size: 0.95rem; margin: 0; }
.card .icon { font-size: 1.6rem; margin-bottom: 14px; color: var(--gold); }

.alt-bg { background: var(--navy-darker); }

/* Steps */
.steps { display: grid; gap: 28px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step .step-num { color: var(--gold); font-family: Georgia, serif; font-size: 1.6rem; margin-bottom: 8px; }

/* FAQ accordion */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; color: var(--cream);
  font-size: 1rem; font-weight: 600; padding: 18px 0; cursor: pointer; display: flex;
  justify-content: space-between; align-items: center; gap: 12px;
}
.faq-q::after { content: "+"; color: var(--gold); font-size: 1.3rem; flex-shrink: 0; }
.faq-q[aria-expanded="true"]::after { content: "–"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.2s ease; color: var(--grey-light); font-size: 0.95rem; }
.faq-a-inner { padding: 0 0 18px; }

/* Forms */
.form-card { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 12px; padding: 36px; }
.form-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; margin-bottom: 18px; }
@media (max-width: 700px) { .form-row { grid-template-columns: 1fr; } }
label { display: block; font-size: 0.85rem; color: var(--grey-light); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 11px 14px; border-radius: 6px; border: 1px solid var(--border);
  background: rgba(255,255,255,0.04); color: var(--cream); font-size: 0.95rem; font-family: inherit;
}
input::placeholder, textarea::placeholder { color: var(--grey); }
.full-row { grid-column: 1 / -1; }
.form-note { font-size: 0.8rem; color: var(--grey); margin-top: 14px; }

/* Final CTA */
.final-cta { text-align: center; }
.final-cta h2 { font-size: 1.9rem; }
.final-cta p { color: var(--grey-light); max-width: 560px; margin: 0 auto 28px; }
.final-cta .hero-ctas { justify-content: center; }

/* Footer */
footer.site-footer { background: var(--navy-darker); border-top: 1px solid var(--border); padding: 56px 0 24px; }


/* Nav dropdown */
.nav-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-dropdown > a::after { content: ' \25BE'; font-size: 0.7em; opacity: 0.7; }
.nav-dropdown-menu { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(-4px); background: var(--navy-darker); border: 1px solid var(--border); border-radius: 6px; padding: 6px 0; min-width: 170px; opacity: 0; visibility: hidden; transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s; z-index: 200; }
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown-menu a { display: block; padding: 8px 16px; color: var(--grey-light); font-size: 0.84rem; white-space: nowrap; text-decoration: none; transition: color 0.15s, background 0.15s; }
.nav-dropdown-menu a::after { content: none !important; }
.nav-dropdown-menu a:hover { color: var(--gold); background: rgba(255,255,255,0.04); }

.footer { background: var(--navy-darker); border-top: 1px solid var(--border); color: var(--grey-light); }
.footer-inner { max-width: var(--max-width); margin: 0 auto; padding: 40px 24px 32px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; align-items: start; }
.footer-brand .logo { font-family: "Playfair Display", Georgia, serif; font-size: 1.35rem; color: var(--cream); display: block; margin-bottom: 10px; letter-spacing: 0.5px; }
.footer-brand p { font-size: 0.84rem; line-height: 1.6; color: var(--grey-light); margin: 0 0 6px; }
.footer-reg { font-size: 0.76rem; color: rgba(176,184,196,0.6); line-height: 1.5; margin: 0; }
.footer-col { position: relative; }
.footer-col strong { cursor: default; display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px; color: var(--cream); margin-bottom: 14px; }
.footer-col strong::after { content: '\25BE'; font-size: 0.7rem; color: var(--grey-light); transition: transform 0.2s; }
.footer-col:hover strong::after { transform: rotate(-180deg); }
.footer-col ul { list-style: none; margin: 0; padding: 10px 0 0; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s; }
.footer-col:hover ul { opacity: 1; visibility: visible; transform: translateY(0); }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--grey-light); text-decoration: none; font-size: 0.875rem; transition: color 0.15s; }
.footer-col a:hover { color: var(--gold); }
.footer-contact strong { display: block; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px; color: var(--cream); margin-bottom: 14px; }
.footer-contact p { font-size: 0.875rem; margin: 0 0 8px; color: var(--grey-light); line-height: 1.55; }
.footer-contact a { color: var(--grey-light); text-decoration: none; transition: color 0.15s; }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--border); }
.footer-bottom-inner { max-width: var(--max-width); margin: 0 auto; padding: 14px 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.76rem; color: rgba(176,184,196,0.5); }
.footer-bottom-inner p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; margin: 0; padding: 0; }
.footer-legal a { color: rgba(176,184,196,0.5); text-decoration: none; font-size: 0.76rem; white-space: nowrap; transition: color 0.15s; }
.footer-legal a:hover { color: var(--gold); }
@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}
/* FAQ accordion — updated class names */
.faq-question {
  width: 100%; background: none; border: none; text-align: left;
  color: var(--cream); font-size: 1rem; font-weight: 600;
  padding: 18px 0; cursor: pointer; display: flex;
  justify-content: space-between; align-items: center; gap: 12px;
}
.faq-question::after { content: none; display: none; }

.faq-answer { max-height: none; overflow: visible; transition: max-height 0.2s ease; color: var(--grey-light); font-size: 0.95rem; }
.faq-answer-inner { padding: 0 0 18px; }
/* Social icons in footer */
.footer-social{display:flex;gap:14px;margin-top:18px;align-items:center;}
.footer-social a{color:var(--grey-light);display:flex;align-items:center;transition:color 0.2s;text-decoration:none;}
.footer-social a:hover{color:var(--gold);}
.footer-social svg{width:18px;height:18px;fill:currentColor;}


/* ============================================================
   MOBILE NAV OVERFLOW FIX — 15 Jul 2026
   Root cause: body had overflow-x:visible so the off-canvas
   .nav-links panel (translateX(100%)) leaked into scrollWidth.
   Fix: overflow-x:clip on body (does NOT break position:sticky).
   Also flattens the Sell dropdown into the mobile nav panel
   as indented static links instead of an invisible hover menu.
   ============================================================ */

/* belt-and-suspenders: clip any other stray overflow */
body { overflow-x: clip; }

@media (max-width: 860px) {
  /* Flatten Sell dropdown into mobile nav as visible sub-links */
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 4px 0 4px 16px;
    min-width: 0;
    transform: none;
    box-shadow: none;
    transition: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .nav-dropdown-menu a {
    font-size: 0.85rem;
    padding: 5px 0;
    opacity: 0.75;
    color: var(--grey-light);
    text-decoration: none;
  }
  .nav-dropdown-menu a:hover { opacity: 1; color: var(--gold); }
  /* Hide the desktop ▾ chevron in mobile nav */
  .nav-dropdown > a::after { display: none; }
}