/* ===========================================================
   THE FOUNDER FOUNDRY — Design System v2
   Clean, modern, card-based. Palette: cream, navy, white.
   =========================================================== */

:root{
  --white:#FFFFFF;
  --cream:#F5F1E8;
  --paper-line:#E7E4DA;
  --ink:#1C2130;
  --ink-soft:#4A4F5C;
  --navy:#1E3A5F;
  --navy-soft:#3E5B7E;
  --navy-faint:rgba(30,58,95,0.10);
  --navy-faint-2:rgba(30,58,95,0.05);
  --max:1120px;
  --radius-sm:8px;
  --radius-md:14px;
  --radius-lg:20px;
  --shadow-sm: 0 2px 8px rgba(28,33,48,0.06);
  --shadow-md: 0 8px 24px rgba(28,33,48,0.09);
  --shadow-lg: 0 16px 40px rgba(28,33,48,0.12);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--white);
  color:var(--ink);
  font-family:'Inter', sans-serif;
  font-size:16px;
  line-height:1.65;
}
h1,h2,h3{ font-family:'Fraunces', serif; font-weight:600; color:var(--navy); margin:0; }
.mono{ font-family:'Inter', sans-serif; font-weight:600; letter-spacing:0.08em; text-transform:uppercase; }
.wrap{ max-width:var(--max); margin:0 auto; padding:0 28px; }
a{ color:inherit; }
img{max-width:100%;}

/* ---------- NAV ---------- */
header.site-header{
  position:sticky; top:0; z-index:50;
  background:var(--navy);
  box-shadow:var(--shadow-sm);
}
nav.site-nav{ display:flex; align-items:center; justify-content:space-between; padding:10px 0; }
.logo{
  display:flex; align-items:center; text-decoration:none;
  background:var(--white); padding:6px 12px; border-radius:var(--radius-sm);
}
.logo-img{ display:block; height:52px; width:auto; }
.nav-links{ display:flex; gap:28px; font-size:0.9rem; font-weight:500; color:rgba(255,255,255,0.78); }
.nav-links a{ text-decoration:none; color:inherit; transition:color .15s; }
.nav-links a:hover, .nav-links a:focus-visible{ color:var(--white); }
.nav-cta{
  font-size:0.88rem; font-weight:600;
  background:var(--white); color:var(--navy); padding:10px 20px; text-decoration:none;
  border-radius:var(--radius-sm); transition:transform .15s, box-shadow .15s;
}
.nav-cta:hover{ box-shadow:var(--shadow-md); transform:translateY(-1px); }

.menu-toggle{
  display:none; background:none; border:1px solid rgba(255,255,255,0.35); border-radius:var(--radius-sm);
  padding:9px 11px; cursor:pointer; align-items:center; justify-content:center; flex-direction:column; gap:4px;
}
.menu-toggle .bar{ display:block; width:18px; height:2px; background:var(--white); border-radius:2px; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] .bar:nth-child(1){ transform:translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bar:nth-child(2){ opacity:0; }
.menu-toggle[aria-expanded="true"] .bar:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }

.mobile-nav-panel{ display:none; flex-direction:column; background:var(--navy); border-top:1px solid rgba(255,255,255,0.12); }
.mobile-nav-panel.open{ display:flex; }
.mobile-nav-panel a{ padding:16px 28px; color:rgba(255,255,255,0.85); text-decoration:none; font-size:0.92rem; font-weight:500; border-bottom:1px solid rgba(255,255,255,0.08); }
.mobile-nav-panel .mobile-cta{ margin:16px 28px 20px; text-align:center; border-radius:var(--radius-sm); }

@media (max-width: 760px){
  .nav-links{ display:none; }
  .nav-cta{ display:none; }
  .menu-toggle{ display:flex; }
}

/* ---------- HERO ---------- */
.hero-section{ padding:64px 0 56px; background:linear-gradient(180deg, var(--cream) 0%, var(--white) 100%); }
.hero-inner{ max-width:760px; }
.eyebrow{
  font-size:0.82rem; font-weight:600; letter-spacing:0.08em; text-transform:uppercase; color:var(--navy-soft);
  display:inline-flex; align-items:center; gap:8px; margin-bottom:20px;
  background:var(--navy-faint); padding:6px 14px; border-radius:999px;
}
.hero-headline{ font-size:clamp(2.2rem, 4.8vw, 3.5rem); line-height:1.14; margin-bottom:20px; }
.hero-headline em{ font-style:italic; color:var(--navy-soft); }
.hero-sub{ font-size:1.1rem; max-width:70ch; color:var(--ink-soft); margin-bottom:32px; text-align:justify; hyphens:auto; }
.hero-ctas{ display:flex; gap:16px; flex-wrap:wrap; }

.btn-primary, .btn-secondary{
  font-size:0.92rem; font-weight:600;
  padding:14px 28px; text-decoration:none; display:inline-block; cursor:pointer;
  border-radius:var(--radius-sm); transition:transform .15s, box-shadow .15s, background .15s, color .15s;
  border:1.5px solid transparent;
}
.btn-primary{ background:var(--navy); color:var(--white); }
.btn-primary:hover, .btn-primary:focus-visible{ box-shadow:var(--shadow-md); transform:translateY(-1px); }
.btn-secondary{ background:var(--white); color:var(--navy); border-color:var(--paper-line); }
.btn-secondary:hover, .btn-secondary:focus-visible{ border-color:var(--navy); box-shadow:var(--shadow-sm); }
button.btn-primary, button.btn-secondary{ font-family:'Inter', sans-serif; }

/* Hero highlight card (stat strip, replaces the old blueprint title block) */
.hero-highlights{
  margin-top:48px; display:grid; grid-template-columns:repeat(4,1fr); gap:1px;
  background:var(--paper-line); border-radius:var(--radius-md); overflow:hidden;
  box-shadow:var(--shadow-sm);
}
.hero-highlight{ background:var(--white); padding:20px 22px; }
.hero-highlight .hh-label{ font-size:0.72rem; font-weight:600; letter-spacing:0.06em; text-transform:uppercase; color:#8A8F9C; display:block; margin-bottom:6px; }
.hero-highlight .hh-value{ font-size:0.95rem; font-weight:600; color:var(--navy); }
.hh-accent{ color:var(--navy-soft); }

@media (max-width:760px){ .hero-highlights{ grid-template-columns:1fr 1fr; } }

/* ---------- SECTIONS ---------- */
section{ padding:56px 0; }
.section-head{ display:flex; align-items:center; gap:14px; margin-bottom:32px; }
.section-num{
  font-size:0.8rem; font-weight:700; color:var(--navy);
  background:var(--navy-faint); border-radius:999px; padding:5px 13px;
}
.section-title{ font-size:1.85rem; }
.section-rule{ height:1px; background:var(--paper-line); flex:1; }

.split{ display:grid; grid-template-columns:1fr 1fr; gap:40px; }
.split p{ color:var(--ink-soft); font-size:1.02rem; }
.split h3{ font-size:1.3rem; margin-bottom:16px; }
.quote-mark{ font-family:'Fraunces', serif; font-size:3.2rem; color:var(--navy-faint); line-height:0.5; display:block; margin-bottom:10px; }
@media (max-width:760px){ .split{ grid-template-columns:1fr; } }

/* ---------- SERVICES (card grid, on navy backdrop) ---------- */
.services-bg{ background:var(--navy); }
.services-bg .section-title{ color:var(--white); }
.services-bg .section-num{ color:var(--white); background:rgba(255,255,255,0.14); }
.services-bg .section-rule{ background:rgba(255,255,255,0.16); }

.service-grid{ display:grid; grid-template-columns:repeat(5, 1fr); gap:18px; }
.service-card{
  background:var(--white); border-radius:var(--radius-md); padding:26px 22px;
  box-shadow:var(--shadow-md); transition:transform .18s ease, box-shadow .18s ease;
}
.service-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.service-card .num{ font-size:0.75rem; font-weight:700; color:var(--navy-soft); margin-bottom:14px; display:inline-block; background:var(--navy-faint); padding:3px 9px; border-radius:999px; }
.service-card h3{ font-size:1.05rem; font-weight:600; margin-bottom:9px; color:var(--navy); }
.service-card p{ font-size:0.88rem; color:var(--ink-soft); margin:0; }

@media (max-width:980px){ .service-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:640px){ .service-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:420px){ .service-grid{ grid-template-columns:1fr; } }

/* ---------- WHO IT'S FOR (card grid, on light backdrop) ---------- */
.for-list{ display:grid; grid-template-columns:repeat(5, 1fr); gap:18px; }
.for-item{
  background:var(--white); border:1px solid var(--paper-line); border-radius:var(--radius-md);
  padding:22px 22px; font-size:0.92rem; color:var(--ink-soft); line-height:1.6;
  box-shadow:var(--shadow-sm); transition:transform .18s ease, box-shadow .18s ease;
  display:flex; align-items:flex-start; gap:14px;
}
.for-item:hover{ transform:translateY(-3px); box-shadow:var(--shadow-md); }
.for-item p{ margin:0; }
.for-item .tick{
  display:flex; align-items:center; justify-content:center; width:24px; height:24px;
  background:var(--navy-faint); color:var(--navy); border-radius:999px; font-weight:700; font-size:0.78rem;
  flex-shrink:0; margin-top:1px;
}

@media (max-width:980px){ .for-list{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:640px){ .for-list{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:420px){ .for-list{ grid-template-columns:1fr; } }

/* ---------- CHECKLIST PANEL ---------- */
.checklist-panel{
  display:grid; grid-template-columns:1fr 1fr; border-radius:var(--radius-lg); overflow:hidden;
  box-shadow:var(--shadow-md);
}
.checklist-info{ padding:36px 40px; background:var(--white); display:flex; flex-direction:column; justify-content:flex-start; }
.checklist-info ul{ padding-left:0; list-style:none; margin:22px 0 0; }
.checklist-info li{ font-size:0.94rem; color:var(--ink-soft); padding:8px 0; display:flex; gap:10px; }
.checklist-info li::before{ content:"✓"; color:var(--navy); font-weight:700; }
.checklist-form-panel{ padding:36px 40px; background:var(--cream); display:flex; flex-direction:column; justify-content:flex-start; }
.checklist-form-panel .resource-tag{ margin-bottom:16px; }


/* ---------- FORM ELEMENTS (shared) ---------- */
.field{ margin-bottom:18px; }
.field label{ font-size:0.8rem; font-weight:600; color:var(--navy-soft); display:block; margin-bottom:7px; }
.field input, .field select, .field textarea{
  width:100%; padding:12px 14px; border:1.5px solid var(--paper-line); border-radius:var(--radius-sm); background:var(--white);
  font-family:'Inter', sans-serif; font-size:16px; color:var(--ink);
}
.field textarea{ min-height:80px; resize:vertical; }
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color:var(--navy); box-shadow:0 0 0 3px var(--navy-faint); }
.field-note{ font-size:0.8rem; color:#8A8F9C; margin-top:6px; font-style:italic; }
.honeypot{
  position:absolute !important;
  left:-9999px !important;
  top:-9999px !important;
  width:1px; height:1px;
  overflow:hidden;
  opacity:0;
}

.intake-wrap{ background:var(--white); border-radius:var(--radius-lg); box-shadow:var(--shadow-md); padding:44px 48px; }
.intake-grid{ display:grid; grid-template-columns:1fr 1fr; gap:0 28px; }
.intake-grid .full{ grid-column:1 / -1; }
.fieldset-title{ font-size:0.8rem; font-weight:700; letter-spacing:0.05em; text-transform:uppercase; color:var(--navy); border-bottom:1px solid var(--paper-line); padding-bottom:10px; margin:8px 0 20px; grid-column:1/-1; }
.fieldset-title:first-child{ margin-top:0; }

@media (max-width:760px){ .intake-grid{ grid-template-columns:1fr; } .intake-wrap{ padding:32px 24px; } }

/* ---------- PRICING ---------- */
.pricing-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
@media (max-width:900px){ .pricing-grid{ grid-template-columns:1fr; } }
.price-card{
  background:var(--white); border-radius:var(--radius-lg); padding:32px 28px;
  display:flex; flex-direction:column; position:relative; box-shadow:var(--shadow-sm);
  border:1.5px solid var(--paper-line); transition:transform .18s ease, box-shadow .18s ease;
}
.price-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
.price-card.featured{ border-color:var(--navy); box-shadow:var(--shadow-md); }
.featured-tag{
  position:absolute; top:-13px; right:24px; background:var(--navy); color:var(--white);
  font-size:0.7rem; font-weight:700; letter-spacing:0.05em; text-transform:uppercase; padding:6px 14px; border-radius:999px;
}
.price-card .mono-tag{ font-size:0.78rem; font-weight:700; color:var(--navy-soft); letter-spacing:0.05em; text-transform:uppercase; margin-bottom:14px; }
.price-card h3{ font-size:1.35rem; margin-bottom:6px; }
.price-tag{ font-family:'Fraunces', serif; font-size:2rem; color:var(--navy); margin:14px 0 4px; }
.price-tag .old{ font-size:0.9rem; font-weight:600; color:#9AA0AD; text-decoration:line-through; margin-left:10px; font-family:'Inter', sans-serif; }
.price-card ul{ list-style:none; padding:0; margin:20px 0 28px; flex:1; }
.price-card li{ font-size:0.92rem; color:var(--ink-soft); padding:9px 0; border-bottom:1px solid var(--cream); display:flex; gap:10px; }
.price-card li::before{ content:"✓"; color:var(--navy); flex-shrink:0; font-weight:700; }
.price-card .btn-primary, .price-card .btn-secondary{ text-align:center; }

/* ---------- BOOKING FORM (centered card) ---------- */
.book-wrap{ display:flex; justify-content:center; }
.book-card{ max-width:600px; width:100%; }

/* ---------- RESOURCE CARD ---------- */
.resource-card{
  background:var(--white); border-radius:var(--radius-lg); box-shadow:var(--shadow-sm); border:1.5px solid var(--paper-line);
  padding:32px 34px; display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap;
}
.resource-card h3{ font-size:1.2rem; margin-bottom:8px; }
.resource-card p{ margin:0; color:var(--ink-soft); font-size:0.94rem; max-width:56ch; line-height:1.75; text-align:justify; hyphens:auto; }
.resource-tag{ font-size:0.75rem; font-weight:700; letter-spacing:0.05em; text-transform:uppercase; color:var(--navy-soft); margin-bottom:10px; display:block; }

.section-intro{ color:var(--ink-soft); margin-top:-14px; margin-bottom:28px; font-size:0.95rem; max-width:62ch; line-height:1.75; text-align:justify; hyphens:auto; }

/* ---------- DISCLAIMER ---------- */
.disclaimer{ background:var(--cream); border-radius:var(--radius-md); border-left:4px solid var(--navy); padding:28px 32px; }
.disclaimer .mono{ font-size:0.75rem; color:var(--navy-soft); margin-bottom:10px; display:block; }
.disclaimer p{ margin:0; color:var(--ink); font-size:0.98rem; }

/* ---------- FINAL CTA ---------- */
.final-cta{ text-align:center; padding:64px 0 80px; }
.final-cta h2{ font-size:clamp(1.8rem, 4vw, 2.6rem); max-width:16ch; margin:0 auto 28px; }

/* ---------- CONFIRMATION / SIMPLE PAGES ---------- */
.confirm-sheet{
  background:var(--white); border-radius:var(--radius-lg); box-shadow:var(--shadow-md);
  padding:64px 48px; text-align:center; margin:56px 0;
}
.confirm-icon{
  width:56px; height:56px; border-radius:50%; background:var(--navy-faint);
  display:flex; align-items:center; justify-content:center; margin:0 auto 28px;
  color:var(--navy); font-size:1.4rem;
}
.confirm-sheet h1{ font-size:clamp(1.7rem,4vw,2.3rem); margin-bottom:18px; }
.confirm-sheet p{ color:var(--ink-soft); max-width:48ch; margin:0 auto 32px; font-size:1.02rem; }
.confirm-steps{ text-align:left; max-width:440px; margin:0 auto 36px; }
.confirm-step{ display:flex; gap:16px; padding:16px 0; border-bottom:1px solid var(--paper-line); align-items:flex-start; }
.confirm-step:first-child{ border-top:1px solid var(--paper-line); }
.confirm-step .step-num{
  font-size:0.8rem; font-weight:700; color:var(--navy); background:var(--navy-faint);
  border-radius:999px; padding:3px 10px; flex-shrink:0;
}
.confirm-step p{ margin:0; font-size:0.94rem; text-align:left; }
.confirm-ctas{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }

/* ---------- FOOTER ---------- */
footer.site-footer{ border-top:1px solid var(--paper-line); padding:32px 0; font-size:0.82rem; color:#8A8F9C; }
.footer-inner{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; }

@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } *{ transition:none !important; } }
:focus-visible{ outline:2px solid var(--navy); outline-offset:2px; }

/* ---------- HOW IT WORKS ---------- */
.how-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; position:relative; }
.how-step{
  background:var(--white); border:1.5px solid var(--paper-line); border-radius:var(--radius-md);
  padding:26px 22px; position:relative;
}
.how-step .how-num{
  width:34px; height:34px; border-radius:999px; background:var(--navy); color:var(--white);
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:0.95rem; margin-bottom:16px;
}
.how-step h3{ font-size:1.02rem; margin-bottom:8px; }
.how-step p{ font-size:0.88rem; color:var(--ink-soft); margin:0; line-height:1.65; }
@media (max-width:900px){ .how-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .how-grid{ grid-template-columns:1fr; } }

/* ---------- SAMPLE DELIVERABLES ---------- */
.deliverable-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
@media (max-width:900px){ .deliverable-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .deliverable-grid{ grid-template-columns:1fr; } }
.deliverable-card{
  background:var(--white); border:1.5px solid var(--paper-line); border-radius:var(--radius-md);
  overflow:hidden; box-shadow:var(--shadow-sm); transition:transform .18s ease, box-shadow .18s ease;
}
.deliverable-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow-md); }
.deliverable-card-simple{
  background:var(--white); border:1.5px solid var(--paper-line); border-radius:var(--radius-md);
  padding:26px 24px; box-shadow:var(--shadow-sm); transition:transform .18s ease, box-shadow .18s ease;
}
.deliverable-card-simple:hover{ transform:translateY(-3px); box-shadow:var(--shadow-md); }
.deliverable-card-simple h3{ font-size:1.02rem; margin-bottom:8px; }
.deliverable-card-simple p{ font-size:0.88rem; color:var(--ink-soft); margin:0; line-height:1.6; }

/* ---------- BOOKING MODAL ---------- */
.modal-overlay{
  display:none;
  position:fixed; inset:0; z-index:200;
  background:rgba(28,33,48,0.55);
  align-items:center; justify-content:center;
  padding:24px;
}
.modal-overlay.open{ display:flex; }
.modal-card{
  background:var(--white); border-radius:var(--radius-lg); box-shadow:var(--shadow-lg);
  max-width:560px; width:100%; max-height:88vh; overflow-y:auto;
  position:relative; padding:40px 40px 36px;
}
.modal-close{
  position:absolute; top:18px; right:18px; width:32px; height:32px;
  border-radius:50%; border:none; background:var(--navy-faint); color:var(--navy);
  font-size:0.9rem; cursor:pointer; display:flex; align-items:center; justify-content:center;
}
.modal-close:hover{ background:var(--navy); color:var(--white); }
@media (max-width:640px){ .modal-card{ padding:32px 24px 28px; } }

.dont-list{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
@media (max-width:640px){ .dont-list{ grid-template-columns:1fr; } }
.dont-item{
  display:flex; gap:14px; align-items:flex-start; background:var(--white);
  border:1.5px solid var(--paper-line); border-radius:var(--radius-md); padding:18px 20px;
}
.dont-item .cross{
  width:26px; height:26px; border-radius:999px; background:#F2E4E4; color:#9A3B3B;
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:0.8rem; flex-shrink:0;
}
.dont-item p{ margin:0; font-size:0.92rem; color:var(--ink-soft); }

/* ---------- MOBILE CAROUSELS ---------- */
@media (max-width:700px){
  .service-grid, .how-grid, .for-list, .pricing-grid, .deliverable-grid{
    display:flex;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    gap:14px;
    padding-bottom:14px;
    margin:0 -28px;
    padding-left:28px;
    padding-right:28px;
  }
  .service-grid > *, .how-grid > *, .for-list > *, .pricing-grid > *, .deliverable-grid > *{
    flex:0 0 78%;
    scroll-snap-align:start;
  }
  .pricing-grid > *{ flex-basis:82%; }
  .service-grid::-webkit-scrollbar, .how-grid::-webkit-scrollbar,
  .for-list::-webkit-scrollbar, .pricing-grid::-webkit-scrollbar,
  .deliverable-grid::-webkit-scrollbar{
    height:5px;
  }
  .service-grid::-webkit-scrollbar-thumb, .how-grid::-webkit-scrollbar-thumb,
  .for-list::-webkit-scrollbar-thumb, .pricing-grid::-webkit-scrollbar-thumb,
  .deliverable-grid::-webkit-scrollbar-thumb{
    background:var(--paper-line); border-radius:99px;
  }
  .checklist-panel{
    display:flex;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
  }
  .checklist-info, .checklist-form-panel{
    flex:0 0 88%;
    scroll-snap-align:start;
    padding:28px 20px;
  }
}

/* ---------- MOBILE: SPACING, HERO CTAs, PROBLEM/APPROACH ---------- */
.split-hint{ display:none; }

@media (max-width:700px){
  section{ padding:32px 0; }
  .section-head{ margin-bottom:24px; }
  .hero-section{ padding:32px 0 24px; }
  .hero-highlights{ margin-top:28px; }

  .hero-ctas{ flex-wrap:nowrap; gap:10px; }
  .hero-ctas .btn-primary, .hero-ctas .btn-secondary{
    flex:1 1 0;
    padding:13px 10px;
    font-size:0.78rem;
    text-align:center;
    white-space:nowrap;
  }

  .split{
    display:flex;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    gap:0;
    margin:0 -28px;
  }
  .split > div{
    flex:0 0 100%;
    scroll-snap-align:start;
    padding:0 28px;
    box-sizing:border-box;
  }
  .split-hint{
    display:flex; align-items:center; gap:8px;
    font-size:0.78rem; font-weight:600; color:var(--navy-soft);
    margin:-14px 0 18px;
  }
  .split-hint span{ color:var(--navy); }
}

