/* ==========================================================================
   Draft-Vision — feuille de styles principale
   ========================================================================== */

:root {
  --ink: #14170F;
  --ink-soft: #3A4235;
  --white: #FFFFFF;
  --bg-soft: #F5F7F1;
  --bg-dark: #14170F;
  --green: #57B22E;
  --green-dark: #2F7A18;
  --green-tint: #EAF6E2;
  --border: #E1E6DA;
  --gray-400: #8B968A;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;

  --container: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(20, 23, 15, 0.06), 0 1px 1px rgba(20, 23, 15, 0.04);
  --shadow-md: 0 8px 24px rgba(20, 23, 15, 0.10);
  --shadow-lg: 0 24px 48px rgba(20, 23, 15, 0.16);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-variable.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* Subtle paper-grain overlay across the whole site — a nod to the print trade */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 500;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
@media (prefers-reduced-transparency: reduce) {
  body::before { display: none; }
}

img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.15; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { padding-left: 1.2em; }
button { font-family: inherit; }

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--green-dark);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.mt-lg { margin-top: 40px; }
.cta-banner.mt-lg { margin-top: 56px; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--ink);
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
  text-decoration: none !important;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--green);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: #4CA126; box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline-dark:hover { background: var(--ink); color: var(--white); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand-logo { height: 42px; width: auto; display: block; }

@media (max-width: 420px) {
  .brand-logo { height: 34px; }
}

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 2px;
}
.main-nav a:hover { text-decoration: none; color: var(--green-dark); }
.main-nav a[aria-current="page"] { color: var(--green-dark); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
}
.header-phone:hover { color: var(--green-dark); text-decoration: none; }
.header-phone svg { width: 18px; height: 18px; color: var(--green-dark); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 2px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-phone-text { display: none; }
  .nav-toggle { display: inline-flex; }

  .site-header.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 24px;
    gap: 4px;
    box-shadow: var(--shadow-md);
  }
  .site-header.nav-open .main-nav a {
    padding: 12px 8px;
    border-bottom: 1px solid var(--border);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  padding: 96px 0 88px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 85% 10%, rgba(87,178,46,0.35), transparent 60%),
    radial-gradient(50% 50% at 10% 100%, rgba(87,178,46,0.18), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(87,178,46,0.15);
  border: 1px solid rgba(87,178,46,0.4);
  color: var(--green);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 560;
  color: var(--white);
  margin-bottom: 0.4em;
}
.hero h1 em { color: var(--green); font-style: normal; }
.hero-lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  max-width: 46ch;
  margin-bottom: 2em;
}
.hero-lead a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.hero-lead a:hover { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2.5em; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat strong { display: block; font-size: 1.6rem; color: var(--white); font-weight: 800; }
.hero-stat span { color: rgba(255,255,255,0.7); font-size: 0.85rem; }

.hero-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, #1B2013, #0E100A);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: var(--shadow-lg);
}

/* Four photos split into parallel diagonal slats (top to bottom); hovering
   (or focusing) a slat gently widens it to reveal the full photo. Pure CSS
   clip-path — hit-testing naturally follows the visible shape, so only the
   hovered slat reacts. */
.hero-quads { position: absolute; inset: 0; }
.hero-quad {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
  transition: clip-path 0.7s cubic-bezier(0.25, 0.1, 0.25, 1), filter 0.7s ease, z-index 0s 0.7s;
}
.hero-quad picture, .hero-quad img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-quad[data-quad="1"] { clip-path: polygon(0% 0%, 13% 0%, 25% 100%, 0% 100%); }
.hero-quad[data-quad="2"] { clip-path: polygon(13% 0%, 38% 0%, 50% 100%, 25% 100%); }
.hero-quad[data-quad="3"] { clip-path: polygon(38% 0%, 63% 0%, 75% 100%, 50% 100%); }
.hero-quad[data-quad="4"] { clip-path: polygon(63% 0%, 100% 0%, 100% 100%, 75% 100%); }
.hero-quad:hover,
.hero-quad:focus-visible,
.hero-quad.is-active {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 5;
  transition: clip-path 0.7s cubic-bezier(0.25, 0.1, 0.25, 1), filter 0.7s ease, z-index 0s;
}
.hero-quads:has(.hero-quad:hover, .hero-quad:focus-visible) .hero-quad:not(:hover):not(:focus-visible),
.hero-quads:has(.hero-quad.is-active) .hero-quad:not(.is-active) {
  filter: brightness(0.7);
}
@media (prefers-reduced-motion: reduce) {
  .hero-quad { transition: none; }
}
.hero-visual .tag {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 10;
  background: rgba(20,23,15,0.7);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px;
  backdrop-filter: blur(6px);
  pointer-events: none;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 16/10; }
  .hero { padding: 56px 0 56px; }
}

/* ---------- Section basics ---------- */
.section { padding: 88px 0; position: relative; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark .eyebrow { color: var(--green); }
.section-dark h2 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.75); }

/* Torn-paper edge between sections — echoes the print trade instead of a flat cut */
.section-dark, .section-soft { position: relative; }
.section-dark::after,
.section-soft::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 20px;
  clip-path: polygon(
    0 0, 4% 100%, 8% 0, 12% 100%, 16% 0, 20% 100%, 24% 0, 28% 100%, 32% 0, 36% 100%,
    40% 0, 44% 100%, 48% 0, 52% 100%, 56% 0, 60% 100%, 64% 0, 68% 100%, 72% 0, 76% 100%,
    80% 0, 84% 100%, 88% 0, 92% 100%, 96% 0, 100% 100%, 100% 0
  );
  pointer-events: none;
}
.section-dark::after { background: var(--ink); }
.section-soft::after { background: var(--bg-soft); }

/* Decorative blurred blob for depth in soft sections */
.section-soft::before {
  content: "";
  position: absolute;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(87,178,46,0.14), transparent 70%);
  top: -140px; right: -120px;
  pointer-events: none;
  z-index: 0;
}
.section-soft { overflow: hidden; }
.section-soft > .container { position: relative; z-index: 1; }

.section-head { max-width: 640px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  color: var(--green-dark);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

@media (max-width: 700px) {
  .section { padding: 60px 0; }
}

/* ---------- Value strip ---------- */
.value-strip-section { margin-top: -56px; position: relative; z-index: 2; }
.value-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.value-item {
  background: var(--white);
  padding: 28px 22px;
  text-align: center;
}
.value-item .icon {
  width: 44px; height: 44px;
  margin: 0 auto 14px;
  color: var(--green-dark);
}
.value-item strong { display: block; font-size: 0.98rem; margin-bottom: 4px; }
.value-item span { font-size: 0.85rem; color: var(--ink-soft); }

@media (max-width: 800px) {
  .value-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Materials marquee ---------- */
.marquee {
  background: var(--ink);
  overflow: hidden;
  padding: 16px 0;
  margin-top: 40px;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
}
.marquee-track .dot { color: var(--green); font-weight: 400; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(87,178,46,0.16), var(--shadow-md);
  border-color: rgba(87,178,46,0.4);
}
.service-card .num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--green-tint);
  color: var(--green-dark);
  font-weight: 800;
  margin-bottom: 18px;
}
.service-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.service-card p { color: var(--ink-soft); margin-bottom: 14px; }
.service-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.service-card li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.92rem; color: var(--ink); }
.service-card li svg { width: 16px; height: 16px; color: var(--green-dark); margin-top: 3px; flex-shrink: 0; }

@media (max-width: 760px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ---------- Process ---------- */
.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  counter-reset: step;
}
.process-item { position: relative; padding-top: 8px; }
.process-item::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 10px;
}
.process-item h3 { font-size: 1.05rem; color: var(--white); margin-bottom: 8px; }
.process-item p { font-size: 0.92rem; }
.process-item:not(:last-child) {
  border-right: 1px solid rgba(255,255,255,0.12);
  padding-right: 20px;
}

@media (max-width: 860px) {
  .process-list { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .process-item:not(:last-child) { border-right: none; padding-right: 0; }
  .process-item:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,0.12);
    padding-right: 20px;
  }
  .process-item:nth-child(1),
  .process-item:nth-child(2) {
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
}
@media (max-width: 560px) {
  .process-list { grid-template-columns: 1fr; }
  .process-item:nth-child(odd) { border-right: none; padding-right: 0; }
  .process-item:nth-child(1),
  .process-item:nth-child(2) { border-bottom: none; padding-bottom: 0; }
}

/* ---------- Portfolio preview / grid ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.portfolio-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(20,23,15,0.12);
  border-color: rgba(87,178,46,0.35);
}
.portfolio-card-open {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
}
.portfolio-card-open::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20,23,15,0.25);
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}
.portfolio-card-open:hover::after,
.portfolio-card-open:focus-visible::after {
  opacity: 1;
}
.portfolio-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.portfolio-card figcaption { padding: 16px 18px; display: flex; flex-direction: column; min-height: 92px; }
[data-portfolio-grid="all"] .portfolio-card figcaption { min-height: 156px; }
.portfolio-card .cat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: var(--green-tint);
  padding: 4px 10px;
  border-radius: 999px;
}
.portfolio-card .title {
  display: block;
  margin-top: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}
.portfolio-card .desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin-top: 6px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

@media (max-width: 860px) {
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.filter-btn {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s var(--ease);
  min-height: 44px;
}
.filter-btn:hover { border-color: var(--green); }
.filter-btn[aria-pressed="true"] {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.page-btn {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.88rem;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s var(--ease);
}
.page-btn:hover:not(:disabled) { border-color: var(--green); }
.page-btn.is-active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 23, 15, 0.82);
}
body.lightbox-open { overflow: hidden; }
.lightbox-panel {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.lightbox-media img, .lightbox-media picture { display: block; width: 100%; height: auto; border-radius: var(--radius) var(--radius) 0 0; }
.lightbox-info { padding: 24px 28px 28px; }
.lightbox-info h3 { font-size: 1.3rem; margin: 10px 0 8px; }
.lightbox-info p { color: var(--ink-soft); margin: 0; }
.lightbox-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.lightbox-cats .tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: var(--green-tint);
  padding: 4px 10px;
  border-radius: 999px;
}
.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(20,23,15,0.65);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
}
.lightbox-close svg { width: 20px; height: 20px; }

@media (max-width: 560px) {
  .lightbox { padding: 0; }
  .lightbox-panel { max-height: 100vh; height: 100%; border-radius: 0; }
  .lightbox-media img, .lightbox-media picture { border-radius: 0; }
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--green);
  border-radius: var(--radius);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--ink); margin-bottom: 6px; font-size: 1.8rem; }
.cta-banner p { color: rgba(20,23,15,0.75); margin: 0; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 700px) {
  .cta-banner { padding: 36px 24px; text-align: center; justify-content: center; }
}

/* ---------- Zone / trust ---------- */
.trust-columns {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.trust-columns ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.trust-columns li { display: flex; gap: 12px; align-items: flex-start; }
.trust-columns li svg { width: 22px; height: 22px; color: var(--green-dark); flex-shrink: 0; margin-top: 2px; }
.trust-card {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px;
}
.trust-card h3 { color: var(--white); font-size: 1.2rem; }
.trust-card p { color: rgba(255,255,255,0.75); }
.trust-card .quote-mark { color: var(--green); font-size: 2.5rem; line-height: 1; display: block; margin-bottom: 8px; }

@media (max-width: 860px) {
  .trust-columns { grid-template-columns: 1fr; }
}

/* ---------- Contact / footer CTA ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.contact-card .icon {
  width: 44px; height: 44px;
  margin: 0 auto 16px;
  color: var(--green-dark);
  background: var(--green-tint);
  border-radius: 12px;
  padding: 10px;
}
.contact-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.contact-card p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 14px; }
.contact-card .btn { white-space: normal; overflow-wrap: anywhere; text-align: center; }

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .brand { color: var(--white); margin-bottom: 12px; }
.footer-logo { height: 52px; }
.footer-brand p { max-width: 34ch; font-size: 0.92rem; }
.footer-col h4 { color: var(--white); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 0.92rem; }
.footer-col a:hover { color: var(--green); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.82rem;
}
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-credit {
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  margin-top: 12px;
}
.footer-credit a { color: rgba(255,255,255,0.55); }
.footer-credit a:hover { color: var(--green); }

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Page hero (portfolio / legal) ---------- */
.page-hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  padding: 64px 0 56px;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(55% 70% at 90% 0%, rgba(87,178,46,0.28), transparent 60%);
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 20px;
  background: var(--ink);
  clip-path: polygon(
    0 0, 4% 100%, 8% 0, 12% 100%, 16% 0, 20% 100%, 24% 0, 28% 100%, 32% 0, 36% 100%,
    40% 0, 44% 100%, 48% 0, 52% 100%, 56% 0, 60% 100%, 64% 0, 68% 100%, 72% 0, 76% 100%,
    80% 0, 84% 100%, 88% 0, 92% 100%, 96% 0, 100% 100%, 100% 0
  );
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 60ch; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,0.75); }

/* ---------- Legal page ---------- */
.legal-content h2 { font-size: 1.3rem; margin-top: 2em; }
.legal-content { max-width: 760px; }

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.25s var(--ease);
  z-index: 90;
  cursor: pointer;
  border: none;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.back-to-top svg { width: 22px; height: 22px; }
