/* ===========================================================
   VINNIE — boutique mobile caravan bar
   Palette: bone #F6F1E7 · ink #23221E · brass #B8863E · sage #6E7456 · wine #5E2430
   Type: Fraunces (display) / Inter (body)
=========================================================== */

:root {
  --bone: #F6F1E7;
  --bone-deep: #EDE4D1;
  --ink: #23221E;
  --ink-soft: #3A3831;
  --brass: #B8863E;
  --brass-light: #D9AE6C;
  --sage: #6E7456;
  --wine: #5E2430;
  --cream-line: rgba(35,34,30,0.12);

  --display: 'Fraunces', Georgia, serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.eyebrow {
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
  margin: 0 0 0.9rem;
}
.eyebrow.light { color: var(--brass-light); }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; margin: 0; color: var(--ink); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 500; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; font-weight: 500; }
h4 { font-size: 1.05rem; font-weight: 600; font-family: var(--body); }

p { margin: 0 0 1rem; color: var(--ink-soft); }

/* subtle grain overlay for texture, quiet */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 999;
  opacity: 0.035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- wordmark / neon signature ---------- */
.wordmark {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.6rem;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.wordmark.small { font-size: 1.3rem; color: var(--bone); }

/* the glow — used sparingly, echoes the real neon sign */
.hero-content .eyebrow + h1 em,
.wordmark.glow {
  font-style: italic;
  color: var(--brass-light);
  text-shadow:
    0 0 6px rgba(217,174,108,0.55),
    0 0 18px rgba(217,174,108,0.35),
    0 0 40px rgba(217,174,108,0.18);
}

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(246,241,231,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.header-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 2rem;
}
.main-nav { display: flex; align-items: center; gap: 2.1rem; }
.main-nav a {
  font-size: 0.88rem; font-weight: 500; color: var(--ink-soft);
  position: relative;
}
.main-nav a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: var(--brass); transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
.main-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--ink); color: var(--bone) !important;
  padding: 0.55rem 1.2rem; border-radius: 2px; font-size: 0.82rem;
  letter-spacing: 0.03em;
}
.nav-cta:hover { background: var(--wine); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 22px; height: 1.5px; background: var(--ink); display: block; }

/* ---------- hero ---------- */
.hero {
  position: relative; height: 100vh; min-height: 560px;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,19,16,0.15) 0%, rgba(20,19,16,0.35) 55%, rgba(20,19,16,0.78) 100%);
}
.hero-content {
  position: relative; z-index: 2; color: var(--bone);
  max-width: var(--max); margin: 0 auto; width: 100%;
  padding: 0 2rem 6rem;
}
.hero-content .eyebrow { color: var(--brass-light); }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  color: var(--bone);
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.hero h1 em {
  font-style: italic; font-weight: 500;
  color: var(--brass-light);
  text-shadow: 0 0 8px rgba(217,174,108,0.5), 0 0 30px rgba(217,174,108,0.28);
}
.hero-sub {
  font-size: 1.1rem; color: rgba(246,241,231,0.88);
  max-width: 34ch; margin: 1.4rem 0 2.2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.scroll-cue {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 1px; height: 46px; background: rgba(246,241,231,0.4);
  overflow: hidden;
}
.scroll-cue span {
  position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--brass-light);
  animation: cue 2.2s ease-in-out infinite;
}
@keyframes cue { 0%{top:-100%;} 60%{top:100%;} 100%{top:100%;} }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.95rem 2rem; font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  border-radius: 2px; border: 1px solid transparent; cursor: pointer;
  transition: all 0.25s ease;
}
.btn-primary { background: var(--brass); color: var(--ink); }
.btn-primary:hover { background: var(--brass-light); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(246,241,231,0.55); color: var(--bone); }
.btn-ghost:hover { border-color: var(--bone); background: rgba(246,241,231,0.08); }

.text-link {
  font-size: 0.85rem; font-weight: 600; color: var(--wine);
  border-bottom: 1px solid transparent; padding-bottom: 2px;
}
.text-link:hover { border-color: var(--wine); }

/* ---------- section shell ---------- */
section { padding: 7rem 2rem; }
.section-head { max-width: 640px; margin: 0 auto 3.5rem; text-align: center; }
.section-head.light .eyebrow { color: var(--brass-light); }
.section-head.light h2 { color: var(--bone); }
.section-lede { color: var(--ink-soft); font-size: 1.05rem; }
.section-lede.light { color: rgba(246,241,231,0.75); }

/* ---------- story ---------- */
.story {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.story-media img { border-radius: 3px; width: 100%; height: 520px; object-fit: cover; }
.story-copy h2 { margin-bottom: 1.3rem; }
.story-copy p { max-width: 46ch; }

/* ---------- services ---------- */
.services { max-width: var(--max); margin: 0 auto; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem; }
.service-card { display: flex; flex-direction: column; }
.service-card img { width: 100%; height: 340px; object-fit: cover; border-radius: 3px; margin-bottom: 1.6rem; }
.service-text h3 { margin-bottom: 0.7rem; }
.service-text p { font-size: 0.96rem; margin-bottom: 1.2rem; }

/* ---------- inclusions ---------- */
.inclusions { background: var(--ink); }
.inclusions-inner { max-width: var(--max); margin: 0 auto; }
.inclusions-list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.6rem 3rem;
  max-width: 980px; margin: 0 auto;
}
.inclusion { border-top: 1px solid rgba(246,241,231,0.18); padding-top: 1.4rem; }
.inclusion h4 { color: var(--brass-light); margin-bottom: 0.5rem; }
.inclusion p { color: rgba(246,241,231,0.68); font-size: 0.92rem; margin: 0; }

/* ---------- gallery ---------- */
.gallery { max-width: var(--max); margin: 0 auto; }
.gallery-grid {
  columns: 4 260px; column-gap: 1.1rem;
}
.gallery-grid img {
  width: 100%; margin-bottom: 1.1rem; border-radius: 3px;
  break-inside: avoid; cursor: zoom-in;
  transition: opacity 0.25s ease;
}
.gallery-grid img:hover { opacity: 0.88; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(20,19,16,0.94); z-index: 200;
  display: none; align-items: center; justify-content: center; padding: 3rem;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: 2px; }
.lightbox-close {
  position: absolute; top: 1.6rem; right: 2rem; color: var(--bone);
  font-size: 1.8rem; background: none; border: none; cursor: pointer; line-height: 1;
}

/* ---------- faq ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid var(--cream-line);
  padding: 1.5rem 0;
}
.faq-item summary {
  font-family: var(--display); font-size: 1.15rem; font-weight: 500;
  cursor: pointer; list-style: none; position: relative; padding-right: 2rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 0; top: 0; font-size: 1.4rem;
  color: var(--brass); font-family: var(--body); transition: transform 0.25s ease;
}
.faq-item[open] summary::after { content: '–'; }
.faq-item p { margin-top: 1rem; font-size: 0.96rem; max-width: 62ch; }

/* ---------- enquire ---------- */
.enquire { background: var(--ink); }
.enquire-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.enquire h2 { color: var(--bone); margin-bottom: 0.8rem; }
.enquiry-form { text-align: left; margin-top: 3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-bottom: 1.4rem; }
.enquiry-form label {
  display: flex; flex-direction: column; gap: 0.5rem;
  font-size: 0.82rem; letter-spacing: 0.03em; text-transform: uppercase;
  color: rgba(246,241,231,0.65); font-weight: 600;
}
.enquiry-form label.full { margin-bottom: 1.6rem; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea {
  font-family: var(--body); font-size: 0.98rem; font-weight: 400;
  background: rgba(246,241,231,0.06); border: 1px solid rgba(246,241,231,0.22);
  color: var(--bone); padding: 0.85rem 1rem; border-radius: 2px;
  text-transform: none; letter-spacing: normal;
}
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus {
  outline: 2px solid var(--brass-light); outline-offset: 1px; border-color: var(--brass-light);
}
.enquiry-form textarea { resize: vertical; }
.form-note { color: rgba(246,241,231,0.6); font-size: 0.88rem; margin-top: 1.2rem; }
.form-note a { color: var(--brass-light); border-bottom: 1px solid rgba(217,174,108,0.4); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); border-top: 1px solid rgba(246,241,231,0.12); padding: 3rem 2rem 2.2rem; }
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem;
}
.footer-brand p { color: rgba(246,241,231,0.6); font-size: 0.86rem; margin: 0.3rem 0 0; }
.footer-links { display: flex; gap: 1.6rem; }
.footer-links a { color: var(--brass-light); font-size: 0.88rem; }
.footer-copy { width: 100%; text-align: center; color: rgba(246,241,231,0.4); font-size: 0.78rem; margin: 2rem 0 0; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .story { grid-template-columns: 1fr; gap: 2.5rem; }
  .story-media img { height: 340px; }
  .service-grid { grid-template-columns: 1fr; gap: 3rem; }
  .inclusions-list { grid-template-columns: 1fr 1fr; }
  .gallery-grid { columns: 2 200px; }
}

@media (max-width: 720px) {
  section { padding: 4.5rem 1.3rem; }
  .header-inner { padding: 1rem 1.3rem; }
  .main-nav {
    position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
    background: var(--bone); flex-direction: column; align-items: flex-start;
    padding: 2rem 1.5rem; gap: 1.6rem; transform: translateX(100%);
    transition: transform 0.3s ease; z-index: 99;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 1.1rem; }
  .nav-toggle { display: flex; }
  .hero-content { padding: 0 1.3rem 4rem; }
  .form-row { grid-template-columns: 1fr; }
  .inclusions-list { grid-template-columns: 1fr; }
  .gallery-grid { columns: 1 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-cue span { animation: none; }
}

/* focus visibility */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--brass); outline-offset: 3px;
}
