/* ============================================================
   FW CONSULTING — style.css
   ============================================================ */

/* ── TOKENS ── */
:root {
  --black:         #0A0A0A;
  --black-soft:    #111111;
  --black-card:    #161616;
  --black-border:  #222222;
  --gold:          #B8973E;
  --gold-light:    #CCA94A;
  --gold-dim:      rgba(184, 151, 62, 0.12);
  --gold-line:     rgba(184, 151, 62, 0.28);
  --gray:          #8A8A8A;
  --gray-light:    #AAAAAA;
  --gray-dim:      #444444;
  --white:         #F5F2EC;
  --white-dim:     rgba(245, 242, 236, 0.68);
  --nav-height:    60px;
  --snav-height:   48px;
  --offset:        108px; /* nav + snav */
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── TYPE ── */
h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.9rem); }
p  { font-size: 0.93rem; line-height: 1.88; color: var(--white-dim); }
em { font-style: italic; color: var(--gold); }

.label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
}

.gold-rule {
  width: 52px;
  height: 1px;
  background: var(--gold);
  margin: 20px 0;
}
.gold-rule.center { margin: 20px auto; }

/* ── LAYOUT ── */
.wrap   { max-width: 1100px; margin: 0 auto; padding: 0 4vw; }
.wrap-n { max-width: 780px;  margin: 0 auto; padding: 0 4vw; }
.pad    { padding: 96px 0; }
.dark   { background: var(--black-soft); }
.divider { height: 1px; background: var(--black-border); }

/* scroll-margin so sticky nav doesn't cover section headings */
.site-section { scroll-margin-top: var(--offset); }

/* ── BUTTONS ── */
.btn-gold {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  padding: 15px 34px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}
.btn-gold:hover { background: var(--gold-light); }

.btn-ghost {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  padding: 14px 33px;
  border: 1px solid var(--gold-line);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-ghost:hover { background: var(--gold-dim); border-color: var(--gold); }

/* ── BRAND BAR ── */
#brand-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
  background: rgba(10, 10, 10, 0.97);
  border-bottom: 1px solid var(--black-border);
  backdrop-filter: blur(14px);
}

.brand-logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  border: none;
  background: none;
}

.brand-logo img {
  height: 34px;
  width: auto;
  display: block;
}

/* ── SECTION NAV ── */
#snav {
  position: sticky;
  top: var(--nav-height);
  z-index: 150;
  height: var(--snav-height);
  background: var(--black-soft);
  border-bottom: 1px solid var(--black-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
}
#snav::-webkit-scrollbar { display: none; }

.snav-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0 22px;
  height: var(--snav-height);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.snav-btn:hover  { color: var(--white); }
.snav-btn.active { color: var(--gold); border-bottom-color: var(--gold); }

/* ── REVEAL ANIMATION ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }


/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: calc(100vh - var(--offset));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background-image: url('robbie-martyn-D6mPqWKJERA-unsplash.jpg');
  background-size: cover;
  background-position: center;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.82) 0%,
    rgba(10,10,10,0.65) 100%
  );
  z-index: 1;
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(184,151,62,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,151,62,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -20%; right: -5%;
  width: 55vw; height: 120%;
  background: radial-gradient(ellipse, rgba(184,151,62,0.035) 0%, transparent 68%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 4vw;
  width: 100%;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.7s 0.1s forwards;
}
.hero-eyebrow-rule { width: 36px; height: 1px; background: var(--gold); }

.hero-inner h1 {
  max-width: 820px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.7s 0.22s forwards;
}

.hero-sub {
  max-width: 560px;
  font-size: 0.97rem;
  color: var(--gray-light);
  margin-bottom: 44px;
  line-height: 1.92;
  opacity: 0;
  animation: fadeUp 0.7s 0.34s forwards;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s 0.46s forwards;
}


/* ============================================================
   WHO
   ============================================================ */
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.who-right {
  border-left: 1px solid var(--black-border);
  padding-left: 56px;
}

.dash-list { list-style: none; margin-top: 28px; }
.dash-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--black-border);
  font-size: 0.88rem;
  color: var(--white-dim);
  align-items: flex-start;
}
.dash-list li::before {
  content: '—';
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}


/* ============================================================
   WHAT CHANGES
   ============================================================ */
.changes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--black-border);
  margin-top: 52px;
}

.change-card {
  background: var(--black-card);
  padding: 44px 34px;
  transition: background 0.2s;
}
.change-card:hover { background: #1b1b1b; }

.change-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.6rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 18px;
}
.change-card h3 { font-size: 1.25rem; margin-bottom: 14px; }


/* ============================================================
   DIFFERENTIATORS
   ============================================================ */
.diff-list { margin-top: 44px; }

.diff-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 36px;
  padding: 36px 0;
  border-bottom: 1px solid var(--black-border);
  align-items: start;
}
.diff-item:first-child { border-top: 1px solid var(--black-border); }

.diff-index {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  padding-top: 3px;
}
.diff-item h3 { font-size: 1.22rem; margin-bottom: 10px; }


/* ============================================================
   QUOTE
   ============================================================ */
.quote-section {
  background: var(--black-soft);
  border-top: 1px solid var(--black-border);
  border-bottom: 1px solid var(--black-border);
}

.quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 7rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 0.5;
  margin-bottom: 28px;
  opacity: 0.35;
}

blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.35rem, 2.8vw, 2.1rem);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  line-height: 1.52;
  max-width: 800px;
  margin: 0 auto 28px;
}

.quote-attr {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}


/* ============================================================
   HOW I WORK
   ============================================================ */
.scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--black-border);
  margin-top: 52px;
}

.scope-card {
  background: var(--black-card);
  padding: 48px 44px;
}
.scope-card h3 { margin-bottom: 18px; }
.scope-oneliner { font-size: 0.93rem; color: var(--white-dim); margin-top: 14px; margin-bottom: 0; max-width: 720px; }

.scope-list { list-style: none; margin-top: 20px; }
.scope-list li {
  display: flex;
  gap: 13px;
  padding: 9px 0;
  font-size: 0.86rem;
  color: var(--white-dim);
  border-bottom: 1px solid var(--black-border);
  align-items: flex-start;
}
.scope-list li:last-child { border-bottom: none; }
.scope-list li::before {
  content: '→';
  color: var(--gold);
  flex-shrink: 0;
  font-size: 0.72rem;
  margin-top: 3px;
}

/* Engagement model two-option grid */
.model-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--black-border);
  margin-top: 52px;
}

.model-card {
  background: var(--black-card);
  padding: 52px 48px;
}
.model-card h3 { margin-bottom: 20px; }

.model-details { margin-top: 24px; border-top: 1px solid var(--black-border); }

.model-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--black-border);
}
.model-row:last-child { border-bottom: none; }

.model-row-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}

.model-row-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: var(--white);
  text-align: right;
}

/* Principles */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 56px;
}

.principle {
  padding: 36px 0;
  border-top: 2px solid var(--gold);
}
.principle h3 { font-size: 1.15rem; margin-bottom: 14px; }

/* CFO of Record box */
.cfo-box {
  margin-top: 72px;
  border: 1px solid var(--gold-line);
  padding: 56px;
  position: relative;
}
.cfo-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--gold);
}


/* ============================================================
   REFERENCES BAND
   ============================================================ */
.references-band {
  background: var(--black-soft);
  border-top: 1px solid var(--black-border);
  border-bottom: 1px solid var(--black-border);
}

.references-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}


/* ============================================================
   PROCORE
   ============================================================ */
.procore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--black-border);
  margin-top: 52px;
}

.procore-card { background: var(--black-card); padding: 38px 30px; }

.procore-icon {
  width: 38px; height: 38px;
  border: 1px solid var(--gold-line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--gold);
}

.procore-card h3 { font-size: 1.05rem; margin-bottom: 11px; }


/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: start;
}

.credentials { margin-top: 44px; }

.credential {
  display: flex;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--black-border);
  align-items: flex-start;
}
.credential-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 8px;
}
.credential span { font-size: 0.86rem; color: var(--white-dim); }

.philosophy {
  padding: 36px 40px;
  background: var(--black-card);
  border-left: 3px solid var(--gold);
  margin-top: 36px;
}

.not-for {
  margin-top: 32px;
  padding: 36px 40px;
  border: 1px solid var(--black-border);
}


/* ============================================================
   FAQ
   ============================================================ */
.faq-list { margin-top: 52px; }

.faq-item { border-bottom: 1px solid var(--black-border); }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  cursor: pointer;
  gap: 24px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--white);
  transition: color 0.2s;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}
.faq-question:hover { color: var(--gold); }

.faq-toggle {
  color: var(--gold);
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: transform 0.2s;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  line-height: 1;
}

.faq-answer {
  display: none;
  padding: 0 0 26px;
  font-size: 0.88rem;
  color: var(--white-dim);
  max-width: 740px;
  line-height: 1.92;
}

.faq-item.open .faq-answer  { display: block; }
.faq-item.open .faq-toggle  { transform: rotate(45deg); }


/* ============================================================
   ASSESSMENT
   ============================================================ */
.assess-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  margin-bottom: 72px;
}

.checklist { margin-top: 36px; }

.check-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--black-border);
  font-size: 0.86rem;
  color: var(--white-dim);
  align-items: flex-start;
}

.check-icon {
  width: 18px; height: 18px;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.check-icon::after { content: '✓'; font-size: 0.6rem; color: var(--gold); }

/* Form */
.form-section { border-top: 1px solid var(--black-border); padding-top: 60px; }

.form-block { margin-top: 48px; }

.form-block-title {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--black-border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-row.three { grid-template-columns: 1fr 1fr 1fr; }
.form-row.one   { grid-template-columns: 1fr; }

.form-group { display: flex; flex-direction: column; gap: 7px; }

.form-label {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.86rem;
  font-weight: 300;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

input:focus, select:focus, textarea:focus { border-color: var(--gold); }

textarea { resize: vertical; min-height: 100px; }

select option { background: var(--black-card); }

.form-submit {
  margin-top: 36px;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.form-submit p { font-size: 0.78rem; color: var(--gray); margin: 0; }

.radio-group, .check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.radio-opt, .check-opt {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--white-dim);
  line-height: 1.5;
}
.radio-opt input, .check-opt input { accent-color: var(--gold); cursor: pointer; margin-top: 3px; }


/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--black-soft);
  border-top: 1px solid var(--black-border);
  padding: 56px 4vw 36px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--black-border);
}

.footer-brand p { font-size: 0.82rem; max-width: 300px; margin-top: 18px; }

.footer-brand img {
  height: 28px;
  width: auto;
  display: block;
}

.footer-col h4 {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }

.footer-col ul li a,
.footer-col ul li button {
  font-size: 0.8rem;
  color: var(--gray);
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  transition: color 0.2s;
  text-align: left;
  padding: 0;
}
.footer-col ul li a:hover,
.footer-col ul li button:hover { color: var(--white); }

.footer-bottom {
  max-width: 1100px;
  margin: 28px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 0.68rem; color: var(--gray-dim); }


/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 820px) {
  .who-grid,
  .about-grid,
  .assess-intro,
  .model-grid,
  .references-inner { grid-template-columns: 1fr; gap: 44px; }

  .who-right {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--black-border);
    padding-top: 40px;
  }

  .changes-grid,
  .procore-grid,
  .principles-grid { grid-template-columns: 1fr; }

  .scope-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 36px; }

  .cfo-box { padding: 36px 24px; }

  .snav-btn { padding: 0 14px; font-size: 0.6rem; }

  .form-row,
  .form-row.three { grid-template-columns: 1fr; }
}
