/* Cool Change Consulting: brand colors from the logo (green to blue) and the original Astra palette */
:root {
  --ink: #101218;
  --text: #2f3437;
  --muted: #5a6164;
  --line: #e3e8ea;
  --soft: #f3f6f6;
  --white: #ffffff;
  --blue: #08acf2;
  --blue-dark: #0477a8;
  --green: #7de3b4;
  --gradient: linear-gradient(135deg, #7de3b4 0%, #2fc1ff 100%);
  --radius: 14px;
  --max: 1120px;
  --font-head: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Lato', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 0.6em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.45rem, 2.8vw, 2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
li { margin-bottom: 0.4em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--white); padding: 8px 14px; z-index: 10; }
.skip-link:focus { left: 12px; top: 12px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand img { width: 180px; height: auto; }
.site-header nav { margin-left: auto; }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links li { margin: 0; }
.nav-links a, .header-cta { white-space: nowrap; }
.nav-links a { color: var(--ink); text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue-dark); }
.nav-links .nav-cta { display: none; }
.menu-toggle { display: none; }

/* Buttons */
.button {
  display: inline-block; background: var(--ink); color: var(--white); text-decoration: none;
  font-family: var(--font-head); font-weight: 600; padding: 14px 24px; border-radius: 999px;
  transition: transform .15s ease, background .15s ease;
}
.button:hover { background: var(--blue-dark); color: var(--white); transform: translateY(-1px); }
.button-small { padding: 10px 18px; font-size: 0.9rem; }
.button-light { background: var(--white); color: var(--ink); }
.button-light:hover { background: var(--green); color: var(--ink); }
.button-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.button-ghost:hover { background: var(--ink); color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Hero */
.hero { position: relative; color: var(--white); background: var(--ink); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url('/images/hero.webp') center 60% / cover no-repeat; opacity: 0.45;
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,18,24,.92) 0%, rgba(16,18,24,.55) 70%, rgba(16,18,24,.35) 100%); }
.hero .container { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 96px; }
.hero h1 { color: var(--white); max-width: 15em; }
.hero .lead { font-size: 1.25rem; max-width: 36em; color: #e9eef0; }
.hero .byline, .hero .byline a { color: #c6d0d3; }
.hero .button { background: var(--white); color: var(--ink); }
.hero .button:hover { background: var(--green); }
.hero .button-ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px var(--white); }
.hero .button-ghost:hover { background: var(--white); color: var(--ink); }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 0.8rem; letter-spacing: .12em;
  text-transform: uppercase; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px;
}

/* Page header (inner pages) */
.page-header {
  position: relative; overflow: hidden; border-bottom: 0;
  background:
    radial-gradient(600px 320px at 100% 0%, rgba(47,193,255,.16), transparent 70%),
    radial-gradient(520px 300px at 85% 110%, rgba(125,227,180,.2), transparent 70%),
    var(--soft);
}
.page-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gradient); }
.page-header-split { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.page-header-split .headshot { width: 240px; }
.page-header .container { padding-top: 64px; padding-bottom: 48px; }
.page-header .lead { font-size: 1.2rem; max-width: 40em; color: var(--text); }
.page-header h1 { max-width: 18em; }
.byline { font-size: 0.9rem; color: var(--muted); margin-top: 18px; }
.byline a { color: var(--muted); }

/* Sections */
.section { padding: 72px 0; }
.section-soft { background: var(--soft); }
.section-intro { max-width: 44em; margin-bottom: 36px; }
.section h2::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 2px; background: var(--gradient); margin-top: 14px; }
.section .faq h2::after { display: none; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card a.more { font-family: var(--font-head); font-weight: 600; text-decoration: none; }


.service { padding: 32px 0; border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 0; padding-top: 0; }
.service h2::after { display: none; }
.service h2 { font-size: 1.5rem; }

.logos { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: center; list-style: none; padding: 0; margin: 0; }
.logos li { margin: 0; }
.logos img { max-width: none; }
.client-names { color: var(--muted); font-size: 0.95rem; margin-top: 18px; }

.bio { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.headshot { border-radius: 50%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--green); }
.person { display: flex; gap: 28px; align-items: flex-start; }
.person picture { flex: none; }
.person .headshot { width: 120px; }
.person > div > :last-child { margin-bottom: 0; }

.testimonials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.testimonial { margin: 0; background: var(--soft); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; }
.section-soft .testimonial { background: var(--white); }
.testimonial blockquote { margin: 0 0 24px; flex: 1; }
.testimonial blockquote p { margin: 0; font-size: 1rem; line-height: 1.65; color: var(--text); }
.testimonial figcaption { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 0.95rem; }
.testimonial figcaption div { display: flex; flex-direction: column; }
.testimonial figcaption strong { font-family: var(--font-head); color: var(--ink); }
.testimonial figcaption span { color: var(--muted); }
.testimonial figcaption img { flex: none; max-width: none; mix-blend-mode: multiply; }
.testimonial-solo { max-width: 760px; margin: 0 auto; }
.section-follow { margin-top: 32px; }

.stats { display: flex; flex-wrap: wrap; gap: 16px 48px; list-style: none; padding: 0; margin: 0 0 24px; }
.stats li { margin: 0; }
.stats strong { display: block; font-family: var(--font-head); font-size: 2rem; line-height: 1.1; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

.layers { list-style: none; padding: 0; counter-reset: layer; display: grid; gap: 16px; }
.layers li { counter-increment: layer; margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px 22px 76px; position: relative; }
.layers li::before { content: counter(layer); position: absolute; left: 24px; top: 22px; width: 34px; height: 34px; border-radius: 50%; background: var(--gradient); color: var(--ink); font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; }
.layers h3 { margin-bottom: 0.3em; }
.layers p { margin: 0; }
.layers .eg { color: var(--muted); font-size: 0.95rem; margin-top: 6px; }
.bio-solo { grid-template-columns: 1fr; }
main section ul:not([class]), .facts { list-style: none; padding: 0; }
main section ul:not([class]) > li, .facts li { padding-left: 28px; position: relative; }
main section ul:not([class]) > li::before, .facts li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 3px; background: var(--gradient); }

.faq { max-width: 800px; }
.faq-item { border-top: 1px solid var(--line); padding: 26px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h2, .faq-item h3 { font-size: 1.2rem; letter-spacing: 0; margin-bottom: 0.5em; }
.faq-item p:last-child { margin-bottom: 0; }
.faq-collapsible summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.faq-collapsible summary::-webkit-details-marker { display: none; }
.faq-collapsible summary::after { content: "+"; font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; line-height: 1; color: var(--blue-dark); flex: none; }
.faq-collapsible details[open] summary::after { content: "−"; }
.faq-collapsible summary h3 { margin: 0; }
.faq-collapsible details[open] summary { margin-bottom: 0.6em; }
.faq-more { margin-top: 24px; }
.subsection { margin-top: 48px; }

/* Two-column section: text on one side, its quotes, list or proof on the other */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 64px; align-items: start; }
.split-wide { grid-template-columns: 3fr 2fr; }
.split > * > :last-child { margin-bottom: 0; }
.steps { padding-left: 1.4em; }
.steps li { margin-bottom: 1em; padding-left: 4px; }
.steps strong { font-family: var(--font-head); color: var(--ink); }

.cta-band { background: var(--ink); color: #e9eef0; border-radius: var(--radius); padding: 48px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.cta-band .headshot { width: 88px; box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px var(--green); }
.cta-band h2 { color: var(--white); }
.cta-band h2::after { display: none; }
.cta-band p { margin: 0; }
.cta-band .button { background: var(--white); color: var(--ink); }
.cta-band .button:hover { background: var(--green); }

.contact-list { margin: 0; }
.contact-list div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 6px 0; }
.contact-list dt { font-weight: 700; }
.contact-list dd { margin: 0; overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: var(--ink); color: #c6d0d3; margin-top: 72px; font-size: 0.9rem; }
.site-footer .button { font-size: 0.85rem; padding: 10px 18px; }
.social-icons { display: flex; gap: 12px; list-style: none; padding: 0; margin: 0; }
.footer-book { margin-top: 20px; }
.social-icons li { margin: 0; }
.social-icons a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); transition: background .15s, color .15s; }
.site-footer .social-icons a { color: var(--white); }
.site-footer .social-icons a:hover { background: var(--green); color: var(--ink); box-shadow: none; }
.site-footer a:not(.button) { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 0.8fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.footer-grid img { width: 150px; margin-bottom: 14px; }
.footer-heading { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: .08em; }
.tagline {
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.35;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px;
}
.tagline-stacked span { display: block; }
.hero .slogan {
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; line-height: 1.4; max-width: 36em; margin: -0.2em 0 0.9em;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-links li { margin-bottom: 0.3em; }
.site-footer .footer-grid > div:first-child p:not(.tagline) { max-width: 30em; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; padding-bottom: 28px; font-size: 0.8rem; }
.footer-bottom p { margin: 0; }

/* Home: how we support you (title on the left, detail on the right) */
.support { display: grid; gap: 12px; margin-top: 8px; }
.support-row { display: grid; grid-template-columns: 1fr 2fr; gap: 8px 40px; align-items: baseline; background: var(--white); border-radius: var(--radius); padding: 22px 28px; }
.support-row h3 { font-size: 1.1rem; margin: 0; }
.support-row h3 a { color: var(--ink); text-decoration: none; }
.support-row h3 a::after { content: " →"; color: var(--blue-dark); }
.support-row h3 a:hover { color: var(--blue-dark); }
.support-row p { margin: 0; }
.layer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; margin: 0; }
.layer-grid dt { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.layer-grid dd { margin: 0; font-size: 0.95rem; }

/* Home: how we get started */
.steps-row { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.steps-row li { margin: 0; padding: 20px 22px; background: var(--soft); border-radius: var(--radius); font-size: 0.95rem; }
.steps-row strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1rem; margin-bottom: 4px; }

@media (max-width: 900px) {
  .support-row { grid-template-columns: 1fr; padding: 20px; }
  .steps-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .layer-grid, .steps-row { grid-template-columns: 1fr; }
}

/* Placeholder marker: only visible in the local preview, production builds refuse to run while any remain */
mark.verify { background: #ffe066; color: #3d3100; padding: 1px 6px; border-radius: 4px; font-size: .85em; font-family: var(--font-body); font-weight: 700; }

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .bio { grid-template-columns: 1fr; }
  .bio img { max-width: 220px; }
  .page-header-split { grid-template-columns: 1fr; gap: 28px; }
  .page-header-split picture { order: -1; }
  .page-header-split .headshot { width: 140px; }
  .testimonials { grid-template-columns: 1fr; }
  .split, .split-wide { grid-template-columns: 1fr; gap: 36px; }
  .cta-band { grid-template-columns: 1fr; padding: 32px; }
}
/* Header: collapse the nav behind a Menu button on tablets and phones */
@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; gap: 6px 12px; padding-top: 12px; padding-bottom: 10px; }
  .brand img { width: 132px; }
  .header-cta { margin-left: auto; }
  .site-header nav { order: 3; width: 100%; margin-left: 0; }
  .nav-links { gap: 18px; flex-wrap: wrap; padding-bottom: 4px; }
  /* With JavaScript: collapse the nav behind a Menu button */
  .js .header-cta { order: 2; margin-left: auto; padding: 9px 14px; font-size: 0.85rem; }
  .js .menu-toggle {
    display: inline-flex; align-items: center; gap: 8px; order: 3; background: none; border: 0; padding: 10px 4px;
    font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; color: var(--ink); cursor: pointer;
  }
  .js .menu-toggle::after { content: ""; width: 18px; height: 12px; background: linear-gradient(var(--ink) 0 0) top / 100% 2px no-repeat, linear-gradient(var(--ink) 0 0) center / 100% 2px no-repeat, linear-gradient(var(--ink) 0 0) bottom / 100% 2px no-repeat; }
  .js .site-header nav { display: none; order: 4; }
  .js .nav-open nav { display: block; }
  .js .nav-links { flex-direction: column; gap: 0; padding: 4px 0 12px; }
  .js .nav-links li { border-top: 1px solid var(--line); }
  .js .nav-links a { display: block; padding: 12px 0; font-size: 1rem; }
  .js .nav-links .nav-cta { display: block; border-top: 0; padding-top: 12px; }
  .js .nav-links .nav-cta a { display: inline-block; padding: 12px 20px; color: var(--white); }
  .site-header .header-inner { min-height: 0; padding-top: 8px; padding-bottom: 8px; }
}
@media (max-width: 760px) {
  .hero .container { padding-top: 64px; padding-bottom: 64px; }
  .section { padding: 52px 0; }
  .container { padding: 0 16px; }
  .person { flex-direction: column; align-items: flex-start; gap: 16px; }
  .person .headshot { width: 96px; }
}

/* Icons: soft gradient tile, ink stroke */
.icon {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; margin-bottom: 16px; color: var(--ink);
  background: linear-gradient(135deg, rgba(125,227,180,.35) 0%, rgba(47,193,255,.3) 100%);
}
.icon svg { width: 24px; height: 24px; }
.section-icon { display: flex; align-items: center; gap: 16px; }
.section-icon .icon { margin-bottom: 0; flex: none; }
.section-icon h2 { margin-bottom: 0; }
.section-icon + * { margin-top: 18px; }

/* Proof strip under the home hero */
.proof { border-bottom: 1px solid var(--line); }
.proof-inner { display: grid; grid-template-columns: auto 1fr; gap: 24px 64px; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.proof-heading { font-size: 0.8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 14px; }
.proof .stats { margin: 0; display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 20px 48px; }
.proof .stats li { font-size: 0.9rem; color: var(--muted); max-width: 15em; }
.proof-range .ribbon-toggle { align-self: flex-end; }
.proof .client-names { text-align: right; margin: 0; font-size: 0.85rem; max-width: 34em; margin-left: auto; }

/* Client logo ribbon: three copies of the list scroll left in a loop; it pauses on hover,
   keyboard focus or the Pause button, and stands still for visitors who prefer reduced motion */
.ribbon {
  overflow: hidden; padding: 4px 0 44px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ribbon-track { display: flex; width: max-content; animation: ribbon 55s linear infinite; }
.ribbon .logos { flex-wrap: nowrap; gap: 72px; padding-right: 72px; }
.ribbon:hover .ribbon-track, .ribbon:focus-within .ribbon-track, .ribbon.paused .ribbon-track { animation-play-state: paused; }
@keyframes ribbon { to { transform: translateX(-33.3333%); } }
.proof-range { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.proof-range dl { margin: 0; display: grid; gap: 10px; max-width: 30em; font-size: 0.9rem; }
.proof-range dl div { display: grid; grid-template-columns: 10em 1fr; gap: 12px; }
.proof-range dt { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.proof-range dd { margin: 0; color: var(--muted); }
.proof-range dd span { white-space: nowrap; }
.ribbon-toggle {
  display: none; flex: none;
  width: 36px; height: 36px; place-items: center; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--soft); color: var(--ink); transition: background .15s, color .15s;
}
.ribbon-toggle:hover { background: var(--ink); color: var(--white); }
.ribbon-toggle:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.ribbon-toggle .icon-play, .ribbon-toggle.is-paused .icon-pause { display: none; }
.ribbon-toggle.is-paused .icon-play { display: inline; }
.js .ribbon-toggle { display: grid; }

@media (prefers-reduced-motion: reduce) {
  .ribbon { -webkit-mask-image: none; mask-image: none; }
  .ribbon-track { animation: none; width: auto; justify-content: center; padding: 0 20px; }
  .ribbon .logos { flex-wrap: wrap; justify-content: center; gap: 28px 56px; padding-right: 0; }
  .ribbon .logos[aria-hidden] { display: none; }
  .js .ribbon-toggle { display: none; }
}

@media (max-width: 900px) {
  .proof-inner { grid-template-columns: 1fr; }
  .proof .client-names { text-align: left; margin-left: 0; }
  .proof-range { align-items: flex-start; }
  .proof-range dl div { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 760px) {
  .ribbon .logos { gap: 48px; padding-right: 48px; }
  .ribbon .logos img { zoom: 0.75; }
  .testimonial figcaption img { zoom: 0.8; }
}

/* In-page section links (Companies page); sticks under the header */
.subnav { position: sticky; top: 77px; z-index: 4; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.subnav li { margin: 0; flex: none; }
.subnav a { display: block; padding: 6px 14px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; color: var(--ink); text-decoration: none; }
.subnav a:hover, .subnav a.active { background: var(--soft); color: var(--blue-dark); }
.subnav ~ section[id], .subnav ~ section [id] { scroll-margin-top: 140px; }
@media (max-width: 900px) {
  .subnav { top: 57px; }
  .subnav ~ section[id], .subnav ~ section [id] { scroll-margin-top: 64px; }
}
