/* ============ Tolero H2: brand components ============ */
body { font-weight: 500; }
.h-xl { font-weight: 600; letter-spacing: -0.035em; }
.container-900 > .h-xl { max-width: 1000px; }  /* keep headline lines short now the column is the full frame */

/* Logo: full colour on light, white/green on dark, at least 140px wide (guidelines: Digital) */
.nav__logo--img { height: 48px; display: flex; align-items: center; }
.nav__logo--img img { width: 150px; height: auto; display: block; }
.logo-dark { display: none !important; }
:root:not([data-theme="light"]) .logo-light { display: none !important; }
:root:not([data-theme="light"]) .logo-dark { display: block !important; }
.nav.is-light .logo-light { display: block !important; }
.nav.is-light .logo-dark { display: none !important; }

/* Tagline word colours: TH2/Local Blue + Thermal/Affordable Green on light; White + Green 75 on dark */
.tl--a { color: var(--t-blue); }
.tl--b { color: var(--t-green); }
:root:not([data-theme="light"]) .tl--a { color: #fff; }
:root:not([data-theme="light"]) .tl--b { color: var(--t-green75); }
.hero__tagline { font-weight: 600; letter-spacing: -0.01em; }

.hero__meta-left { align-items: center; }


/* Photos */
.photo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { position: absolute; left: 14px; bottom: 12px; font-size: 12px; letter-spacing: -0.01em; color: #fff;
  background: rgba(24,42,61,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 5px 9px; border-radius: 7px; }
.photo--fill { position: absolute; inset: 0; border-radius: 0; }
.about__image .photo--fill { border-radius: inherit; }

/* Proof points */
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 100px; }
.proof--after { margin-top: 60px; }
.proof__item { position: relative; background: var(--surface); border-radius: var(--radius); padding: 30px 28px; }
.proof__item::after { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--red), transparent); }
.proof__item b { display: block; font-size: 36px; line-height: 1; letter-spacing: -0.04em; font-weight: 600; color: var(--red); }
.proof__item p { margin-top: 14px; font-size: 18px; line-height: 1.3; letter-spacing: -0.02em; color: rgb(var(--fg-rgb) / .7); }
.section-proof { padding-bottom: 200px; }
.links-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* Process diagram (guidelines: Diagrams) — Green marks the Tolero step, solid Blue the outcome */
.flow { display: grid; grid-template-columns: 1fr auto 1.2fr auto 1fr; align-items: center; gap: 16px; margin-top: 100px; }
.flow__col { display: flex; flex-direction: column; gap: 12px; }
.flow__box { border: 1.5px solid var(--t-blue); border-radius: var(--radius); padding: 22px; background: var(--bg); }
.flow__box small { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgb(var(--fg-rgb) / .6); }
.flow__box b { display: block; margin-top: 8px; font-size: 22px; line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; }
.flow__box p { margin-top: 8px; font-size: 15px; line-height: 1.3; color: rgb(var(--fg-rgb) / .7); }
.flow__box--tolero { border-color: var(--t-green); background: rgba(74,161,137,.1); }
.flow__box--tolero b { font-size: 40px; color: var(--t-deep); }
:root:not([data-theme="light"]) .flow__box--tolero b { color: var(--t-green75); }
.flow__box--tolero i { display: inline-block; margin-top: 12px; font-style: normal; font-size: 12px; padding: 4px 8px; border-radius: 8px; background: var(--t-green); color: #fff; }
.flow__box--out { background: var(--t-blue); border-color: var(--t-blue); }
.flow__box--out small, .flow__box--out p { color: rgba(255,255,255,.8); }
.flow__box--out b { color: #fff; }
.flow__arrow { font-size: 28px; color: var(--t-slate); }
.flow__note { margin-top: 24px; font-size: 16px; color: rgb(var(--fg-rgb) / .6); }

/* Text + photo split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 140px; }
.split .photo { aspect-ratio: 1 / 1; }
.split__text h3 { font-size: 30px; line-height: 1.1; letter-spacing: -0.03em; font-weight: 600; }
.split__text h3 + p { margin-top: 16px; }
.split__text p { font-size: 18px; line-height: 1.45; letter-spacing: -0.02em; color: rgb(var(--fg-rgb) / .7); }
.split__text p + h3 { margin-top: 40px; }
.split__text .btn { margin-top: 28px; }
.ticks { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; font-size: 17px; color: rgb(var(--fg-rgb) / .8); }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--red); }

/* Pillars and values reuse .steps — four across */
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.step__proof { display: block; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgb(var(--fg-rgb) / .1); font-style: normal; font-size: 13px;
  line-height: 1.35; color: var(--red); }
.industries--2 { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
.industry small { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.boiler { font-size: 22px; line-height: 1.45; letter-spacing: -0.02em; color: rgb(var(--fg-rgb) / .8); max-width: 820px; }

/* Demonstration cards: photo fills the card, copy on a dark scrim */
.card.demo { --c1: #182A3D; --c2: #0f1c2a; }
.card.demo::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(15,28,42,0) 45%, rgba(15,28,42,.85) 100%); pointer-events: none; }
.card.demo .photo figcaption { left: auto; right: 14px; top: 14px; bottom: auto; z-index: 3; }
.card.demo .card__tags { left: 24px; right: auto; }
.card.demo .card__foot h3 { color: #fff; }
.card.demo .card__foot p { color: rgba(255,255,255,.8); }

/* Light theme: services-style chrome stays legible */
[data-theme="light"] .proof__item, [data-theme="light"] .industry, [data-theme="light"] .step { box-shadow: none; border: 1px solid var(--t-blue25); }
[data-theme="light"] .pricing__glow { display: none; }

@media (max-width: 1100px) {
  .flow { grid-template-columns: 1fr; }
  .flow__arrow { transform: rotate(90deg); justify-self: center; }
  .steps--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 809px) {
  .nav__logo--img img { width: 140px; }
  .proof, .industries--2, .split { grid-template-columns: 1fr; }
  .proof { margin-top: 60px; }
  .proof__item b { font-size: 30px; }
  .split { margin-top: 80px; gap: 24px; }
  .split--flip .photo { order: 2; }
  .steps--4 { grid-template-columns: 1fr; }
  .flow { margin-top: 60px; }
  .boiler { font-size: 18px; }
  .section-proof { padding-bottom: 140px; }
}
/* phone: four long labels — tighten, and let the line scroll sideways rather than overflow */
@media (max-width: 809px) {
  .navline { justify-content: space-between; gap: 0; overflow-x: auto; scrollbar-width: none; }
  .navline::-webkit-scrollbar { display: none; }
  .navline__link { flex: none; padding: 0 7px; font-size: 14px; }
  .navline__link.is-current::after { left: 7px; right: 7px; }
}

/* ============ Restored home components (H2 content) ============ */
.card.demo .card__art { transform: scale(1.06); }
.card.demo:hover .card__art { transform: scale(1); }
.card.demo .card__art .photo { border-radius: 0; }
a.service { display: block; color: inherit; }
.avatar--l { background: var(--t-blue) !important; color: #fff !important; font-size: 14px !important; }
.review__logo { color: var(--red); }
.plan__price--text { font-size: 46px; line-height: 1.05; font-weight: 600; max-width: 80%; }
.project-model .plan__price--text { font-size: 52px; }
.switch--green-glow { --glow: rgba(74,161,137,.55); }
.switch { --glow: rgba(67,107,149,.55); }
.industries--3 { grid-template-columns: repeat(3, 1fr); margin-top: 0; }
.tool b { font-size: 20px; }

/* ============ Header: clean corporate bar ============ */
.nav--bar { height: 76px; padding: 0 var(--gutter); align-items: center; justify-content: flex-start; gap: 48px; pointer-events: auto;
  border-bottom: 1px solid transparent; transition: background-color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease); }
.nav--bar.is-solid, .no-hero .nav--bar { background: rgb(var(--bg-rgb) / .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgb(var(--fg-rgb) / .1); }
.nav--bar .nav__logo { height: auto; }
.nav--bar .navline { position: static; transform: none; height: auto; padding: 0; gap: 30px; background: none; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none; border-radius: 0; }
body.is-loading .nav--bar .navline { transform: none; }
.nav--bar .navline__link { height: 76px; padding: 0; border-radius: 0; font-size: 16px; font-weight: 500; color: rgb(var(--fg-rgb) / .7); background: none !important; }
.nav--bar .navline__link:hover, .nav--bar .navline__link.is-current { color: var(--fg); }
.nav--bar .navline__link.is-current::after { left: 0; right: 0; bottom: 0; height: 2px; border-radius: 0; background: var(--red); }
.nav--bar .nav__right { margin-left: auto; }
.nav--bar .theme-toggle { width: 40px; height: 40px; border-radius: 50%; background: none; backdrop-filter: none; -webkit-backdrop-filter: none;
  box-shadow: inset 0 0 0 1px rgb(var(--fg-rgb) / .18); }
.nav--bar .theme-toggle:hover { background: rgb(var(--fg-rgb) / .06); }
.nav--bar .nav__cta { height: 44px; border-radius: 10px; background: var(--t-blue); color: #fff; }
:root:not([data-theme="light"]) .nav--bar .nav__cta { background: #fff; color: var(--t-ink); }
/* the template flips nav colours over its always-light band; the solid bar keeps theme colours instead */
.nav--bar.is-light .navline { background: none; box-shadow: none; }
.nav--bar.is-light.is-solid .navline__link { color: rgb(var(--fg-rgb) / .7); }
.nav--bar.is-light.is-solid .navline__link.is-current, .nav--bar.is-light.is-solid .navline__link:hover { color: var(--fg); }
.nav--bar.is-light.is-solid .theme-toggle { color: var(--fg); background: none; box-shadow: inset 0 0 0 1px rgb(var(--fg-rgb) / .18); }
:root:not([data-theme="light"]) .nav--bar.is-light.is-solid .logo-light { display: none !important; }
:root:not([data-theme="light"]) .nav--bar.is-light.is-solid .logo-dark { display: block !important; }

/* ============ Footer: corporate Ink block (both themes) ============ */
.foot { position: relative; z-index: 1; background: var(--t-ink); color: #fff; padding: 96px var(--pad) 32px; }
.foot__inner { max-width: var(--frame); margin: 0 auto; }
.foot__cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.foot__cols > div { display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.foot__cols small { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--t-green75); margin-bottom: 6px; }
.foot__cols a { color: rgba(255,255,255,.82); transition: color .3s; width: fit-content; }
.foot__cols a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.foot__brand img { width: 170px; height: auto; display: block; }
.foot__tagline { margin-top: 22px; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.foot .tl--a { color: #fff; }
.foot .tl--b { color: var(--t-green75); }
.foot__line { margin-top: 10px; max-width: 360px; font-size: 16px; line-height: 1.45; color: rgba(255,255,255,.7); }
.foot__boiler { margin-top: 64px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.12); max-width: 900px; font-size: 14px; line-height: 1.6;
  color: rgba(255,255,255,.55); }
.foot__legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 32px; font-size: 13px; color: rgba(255,255,255,.5); }
.foot__legal a { color: rgba(255,255,255,.75); }

@media (max-width: 1100px) {
  .nav--bar { gap: 28px; }
  .nav--bar .navline { gap: 20px; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 809px) {
  .nav--bar { height: 112px; padding: 0 20px; flex-wrap: wrap; align-content: flex-start; gap: 0; }
  .nav--bar .nav__logo { height: 64px; }
  .nav--bar .nav__right { height: 64px; }
  .nav--bar .navline { position: static; order: 3; width: 100%; height: 48px; justify-content: space-between; gap: 0; border-top: 1px solid rgb(var(--fg-rgb) / .08); }
  .nav--bar .navline__link { height: 48px; padding: 0; font-size: 14px; }
  .nav--bar .navline__link.is-current::after { left: 0; right: 0; }
  .foot { padding: 64px 20px 24px; }
  .foot__cols { grid-template-columns: 1fr; gap: 32px; }
  .foot__legal { flex-direction: column; gap: 8px; }
}
.sat--facts .sat__row { grid-template-columns: 1fr auto; border-bottom: 1px solid rgb(var(--fg-rgb) / .08); padding: 10px 0; }
.sat--facts .sat__row b { color: var(--red); }
@media (max-width: 1100px) { .industries--3 { grid-template-columns: 1fr; } }
@media (max-width: 809px) {
  .plan__price--text { font-size: 38px; max-width: 70%; }
  .project-model .plan__price--text { font-size: 42px; }
}

/* ============ Hero: plant photo with a white wave over it ============ */
.hero { background: #182A3D; }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: 0; }
.hero__shade { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(15,28,42,.62) 0%, rgba(15,28,42,.18) 38%, rgba(15,28,42,0) 60%); }
.hero__bg { z-index: 1; }
.hero__note { position: absolute; right: var(--pad); top: 96px; z-index: 2; font-size: 12px; color: rgba(255,255,255,.85);
  background: rgba(24,42,61,.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 5px 9px; border-radius: 7px; }
.hero__title { color: #fff; text-shadow: 0 2px 24px rgba(15,28,42,.35); }
.hero__intro { top: 150px; }
/* meta row sits on the photo: white text */
.hero__meta-left, .hero__meta-left span, .hero__scroll { color: rgba(255,255,255,.9); }
.hero .hero__tagline .tl--a { color: #fff; }
.hero .hero__tagline .tl--b { color: var(--t-green75); }
.hero__meta { text-shadow: 0 1px 12px rgba(15,28,42,.45); }
/* header over the photo (home, before scrolling): white logo and links */
body:not(.no-hero) .nav--bar:not(.is-solid) .logo-light { display: none !important; }
body:not(.no-hero) .nav--bar:not(.is-solid) .logo-dark { display: block !important; }
body:not(.no-hero) .nav--bar:not(.is-solid) .navline__link { color: rgba(255,255,255,.85); }
body:not(.no-hero) .nav--bar:not(.is-solid) .navline__link:hover { color: #fff; }
body:not(.no-hero) .nav--bar:not(.is-solid) .theme-toggle { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
body:not(.no-hero) .nav--bar:not(.is-solid) .nav__cta { background: #fff; color: var(--t-ink); }
@media (max-width: 809px) {
  .hero__note { top: 124px; right: 20px; }
  .hero__intro { top: 200px; }
  body:not(.no-hero) .nav--bar:not(.is-solid) .navline { border-top-color: rgba(255,255,255,.2); }
}
.hero__logo { z-index: 2; }
.hero__intro { z-index: 2; left: var(--gutter); right: auto; width: auto; }
.hero__intro .hero__spacer { display: none; }
.hero__title { width: 460px; font-size: 44px; line-height: 1.05; }
@media (max-width: 809px) {
  .hero__intro { left: 20px; right: 20px; }
  .hero__title { width: auto; max-width: 300px; font-size: 32px; }
}
/* no giant wordmark over the photo: the meta row sits low, on the white wave, in Ink */
.hero__logo { height: auto; bottom: 30px; }
.hero__meta, .hero__meta-left, .hero__meta-left span, .hero__scroll { color: var(--t-ink); text-shadow: none; }
.hero__meta-left span:first-child { color: var(--t-slate); }
.hero .hero__tagline .tl--a { color: var(--t-blue); }
.hero .hero__tagline .tl--b { color: var(--t-green); }
.hero__scroll { color: var(--t-slate); }
@media (max-width: 809px) {
  .hero .hero__intro { top: 150px; left: 20px; right: 20px; width: auto; }
  .hero .hero__title { width: auto; max-width: 290px; font-size: 34px; }
  .hero .hero__logo { left: 20px; right: 20px; bottom: 22px; height: auto; }
  .hero .hero__scroll { display: none; }
  .hero .hero__meta-left { gap: 6px; }
  .hero__shade { background: linear-gradient(180deg, rgba(15,28,42,.7) 0%, rgba(15,28,42,.35) 40%, rgba(15,28,42,0) 62%); }
  .hero__photo { object-position: 62% 30%; }
}
/* tagline row: above the bottom edge-blur, on solid white chips lifted by a shadow so they read in front of the wave
   (a see-through chip let the wave's white veil show through and looked buried under it) */
.hero .hero__logo { bottom: 150px; }
.hero .hero__meta-left, .hero .hero__scroll { border-radius: 12px; background: #fff;
  box-shadow: 0 1px 2px rgba(15,28,42,.08), 0 10px 30px rgba(15,28,42,.22); }
.hero .hero__meta-left { padding: 10px 16px; }
.hero .hero__scroll { padding: 10px 14px; }
@media (max-width: 809px) { .hero .hero__logo { bottom: 140px; } .hero .hero__meta-left { padding: 10px 12px; } }
/* breathing room between the last content block and the footer on sub-pages */
.b2b.page-first { padding-bottom: 200px; }
@media (max-width: 809px) { .b2b.page-first { padding-bottom: 120px; } }
