/* Jasper Consulting — minimalist luxury */

:root {
  --ink: #0E2233;
  --ink-deep: #0A1826;
  --brass: #C29A5B;
  --brass-dark: #A5813F;
  --paper: #FAF7F1;
  --tint: #F3EDE1;
  --text: #2B3A4A;
  --muted: #64748B;
  --light: #F7F3EC;
  --light-muted: rgba(247, 243, 236, 0.72);
  --hairline: rgba(14, 34, 51, 0.14);
  --hairline-light: rgba(247, 243, 236, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 0.7em;
  letter-spacing: 0.01em;
}

h2 { font-size: clamp(1.9rem, 3.2vw, 2.55rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}
.container.narrow {
  width: min(780px, 92%);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--brass-dark);
  margin: 0 0 1.4rem;
}
.eyebrow.light { color: var(--brass); }

.light { color: var(--light); }
.light-muted { color: var(--light-muted); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(10, 24, 38, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(194, 154, 91, 0.28);
  transition: background 0.3s ease;
}
.site-header.scrolled { background: rgba(10, 24, 38, 0.95); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--light);
}
.brand-logo {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: block;
  border: 1px solid rgba(194, 154, 91, 0.45);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-name {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--light);
}
.brand-sub {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.52em;
  text-transform: uppercase;
  color: var(--brass);
}

.main-nav { display: flex; align-items: center; gap: 2.2rem; }
.main-nav a {
  text-decoration: none;
  color: rgba(247, 243, 236, 0.85);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.main-nav a:hover { color: var(--brass); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--light);
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 1rem 2.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: var(--brass);
  color: var(--ink);
  box-shadow: 0 10px 24px -10px rgba(194, 154, 91, 0.7);
}
.btn-gold:hover { background: var(--brass-dark); color: #fff; }
.btn-ghost {
  border-color: rgba(247, 243, 236, 0.55);
  color: var(--light);
}
.btn-ghost:hover { border-color: var(--light); }
.btn-small { padding: 0.55rem 1.2rem; font-size: 0.85rem; }
.main-nav .btn-small {
  background: transparent;
  color: var(--brass) !important;
  border: 1px solid rgba(194, 154, 91, 0.65);
  padding: 0.65rem 1.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.main-nav .btn-small:hover {
  background: var(--brass);
  color: var(--ink) !important;
  border-color: var(--brass);
  transform: translateY(-2px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--light);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('hero.jpg') center/cover no-repeat;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 18, 30, 0.62) 0%, rgba(8, 18, 30, 0.72) 55%, rgba(8, 18, 30, 0.82) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 10rem 0 7rem;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.hero-rule {
  width: 72px; height: 1px;
  background: var(--brass);
  margin: 0 auto 2.4rem;
}
.hero-content h1 {
  color: #fff;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: 0.01em;
  margin-bottom: 1.4rem;
}
.hero .lead {
  font-size: 1.02rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.75);
  margin-bottom: 2.6rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* ---------- Stats ---------- */
.stats {
  background: var(--ink-deep);
  color: var(--light);
  padding: 3rem 0;
  border-top: 1px solid rgba(194, 154, 91, 0.25);
  border-bottom: 1px solid rgba(194, 154, 91, 0.25);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  text-align: center;
  padding: 0.4rem 1rem;
  border-left: 1px solid var(--hairline-light);
}
.stat:first-child { border-left: 0; }
.stat-num {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: 2rem;
  color: var(--brass);
  margin-bottom: 0.3rem;
}
.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--light-muted);
}

/* ---------- Sections ---------- */
.section { padding: 8rem 0; }
.section-dark { background: var(--ink); color: var(--light); }
.section-dark h2, .section-dark h3 { color: var(--light); }
.section-tint { background: var(--tint); }
.section-intro {
  max-width: 62ch;
  font-size: 1.08rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}
.section-dark .section-intro { color: var(--light-muted); }

/* Centered section headers */
#who .eyebrow, #who h2,
#services .eyebrow, #services h2,
#approach .eyebrow, #approach h2 { text-align: center; }
#who .section-intro, #services .section-intro {
  margin-left: auto; margin-right: auto; text-align: center;
}

/* ---------- Index list (who) ---------- */
.index-list { margin-top: 4rem; border-top: 1px solid var(--hairline); }
.index-item {
  display: flex;
  gap: 2.2rem;
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--hairline);
  align-items: baseline;
  text-align: left;
}
.index-num {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--brass);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  min-width: 2.5rem;
}
.index-item h3 { margin-bottom: 0.35rem; }
.index-item p { color: var(--muted); margin: 0; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 4rem;
  margin-top: 4rem;
  text-align: left;
  border-top: 1px solid var(--hairline-light);
}
.service { padding: 2.4rem 0; border-bottom: 1px solid var(--hairline-light); }
.service-num {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--brass);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 0.7rem;
}
.service h3 { margin-bottom: 0.6rem; font-size: 1.2rem; }
.service p { font-size: 0.96rem; margin: 0; color: var(--light-muted); }

/* ---------- Film band (construction) ---------- */
.film {
  position: relative;
  overflow: hidden;
  background: var(--ink-deep);
}
.film-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.film-overlay {
  position: absolute; inset: 0;
  background: rgba(8, 18, 30, 0.8);
}
.film-content {
  position: relative; z-index: 2;
  padding: 9rem 0;
  text-align: center;
}
.film-lead {
  color: var(--light-muted);
  font-size: 1.1rem;
  max-width: 58ch;
  margin: 0 auto 3rem;
}
.film-list {
  list-style: none;
  margin: 0 auto 3rem;
  padding: 2.2rem 0 0;
  max-width: 600px;
  border-top: 1px solid var(--hairline-light);
}
.film-list li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--hairline-light);
  color: var(--light-muted);
  font-size: 0.98rem;
}
.film-list strong { color: var(--brass); font-weight: 600; }

/* ---------- Approach ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 4rem;
  text-align: left;
}
.card { border-top: 1px solid var(--brass); padding-top: 1.8rem; }
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--muted); font-size: 0.97rem; margin: 0; }

.note {
  margin-top: 3rem;
  font-style: italic;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

/* ---------- Timeline ---------- */
.timeline { margin-top: 4.5rem; }
.timeline h3 { font-size: 1.35rem; margin-bottom: 0.5rem; text-align: center; }
.timeline-list {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 2.5rem 0 0;
  border-top: 1px solid var(--hairline);
}
.timeline-list li {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.98rem;
  color: var(--muted);
}
.timeline-list strong { color: var(--ink); font-weight: 600; }

/* ---------- About ---------- */
.about-grid { max-width: 780px; margin: 0 auto; text-align: center; }
.role {
  color: var(--brass-dark);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}
.about-copy p { color: var(--muted); font-size: 1.05rem; }
.about-copy p:first-of-type {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.32rem;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

/* ---------- Contact ---------- */
.contact-grid { max-width: 720px; margin: 0 auto; text-align: center; }
.contact-grid .light-muted { color: var(--light-muted); }
.contact-direct {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 3.5rem;
  flex-wrap: wrap;
}
.contact-direct li { display: flex; flex-direction: column; gap: 0.2rem; }
.contact-direct span {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--brass);
}
.contact-direct a {
  color: var(--light);
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.03em;
}
.contact-direct a:hover { color: var(--brass); }

.contact-form {
  max-width: 560px;
  margin: 3.5rem auto 0;
  display: grid;
  gap: 2.1rem;
  text-align: left;
}
.contact-form label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--light-muted);
}
.contact-form .optional { font-weight: 400; letter-spacing: 0.08em; text-transform: none; opacity: 0.7; }
.contact-form input,
.contact-form textarea {
  font: inherit;
  font-size: 1rem;
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(247, 243, 236, 0.28);
  border-radius: 0;
  padding: 0.7rem 0;
  margin-top: 0.4rem;
  color: var(--light);
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--brass);
}
.contact-form .btn { justify-self: center; margin-top: 0.5rem; }
.honeypot { display: none; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-deep);
  border-top: 1px solid var(--hairline-light);
  color: var(--light-muted);
  padding: 3.5rem 0;
  font-size: 0.9rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
}
.footer-logo {
  width: 48px; height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(194, 154, 91, 0.45);
}
.footer-inner p { margin: 0; }
.footer-tag {
  font-size: 0.72rem !important;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ---------- Thanks page ---------- */
.thanks {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink-deep);
  padding: 2rem;
  text-align: center;
}
.thanks-card { max-width: 520px; }
.thanks h1 { color: var(--light); margin-bottom: 1rem; }
.thanks p { color: var(--light-muted); margin-bottom: 2rem; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .services-grid { grid-template-columns: 1fr; gap: 0; }
  .cards-3 { grid-template-columns: 1fr; gap: 2.5rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat { border-top: 1px solid var(--hairline-light); padding: 1.4rem 1rem; }
  .stat:nth-child(-n+2) { border-top: 0; }
  .section { padding: 5.5rem 0; }
  .film-content { padding: 6rem 0; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 320px);
    background: var(--ink-deep);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 1.4rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .main-nav.open { transform: none; }
  .main-nav a { color: var(--light) !important; font-size: 1.1rem; }
  .nav-toggle { display: block; z-index: 60; position: relative; }
  .nav-toggle.open span { background: var(--light); }
  .section { padding: 4.5rem 0; }
  .hero { min-height: 86vh; }
  .hero-video, .film-video { display: none; }
  .hero-content { padding: 8rem 0 5rem; }
  .film-content { padding: 5rem 0; }
  .index-item { gap: 1.2rem; }
  .contact-direct { gap: 1.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video, .film-video { display: none; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
