/* beSingular — Proactive Sales Engine for Galleries
   Cleaned CSS (UI-identical)
   Notes:
   - Consolidated duplicate rules
   - Removed legacy/unused blocks (.process ribbon, early KPIs :last-child card, chip-card version of benefits, duplicate WHY bar)
   - Kept all selectors used in current prosales.html
*/

:root{
  --paper:#ffffff;
  --ink:#141414;
  --muted:#595959;
  --line:#e7e7e7;
  --button:#0f0f0f;
  --button-ghost:transparent;

  --base-size:18px;
  --lead-size:clamp(1.1rem,1.9vw,1.35rem);
  --h1-size:clamp(2.1rem,4.4vw,3.2rem);
  --h2-size:clamp(1.6rem,3vw,2.2rem);
  --h3-size:clamp(1.05rem,1.8vw,1.2rem);
}

*{box-sizing:border-box}

html,body{
  margin:0;padding:0;
  color:var(--ink);
  background:var(--paper);
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol",sans-serif;
  line-height:1.65;
  font-size:var(--base-size);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
/* Style for when mobile nav is open */
body.nav-open {
  overflow: hidden;
}

h1,h2,h3{
  font-family:"Space Grotesk",Inter,system-ui,sans-serif;
  line-height:1.2;color:var(--ink);
  margin:0 0 .7rem 0;font-weight:600
}
h1{font-size:var(--h1-size);letter-spacing:.15px}
h2{font-size:var(--h2-size)}
h3{font-size:var(--h3-size);font-weight:600}

p{margin:0 0 1.05rem 0;color:var(--ink)}
.lede{font-size:var(--lead-size);color:var(--muted)}
.discursive{color:var(--muted)}

.container{width:min(1140px,92vw);margin:0 auto}
.narrow{width:min(840px,92vw)}
.section{padding:5rem 0;border-top:1px solid #e0e0e0}
.section.alt{background:#f2f2f2}
.eyebrow{font-size:.9rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:.5rem}

/* Header */
.site-header{position:sticky;top:0;z-index:10;backdrop-filter:blur(6px);background:rgba(255,255,255,.85);border-bottom:1px solid var(--line)}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:.85rem 0}
.logo-type{font-family:"Space Grotesk",Inter,sans-serif;font-weight:600;font-size:1.15rem;letter-spacing:.3px}
.site-nav{display:flex;align-items:center;gap:1rem}
.nav-link {
  color: var(--ink);
  text-decoration: none;
  font-size: 1rem;
  white-space: nowrap; /* Add this line */
}
.nav-link:hover{text-decoration:underline}

/* Hero */
.hero{padding:5.5rem 0 3.5rem 0}
.hero .lede { max-width: 65ch; } /* Hero balance: Tighten lede max-width */
.hero .cta-row { margin-top: 2rem; } /* Hero balance: Add breathing room to CTAs */
.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:2rem;align-items:center}
.hero-figure img{width:100%;height:auto;display:block;object-fit:cover;border-radius:14px;filter:grayscale(100%)}
.cta-row{display:flex;flex-wrap:wrap;gap:.9rem;margin-top:1.2rem}

/* Buttons */
.button{
  appearance:none;
  border:1px solid var(--button);
  background:var(--button);
  color:#fff;
  padding:.8rem 1.25rem;
  border-radius:999px;
  text-decoration:none;
  font-weight:600;
  font-size:1rem;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.button:hover{
  background-color: #3a3a3a;
  border-color: #3a3a3a;
}
.button--ghost{
  background:var(--button-ghost);
  color:var(--ink);
  border:1px solid var(--ink)
}
.button--ghost:hover{
  background:#efefef
}

/* Grid helpers & cards */
.cards{margin-top:1.25rem;gap:1.1rem}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}
.card{border:1px solid var(--line);border-radius:14px;padding:1.1rem 1.1rem 1.25rem;background:#fff}
.card p{color:var(--muted)}

/* Quotes */
.quote{border:1px solid var(--line);border-radius:14px;padding:1.1rem 1.25rem;background:#fff}
.quote p{font-style:italic}
.quote cite{display:block;margin-top:.5rem;font-size:.95rem;color:var(--muted)}

/* Team */
.team .bio{border:1px solid var(--line);border-radius:14px;background:#fff;padding:1.1rem}
.bio-photo{margin:0 0 .8rem 0;display:block;width:100%;height:200px;border-radius:10px;overflow:hidden;background:#f1f1f1}
.bio-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;filter:grayscale(100%)}
.small-links a{color:var(--muted);text-decoration:none;font-size:.95rem}
.small-links a:hover{text-decoration:underline}

/* CTA */
.section.cta{text-align:center;background:#0f0f0f;color:#fff}
.section.cta h2{color:#fff;margin-bottom:.6rem}
.section.cta .cta-row{justify-content:center;align-items:center;width:100%}
.section.cta .cta-text { color: #ffffff; } /* This new line fixes the text */
.section.cta .button:not(.button--ghost){background:#fff;color:#0f0f0f;border-color:#fff}
.section.cta .button:not(.button--ghost):hover,.section.cta .button:not(.button--ghost):focus{background:#f2f2f2;color:#0f0f0f;border-color:#f2f2f2}
.section.cta .button--ghost{color:#fff;border-color:#fff;background:transparent}
.section.cta .button--ghost:hover,.section.cta .button--ghost:focus{background:rgba(255,255,255,.1);color:#fff;border-color:#fff}

/* Form */
.form{margin-top:1rem}
.field{display:flex;flex-direction:column;gap:.45rem;margin-bottom:.9rem}
.field input,.field textarea{padding:.85rem 1rem;border-radius:12px;border:1px solid var(--line);background:#fff;color:var(--ink);font-family:Inter,system-ui,sans-serif;font-size:1rem}
.field input:focus,.field textarea:focus{outline:none;border-color:#a3a3a3;box-shadow:0 0 0 3px rgba(0,0,0,.05)}
.form-note{color:var(--muted);font-size:.95rem;margin-top:.5rem}

/* Form Status Messages */
#form-message {
  width: 100%;
  margin-top: 1.2rem;
  font-weight: bold;
  text-align: center;
}
#form-message.success {
  color: #007bff; /* Blue */
}
#form-message.error {
  color: #dc3545; /* Red */
}


/* Footer */
.site-footer{border-top:1px solid var(--line);padding:1.25rem 0;background:#fafafa}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.small-links{color:var(--muted);text-decoration:none}
.small-links:hover{text-decoration:underline}

/* Deliver: borderless 2x2 
#deliver .card{border:0;background:transparent;border-radius:0;padding:0;box-shadow:none}
#deliver .cards{gap:2rem 2.5rem}
#deliver .card h3{margin-bottom:.7rem}
*/

/* Our Services: Card-based layout */
#deliver .card {
  /* Restore the card styling */
  border: 1px solid var(--line);
  background: var(--paper); /* This is your site's white color */
  border-radius: 14px;
  padding: 1.25rem 1.4rem; /* Adds nice internal spacing */
  box-shadow: none;
}

#deliver .cards {
  /* Use a standard gap between the new cards */
  gap: 1.5rem;
}

#deliver .card h3 {
  /* This still fixes your original spacing problem */
  margin-bottom: 0.7rem;
}



/* Alternating bands (CTA stays black) */
main>.section{background:#fff}
main>.section:nth-of-type(even):not(.cta){background:#f2f2f2}

/* How it works — refreshed */
.how-grid{align-items:start;gap:2rem}
.how-left .how-item+.how-item{margin-top:1.1rem}

.kpi-box{background:#f5f5f5;border:1px solid #e8e8e8;border-radius:14px;padding:1.25rem 1.4rem}
.kpi-box h3{margin-top:0}
.kpi-box .kpis{margin-top:.25rem;padding-left:1.1rem}


/* === How it works — Process line (Corrected) === */
.process-line {
  list-style: none;
  margin: 0.6rem 0 2rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap; /* Allow items to wrap to the next line */
  align-items: center;
  gap: 12px 64px; /* Set vertical (12px) and horizontal (64px) gaps */
  color: var(--muted);
  font-size: 1rem;
}

.process-line li {
  position: relative; /* Required to position the arrow */
  display: inline-block;
  padding: 0;
}

/* Draw a line in the gap after each item except the last */
.process-line li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 8px);
  width: 48px;
  height: 1px;
  background: #b5b5b5;
  transform: translateY(-50%);
}

/* Draw an arrowhead in the middle of the line */
.process-line li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 32px);
  transform: translate(-50%, -50%);
  border-left: 6px solid #b5b5b5;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}


/* WHY — accent bar + ledes */
#why .narrow{position:relative;padding-left:16px}
#why .narrow::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#1c1c1c;opacity:.18;border-radius:2px}
#why .lede-main,#why .lede-secondary{font-size:clamp(1.25rem,2.6vw,1.7rem);line-height:1.75;margin:0 0 .9rem 0;color:var(--ink)}
#why .lede-secondary{color:var(--ink)}
#why .focus-lede{font-size:clamp(1.2rem,2.3vw,1.55rem);line-height:1.7;margin-top:1.1rem;padding-left:16px;border-left:3px solid rgba(20,20,20,.18)}
#why strong{box-shadow:inset 0 -.34em 0 rgba(0,0,0,.06);font-weight:700}

/* Benefits — left baselines */
#benefits.section{padding:5.5rem 0}
#benefits h2{font-size:clamp(1.8rem,3vw,2.3rem);letter-spacing:.15px;margin-bottom:1rem}
.benefit-chips{list-style:none;margin:0;padding:0;display:grid;gap:10px 18px;grid-template-columns:repeat(2,minmax(260px,1fr))}
#benefits .benefit-chips li{position:relative;display:block;padding:10px 0 10px 16px;border-left:3px solid rgba(20,20,20,.18)}
#benefits .benefit-chips span{display:block;font-size:clamp(1rem,1.6vw,1.1rem);line-height:1.55}

/* --- Mobile Navigation --- */
.mobile-nav-toggle {
  display: none; /* Hidden by default */
  position: relative;
  z-index: 100;
  background: transparent;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.hamburger-box {
  display: inline-block;
  position: relative;
  width: 24px;
  height: 16px;
}
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease-in-out;
}
.hamburger-inner { top: 50%; transform: translateY(-50%); }
.hamburger-inner::before { top: -7px; }
.hamburger-inner::after { bottom: -7px; }

/* Hamburger animation */
.nav-open .hamburger-inner { transform: rotate(45deg); }
.nav-open .hamburger-inner::before { transform: translate(0, 7px) rotate(-90deg); }
.nav-open .hamburger-inner::after { transform: translate(0, -7px) rotate(-90deg); }

.mobile-nav {
  display: none; /* Hidden by default */
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 1rem 0;
  text-align: center;
}
.mobile-nav .nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1.1rem;
}


/* Responsive */
@media (max-width:980px){
  .hero-grid{grid-template-columns:1fr}
  .grid-3{grid-template-columns:1fr 1fr}
}
@media (max-width:680px){
  :root{--base-size:17px}
  .grid-2,.grid-3{grid-template-columns:1fr}
  .site-nav{display:none}
  .mobile-nav-toggle, .nav-open .mobile-nav { display: block; } /* Show mobile nav elements */
  .hero{padding-top:4rem}
}

/* Hero balance (image larger on desktop) */
@media (min-width:981px){
  .hero-grid{grid-template-columns:minmax(420px,.9fr) minmax(560px,1.1fr);gap:2.5rem;align-items:center}
  .hero-copy{max-width:600px;justify-self:start}
  .hero-figure{align-self:center;justify-self:stretch}
  .hero-figure img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:16px}
}
@media (min-width:1280px){
  .hero-grid{grid-template-columns:.85fr 1.15fr;gap:3rem}
}
@media (max-width:980px){
  .hero-grid{grid-template-columns:1fr;gap:1.5rem}
  .hero-figure{order:-1}
  .hero-figure img{width:100%;aspect-ratio:16/10;border-radius:14px}
  .cta-row{justify-content:flex-start}
}

/* WHY: remove outer left accent; keep only the third paragraph baseline */
#why .narrow::before { content: none !important; }
#why .narrow { padding-left: 0 !important; }

#why .focus-lede {
  padding-left: 16px;                       /* keep small gutter */
  border-left: 3px solid rgba(20,20,20,.18);/* the only remaining line */
}

/* Benefits: add air between items and inside each item */
#benefits.section { padding: 6rem 0; } /* a touch more vertical space for the band */

#benefits .benefit-chips{
  grid-template-columns: repeat(2, minmax(340px, 1fr)); /* wider columns */
  gap: 28px 56px;                                       /* more row + column gap */
}

#benefits .benefit-chips li{
  padding: 18px 10px 18px 20px; /* bigger internal padding + left gutter */
}

#benefits .benefit-chips span{
  line-height: 1.6; /* a hair more line height for multi-line items */
}

/* Mobile: keep it roomy */
@media (max-width: 680px){
  #benefits .benefit-chips{
    grid-template-columns: 1fr; /* This is the fix for the Benefits section */
    gap: 22px;
  }
  #benefits .benefit-chips li{
    padding: 16px 8px 16px 18px;
  }
}

/* Call-to-Action Title */
.cta-title {
  font-size: 2.5rem;            /* Big and bold to grab attention */
  line-height: 1.2;             /* Tighter line height for impact */
  font-weight: 700;             /* Strong weight for emphasis */
  color: #ffffff;               /* Dark text colour — adjust to your palette */
  margin-bottom: 0.5rem;        /* Some space below the title */
  text-align: center;           /* Center-align for hero/CTA sections */
}

/* Call-to-Action Supporting Text */
.cta-text {
  font-size: 1.125rem;          /* Slightly larger than body text to stand out */
  line-height: 1.5;             /* Comfortable for reading */
  color: #ffffff;               /* Medium grey for contrast but less harsh */
  margin-bottom: 1.5rem;        /* Space before the button/form */
  text-align: center;           /* Match title alignment */
  max-width: 700px;             /* Restrict line length for readability */
  margin-left: auto;            /* Centering support */
  margin-right: auto;           /* Centering support */
}

/* --- Medium Feed Styles --- */
.article-list-box {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  overflow: hidden;
  margin-top: 1.5rem;
  width: 100%; 
}

.article-list-box article {
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--line);
}

.article-list-box article:nth-of-type(even) {
  background: #f2f2f2; 
}

.article-list-box article:last-child {
  border-bottom: 0;
}

.article-list-box article h3 {
  margin: 0;
  font-size: var(--h3-size);
}

/* This is the crucial rule that fixes the blue/purple links */
.article-list-box article h3 a,
.article-list-box article h3 a:visited { 
  text-decoration: none;
  color: var(--ink); /* This forces all links to be black */
}

.article-list-box article h3 a:hover {
  text-decoration: underline;
}

.article-topic {
  color: var(--muted);
  font-weight: 600;
}