/* ============================================================
   The Founder's Table — Page-specific stylesheet
   Direction A (approved August 2026)
   Self-contained: does not inherit from global index.html styles
   ============================================================ */

/* ---- Design tokens ---- */
:root {
  --vir:    #406368;
  --px:     64px;
  --body-f: 'Libre Baskerville', Georgia, serif;
  --btn-f:  'Space Grotesk', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body-f);
  background: #F7F5F0;
  color: #2A2825;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---- SCROLL PROGRESS BAR ---- */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: #406368;
  width: 0%;
  z-index: 100;
  transition: width 0.1s linear;
}

/* ---- HERO ---- */
.hero {
  background: #2A2825;
  padding: 72px 40px 60px;
  text-align: left;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero.visible { opacity: 1; }

.hero-inner {
  max-width: 640px;
  margin: 0 auto;
}

.ft-kicker {
  font-family: 'Space Grotesk', 'Helvetica Neue', sans-serif;
  font-size: clamp(15px, 1.8vw, 17px);
  color: rgba(247,245,240,0.68);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  margin-bottom: 16px;
}

.wordmark {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 40px;
  font-weight: normal;
  color: #F7F5F0;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.strap-primary {
  font-size: clamp(20px, 2.8vw, 28px);
  color: #406368;
  margin-bottom: 10px;
  font-weight: normal;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.strap-secondary {
  font-size: 12.5px;
  color: #777;
  font-style: italic;
}

.ft-tagline {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(18px, 2.2vw, 22px);
  color: rgba(247,245,240,0.82);
  font-weight: normal;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.ft-description {
  font-family: 'Space Grotesk', 'Helvetica Neue', sans-serif;
  font-size: 14px;
  color: rgba(247,245,240,0.52);
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: 0;
}

/* ---- VIDEO ---- */
.video-wrap {
  background: #2A2825;
  padding: 0 40px 0;
}

.video-wrap-inner {
  max-width: 640px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.video-wrap-inner.visible { opacity: 1; transform: translateY(0); }

.video-container {
  position: relative;
  top: 32px;
}


/* ---- LIGHT BODY ---- */
.body-wrap {
  background: #F7F5F0;
  padding-top: 64px;
}

.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 40px 80px;
}

/* ---- VIDEO LABEL ---- */
.video-label {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #bbb;
  text-align: center;
  margin-bottom: 48px;
  opacity: 0;
  transition: opacity 0.8s ease 0.3s;
}
.video-label.visible { opacity: 1; }

/* ---- TEAL RULE ---- */
.teal-rule {
  width: 0;
  height: 2px;
  background: #406368;
  margin-bottom: 36px;
  transition: width 1.2s ease;
}
.teal-rule.visible { width: 56px; }

/* ---- PROSE BLOCKS ---- */
.prose-block {
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.prose-block.visible { opacity: 1; transform: translateY(0); }

.prose-block p {
  font-family: var(--body-f);
  font-size: 15px;
  line-height: 1.75;
  color: #444;
}
.prose-block p strong { color: #2A2825; }

/* ---- PULL QUOTE ---- */
.pull-quote {
  margin: 36px 0;
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 1s ease, transform 1s ease;
}
.pull-quote.visible { opacity: 1; transform: translateX(0); }

.pull-quote blockquote {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 22px;
  color: #2A2825;
  font-style: italic;
  line-height: 1.55;
  padding: 20px 0 20px 24px;
  border-left: 3px solid #406368;
}

.pull-quote cite {
  display: block;
  margin-top: 10px;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  color: #727070;
  font-style: normal;
}

/* ---- CLOSING LINE ---- */
.closing-line {
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.closing-line.visible { opacity: 1; transform: translateY(0); }

.closing-line p {
  font-family: var(--body-f);
  font-size: 17px;
  color: #2A2825;
  font-style: italic;
  line-height: 1.65;
}

/* ---- CREDIBILITY LINE ---- */
.credibility-line {
  margin-top: 64px;
  margin-bottom: 0;
  padding-top: 32px;
  border-top: 1px solid #E0DDD7;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s ease 0.1s, transform 0.9s ease 0.1s;
}
.credibility-line.visible { opacity: 1; transform: translateY(0); }

.credibility-line p {
  font-family: 'Space Grotesk', 'Helvetica Neue', sans-serif;
  font-size: 13px;
  line-height: 1.8;
  color: #666;
  text-align: center;
  letter-spacing: 0.01em;
  margin-bottom: 0;
}

/* ---- WTYH secondary text link (beneath Request button) ---- */
.wtyh-link-wrap {
  margin-top: 24px;
}
.wtyh-text-link {
  font-family: 'Space Grotesk', 'Helvetica Neue', sans-serif;
  font-size: 13px;
  color: #609FA2;
  text-decoration: none;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(96,159,162,0.35);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.wtyh-text-link:hover { color: #406368; border-color: rgba(64,99,104,0.5); }

/* ---- CTA BLOCK ---- */
.cta-early { margin-top: 28px; margin-bottom: 56px; }

.cta-block {
  margin-top: 36px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s ease 0.15s, transform 0.9s ease 0.15s;
}
.cta-block.visible { opacity: 1; transform: translateY(0); }

.cta-inner {
  padding-top: 0;
  border-top: none;
  text-align: center;
}

.cta-note {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 10.5px;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

@keyframes ft-sweep {
  0%   { left: -150%; }
  25%  { left: 150%;  }
  100% { left: 150%;  }
}

.cta-btn {
  display: inline-block;
  background: #406368;
  color: #fff;
  padding: 13px 32px;
  font-family: 'Space Grotesk', 'Helvetica Neue', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  border: none;
  border-radius: 2px;
  margin: 20px 0 0;
  transition: background 0.25s ease;
  position: relative;
  overflow: hidden;
}
.cta-btn:hover { background: #2E4A4D; }
.cta-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: skewX(-20deg);
  animation: ft-sweep 6s infinite ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .cta-btn::after { animation: none; }
}

.cta-confirm {
  font-size: 11.5px;
  color: #bbb;
  font-style: italic;
  line-height: 1.6;
}

/* ---- LOWER BODY WRAP ---- */
.body-wrap--lower {
  background: #F7F5F0;
  padding-top: 0;
}
.body-wrap--lower .page {
  padding-bottom: 26px;
}

/* ---- FOOTER ---- */
.ft { background: #1C1917; padding: 80px var(--px) 52px; border-top: 3px solid #406368; }
.ft-inner { width: 100%; }
.ft-brand { margin-bottom: 52px; }
.ft-logo-lg { height: 60px; width: auto; display: block; margin-bottom: 20px; }
.ft-tag { font-family: var(--body-f); font-size: clamp(16px, 2vw, 24px); font-weight: 400; color: rgba(249,248,245,.8); line-height: 1.3; letter-spacing: 0.01em; }
.ft-mid { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; margin-bottom: 44px; }
.ft-li { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid rgba(249,248,245,.45); border-radius: 50%; transition: border-color .2s; flex-shrink: 0; margin-left: auto; }
.ft-li:hover { border-color: rgba(249,248,245,.6); }
.ft-li svg { width: 18px; height: 18px; fill: rgba(249,248,245,.8); transition: fill .2s; }
.ft-li:hover svg { fill: #F9F8F5; }
.ftb { padding-top: 28px; border-top: 1px solid rgba(249,248,245,.1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.ftb p { font-family: var(--body-f); font-size: 12px; color: rgba(249,248,245,.3); line-height: 1.6; }
.ftl { display: flex; gap: 20px; }
.ftl a { font-family: var(--body-f); font-size: 12px; color: rgba(249,248,245,.3); text-decoration: none; transition: color .2s; }
.ftl a:hover { color: rgba(249,248,245,.7); }

/* ---- FORM OVERLAY ---- */
.form-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(42, 40, 37, 0.92);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.form-overlay.open { display: flex; }

.form-box {
  background: #F7F5F0;
  max-width: 480px;
  width: 100%;
  padding: 40px;
  position: relative;
  animation: slideUp 0.35s ease;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.form-close {
  position: absolute;
  top: 16px; right: 20px;
  font-size: 20px;
  cursor: pointer;
  color: #aaa;
  background: none;
  border: none;
  font-family: Georgia, serif;
}
.form-close:hover { color: #2A2825; }

.form-title {
  font-size: 20px;
  font-weight: normal;
  color: #2A2825;
  margin-bottom: 6px;
}

.form-sub {
  font-size: 11.5px;
  color: #999;
  margin-bottom: 28px;
  font-style: italic;
}

.form-field { margin-bottom: 16px; }
.form-field--half-wrap { display: flex; gap: 12px; }
.form-field--half { flex: 1; min-width: 0; }
.form-optional { font-size: 9px; color: #bbb; text-transform: uppercase; letter-spacing: 0.08em; font-style: normal; }
.form-field-hint { font-size: 11px; margin-top: 4px; display: flex; align-items: center; gap: 5px; min-height: 18px; }
.form-field-hint.valid { color: #406368; }
.form-field-hint.invalid { color: #c0392b; }
.form-field input.valid, .form-field--half input.valid { border-color: #406368; }
.form-field input.invalid, .form-field--half input.invalid { border-color: #c0392b; }

.form-field label {
  display: block;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
  margin-bottom: 5px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #E0DDD7;
  background: #fff;
  font-family: Georgia, serif;
  font-size: 12.5px;
  color: #2A2825;
  outline: none;
  transition: border-color 0.2s ease;
  border-radius: 0;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: #406368; }
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.form-field select:invalid { color: rgba(42,40,37,0.4); }

.form-field textarea {
  min-height: 72px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  padding: 12px;
  background: #406368;
  color: #fff;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.25s ease;
  border-radius: 2px;
}
.form-submit:hover { background: #2E4A4D; }

.form-success {
  display: none;
  text-align: center;
  padding: 40px 0 32px;
  font-family: 'Space Grotesk', sans-serif;
}
.success-logo {
  height: 32px;
  width: auto;
  display: block;
  margin: 0 auto 32px;
  opacity: 0.85;
}
.form-success p {
  font-size: 16px;
  color: #1A1A1A;
  font-style: normal;
  line-height: 1.7;
  margin-bottom: 0;
}
.success-heading {
  font-size: 26px !important;
  font-weight: 600 !important;
  color: #406368 !important;
  margin-bottom: 16px !important;
}
.success-body {
  color: #1A1A1A;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px !important;
}
.return-btn {
  display: inline-block;
  background: #406368;
  color: #fff;
  padding: 13px 32px;
  font-family: 'Space Grotesk', 'Helvetica Neue', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  border: none;
  border-radius: 2px;
  margin-top: 20px;
  transition: background 0.25s ease;
  position: relative;
  overflow: hidden;
}
.return-btn:hover { background: #2E4A4D; }
.return-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: skewX(-20deg);
  animation: ft-sweep 6s infinite ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .return-btn::after { animation: none; }
}
.form-success small {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #aaa;
}

/* ---- MOBILE ---- */
@media (max-width: 768px) {
  :root { --px: 24px; }
  .ft { padding: 52px var(--px) 40px; }
  .ft-mid { flex-direction: column; align-items: flex-start; gap: 20px; }
  .ft-li { margin-left: 0; }
  .ftb { font-size: 12px; line-height: 1.7; }
}

@media (max-width: 600px) {
  .hero { padding: 56px 24px 48px; }
  .video-wrap { padding: 0 24px; }
  .page { padding: 0 24px 60px; }
  .cta-btn { width: 100%; text-align: center; }
  .form-box { padding: 28px 24px; }
}

/* ============================================================
   TESTIMONIALS — added October 2026
   ============================================================ */

/* ---- Hero quote ---- */
.tft-hero-quote {
  margin: 0 0 48px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.tft-hero-quote.visible { opacity: 1; transform: translateY(0); }

.tft-hq-inner {
  display: block;
  border-left: 3px solid #406368;
  padding: 16px 0 16px 22px;
}

.tft-hq-text {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 17px;
  font-style: italic;
  color: #2A2825;
  line-height: 1.7;
  margin: 0 0 10px;
}

.tft-hq-cite {
  display: block;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  color: #727070;
  font-style: normal;
}

/* ---- Mini case-study cards (3-up horizontal) ---- */
.tft-cards {
  display: flex;
  gap: 28px;
  margin: 40px 0 32px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s ease 0.1s, transform 0.9s ease 0.1s;
}
.tft-cards.visible { opacity: 1; transform: translateY(0); }

.tft-card {
  flex: 1;
  border-left: 3px solid #406368;
  padding: 2px 0 2px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tft-card-quote {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 15px;
  font-style: italic;
  color: #2A2825;
  line-height: 1.65;
  margin: 0 0 16px;
  flex: 1;
}

.tft-card-attr {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  color: #727070;
}

/* ---- Deep-quote video-ready cards (2-up vertical stack) ---- */
.tft-deep-quotes {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 48px 0 40px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s ease 0.1s, transform 0.9s ease 0.1s;
}
.tft-deep-quotes.visible { opacity: 1; transform: translateY(0); }

.tft-deep-card {
  border-left: 3px solid #406368;
}

/* .tft-deep-inner retained for any legacy reference */
.tft-deep-content {
  padding: 2px 0 2px 22px;
}

.tft-deep-quote-text {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 16px;
  font-style: italic;
  color: #2A2825;
  line-height: 1.75;
  margin: 0 0 16px;
}

.tft-deep-attr {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  color: #727070;
}


/* ---- Solo featured quote (single quote replacing 3-card grid) ---- */
.tft-solo-quote {
  margin: 40px 0 32px;
    opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s ease 0.1s, transform 0.9s ease 0.1s;
}
.tft-solo-quote.visible { opacity: 1; transform: translateY(0); }
.tft-solo-inner {
  display: block;
  border-left: 3px solid #406368;
  padding: 20px 0 20px 22px;
}

.tft-solo-text {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 17px;
  font-style: italic;
  color: #2A2825;
  line-height: 1.7;
  margin: 0 0 14px;
  display: block;
}

.tft-solo-attr {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  color: #727070;
  font-style: normal;
  display: block;
}

/* ---- Mobile: all testimonial layouts collapse to single column ---- */
@media (max-width: 640px) {
  .tft-cards {
    flex-direction: column;
    gap: 12px;
  }
}

/* ---- Attribution row with portrait (all quote sections) ---- */
.tft-attr-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}
.tft-attr-img {
  width: 66px;
  height: 66px;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  filter: grayscale(100%);
  opacity: 0.85;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid #406368;
}
