/* ============================
   CSS Variables – Brand Palette
   ============================ */
:root {
  --barn-red: #75140C;
  --oxford-blue: #0E172B;
  --white: #FFFFFF;
  --seasalt: #F8F7F5;
  --alabaster: #E8E3DB;
  --dim-gray: #6B6B6B;
  --jet: #2A2A2A;
  --hunyadi-yellow: #E6B048;
  --silver-lake-blue: #5B8DB8;
  --sea-green: #2E8B57;
  --light-blue: #E3EEF6;
  --light-yellow: #FDF5E6;
  --light-red: #FAE8E6;
  --light-green: #E6F4ED;
  --font-heading: "Geist", Arial, Helvetica, sans-serif;
  --font-body: "PT Serif", Georgia, "Times New Roman", serif;
  --section-pad: 5rem 0;
  --container-width: 1140px;
  --narrow-width: 820px;
}


/* ============================
   Reset & Base
   ============================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--jet);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--barn-red);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  font-weight: 700;
  transition: color 0.2s;
}

a:hover { color: #5a0f09; }

strong { font-weight: 700; }


/* ============================
   Typography
   ============================ */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--oxford-blue);
  line-height: 1.2;
}

h1 { font-size: 2.5rem; margin-bottom: 1.25rem; }
h2 { font-size: 2rem; margin-bottom: 1.25rem; }
h3 { font-size: 1.375rem; margin-bottom: 0.75rem; margin-top: 2rem; }
h4 { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.5rem; margin-top: 1.25rem; }
p  { margin-bottom: 1rem; }
ul { margin-bottom: 1rem; padding-left: 1.5rem; }
li { margin-bottom: 0.4rem; }
blockquote { margin: 0; }
hr { border: none; border-top: 1px solid var(--alabaster); margin: 1.5rem 0; }


/* ============================
   Layout
   ============================ */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 2rem; }
.content-narrow { max-width: var(--narrow-width); margin: 0 auto; padding: 0 2rem; }
.section { padding: var(--section-pad); }
.bg-white { background-color: var(--white); }
.bg-seasalt { background-color: var(--seasalt); }
.bg-alabaster { background-color: var(--alabaster); }
.text-center { text-align: center; }

.section-label {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--barn-red);
  margin-bottom: 0.5rem;
}

.section-subtitle { color: var(--dim-gray); margin-bottom: 2rem; }
.section-divider { margin: 2.5rem 0; }


/* ============================
   Buttons
   ============================ */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background-color: var(--barn-red); color: var(--white); }
.btn-primary:hover { background-color: #5a0f09; color: var(--white); }

.btn-secondary {
  background-color: transparent;
  color: var(--barn-red);
  border: 2px solid var(--barn-red);
}
.btn-secondary:hover { background-color: var(--barn-red); color: var(--white); }

.btn-details {
  background-color: var(--seasalt);
  color: var(--oxford-blue);
  border: 1px solid var(--alabaster);
  font-size: 0.9rem;
  padding: 0.6rem 1.25rem;
}
.btn-details:hover { background-color: var(--alabaster); }

.link-below-btn { margin-top: 0.75rem; font-size: 0.95rem; }


/* ============================
   Callout Boxes
   ============================ */
.callout-box {
  padding: 1.25rem 1.5rem;
  border-radius: 6px;
  margin: 1.5rem 0;
}
.callout-box p:last-child { margin-bottom: 0; }
.callout-box h4 { margin-top: 0; }

.callout-light-red { background-color: var(--light-red); }
.callout-light-green { background-color: var(--light-green); }
.callout-light-yellow { background-color: var(--light-yellow); }
.callout-light-blue { background-color: var(--light-blue); }


/* ============================
   HERO
   ============================ */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.hero-text .subtitle {
  font-size: 1.2rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--oxford-blue);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.hero-cta-intro { margin-top: 1.5rem; }

.hero-image {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 3 / 4;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}


/* ============================
   Two-Column Layout
   ============================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.col-image { display: flex; align-items: flex-start; justify-content: center; }
.decorative-img { border-radius: 6px; max-width: 100%; }


/* ============================
   Consequence Cards (Feature Ideas section)
   ============================ */
.consequence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 2.5rem;
}

.consequence-card {
  background: var(--white);
  border: 2px solid var(--barn-red);
  border-left: 6px solid var(--barn-red);
  padding: 1.25rem;
  border-radius: 4px;
}

.consequence-card h4 {
  margin-top: 0;
  color: var(--oxford-blue);
  font-size: 1.05rem;
  line-height: 1.3;
}

.consequence-card p {
  color: var(--dim-gray);
  font-size: 0.95rem;
  margin-bottom: 0;
}


/* ============================
   Inputs Grid (Why This Keeps Happening)
   ============================ */
.inputs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.input-card {
  background: var(--seasalt);
  padding: 1.5rem;
  border-radius: 6px;
}

.input-card h4 {
  margin-top: 0;
  color: var(--barn-red);
  font-size: 1.05rem;
}

.ballot-x {
  font-style: italic;
  margin-right: 0.25rem;
}


/* ============================
   Pullquote
   ============================ */
.quote-section { padding: 3.5rem 0; }

.pullquote { text-align: center; }

.pullquote p {
  font-size: 1.35rem;
  font-style: italic;
  color: var(--oxford-blue);
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto 1.25rem;
}

.pullquote footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.quote-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.pullquote cite {
  font-style: normal;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dim-gray);
}


/* ============================
   Bridge Statement
   ============================ */
.bridge-section { padding: 2rem 0; }

.bridge-statement {
  font-size: 1.25rem;
  color: var(--oxford-blue);
  margin-bottom: 0.5rem;
}
.bridge-statement.last { margin-bottom: 0; }


/* ============================
   RELEX Intro
   ============================ */
.relex-intro {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--seasalt);
  padding: 1.5rem;
  border-radius: 6px;
  margin: 2rem 0;
}

.relex-logo { width: 120px; flex-shrink: 0; }
.relex-intro p { margin-bottom: 0; }


/* ============================
   Case Study Timeline (pills)
   ============================ */
.case-timeline {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.case-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.25rem;
  background: var(--seasalt);
  border-radius: 6px;
  padding: 1.5rem;
  padding-left: 0.75rem;
}

.case-pill {
  width: 56px;
  min-height: 100px;
  background: var(--oxford-blue);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: stretch;
}

.case-pill svg { opacity: 0.85; }

.case-step-content h3 { margin-top: 0; }
.case-step-content p:last-child { margin-bottom: 0; }


/* ============================
   Results Grid
   ============================ */
.results-heading { color: var(--barn-red); }

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
  text-align: center;
}

.result-card {
  background: var(--seasalt);
  padding: 1.5rem 1rem;
  border-radius: 6px;
}

.result-number {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--oxford-blue);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.result-number-icon {
  display: flex;
  justify-content: center;
  color: var(--oxford-blue);
  margin-bottom: 0.25rem;
}

.result-title {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: var(--oxford-blue);
  margin-bottom: 0.35rem;
}

.result-label {
  display: block;
  font-size: 0.85rem;
  color: var(--dim-gray);
  line-height: 1.3;
}

.results-summary {
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 1rem;
}


/* ============================
   Testimonials
   ============================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.testimonial-card {
  background: var(--white);
  padding: 1.75rem;
  border-radius: 6px;
  text-align: center;
}

.testimonial-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
}

.testimonial-card blockquote p {
  font-style: italic;
  font-size: 0.975rem;
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.testimonial-card cite {
  display: block;
  font-style: normal;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--dim-gray);
}

.testimonials-summary { text-align: center; margin-top: 1rem; }


/* ============================
   In Their Own Words
   ============================ */
.own-words-layout {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 2rem;
}

.own-words-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
}

.own-words-content blockquote {
  border-left: 3px solid var(--alabaster);
  padding-left: 1.25rem;
  margin: 0.75rem 0;
}

.own-words-content blockquote p { font-style: italic; }

.own-words-cite {
  display: block;
  font-style: normal;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dim-gray);
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}


/* ============================
   Services
   ============================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-card {
  background: var(--seasalt);
  padding: 2rem 1.5rem;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.service-card--featured {
  border: 2px solid var(--barn-red);
  background: var(--white);
}

.service-card--selected {
  box-shadow: 0 0 0 3px var(--oxford-blue);
}

.service-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--barn-red);
  margin-bottom: 0.75rem;
}

.service-card h3 { margin-top: 0; }

.service-meta {
  font-size: 0.95rem;
  color: var(--dim-gray);
  margin-bottom: 1rem;
}

.service-card h4 { margin-top: 1rem; font-size: 1rem; }
.service-card ul { font-size: 0.95rem; }

.service-best-when {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.95rem;
}

.service-card .btn {
  margin-top: 0.75rem;
  text-align: center;
}

.service-discount {
  font-size: 0.8rem;
  color: var(--dim-gray);
  margin-top: 0.75rem;
  margin-bottom: 0;
  font-style: italic;
}


/* ============================
   Service Details Panel
   ============================ */
.service-details-panel {
  margin-top: 2rem;
  background: var(--white);
  border: 1px solid var(--alabaster);
  border-radius: 6px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(14, 23, 43, 0.08);
}

.service-details-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.service-details-header h3 {
  margin: 0;
  font-size: 1.5rem;
}

.service-details-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dim-gray);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  line-height: 1;
  border-radius: 4px;
}
.service-details-close:hover {
  background: var(--seasalt);
  color: var(--oxford-blue);
}

.service-details-body h4 {
  margin-top: 1.5rem;
  font-size: 1.1rem;
}

.service-details-body hr {
  margin: 1.5rem 0;
}


/* ============================
   Fit Grid
   ============================ */
.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.fit-column ul { list-style: none; padding-left: 0; }

.fit-column li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.6rem;
}

.fit-yes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--sea-green);
  font-weight: 700;
}

.fit-no li::before {
  content: "✗";
  position: absolute;
  left: 0;
  color: var(--barn-red);
  font-weight: 700;
}


/* ============================
   About Section
   ============================ */
.about-background-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}

.about-headshot {
  width: 260px;
  border-radius: 6px;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.25rem 0 1.5rem;
}

.industry-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
}

.industry-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--barn-red);
  color: var(--white);
  border-radius: 6px;
  flex-shrink: 0;
}

.industry-icon svg { stroke: var(--white); }


/* ============================
   Process Steps
   ============================ */
.process-steps { margin: 2rem 0; }

.process-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--oxford-blue);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.process-step h4 { margin-top: 0; }

.contact-options { margin-top: 2rem; }


/* ============================
   Strategy Session Steps
   ============================ */
.strategy-steps { margin: 1.5rem 0; }

.strategy-step {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.strategy-step h4 { margin-top: 0; color: var(--oxford-blue); }


/* ============================
   FAQ
   ============================ */
.faq-list { margin-top: 2rem; }

.faq-item {
  border-bottom: 1px solid var(--alabaster);
  padding: 1.25rem 0;
}

.faq-item:first-child { border-top: 1px solid var(--alabaster); }

.faq-item summary {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--oxford-blue);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--dim-gray);
  margin-left: 1rem;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin-top: 0.75rem; }


/* ============================
   Footer
   ============================ */
.footer { padding: 3rem 0 2rem; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-grid h4 { font-size: 0.95rem; margin-top: 0; margin-bottom: 0.75rem; }
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid li { margin-bottom: 0.4rem; }

.footer-grid a {
  font-size: 0.9rem;
  color: var(--jet);
  text-decoration: none;
  font-weight: 400;
}

.footer-grid a:hover { color: var(--barn-red); text-decoration: underline; }
.footer-grid p { font-size: 0.9rem; margin-bottom: 0.4rem; }

.footer-location {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--dim-gray);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--dim-gray);
  text-align: center;
  font-size: 0.85rem;
  color: var(--dim-gray);
}

.footer-bottom a { color: var(--dim-gray); }
.footer-bottom p { margin-bottom: 0.5rem; }


/* ============================
   Responsive
   ============================ */
@media (max-width: 960px) {
  .hero-layout,
  .two-col,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-image {
    aspect-ratio: 16 / 9;
    max-height: 360px;
  }

  .col-image { order: -1; }

  .consequence-grid { grid-template-columns: repeat(2, 1fr); }
  .inputs-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .about-background-layout { grid-template-columns: 1fr; }
  .about-headshot { width: 200px; }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  :root { --section-pad: 3rem 0; }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }

  .container, .content-narrow { padding: 0 1.25rem; }

  .consequence-grid { grid-template-columns: 1fr; }
  .testimonials-grid,
  .fit-grid { grid-template-columns: 1fr; }

  .own-words-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .own-words-avatar { margin: 0 auto; }
  .results-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .relex-intro {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .about-headshot { width: 160px; }
}
