/* ============================================================
   VALTORA CONSULTING (VCG) — Design System v2
   Navy / Ivory / Charcoal + restrained gold accent
   Display: Playfair Display | Body: Inter | Labels: IBM Plex Mono
   ============================================================ */

:root{
  --navy: #0E1A30;
  --navy-soft: #172945;
  --charcoal: #262420;
  --ink-60: rgba(38,36,32,0.62);
  --ink-40: rgba(38,36,32,0.42);
  --white: #FFFFFF;
  --ivory: #FAF7F1;
  --ivory-dim: #F1ECE2;
  --line: rgba(14,26,48,0.13);
  --line-soft: rgba(14,26,48,0.08);
  --gold: #B4924F;
  --gold-bright: #CBAA6C;
  --gold-deep: #8E7038;
  --gold-soft: rgba(180,146,79,0.14);

  --serif: "Playfair Display", "Source Serif 4", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --max: 1180px;
  --radius: 2px;
  --shadow-card: 0 1px 2px rgba(14,26,48,0.05), 0 10px 28px -14px rgba(14,26,48,0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; }
h1,h2,h3,h4{ font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; color: var(--navy); letter-spacing: -0.005em; }
p{ margin: 0; }
ul{ margin: 0; padding: 0; list-style: none; }
button{ font-family: inherit; cursor: pointer; }

:focus-visible{
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}
@media (max-width: 640px){ .wrap{ padding: 0 20px; } }

.eyebrow{
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before{
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.section--dark .eyebrow{ color: var(--gold-bright); }
.section--dark .eyebrow::before{ background: var(--gold-bright); }

.section{ padding: 96px 0; background: var(--white); }
.section--tight{ padding: 64px 0; }
.section--dark{ background: var(--navy); color: rgba(250,247,241,0.86); }
.section--dark h1, .section--dark h2, .section--dark h3{ color: var(--ivory); }
.section--parchment{ background: var(--ivory-dim); }
@media (max-width: 780px){
  .section{ padding: 64px 0; }
  .section--tight{ padding: 48px 0; }
}

.section-head{ max-width: 640px; margin-bottom: 48px; }
.section-head h2{ font-size: clamp(28px, 3.4vw, 38px); margin-top: 14px; }
.section-head p{ margin-top: 16px; color: var(--ink-60); font-size: 17px; }
.section--dark .section-head p{ color: rgba(250,247,241,0.68); }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary{ background: var(--navy); color: var(--ivory); }
.btn-primary:hover{ background: var(--gold-deep); color: var(--white); }
.btn-ghost{ background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover{ border-color: var(--gold-deep); color: var(--gold-deep); }
.section--dark .btn-ghost{ color: var(--ivory); border-color: rgba(250,247,241,0.28); }
.section--dark .btn-ghost:hover{ border-color: var(--gold-bright); color: var(--gold-bright); }
.btn-arrow{ transition: transform 0.25s var(--ease); }
.btn:hover .btn-arrow{ transform: translateX(3px); }

/* ---------- Header / Nav ---------- */
.site-header{
  position: sticky; top: 0; z-index: 60;
  background: rgba(250,247,241,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav{
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
}

/* Brand lockup — nav (compact, light bg) */
.brand{ display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-vcg{
  font-family: var(--serif); font-weight: 700; font-size: 22px;
  letter-spacing: 0.08em; color: var(--navy); line-height: 1;
}
.brand-rule{ width: 1px; height: 26px; background: var(--gold); flex-shrink: 0; }
.brand-word{
  font-family: var(--mono); font-weight: 500; font-size: 10.5px;
  letter-spacing: 0.14em; color: var(--ink-60); line-height: 1.5;
  text-transform: uppercase;
}

.nav-links{ display: flex; align-items: center; gap: 36px; }
.nav-links a{
  font-size: 14.5px; text-decoration: none; color: var(--charcoal);
  position: relative; padding: 4px 0;
}
.nav-links a::after{
  content:""; position:absolute; left:0; right:0; bottom:-2px; height:1px;
  background: var(--gold-deep); transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after{ transform: scaleX(1); }
.nav-links a[aria-current="page"]{ color: var(--navy); font-weight: 600; }
.nav-cta{ display: flex; align-items: center; gap: 22px; }

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

@media (max-width: 920px){
  .nav-links{
    position: fixed; inset: 84px 0 0 0; background: var(--ivory);
    flex-direction: column; align-items: flex-start; padding: 32px 24px;
    gap: 22px; transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: all 0.25s var(--ease); overflow-y: auto;
  }
  .nav-links.is-open{ transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a{ font-size: 19px; }
  .nav-cta .btn-primary{ display: none; }
  .nav-links .nav-mobile-cta{ display: block; margin-top: 8px; }
  .nav-toggle{ display: flex; }
}
.nav-mobile-cta{ display: none; }

/* Brand lockup — large (dark backgrounds: hero / footer) */
.brandlock{ text-align: center; }
.brandlock-vcg{
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(40px, 7vw, 64px);
  letter-spacing: 0.14em; color: var(--ivory); line-height: 1;
}
.brandlock-rule{
  width: 64px; height: 1px; background: var(--gold);
  margin: 18px auto;
}
.brandlock-name{
  font-family: var(--mono); font-weight: 500;
  font-size: 13px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold-bright);
}

/* Compact monogram (e.g. small badges) */
.monogram{
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; background: var(--navy);
  font-family: var(--serif); font-weight: 700; font-size: 15px;
  color: var(--ivory); letter-spacing: 0.05em;
  border: 1px solid var(--gold);
}

/* ---------- Hero ---------- */
.hero{
  background: var(--navy);
  color: rgba(250,247,241,0.9);
  position: relative;
  overflow: hidden;
  padding: 108px 0 88px;
}
.hero::before{
  content:"";
  position:absolute; inset: 0;
  background:
    radial-gradient(560px 320px at 82% -10%, rgba(180,146,79,0.22), transparent 65%);
  pointer-events:none;
}
.hero-inner{ position: relative; max-width: 760px; }
.hero .eyebrow{ color: var(--gold-bright); }
.hero .eyebrow::before{ background: var(--gold-bright); }
.hero h1{
  color: var(--ivory);
  font-size: clamp(36px, 5.4vw, 58px);
  margin-top: 20px;
  letter-spacing: -0.01em;
}
.hero-sub{
  margin-top: 22px; font-size: 18px; line-height: 1.65;
  color: rgba(250,247,241,0.72); max-width: 560px;
}
.hero-actions{ display: flex; gap: 16px; margin-top: 38px; flex-wrap: wrap; }

/* Range bar signature element */
.range-bar{
  margin-top: 64px; max-width: 520px;
}
.range-bar-label{
  display:flex; justify-content: space-between; font-family: var(--mono);
  font-size: 11.5px; letter-spacing: 0.06em; color: rgba(250,247,241,0.5);
  margin-bottom: 10px; text-transform: uppercase;
}
.range-bar-track{
  position: relative; height: 3px; border-radius: 3px;
  background: rgba(250,247,241,0.14); overflow: visible;
}
.range-bar-fill{
  position: absolute; top:0; bottom:0; left: 28%; right: 34%;
  background: linear-gradient(90deg, rgba(203,170,108,0.35), var(--gold-bright));
  border-radius: 3px;
}
.range-bar-marker{
  position:absolute; top: 50%; left: 66%; width: 11px; height: 11px;
  background: var(--gold-bright); border-radius: 50%; transform: translate(-50%,-50%);
  box-shadow: 0 0 0 5px rgba(203,170,108,0.18);
}
.range-bar-caption{
  margin-top: 12px; font-size: 13px; color: rgba(250,247,241,0.5);
}

/* generic range-bar (light contexts) */
.range-bar--light .range-bar-track{ background: var(--line); }
.range-bar--light .range-bar-fill{ background: linear-gradient(90deg, rgba(180,146,79,0.3), var(--gold-deep)); }
.range-bar--light .range-bar-marker{ background: var(--gold-deep); box-shadow: 0 0 0 5px var(--gold-soft); }
.range-bar--light .range-bar-label{ color: var(--ink-40); }
.range-bar--light .range-bar-caption{ color: var(--ink-60); }

/* ---------- Cards / Grids ---------- */
.grid-3{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 900px){ .grid-3{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px){ .grid-3, .grid-2{ grid-template-columns: 1fr; } }

.card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card:hover{ border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.card .card-num{
  font-family: var(--mono); font-size: 12px; color: var(--gold-deep); letter-spacing: 0.05em;
}
.card h3{ font-size: 19px; margin-top: 14px; }
.card p{ margin-top: 10px; color: var(--ink-60); font-size: 15px; }

/* ---------- Chapter process (signature) ---------- */
.chapters{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(250,247,241,0.14); border: 1px solid rgba(250,247,241,0.14); }
.chapter{ background: var(--navy-soft); padding: 36px 28px; position: relative; }
.chapter-mark{
  font-family: var(--serif); font-style: italic; font-size: 13px; color: var(--gold-bright);
  letter-spacing: 0.02em;
}
.chapter h3{ font-size: 19px; margin-top: 16px; color: var(--ivory); }
.chapter p{ margin-top: 12px; font-size: 14.5px; color: rgba(250,247,241,0.66); }
@media (max-width: 900px){ .chapters{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .chapters{ grid-template-columns: 1fr; } }

/* ---------- Split sections ---------- */
.split{ display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 860px){ .split{ grid-template-columns: 1fr; gap: 36px; } }
.split-reverse{ direction: rtl; }
.split-reverse > *{ direction: ltr; }

.kicker-list{ margin-top: 26px; display: grid; gap: 16px; }
.kicker-list li{ display: flex; gap: 14px; font-size: 15.5px; color: var(--ink-60); }
.kicker-list li::before{
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-deep); margin-top: 8px; flex-shrink: 0;
}

/* ---------- Founder ---------- */
.founder{ display: grid; grid-template-columns: 240px 1fr; gap: 44px; align-items: start; }
@media (max-width: 640px){ .founder{ grid-template-columns: 1fr; } }
.founder-photo{
  aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line);
  position: relative;
}
.founder-photo img{ width: 100%; height: 100%; object-fit: cover; }
.founder-photo::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  box-shadow: inset 0 0 0 1px rgba(180,146,79,0.35);
}

.founder-photo--tall{ aspect-ratio: 3/4; }

/* ---------- Pull quote / stat strip ---------- */
.pull{
  font-family: var(--serif); font-size: clamp(22px, 2.6vw, 30px); color: var(--navy);
  line-height: 1.4; max-width: 780px; font-style: italic; font-weight: 500;
}

/* ---------- FAQ ---------- */
.faq-item{ border-bottom: 1px solid var(--line); }
.faq-q{
  width: 100%; text-align: left; background: none; border: none;
  padding: 22px 0; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--sans); font-weight: 600; font-size: 16px; color: var(--navy);
}
.faq-q-icon{ font-family: var(--mono); font-size: 18px; color: var(--gold-deep); transition: transform 0.25s var(--ease); flex-shrink: 0; margin-left: 20px; }
.faq-item[data-open="true"] .faq-q-icon{ transform: rotate(45deg); }
.faq-a{
  max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease);
}
.faq-a-inner{ padding-bottom: 22px; color: var(--ink-60); font-size: 15px; max-width: 680px; line-height: 1.65; }

/* ---------- Forms ---------- */
.form-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 640px){ .form-grid{ grid-template-columns: 1fr; } }
.field{ display: flex; flex-direction: column; gap: 8px; }
.field--full{ grid-column: 1 / -1; }
.field label{ font-size: 13px; font-weight: 600; color: var(--navy); }
.field .optional{ font-weight: 400; color: var(--ink-40); }
.field input, .field select, .field textarea{
  font-family: var(--sans); font-size: 15px; padding: 13px 14px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  color: var(--charcoal); transition: border-color 0.2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color: var(--gold-deep); outline: none; }
.field textarea{ resize: vertical; min-height: 120px; }
.form-note{ font-size: 13.5px; color: var(--ink-40); margin-top: 18px; max-width: 560px; }
.form-status{ margin-top: 18px; font-size: 14.5px; display: none; }
.form-status.is-visible{ display: block; }
.form-status.is-success{ color: var(--gold-deep); }
.form-status.is-error{ color: #8A3A2B; }

/* ---------- Disclaimer boxes ---------- */
.disclaimer-box{
  border: 1px solid var(--line); background: var(--ivory-dim);
  padding: 28px 30px; border-radius: var(--radius);
}
.disclaimer-box h3{ font-size: 16px; }
.disclaimer-box ul{ margin-top: 14px; display: grid; gap: 8px; }
.disclaimer-box li{ font-size: 14px; color: var(--ink-60); padding-left: 16px; position: relative; }
.disclaimer-box li::before{ content:"—"; position:absolute; left:0; color: var(--ink-40); }
.disclaimer-box p{ font-size: 14px; color: var(--ink-60); margin-top: 14px; }

/* ---------- Contact info block ---------- */
.contact-info{ display: grid; gap: 18px; }
.contact-info a{
  display: flex; align-items: baseline; gap: 12px;
  font-family: var(--serif); font-size: 19px; color: var(--navy);
  text-decoration: none; border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
  width: fit-content;
}
.contact-info a:hover{ color: var(--gold-deep); border-color: var(--gold-deep); }
.contact-info .contact-label{
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--ink-40);
  text-transform: uppercase; display: block; margin-bottom: 4px;
}

/* ---------- Footer ---------- */
.site-footer{ background: var(--navy); color: rgba(250,247,241,0.6); padding: 72px 0 32px; }
.footer-top{ display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(250,247,241,0.12); }
@media (max-width: 760px){ .footer-top{ grid-template-columns: 1fr; gap: 32px; } }
.footer-brand .brand-vcg{ color: var(--ivory); font-size: 26px; }
.footer-brand .brand-word{ color: rgba(250,247,241,0.5); }
.footer-brand p{ margin-top: 16px; font-size: 14px; max-width: 340px; color: rgba(250,247,241,0.5); }
.footer-col h4{ font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(250,247,241,0.4); font-weight: 500; }
.footer-col ul{ margin-top: 16px; display: grid; gap: 10px; }
.footer-col a{ font-size: 14.5px; text-decoration: none; color: rgba(250,247,241,0.75); }
.footer-col a:hover{ color: var(--gold-bright); }
.footer-bottom{ padding-top: 28px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-legal{ font-size: 12.5px; line-height: 1.6; color: rgba(250,247,241,0.4); max-width: 720px; }
.footer-copy{ font-size: 12.5px; color: rgba(250,247,241,0.4); white-space: nowrap; }

/* ---------- Reveal on scroll ---------- */
.reveal{ opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

/* ---------- Misc ---------- */
.divider{ height: 1px; background: var(--line); border: none; margin: 0; }
.center{ text-align: center; margin-left: auto; margin-right: auto; }
.mt-56{ margin-top: 56px; }

/* Valtora contact form submission status */
[data-fs-success],
[data-fs-error] {
  margin-top: 24px !important;
  padding: 18px 20px !important;
  border-radius: 2px !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  box-shadow: none !important;
}

[data-fs-success] {
  background: #f7f4ee !important;
  border: 1px solid rgba(176, 138, 79, 0.35) !important;
  border-left: 3px solid #b08a4f !important;
  color: #252525 !important;
}

[data-fs-error] {
  background: #faf3f1 !important;
  border: 1px solid rgba(150, 75, 65, 0.35) !important;
  border-left: 3px solid #964b41 !important;
  color: #6f342d !important;
}
