/* elevatetechcg.com: one stylesheet for every content page. The funnel tools (/ai-score, /start, /check, /thanks) carry their own. */
:root {
  --ground: #F5F7F6; --surface: #FFFFFF; --surface-2: #EBEFED;
  --ink: #0F2340; --ink-2: #33415A; --muted: #5F6C82; --line: #D6DDE0;
  --navy: #0F2340; --green: #22804A; --green-soft: #DDF0E4;
  --shadow: 0 1px 2px rgba(15,35,64,.06), 0 8px 24px rgba(15,35,64,.08);
  --sans: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--green); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 3vw, 1.95rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1rem; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
main { padding-bottom: 1rem; }

/* header */
.site-head { background: var(--ground); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.wordmark { display: flex; flex-direction: column; line-height: 1; text-decoration: none; color: var(--ink); }
.wordmark .name { font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; }
.wordmark .t { color: var(--green); }
.wordmark .sub { font-size: .56rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .96rem; }
.nav a:hover, .nav a[aria-current] { color: var(--green); }
.nav a.btn { color: var(--ground); }
.menu-btn { display: none; font: inherit; font-weight: 600; background: none; border: 1.5px solid var(--line); border-radius: 6px; padding: .4rem .8rem; color: var(--ink); cursor: pointer; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--ground); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; padding: 1rem 20px 1.4rem; gap: .9rem; }
  .nav.open { display: flex; }
}

.crumbs { font-size: .82rem; color: var(--muted); padding-top: 1rem; }
.crumbs a { color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; background: var(--navy); color: var(--ground); border: 0; border-radius: 6px; padding: .85rem 1.35rem; font-weight: 600; text-decoration: none; font-size: 1rem; line-height: 1.2; }
.btn:hover { color: var(--ground); filter: brightness(1.12); }
.btn-sm { padding: .55rem .95rem; font-size: .9rem; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { color: var(--ink); background: var(--surface); }
.btns { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }

/* sections */
.eyebrow { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--green); margin: 0 0 .7rem; }
.hero { padding: 3.2rem 20px 2.4rem; }
.hero .lede { font-size: 1.15rem; color: var(--ink-2); max-width: 40rem; margin-top: 1.1rem; }
.hero h1 .dim { color: var(--muted); font-weight: 500; }
.section { padding: 2.8rem 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { margin-bottom: 1rem; }
.section .intro { color: var(--ink-2); max-width: 44rem; margin-bottom: 1.6rem; }

/* prose (articles, hubs) */
.prose { padding-top: .5rem; padding-bottom: 1.5rem; }
.prose h2 { margin: 2.4rem 0 .8rem; }
.prose h3 { margin: 1.6rem 0 .5rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: .45rem; }
.prose li::marker { color: var(--green); }
.prose blockquote { margin: 1.4rem 0; padding: .2rem 0 .2rem 1.1rem; border-left: 3px solid var(--green); font-family: var(--serif); font-style: italic; color: var(--ink-2); font-size: 1.08rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.6rem; font-size: .95rem; background: var(--surface); }
.prose th, .prose td { text-align: left; padding: .6rem .75rem; border: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--surface-2); color: var(--ink); font-weight: 600; }
.table-scroll { overflow-x: auto; }
.answer { font-size: 1.12rem; color: var(--ink) !important; background: var(--surface); border-left: 4px solid var(--green); padding: 1rem 1.2rem; border-radius: 6px; margin: 0 0 1.6rem; }
.note { font-size: .95rem; color: var(--muted) !important; }
.scope { font-size: .9rem; color: var(--muted) !important; border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1.6rem; }

.art-head { padding: 2.4rem 20px 1rem; }
.art-head h1 { font-size: clamp(1.9rem, 4.6vw, 2.8rem); }
.byline { color: var(--muted); font-size: .9rem; margin-top: 1rem; }
.byline a { color: var(--muted); }

/* cards */
.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.card a { display: block; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 1.3rem 1.3rem 1.1rem; text-decoration: none; color: inherit; box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.card a:hover { border-color: var(--green); transform: translateY(-2px); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.card .eyebrow { font-size: .68rem; margin-bottom: .5rem; }

/* stats + tiles (case studies, home proof) */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin: .5rem 0 1rem; }
.stat { background: var(--navy); color: #fff; border-radius: 10px; padding: 1.2rem 1.2rem 1rem; }
.stat b { display: block; font-size: 1.9rem; line-height: 1.1; color: #fff; margin-bottom: .4rem; }
.stat span { font-size: .92rem; color: #C9D3DF; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.tile { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: 8px; padding: 1.1rem; }
.tile h3 { font-size: 1rem; margin-bottom: .4rem; }
.tile p { font-size: .94rem; color: var(--ink-2); margin: 0; }
.facts { list-style: none; padding-left: 0 !important; }
.facts li { padding-left: 1rem; border-left: 3px solid var(--line); margin-bottom: .9rem; }
.decisions { counter-reset: d; list-style: none; padding-left: 0 !important; }
.decisions li { counter-increment: d; position: relative; padding-left: 3rem; margin-bottom: 1.2rem; }
.decisions li::before { content: counter(d); position: absolute; left: 0; top: 0; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; display: grid; place-items: center; }
.decisions h3 { margin: 0 0 .3rem; font-size: 1.02rem; }

/* steps / pillars */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; counter-reset: s; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 1.2rem; }
.steps li::before { content: "0" counter(s); display: block; font-weight: 700; color: var(--green); font-size: .85rem; letter-spacing: .1em; margin-bottom: .4rem; }
.steps h3 { margin-bottom: .35rem; }
.steps p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.pills { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin: 1rem 0; }
.pills li { font-size: .85rem; font-weight: 600; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .3rem .8rem; }

/* fit list */
.fit { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.fit div { border-top: 2px solid var(--ink); padding-top: .8rem; }
.fit h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: .4rem; }
.fit p { color: var(--ink-2); margin: 0; font-size: .97rem; }

/* video */
.video { aspect-ratio: 16 / 9; background: var(--navy); border-radius: 10px; overflow: hidden; margin: 1rem 0; }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.transcript summary { cursor: pointer; font-weight: 600; color: var(--ink); }

/* team */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
.person { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 1.3rem; }
.person h3 { margin-bottom: .15rem; }
.person .role { color: var(--green); font-weight: 600; font-size: .9rem; margin-bottom: .7rem; }
.person p { color: var(--ink-2); font-size: .96rem; }

/* faq */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: .9rem 1.1rem; margin-bottom: .6rem; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.faq details p { margin: .7rem 0 0; color: var(--ink-2); }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; margin-top: 2.4rem; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; flex-wrap: wrap; padding-top: 2.4rem; padding-bottom: 2.4rem; }
.cta-band h2 { color: #fff; margin-bottom: .4rem; }
.cta-band p { color: #C9D3DF; margin: 0; max-width: 34rem; }
.cta-btns { display: flex; gap: .7rem; flex-wrap: wrap; }
.cta-band .btn { background: var(--green); }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.inline-cta { background: var(--green-soft); border-radius: 10px; padding: 1.2rem 1.3rem; margin: 2rem 0; }
.inline-cta p { color: var(--ink) !important; margin-bottom: .7rem; }

/* footer */
.site-foot { background: var(--ground); border-top: 1px solid var(--line); padding: 2.6rem 0 1.4rem; font-size: .93rem; color: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.foot-brand { font-weight: 700; color: var(--ink); }
.foot-h { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin: 0 0 .5rem; }
.site-foot ul { list-style: none; padding: 0; margin: 0 0 1rem; }
.site-foot li { margin-bottom: .35rem; }
.site-foot a { color: var(--ink-2); text-decoration: none; }
.site-foot a:hover { color: var(--green); text-decoration: underline; }
.foot-legal { margin-top: 1.6rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.foot-legal a { color: var(--muted); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 1.2rem; } .hero { padding-top: 2.2rem; } }

/* photo hero (home): the Boston waterfront at night on the right, fading into navy behind the text */
.hero-photo { position: relative; background: #0F2340; color: #fff; overflow: hidden; }
.hero-photo::before { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 62%; background: url("/img/boston-waterfront.jpg") 30% 60% / cover no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 28%, #000 60%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 28%, #000 60%); opacity: .9; }
.hero-photo .hero { position: relative; padding-top: 5rem; padding-bottom: 4.6rem; }
.hero-photo h1, .hero-photo .lede { color: #fff; }
.hero-photo h1 { max-width: 14em; }
.hero-photo .lede { max-width: 32rem; color: #E3E9F0; }
.hero-photo h1 .dim { color: #C9D3DF; }
.hero-photo .eyebrow { color: #8FD6A8; }
.hero-photo .btn { background: var(--green); }
.hero-photo .btn-ghost { background: transparent; color: #fff; border-color: #fff; }
@media (max-width: 760px) {
  .hero-photo::before { width: 100%; background-image: url("/img/boston-waterfront-sm.jpg"); background-position: 25% center; opacity: .35; -webkit-mask-image: none; mask-image: none; }
  .hero-photo .hero { padding-top: 3rem; padding-bottom: 3rem; }
}
