/* ==========================================================================
   Promptline Solutions Group, site styles
   Palette matched to the Promptline logo blue.
   ========================================================================== */

:root {
  /* Brand blues (from logo) */
  --brand:        #1C86C6;   /* primary */
  --brand-bright: #35ADE6;   /* sky accent, the light swoosh on the P */
  --brand-deep:   #0C4A75;   /* deepest logo shadow */

  /* Neutrals */
  --navy:     #0E2536;   /* dark sections + chat card */
  --navy-2:   #16324a;
  --ink:      #122636;
  --ink-soft: #52657a;
  --on-navy:  #c8d7e2;
  --on-navy-soft: #93aabb;
  --bg:       #ffffff;
  --bg-alt:   #eaf3fa;   /* pale blue tint */
  --line:     #d3e0ea;

  --radius: 14px;
  --radius-lg: 20px;
  --shadow:    0 1px 2px rgba(14, 37, 54, 0.04), 0 6px 20px rgba(14, 37, 54, 0.06);
  --shadow-lg: 0 18px 48px rgba(14, 37, 54, 0.16);
  --wrap: 1120px;
  --header-h: 69px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Anton", "Arial Narrow", var(--font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* Typography ------------------------------------------------------------- */
h1, h2, h3, h4 { margin: 0 0 0.45em; color: var(--ink); }
.display,
h1.display, h2.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.01em;
}
h1.display { font-size: clamp(2.5rem, 6.4vw, 4.5rem); }
h2.display { font-size: clamp(1.9rem, 4.4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); line-height: 1.15; letter-spacing: -0.01em; }
h3 { font-size: 1.1rem; line-height: 1.3; }
p { margin: 0 0 1rem; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.blue { color: var(--brand-bright); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }
.section--navy {
  background:
    radial-gradient(700px 340px at 88% 0%, rgba(53,173,230,.20), transparent 62%),
    linear-gradient(135deg, var(--navy), var(--brand-deep));
  color: var(--on-navy);
}
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.center { text-align: center; }
.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 52ch; }
.center .lead { margin-left: auto; margin-right: auto; }
.section--navy .lead { color: var(--on-navy); }
.narrow { max-width: 740px; }
.center .narrow { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.7rem; font-weight: 700; color: var(--brand-deep);
  background: rgba(53, 173, 230, 0.16);
  padding: 5px 11px; border-radius: 999px; margin-bottom: 0.85rem;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.section--navy .eyebrow { background: rgba(53, 173, 230, 0.18); color: var(--brand-bright); }
.section--navy .eyebrow .dot { background: var(--brand-bright); }

/* Small blue label with no pill, used above pillars, bios, case blocks */
.label {
  display: block; text-transform: uppercase; letter-spacing: .12em;
  font-size: .72rem; font-weight: 700; color: var(--brand); margin-bottom: 8px;
}

/* Placeholder for content not yet supplied. Must stay visible until replaced. */
mark.todo {
  background: #ffe45c; color: #3d3100; padding: .05em .35em; border-radius: 4px;
  font-weight: 600; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

/* Buttons -------------------------------------------------------------- */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  font-weight: 700; font-size: 0.84rem; letter-spacing: 0.04em; text-transform: uppercase;
  cursor: pointer; border: 1.5px solid transparent; line-height: 1.2; font-family: inherit;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, color .12s ease, border-color .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(28, 134, 198, .28); }
.btn--primary:hover { background: var(--brand-deep); }
.btn--ghost { background: transparent; color: var(--brand); border-color: rgba(28,134,198,.45); }
.btn--ghost:hover { border-color: var(--brand); background: rgba(28,134,198,.06); }
.section--navy .btn--primary { background: var(--brand-bright); color: #06263a; box-shadow: 0 6px 18px rgba(53,173,230,.28); }
.section--navy .btn--primary:hover { background: #fff; }
.section--navy .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.section--navy .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.center .btn-row { justify-content: center; }

/* Header -------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header::before {
  content: ""; display: block; height: 3px;
  background: linear-gradient(90deg, var(--brand-bright), var(--brand), var(--brand-deep));
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.12rem; color: var(--ink); }
.brand img { height: 28px; width: auto; }
.brand .brand-fallback { display: flex; align-items: center; gap: 9px; }
.brand .mark {
  width: 26px; height: 26px; border-radius: 7px;
  background: linear-gradient(150deg, var(--brand-bright), var(--brand-deep));
  color: #fff; font-family: var(--display); display: grid; place-items: center;
  font-size: 1rem; padding-top: 2px;
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  color: var(--ink-soft); font-weight: 600; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .07em;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); text-decoration: none; }
.nav-links .btn { padding: 10px 18px; font-size: .78rem; color: #fff; margin-left: 4px; }
.nav-links .btn:hover, .nav-links .btn.active { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); line-height: 1; }

/* Hero -------------------------------------------------------------- */
.hero { padding: 72px 0 88px; }
.hero--page { padding: 72px 0 76px; }
.hero--page h1 { max-width: 17ch; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero .lead { font-size: 1.12rem; max-width: 40ch; }
.hero-note { font-size: .84rem; color: var(--on-navy-soft); margin-top: 16px; margin-bottom: 0; }

/* Chat card -------------------------------------------------------------- */
.chat-card {
  background: var(--navy); border-radius: var(--radius-lg);
  border: 1px solid rgba(53,173,230,.22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35); position: relative;
}
.chat-card__head {
  display: flex; align-items: center; gap: 11px;
  padding: 16px 18px; border-bottom: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.chat-card__mark--ball { width: 28px; height: 28px; object-fit: contain; flex: none; }
.chat-card__title { color: #fff; font-weight: 700; font-size: .94rem; line-height: 1.2; }
.chat-card__status { color: var(--brand-bright); font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.chat-card__body { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.msg { padding: 10px 14px; border-radius: 14px; font-size: .88rem; max-width: 88%; line-height: 1.5; }
.msg--in  { background: rgba(255,255,255,.08); color: #dceaf3; align-self: flex-start; border-bottom-left-radius: 5px; }
.msg--out { background: var(--brand-bright); color: #06263a; align-self: flex-end; border-bottom-right-radius: 5px; font-weight: 500; }
.chat-card__input {
  margin: 2px 18px 18px; padding: 11px 16px; border-radius: 999px;
  background: rgba(255,255,255,.07); color: #7c93a4; font-size: .84rem;
}
.chat-badge {
  position: absolute; left: 18px; bottom: -18px;
  background: linear-gradient(135deg, var(--brand-bright), var(--brand)); color: #fff; border: 3px solid var(--navy);
  border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow-lg);
}
.chat-badge b { font-family: var(--display); font-size: 1.4rem; display: block; line-height: 1; font-weight: 400; }
.chat-badge span { font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.85); }

/* Story: "we grew up in youth sports" -------------------------------------------------------------- */
.story h2 { max-width: 19ch; margin-bottom: 36px; }
.story-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 56px; }
.story-cols p { color: var(--ink-soft); font-size: 1.02rem; }
.story-cols p:last-child { margin-bottom: 0; }

/* Pillars -------------------------------------------------------------- */
.pillars-wrap { margin-top: 80px; }
.pillars {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 28px;
}
.pillar { padding: 32px 40px 34px 0; }
.pillar + .pillar { padding: 32px 0 34px 40px; border-left: 1px solid var(--line); }
.pillar h3 { font-size: 1.3rem; margin-bottom: 8px; }
.pillar p { color: var(--ink-soft); margin: 0; }

/* Testimonial teasers -------------------------------------------------------------- */
.teasers { display: grid; gap: 18px; max-width: 860px; margin: 32px auto 0; }
.teaser {
  display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand-bright);
  border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow);
}
.teaser img { width: 64px; height: 64px; object-fit: contain; }
.teaser blockquote { margin: 0 0 12px; font-size: 1.05rem; line-height: 1.6; color: var(--ink); }
.teaser__by { margin: 0 0 12px; font-size: .88rem; color: var(--ink-soft); }
.teaser__by strong { color: var(--ink); }
.teaser__link { font-weight: 700; font-size: .84rem; text-transform: uppercase; letter-spacing: .05em; }
.teaser__link span { display: inline-block; transition: transform .12s ease; }
.teaser__link:hover { text-decoration: none; }
.teaser__link:hover span { transform: translateX(3px); }

/* Client logo bar -------------------------------------------------------------- */
.logo-bar { padding: 56px 0; border-bottom: 1px solid var(--line); }
.logo-bar__label { font-weight: 800; color: var(--ink); margin: 0 0 22px; text-align: center; }
.logos { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: center; }
.logos img {
  height: 64px; width: auto; filter: grayscale(1); opacity: .65;
  transition: filter .2s ease, opacity .2s ease;
}
.logos img:hover { filter: none; opacity: 1; }
.logos .logo-todo { font-size: .8rem; }
.logos__more { color: var(--ink-soft); font-size: .95rem; }

/* Steps -------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 22px; margin: 0 auto; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; position: relative; text-align: left; }
.step__num {
  counter-increment: step; width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-bright), var(--brand)); color: #fff; font-family: var(--display); font-size: 1.2rem;
  display: grid; place-items: center; padding-top: 2px; position: relative; z-index: 1;
  box-shadow: 0 4px 10px rgba(28,134,198,.28);
}
.step__num::before { content: counter(step); }
.step:not(:last-child)::after {
  content: ""; position: absolute; left: 21px; top: 48px; bottom: -22px; width: 2px;
  background: linear-gradient(180deg, rgba(53,173,230,.55), rgba(53,173,230,.12));
}
.step h3 { margin-bottom: 2px; font-size: 1.06rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* Case studies -------------------------------------------------------------- */
.cases { display: grid; gap: 40px; }
.case {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 44px 48px; box-shadow: var(--shadow);
}
.case__head { display: flex; align-items: center; gap: 20px; padding-bottom: 28px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.case__head img { width: 72px; height: 72px; object-fit: contain; flex: none; }
.case__head h2 { margin: 0; }
.case__head .label { margin-bottom: 6px; }
.case__intro { max-width: 68ch; margin-bottom: 34px; }
.case__intro p { color: var(--ink-soft); font-size: 1.06rem; line-height: 1.7; }
.case__intro p:first-child { color: var(--ink); font-size: 1.14rem; font-weight: 600; }
.case__intro p:last-child { margin-bottom: 0; }
.case__numbers h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brand-deep); margin-bottom: 12px; }

.stat-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-tile { background: var(--bg-alt); border-radius: var(--radius); padding: 30px 30px 26px; }
.stat-tile__n { font-family: var(--display); font-size: clamp(3rem, 7vw, 4.5rem); line-height: 1; color: var(--brand); }
.stat-tile__label { color: var(--ink); font-weight: 600; margin-top: 8px; }

.pull-quote {
  margin: 36px 0 0; padding: 4px 0 4px 26px; border-left: 5px solid var(--brand);
}
.pull-quote p { font-size: 1.08rem; line-height: 1.65; color: var(--ink); }
.pull-quote footer { font-size: .9rem; color: var(--ink-soft); }
.pull-quote footer strong { color: var(--ink); }

/* Contact band -------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-copy h2 { margin-bottom: 20px; }
.contact-copy p { color: var(--on-navy); font-size: 1.06rem; max-width: 42ch; }
.contact-copy a { color: var(--brand-bright); font-weight: 700; }

.form-card { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: 0 24px 60px rgba(0,0,0,.25); color: var(--ink); }
form .field { margin-bottom: 14px; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form label { display: block; font-weight: 700; font-size: .76rem; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
form input, form textarea {
  width: 100%; padding: 11px 13px; border: 1px solid #cfdae3; border-radius: 9px;
  font: inherit; color: var(--ink); background: #fff; transition: border-color .12s ease, box-shadow .12s ease;
}
form input:focus, form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(28,134,198,.18); }
form textarea { min-height: 120px; resize: vertical; }
form .btn[disabled] { opacity: .6; cursor: default; transform: none; }
.form-note { font-size: .82rem; color: var(--ink-soft); margin: 12px 0 0; }
.form-status { margin: 10px 0 0; font-weight: 700; font-size: .92rem; color: #c0392b; }
.form-status:empty { display: none; }
.form-done { text-align: center; padding: 48px 12px; }
.form-done h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 2rem; margin-bottom: 8px; }
.form-done p { color: var(--ink-soft); margin: 0; }

/* Footer -------------------------------------------------------------- */
.site-footer { background: #081722; color: #8ea4b8; padding: 44px 0 26px; }
.site-footer a { color: #c6d4e2; }
.site-footer a:hover { color: var(--brand-bright); text-decoration: none; }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 26px; }
.footer-brand { max-width: 300px; }
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand img { height: 24px; }
.footer-brand p { font-size: .9rem; margin: 0; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 { color: #fff; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px; }
.footer-col a { display: block; margin-bottom: 8px; font-size: .9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; font-size: .82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 920px) {
  .hero, .hero--page { padding: 48px 0 64px; }
  .hero-grid, .contact-grid, .story-cols { grid-template-columns: 1fr; }
  .hero-grid { gap: 40px; }
  .contact-grid { gap: 32px; }
  .chat-badge { left: 12px; }
  .nav-links {
    position: absolute; top: 69px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 0; display: none;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 24px; }
  .nav-links .btn { margin: 8px 24px; text-align: center; }
  .nav-toggle { display: block; }
  .section { padding: 56px 0; }
  .pillars-wrap { margin-top: 56px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 26px 0; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line); }
  .case { padding: 28px 22px; }
  .case__head { gap: 14px; }
  .case__head img { width: 56px; height: 56px; }
}
@media (max-width: 560px) {
  form .row { grid-template-columns: 1fr; }
  .teaser { grid-template-columns: 1fr; gap: 14px; padding: 22px; }
  .teaser img { width: 52px; height: 52px; }
  .stat-tiles { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
  .footer-cols { gap: 40px; }
}

/* Form labels wrap their inputs; reset the label type styles on the controls */
form label input, form label textarea {
  display: block; margin-top: 6px;
  font-size: 1rem; font-weight: 400; letter-spacing: 0; text-transform: none;
}
.case__head h2.display { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.form-card h3 { color: var(--ink); }

/* Even out line lengths on big headings so a single word doesn't sit alone */
.display { text-wrap: balance; }
