/* =========================================================
   Cinelution — stylesheet
   Charte : noir conservé pour les sections sombres, puis
   #232F16 (vert profond), #F5F3EB (crème), #4A5A2E (olive), #C3D100 (lime).
   Titres : Arista 2.0 Alternate Light (fallback Comfortaa) · Texte : Poppins.
   ========================================================= */

/* Arista n'est pas sur Google Fonts : si la police est installée localement
   elle est utilisée. Pour l'embarquer, ajouter un fichier dans /fonts et une
   ligne url("../fonts/Arista2.0AlternateLight.woff2") format("woff2") ici. */
@font-face {
  font-family: "Arista Display";
  src: local("Arista 2.0 Alternate Light"), local("Arista2.0AlternateLight"), local("Arista 2.0 Alternate");
  font-weight: 300;
  font-display: swap;
}

:root {
  /* Palette charte */
  --black: #000000;
  --deep: #232f16;
  --cream: #f5f3eb;
  --olive: #4a5a2e;
  --lime: #c3d100;
  --lime-hover: #d3e01f;

  --bg-light: var(--cream);
  --bg-dark: var(--black);
  --surface: #fbfaf6;
  --text-dark: var(--deep);
  --text-light: var(--cream);
  --text-muted: #5b6847;
  --text-muted-light: #b4b9a3;
  --border-light: #e1ddcf;
  --border-dark: #1e2614;
  --accent: var(--lime);
  --card-dark: #0a0d07;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-full: 999px;
  --container: 1320px;
  --gutter: clamp(24px, 5vw, 64px);
  --ff: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --ff-display: "Arista Display", "Comfortaa", "Poppins", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff);
  font-weight: 400;
  background: var(--bg-light);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* clip (not hidden) so descendant position:sticky keeps working */
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--lime); color: var(--deep); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(64px, 10vw, 140px) 0;
}
.section--dark {
  background: var(--bg-dark);
  color: var(--text-light);
}
.section--light {
  background: var(--bg-light);
  color: var(--text-dark);
}
.section--deep {
  background: var(--deep);
  color: var(--text-light);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: inherit;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.section--light .eyebrow::before { background: var(--olive); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.section-head__title {
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1.3;
  font-weight: 400;
  max-width: 820px;
}
@media (min-width: 900px) {
  .section-head {
    grid-template-columns: 220px 1fr;
    align-items: start;
  }
}

.display-heading,
.hero__title,
.page-hero__title,
.process__intro h2,
.cta-band__content h2,
.stat h3,
.footer-top h4 {
  font-family: var(--ff-display);
  font-weight: 300;
  letter-spacing: 0.01em;
}

.display-heading {
  font-size: clamp(40px, 7vw, 96px);
  line-height: 1.05;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--light { background: var(--lime); color: var(--deep); }
.btn--light:hover { background: var(--lime-hover); }
.btn--dark { background: var(--black); color: var(--cream); }
.btn--dark:hover { background: var(--deep); }
.btn--outline {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  color: var(--cream);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 26px; width: auto; }
.header-right { display: flex; align-items: center; gap: 28px; }
.main-nav {
  display: none;
  align-items: center;
  gap: 36px;
}
.main-nav a {
  font-size: 15px;
  opacity: 0.85;
  position: relative;
  padding-bottom: 2px;
}
.main-nav a:hover { opacity: 1; }
.main-nav a.is-active { opacity: 1; }
.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--lime);
}
@media (min-width: 900px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
}
.nav-toggle {
  background: none;
  border: 1px solid var(--olive);
  color: var(--cream);
  border-radius: var(--radius-full);
  padding: 10px 16px;
  font-size: 14px;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 0 var(--gutter) 24px;
  background: var(--black);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-dark);
  font-size: 16px;
}
.mobile-nav a.is-active { color: var(--lime); }

/* Language switch */
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--olive);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
}
.lang-switch button {
  background: none;
  border: none;
  color: var(--cream);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 6px 11px;
  border-radius: var(--radius-full);
  opacity: 0.75;
}
.lang-switch button:hover { opacity: 1; }
.lang-switch button.is-active { background: var(--lime); color: var(--deep); opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  background: var(--black);
  overflow: hidden;
  color: var(--cream);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.85) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 var(--gutter) 72px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  max-width: var(--container);
  margin: 0 auto;
}
.hero__main { flex: 1 1 520px; max-width: 760px; }
.hero__title { margin-bottom: 28px; }
.hero__title img { width: min(100%, 640px); height: auto; }
.hero__lead {
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: clamp(26px, 3.6vw, 46px);
  line-height: 1.2;
}
.hero__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 360px;
}
.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
  opacity: 0.85;
}
.hero__tags span:not(:last-child)::after {
  content: "•";
  margin-left: 18px;
  color: var(--lime);
}
.hero__tagline {
  font-size: 16px;
  opacity: 0.85;
  line-height: 1.6;
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--black);
  color: var(--cream);
  padding: 28px 0;
  overflow: hidden;
  border-top: 1px solid var(--border-dark);
}
.marquee__track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  background: var(--card-dark);
  border: 1px solid var(--border-dark);
  color: var(--cream);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.pill__icon { font-size: 14px; color: var(--lime); }
.section--light .pill { background: var(--surface); border-color: var(--border-light); color: var(--deep); }
.section--light .pill__icon { color: var(--olive); }

/* ---------- Intro statement ---------- */
.statement {
  background: var(--black);
  color: var(--cream);
  padding: clamp(72px, 12vw, 160px) 0;
  text-align: center;
}
.statement p {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  font-size: clamp(22px, 3.2vw, 38px);
  line-height: 1.4;
  font-weight: 300;
}
.statement__label {
  display: block;
  margin-bottom: 28px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
}

/* ---------- Mosaic image grid ---------- */
.mosaic {
  background: var(--black);
  padding: 0 0 clamp(72px, 10vw, 140px);
}
.mosaic__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}
.mosaic__grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  aspect-ratio: 1 / 1;
}
.mosaic__grid > *:nth-child(1) { grid-row: span 2; aspect-ratio: 1/2.05; }
.mosaic__grid > *:nth-child(3) { grid-row: span 2; aspect-ratio: 1/2.05; }
.mosaic__grid--even > *:nth-child(1),
.mosaic__grid--even > *:nth-child(3) { grid-row: auto; aspect-ratio: 4/5; }
.mosaic__grid--even img { aspect-ratio: 4/5; }
@media (max-width: 720px) {
  .mosaic__grid { grid-template-columns: repeat(2, 1fr); }
  .mosaic__grid > *:nth-child(1),
  .mosaic__grid > *:nth-child(3) { grid-row: auto; aspect-ratio: 1/1; }
}

/* ---------- Cards (solution / impact) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .card-grid, .card-grid--2 { grid-template-columns: 1fr; } }

.project-card {
  background: var(--card-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s ease;
}
.project-card:hover { transform: translateY(-6px); border-color: var(--olive); }
.project-card__media { aspect-ratio: 16/9; overflow: hidden; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.project-card:hover .project-card__media img { transform: scale(1.06); }
.project-card__body { padding: 24px 26px 28px; color: var(--cream); }
.project-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.project-card__top h3 { font-size: 20px; font-weight: 500; }
.project-card__year {
  font-size: 12px;
  color: var(--lime);
  background: var(--border-dark);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.project-card__body p { font-size: 14px; line-height: 1.6; color: var(--text-muted-light); }

.section__footer-cta {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}

/* ---------- Accordion ---------- */
.accordion-item {
  border-top: 1px solid var(--border-light);
}
.accordion-item:last-child { border-bottom: 1px solid var(--border-light); }
.accordion-item__head {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  background: none;
  border: none;
  padding: 26px 4px;
  text-align: left;
  color: inherit;
}
.accordion-item__num { font-size: 15px; color: var(--text-muted); width: 28px; flex-shrink: 0; }
.accordion-item__title { flex: 1; font-size: clamp(17px, 2vw, 23px); font-weight: 500; }
.accordion-item__icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: flex; align-items: center; justify-content: center;
  color: var(--olive);
  flex-shrink: 0;
  position: relative;
  font-size: 16px;
  transition: transform 0.35s var(--ease);
}
.accordion-item.is-open .accordion-item__icon { transform: rotate(45deg); }
.accordion-item__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.accordion-item__panel-inner {
  padding: 0 4px 30px 52px;
  display: grid;
  gap: 20px;
}
@media (min-width: 720px) {
  .accordion-item__panel-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .accordion-item__panel-inner { padding-left: 4px; }
}
.accordion-item__panel-inner p { color: var(--text-muted); line-height: 1.65; font-size: 15px; }
.accordion-item__tags { display: flex; flex-direction: column; gap: 10px; }
.accordion-item__tags li {
  font-size: 14px;
  padding-left: 20px;
  position: relative;
  color: var(--text-dark);
  line-height: 1.5;
}
.accordion-item__tags li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 1px var(--olive);
}

/* ---------- Process steps (sticky-stacked cards on scroll) ---------- */
.process {
  display: grid;
  gap: 40px;
}
@media (min-width: 900px) {
  .process { grid-template-columns: 1fr 1fr; align-items: start; }
}
.process__intro h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.1; margin-bottom: 24px; }
.process__intro p { color: var(--text-muted); max-width: 420px; line-height: 1.65; }
.process__list { display: flex; flex-direction: column; gap: 24px; }
.process-step {
  border-radius: var(--radius-md);
  padding: 40px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 -12px 40px -24px rgba(0, 0, 0, 0.45);
}
.process-step--dark { background: var(--black); color: var(--cream); }
.process-step--light { background: var(--surface); color: var(--deep); border: 1px solid var(--border-light); }
.process-step--olive { background: var(--olive); color: var(--cream); }
.process-step--lime { background: var(--lime); color: var(--deep); }

/* Desktop: each card sticks with an incremental offset so they pile into a stack */
@media (min-width: 900px) {
  .process__intro { position: sticky; top: 130px; align-self: start; }
  .process__list { display: block; }
  .process-step { position: sticky; margin-bottom: 32px; }
  .process-step:nth-child(1) { top: 120px; }
  .process-step:nth-child(2) { top: 148px; }
  .process-step:nth-child(3) { top: 176px; }
  .process-step:nth-child(4) { top: 204px; }
  .process-step:last-child { margin-bottom: 0; }
}
.process-step h3 { font-size: 28px; font-weight: 500; margin-bottom: 12px; }
.process-step p { font-size: 15px; line-height: 1.65; opacity: 0.8; max-width: 400px; }
.process-step__num { font-size: 34px; font-weight: 600; align-self: flex-end; }

/* ---------- Advantages (light cards) ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1080px) { .testimonial-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.testimonial-card__num { font-size: 13px; font-weight: 600; color: var(--olive); }
.testimonial-card h3 { font-size: 20px; font-weight: 500; }
.testimonial-card p { font-size: 14.5px; line-height: 1.65; color: var(--text-muted); }
.testimonial-card--highlight { background: var(--deep); border-color: var(--deep); color: var(--cream); justify-content: space-between; }
.testimonial-card--highlight p {
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: 19px;
  line-height: 1.45;
  color: var(--cream);
}
.testimonial-card--highlight .testimonial-card__num { color: var(--lime); }

/* ---------- Business model (pricing) ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
@media (max-width: 820px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  border: 1px solid var(--border-dark);
  background: var(--card-dark);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
  color: var(--cream);
  display: flex;
  flex-direction: column;
}
.price-card .btn { align-self: flex-start; margin-top: auto; }
.price-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}
.price-card__top h3 { font-size: 22px; font-weight: 500; }
.price-card__badge {
  font-size: 12px;
  color: var(--lime);
  border: 1px solid var(--olive);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.price-card__amount { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.price-card__amount .value { font-family: var(--ff-display); font-weight: 300; font-size: clamp(36px, 4vw, 52px); color: var(--lime); }
.price-card__amount .per { font-size: 15px; color: var(--text-muted-light); }
.price-card__desc { color: var(--text-muted-light); font-size: 15px; line-height: 1.6; margin-bottom: 28px; }
.price-card__features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.price-card__features li { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; align-items: flex-start; }
.price-card__features li::before {
  content: "✓";
  color: var(--lime);
  font-size: 12px;
  flex-shrink: 0;
  border: 1px solid var(--olive);
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.price-card--custom {
  border: 1px solid var(--olive);
  background: var(--deep);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  color: var(--cream);
  display: grid;
  gap: 28px;
}
.price-card--custom .price-card__desc { color: var(--cream); opacity: 0.8; }
@media (min-width: 820px) {
  .price-card--custom { grid-template-columns: 1fr 1fr auto; align-items: center; }
}

.tag {
  font-size: 12px;
  color: var(--deep);
  background: var(--lime);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.tag--outline { background: transparent; border: 1px solid var(--olive); color: var(--olive); }
.section--dark .tag--outline { color: var(--lime); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--black);
  color: var(--cream);
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.cta-band__media { position: absolute; inset: 0; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.cta-band__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.75), rgba(0,0,0,0.2));
}
.cta-band__content {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.cta-band__content h2 {
  font-size: clamp(36px, 6vw, 76px);
  line-height: 1.1;
  max-width: 760px;
}
.cta-band__content p { margin-top: 16px; opacity: 0.8; font-size: 16px; line-height: 1.6; max-width: 560px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--cream); padding: clamp(56px, 8vw, 96px) 0 28px; }
.footer-top {
  display: grid;
  gap: 48px;
  margin-bottom: 80px;
}
@media (min-width: 900px) {
  .footer-top { grid-template-columns: 1.3fr 1fr 1fr; }
}
.footer-top h4 { font-size: 28px; margin-bottom: 14px; }
.footer-top > div:first-child p { color: var(--text-muted-light); max-width: 380px; margin-bottom: 24px; line-height: 1.6; }
.newsletter-form { display: flex; flex-direction: column; gap: 12px; max-width: 380px; }
.newsletter-form input {
  background: var(--card-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-full);
  padding: 14px 20px;
  color: var(--cream);
  font-size: 14px;
  font-family: inherit;
}
.newsletter-form input::placeholder { color: #7d836e; }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h5 { font-size: 12px; letter-spacing: 0.1em; color: var(--lime); margin: 0 0 18px; font-weight: 500; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col li { font-size: 14px; color: var(--text-muted-light); }
.footer-col a:hover { color: var(--cream); }
.footer-social { display: flex; gap: 12px; margin-top: 4px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--olive);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
}
.footer-social a:hover { background: var(--lime); color: var(--deep); border-color: var(--lime); }
.footer-wordmark {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: 28px;
  margin-bottom: 22px;
}
.footer-wordmark .logo img { height: auto; width: min(560px, 80vw); }
.footer-wordmark a { color: var(--text-muted-light); }
.footer-wordmark a:hover { color: var(--lime); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #7d836e;
}
.footer-bottom b { color: var(--text-muted-light); font-weight: 500; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 120px 0 40px; }
.page-hero--dark { background: var(--black); color: var(--cream); }
.page-hero--light { background: var(--bg-light); color: var(--deep); }
.page-hero__title { font-size: clamp(44px, 9vw, 104px); line-height: 1.05; margin-bottom: 32px; }
.page-hero--dark .page-hero__title { color: var(--cream); }
.page-hero__title em { font-style: normal; color: var(--lime); }
.page-hero--light .page-hero__title em { color: var(--olive); }
.page-hero__desc { max-width: 680px; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.6; opacity: 0.75; }

/* ---------- About page extras ---------- */
.hero-banner { aspect-ratio: 16/7; overflow: hidden; }
.hero-banner img { width: 100%; height: 100%; object-fit: cover; }

.lead-text { max-width: 820px; font-size: clamp(18px, 2vw, 22px); line-height: 1.65; color: var(--text-muted); }
.lead-text + .lead-text { margin-top: 20px; }
.lead-text strong { color: var(--deep); font-weight: 500; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; } }
.stat { border-top: 1px solid var(--border-light); padding-top: 22px; }
.section--dark .stat { border-color: var(--border-dark); }
.stat h3 { font-size: clamp(44px, 6vw, 72px); margin-bottom: 8px; color: var(--olive); }
.section--dark .stat h3 { color: var(--lime); }
.stat p { font-size: 13px; letter-spacing: 0.04em; color: var(--text-muted); text-transform: uppercase; line-height: 1.5; }
.section--dark .stat p { color: var(--text-muted-light); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .feature-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 980px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .feature-grid, .feature-grid--4 { grid-template-columns: 1fr; } }
.feature-card {
  background: var(--card-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 32px;
  color: var(--cream);
}
.feature-card__icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--lime);
  color: var(--lime);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  font-size: 16px;
}
.feature-card h3 { font-size: 18px; font-weight: 500; margin-bottom: 10px; line-height: 1.35; }
.feature-card p { font-size: 14px; color: var(--text-muted-light); line-height: 1.6; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
}
.team-card__icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.team-card__icon img { width: 26px; height: 26px; }
.team-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.team-card h3 { font-size: 18px; font-weight: 500; margin-bottom: 6px; }
.team-card__role { font-size: 13px; color: var(--olive); margin-bottom: 12px; }
.team-card p.bio { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .logo-grid { grid-template-columns: 1fr; } }
.logo-grid .pill { white-space: normal; justify-content: flex-start; border-radius: var(--radius-md); padding: 18px 22px; }

/* ---------- Contact page ---------- */
.contact-layout {
  display: grid;
  gap: 40px;
}
@media (min-width: 900px) {
  .contact-layout { grid-template-columns: 0.9fr 1.1fr; }
}
.contact-layout__intro p { color: var(--text-muted); line-height: 1.65; font-size: 16px; max-width: 400px; }
.contact-info { margin-top: 36px; display: grid; gap: 18px; }
.contact-info dt { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--olive); }
.contact-info dd { margin: 4px 0 0; font-size: 17px; }
.contact-info a:hover { color: var(--olive); }
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-form .btn { align-self: flex-start; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; color: var(--text-muted); }
.field input, .field select, .field textarea {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: var(--text-dark);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--lime); outline-offset: 1px; border-color: var(--olive); }
.field textarea { resize: vertical; min-height: 120px; }
.form-disclaimer { font-size: 13px; color: var(--text-muted); }

/* Reveal / scroll animations live in css/animations.css */

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }

@media (max-width: 420px) {
  .logo img { height: 20px; }
  .header-right { gap: 10px; }
  .nav-toggle { padding: 8px 12px; }
}

/* Single-column grids must not grow past the viewport because of min-content children */
@media (max-width: 899px) { .contact-layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 620px) {
  .card-grid, .card-grid--2, .feature-grid, .feature-grid--4, .testimonial-grid,
  .team-grid { grid-template-columns: minmax(0, 1fr); }
  .price-card .btn, .price-card--custom .btn { white-space: normal; text-align: center; }
}
@media (max-width: 820px) { .pricing-grid { grid-template-columns: minmax(0, 1fr); } }
.form-status {
  font-size: 14px;
  line-height: 1.55;
  color: var(--deep);
  background: rgba(195, 209, 0, 0.18);
  border-left: 3px solid var(--lime);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* In-page anchor (FAQ) clears the sticky header */
section[id] { scroll-margin-top: 72px; }

/* Photos in black & white so they sit with the black / lime palette. Remove this rule to show them in colour. */
.mosaic img,
.project-card__media img,
.hero-banner img,
.cta-band__media img { filter: grayscale(1) contrast(1.05); }
