/* ==========================================================================
   Pro Enviro — shared stylesheet
   Loaded by every page (index.html, projects.html, ...). Page-specific rules
   go in that page's own <style> block, not here.
   ========================================================================== */

:root{
  --green:#7EC045;
  --green-dark:#5FA02D;
  --dark:#27322C;
  --mint:#EBFBD7;
  --cream:#FAF8E1;
  --ink:#27322C;
  --ink-soft:#5A6459;
  --white:#FFFFFF;
  /* Type system: Poppins for everything that is read as text/UI,
     Lato Bold for every heading. Tracking is set once, globally:
     body -2%, headings -3%. */
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-head: 'Lato', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --track-body: -0.02em;
  --track-head: -0.03em;
}

*{margin:0;padding:0;box-sizing:border-box;}
/* scroll-behavior stays 'auto': the weighted scroll engine at the bottom of
   the file drives both wheel scrolling and anchor jumps itself. */
html{scroll-behavior:auto;}
section[id], footer[id]{scroll-margin-top:88px;}
body{
  font-family:var(--font);
  background:var(--cream);
  color:var(--ink);
  line-height:1.5;
  letter-spacing:var(--track-body);
  overflow-x:hidden;
}
h1,h2,h3,h4,h5,h6,.logo,.stat .value{
  font-family:var(--font-head);
  font-weight:700;                 /* Lato Bold */
  letter-spacing:var(--track-head);
}
a{color:inherit;text-decoration:none;}
img{display:block;max-width:100%;}

.wrap{max-width:1220px;margin:0 auto;padding:0 32px;}

/* ---------- HEADER ---------- */
header{
  position:sticky;top:0;z-index:50;
  background:rgba(250,248,225,0.75);
  backdrop-filter:blur(18px) saturate(160%);
  -webkit-backdrop-filter:blur(18px) saturate(160%);
  border-bottom:1px solid rgba(39,50,44,0.08);
}
.nav{
  display:flex;align-items:center;justify-content:space-between;
  padding:22px 32px;max-width:1220px;margin:0 auto;
}
.logo{
  font-weight:700;font-size:20px;letter-spacing:var(--track-head);
  display:flex;align-items:center;gap:8px;
}
.logo-mark{
  width:26px;height:26px;object-fit:contain;
}
/* the wordmark (SVG, 133×23 artwork) */
.logo-full{display:block;height:24px;width:auto;}
.nav-links{display:flex;gap:36px;font-size:15px;font-weight:500;color:var(--ink-soft);}
.nav-links a{transition:color .2s;}
.nav-links a:hover{color:var(--dark);}
/* the page you are on */
.nav-links a.is-current, .mobile-menu a.is-current{color:var(--dark);font-weight:700;}
.nav-links a.is-current{position:relative;}
.nav-links a.is-current::after{
  content:"";position:absolute;left:0;right:0;bottom:-7px;height:2px;
  border-radius:2px;background:var(--green);
}
.nav-cta{
  background:var(--dark);color:var(--cream);
  padding:11px 22px;border-radius:100px;font-weight:600;font-size:14px;
  transition:transform .25s ease, background .25s ease;
  display:inline-block;
}
.nav-cta:hover{background:var(--green-dark);transform:translateY(-1px);}
/* right-hand end of the bar: language switch + CTA (+ burger on mobile) */
.nav-end{display:flex;align-items:center;gap:22px;}
/* SK / EN. The current language is plain text, the other one a link. */
.lang-switch{display:flex;align-items:center;gap:2px;font-size:13px;font-weight:600;}
.lang-switch a, .lang-switch span{
  padding:5px 7px;border-radius:8px;line-height:1;color:var(--ink-soft);
  transition:color .2s, background .2s;
}
.lang-switch a:hover{color:var(--dark);background:rgba(39,50,44,0.06);}
.lang-switch .is-current{color:var(--dark);font-weight:700;}
.mobile-lang{display:none;}
.nav-toggle{
  display:none;
  flex-direction:column;justify-content:center;align-items:center;gap:5px;
  width:40px;height:40px;margin:-8px -6px -8px 0;
  background:none;border:0;padding:0;cursor:pointer;color:var(--ink);
}
.nav-toggle span{
  display:block;width:22px;height:2px;border-radius:2px;background:currentColor;
  transition:transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0;}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}
.mobile-menu{display:none;}
[hidden]{display:none !important;}

/* ---------- HERO ---------- */
.hero-visual{
  position:relative;overflow:hidden;
  background:#1c2417 url('../img/hero-poster.webp') center/cover no-repeat;
}
.hero-video{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;z-index:0;
}
.hero-overlay{
  position:absolute;inset:0;z-index:1;pointer-events:none;
  background:
    linear-gradient(180deg, rgba(18,23,14,0.20) 0%, rgba(18,23,14,0.55) 65%, rgba(18,23,14,0.74) 100%),
    linear-gradient(100deg, rgba(18,23,14,0.62) 0%, rgba(18,23,14,0.18) 48%, rgba(18,23,14,0.02) 75%);
}
.hero{
  position:relative;z-index:3;
  padding:150px 0 170px;
  max-width:700px;
}
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  font-size:14px;font-weight:600;color:var(--green);
  margin-bottom:18px;position:relative;z-index:2;
}
.eyebrow::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--green);}
.hero h1{
  font-size:clamp(40px, 5vw, 60px);
  font-weight:700;letter-spacing:var(--track-head);line-height:1.05;
  max-width:11.5ch;position:relative;z-index:2;
  color:var(--cream);
}
.hero p.lede{
  margin-top:22px;font-size:18px;color:rgba(250,248,225,0.78);max-width:46ch;
  position:relative;z-index:2;
}
.hero-ctas{display:flex;gap:14px;margin-top:34px;position:relative;z-index:2;flex-wrap:wrap;}
.btn-primary{
  background:var(--green);color:var(--dark);
  padding:15px 26px;border-radius:100px;font-weight:700;font-size:15px;
  display:inline-flex;align-items:center;gap:10px;
  transition:background .25s ease, box-shadow .25s ease;
  box-shadow:0 0 0 0 rgba(126,192,69,0.5);
  position:relative;
}
.btn-primary:hover{background:var(--green-dark);box-shadow:0 8px 24px -6px rgba(95,160,45,0.55);}
/* The one "outlined button" recipe — reused anywhere a ghost button appears. */
.btn-secondary{
  position:relative;isolation:isolate;overflow:hidden;
  display:inline-flex;align-items:center;gap:10px;
  padding:15px 22px;border-radius:100px;font-weight:600;font-size:15px;
  border:1.5px solid rgba(250,248,225,0.4);color:var(--cream);
  background:rgba(250,248,225,0.06);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.26), inset 0 -1px 0 rgba(255,255,255,0.10);
  transition:border-color .2s, background .2s, box-shadow .25s ease;
}
/* flat pane of glass across the whole pill */
.btn-secondary::before{
  content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;
  backdrop-filter:blur(3px) saturate(130%);
  -webkit-backdrop-filter:blur(3px) saturate(130%);
}
/* the "lens": refraction + rim light concentrated at the left/right edges,
   masked out through the middle. Deliberately weak — just enough to read
   as thick glass rather than a plain outline. */
.btn-secondary::after{
  content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;
  backdrop-filter:blur(8px) brightness(1.12) saturate(165%);
  -webkit-backdrop-filter:blur(8px) brightness(1.12) saturate(165%);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.18), rgba(255,255,255,0) 24%),
    linear-gradient(270deg, rgba(255,255,255,0.18), rgba(255,255,255,0) 24%);
  -webkit-mask:linear-gradient(90deg, #000 0%, rgba(0,0,0,0) 32%, rgba(0,0,0,0) 68%, #000 100%);
          mask:linear-gradient(90deg, #000 0%, rgba(0,0,0,0) 32%, rgba(0,0,0,0) 68%, #000 100%);
  opacity:.85;transition:opacity .25s ease;
}
.btn-secondary:hover{
  border-color:rgba(250,248,225,0.8);
  background:rgba(250,248,225,0.12);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.38), inset 0 -1px 0 rgba(255,255,255,0.15);
}
.btn-secondary:hover::after{opacity:1;}

/* ---------- MARQUEE / PARTNERS ---------- */
.partners{
  border-top:1px solid rgba(39,50,44,0.1);
  border-bottom:1px solid rgba(39,50,44,0.1);
  padding:26px 0;
}
.partners .wrap{
  display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-start;
  /* fixed breathing room between the label and the logo group only —
     the spacing *inside* the group is handled by .plogos below */
  gap:clamp(34px, 5.6vw, 90px);
}
.partners .label{font-size:13px;color:var(--ink-soft);font-weight:600;white-space:nowrap;}
/* the logo group is fluid: it takes whatever is left between the label and
   the right edge of .wrap, and space-between stretches/squeezes the gaps
   between individual logos so the last one always sits flush right */
.plogos{
  flex:1 1 auto;min-width:0;
  display:flex;align-items:center;flex-wrap:nowrap;overflow:hidden;
  justify-content:space-between;
  gap:24px; /* a floor for the gaps — space-between does the rest */
}
.plogos img{
  width:auto;object-fit:contain;
  opacity:.65;filter:grayscale(100%);
  transition:opacity .2s ease, filter .2s ease;
}
/* Optically matched sizes, not equal pixel heights: every file is cropped
   tight to its artwork, so at one shared height the big-lettered SNAS
   reads far larger than the multi-line ministry/agency lockups. */
.plogos img.plogo-snas{height:33px;}
.plogos img.plogo-mzp {height:37px;}
.plogos img.plogo-sazp{height:35px;}
.plogos img:hover{opacity:1;filter:grayscale(0%);}

/* ---------- SECTION GENERIC ---------- */
section{padding:75px 0;}
.section-head{max-width:560px;margin-bottom:56px;}
.section-head h2{
  font-size:clamp(28px,3.4vw,38px);font-weight:700;letter-spacing:var(--track-head);line-height:1.15;
}
.section-head p{margin-top:14px;font-size:16px;color:var(--ink-soft);}
/* inline "go to the full list" link inside a section intro */
.section-head p .head-link{
  display:inline-flex;align-items:center;gap:5px;white-space:nowrap;
  font-weight:700;color:var(--green-dark);
  transition:color .2s ease, gap .2s ease;
}
.section-head p .head-link:hover{color:var(--dark);gap:9px;}


/* services */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.card{
  background:var(--white);border:1px solid rgba(39,50,44,0.08);
  border-radius:20px;padding:34px 28px;
  transition:transform .25s ease, box-shadow .25s ease;
  will-change:transform;
}
/* One card recipe for every card-like block on the page: the tilt + lift
   that "What we do" already had is now the shared behaviour (see the
   [data-tilt] hook in the markup). */
.card:hover,
.proj-feature:hover,
.proj-row:hover,
.path:hover{box-shadow:0 20px 40px -18px rgba(39,50,44,0.25);}
.card .num{font-size:13px;font-weight:700;color:var(--green-dark);margin-bottom:18px;}
.card h3{font-size:19px;font-weight:700;margin-bottom:10px;letter-spacing:var(--track-head);}
.card p{font-size:14.5px;color:var(--ink-soft);}
/* service cards open the full list in a dialog */
a.card{display:flex;flex-direction:column;}
.card .arrow{
  margin-top:auto;padding-top:18px;
  display:inline-flex;align-items:center;gap:6px;
  font-weight:700;font-size:14px;color:var(--green-dark);
  transition:color .2s ease, gap .2s ease;
}
.card:hover .arrow{color:var(--dark);gap:11px;}

/* about — redesigned in the same dark-panel format as the stats block,
   since there's a single team photo rather than four things to illustrate.
   Sits inside a plain .wrap and fills it (width:100%), so its own visual
   edges — not just the text inside it — line up with every card and
   heading on the page, at any screen size. */
.about-panel{
  background:var(--dark);color:var(--cream);
  border-radius:28px;
  width:100%;
  padding:56px 48px;
  position:relative;overflow:hidden;
}
.about-top{
  display:flex;gap:40px;align-items:center;
  margin-bottom:48px;
}
.about-photo{
  flex:0 0 148px;width:148px;height:148px;border-radius:50%;overflow:hidden;
  border:3px solid rgba(250,248,225,0.15);
}
.about-photo img{width:100%;height:100%;object-fit:cover;}
.about-lead{flex:1;min-width:240px;}
.about-lead .num{font-size:13px;font-weight:700;color:var(--green);margin-bottom:10px;}
.about-lead h3{font-size:clamp(22px,2.6vw,28px);font-weight:700;letter-spacing:var(--track-head);margin-bottom:10px;}
.about-lead p{color:rgba(250,248,225,0.72);font-size:15px;max-width:60ch;}
.about-grid-inner{
  display:grid;grid-template-columns:repeat(3,1fr);gap:32px;
  border-top:1px solid rgba(250,248,225,0.18);padding-top:36px;
}
.about-item .num{font-size:13px;font-weight:700;color:var(--green);margin-bottom:12px;}
.about-item h3{font-size:17px;font-weight:700;margin-bottom:8px;letter-spacing:var(--track-head);}
.about-item p{font-size:14px;color:rgba(250,248,225,0.65);}

/* dark impact band — sits inside a plain .wrap and fills it (width:100%),
   same as the "What we do" cards row, so the dark card's own visual edges
   line up with every other card/heading at any screen size, not just the
   text inside it */
.impact{
  background:var(--dark);color:var(--cream);
  border-radius:28px;
  width:100%;
  padding:72px 48px;
  position:relative;overflow:hidden;
}
.impact-top{display:flex;justify-content:space-between;gap:40px;flex-wrap:wrap;align-items:flex-end;margin-bottom:56px;}
.impact-top h2{font-size:clamp(26px,3vw,34px);font-weight:700;max-width:26ch;letter-spacing:var(--track-head);}
.impact-top p{max-width:34ch;color:rgba(250,248,225,0.7);font-size:15px;}
/* auto-fit rather than four fixed columns: one of these figures is tied to
   a way of supporting, and disappears when that one is switched off */
.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:28px;}
.stat{border-top:1px solid rgba(250,248,225,0.18);padding-top:20px;}
.stat .value{font-size:40px;font-weight:700;color:var(--green);letter-spacing:var(--track-head);}
.stat .caption{margin-top:6px;font-size:13.5px;color:rgba(250,248,225,0.65);}
.blob-dark{
  position:absolute;width:400px;height:400px;border-radius:50%;
  background:radial-gradient(circle, rgba(126,192,69,0.18), transparent 70%);
  top:-120px;right:-120px;pointer-events:none;
}

/* projects */
.proj-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:24px;}
.proj-feature{
  /* the photo comes from the project data (inline background-image set by
     the template), the darkening gradient sits on top of it in ::before */
  position:relative;isolation:isolate;
  background:var(--dark) center/cover no-repeat;
  border-radius:20px;padding:36px;min-height:340px;
  display:flex;flex-direction:column;justify-content:space-between;
  border:1px solid rgba(39,50,44,0.08);
  transition:transform .25s ease, box-shadow .25s ease;
  will-change:transform;
}
.proj-feature::before{
  content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;
  background:linear-gradient(180deg, rgba(20,26,17,0.15) 0%, rgba(20,26,17,0.72) 100%);
}
.proj-feature h3, .proj-feature p{color:var(--cream);}
/* the three rows share whatever height the featured card sets, so the two
   columns end on the same line */
.proj-list{display:flex;flex-direction:column;gap:16px;height:100%;}
.proj-list .proj-row{flex:1 1 0;}
.proj-row{
  background:var(--white);border:1px solid rgba(39,50,44,0.08);
  border-radius:16px;padding:22px 24px;
  display:flex;justify-content:space-between;align-items:center;gap:16px;
  transition:transform .25s ease, box-shadow .25s ease;
  will-change:transform;
}
.proj-row h4{font-size:15.5px;font-weight:700;margin-bottom:4px;}
.proj-row span{font-size:13px;color:var(--ink-soft);}
.pill{
  /* a div is block-level by default, so inside a nested wrapper the pill
     stretched to the full card width; this keeps it content-sized everywhere */
  display:inline-block;
  font-size:12px;font-weight:700;color:var(--green-dark);background:var(--mint);
  padding:6px 12px;border-radius:100px;white-space:nowrap;
}

/* support us — same gutter logic as .impact/.wrap, kept at content width */
.support{
  background:var(--mint);
  border-radius:28px;
  width:100%;
  padding:80px 48px;text-align:center;
  position:relative;overflow:hidden;
}
.support h2{font-size:clamp(28px,3.6vw,42px);font-weight:700;max-width:20ch;margin:0 auto;letter-spacing:var(--track-head);}
.support p{max-width:46ch;margin:18px auto 0;color:var(--ink-soft);font-size:16px;}
/* auto-fit, not three fixed columns: one of these cards is tied to a way of
   supporting and disappears when that one is switched off — the two that stay
   should fill the row rather than leave a hole on the right */
.support-paths{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;margin-top:48px;text-align:left;
}
.path{
  display:block;
  background:var(--cream);border-radius:18px;padding:28px 24px;
  border:1px solid rgba(39,50,44,0.08);
  transition:transform .25s ease, box-shadow .25s ease;
  will-change:transform;
}
.path h4{font-size:16.5px;font-weight:700;margin-bottom:8px;}
.path p{font-size:14px;color:var(--ink-soft);margin:0;}
.path .arrow{
  display:inline-flex;align-items:center;gap:6px;
  margin-top:16px;font-weight:700;font-size:14px;color:var(--green-dark);
  transition:color .2s ease, gap .2s ease;
}
.path:hover .arrow{color:var(--dark);gap:11px;}

/* footer */
footer{padding:80px 0 40px;}
.foot-top{
  display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:24px;
  padding-bottom:40px;border-bottom:1px solid rgba(39,50,44,0.1);margin-bottom:32px;
}
.foot-top h3{font-size:clamp(24px,3vw,32px);font-weight:700;max-width:16ch;letter-spacing:var(--track-head);}
.foot-cols{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;font-size:14px;color:var(--ink-soft);}
.foot-cols div{min-width:150px;}
.foot-cols h4{font-size:13px;color:var(--ink);margin-bottom:12px;font-weight:700;}
.foot-logo a{display:inline-flex;align-items:center;gap:7px;margin-bottom:0;}
.foot-logo .logo-mark{width:17px;height:17px;}
.foot-logo img{display:block;height:20px;width:auto;}
.foot-org{display:block;margin-bottom:8px;color:var(--ink);font-weight:600;}
.foot-cols a{display:block;margin-bottom:8px;transition:color .2s;}
.foot-cols a:hover{color:var(--dark);}

/* ---------- inner page header (projects, partners) ---------- */
/* compact page header — no video, so it doesn't compete with the homepage */
.page-hero{padding:74px 0 8px;}
.page-hero h1{font-size:clamp(38px,5vw,58px);line-height:1.05;max-width:14ch;}
.page-hero p.lede{margin-top:20px;font-size:17px;color:var(--ink-soft);max-width:52ch;}
.page-stats{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;
  margin-top:48px;max-width:640px;
}
.page-stats .stat{border-top:1px solid rgba(39,50,44,0.18);padding-top:18px;}
.page-stats .value{font-size:34px;font-weight:700;color:var(--green-dark);letter-spacing:var(--track-head);}
.page-stats .caption{margin-top:6px;font-size:13.5px;color:var(--ink-soft);}


/* ---------- dialogs (project details, service lists) ----------
   Behaviour: site.js → PE.makeModal. Content markup differs per page,
   the frame below is shared. */
body.scroll-locked{overflow:hidden;}
.modal{position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;padding:24px;}
.modal-backdrop{position:absolute;inset:0;background:rgba(20,26,17,0.62);backdrop-filter:blur(4px);}
.modal-panel{
  position:relative;z-index:1;
  width:min(720px,100%);max-height:min(88vh,900px);overflow-y:auto;
  background:var(--cream);border-radius:24px;
  box-shadow:0 40px 90px -30px rgba(20,26,17,0.6);
  animation:modal-in .28s cubic-bezier(.22,.8,.3,1) both;
}
@keyframes modal-in{from{opacity:0;transform:translateY(18px) scale(.985);}to{opacity:1;transform:none;}}
.modal-panel:focus{outline:none;}
.modal-close{
  position:absolute;right:16px;top:16px;z-index:2;
  width:38px;height:38px;border-radius:50%;border:0;cursor:pointer;
  background:rgba(250,248,225,0.9);backdrop-filter:blur(6px);
  color:var(--ink);font-size:20px;line-height:1;
  display:flex;align-items:center;justify-content:center;
  transition:background .2s, transform .2s;
}
.modal-close:hover{background:var(--white);transform:scale(1.06);}
.modal-figure{position:relative;aspect-ratio:16/9;overflow:hidden;background:var(--mint);}
.modal-figure img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.modal-body{padding:32px 36px 38px;}
.modal-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px;}
.modal-meta #modal-sub{font-size:13px;color:var(--ink-soft);font-weight:600;}
.modal-body h2{font-size:clamp(22px,3vw,28px);margin-bottom:16px;}
.modal-body #modal-text p{font-size:15px;color:var(--ink-soft);margin-bottom:14px;}
.modal-body #modal-text p:last-child{margin-bottom:0;}
.modal-metric{
  margin-top:22px;padding:16px 20px;border-radius:14px;
  background:var(--mint);color:var(--green-dark);
  font-weight:700;font-size:15px;
}

/* photo report. Two columns, images keep their own proportions — a build
   diary is half portrait shots and cropping them to a grid loses the point */
.modal-gallery{margin-top:30px;}
.gal-title{
  font-size:13px;font-weight:700;text-transform:uppercase;
  letter-spacing:.06em;color:var(--ink-soft);margin-bottom:14px;
}
.gal-grid{columns:2;column-gap:12px;}
.gal-grid figure{break-inside:avoid;margin:0 0 12px;}
.gal-grid img{width:100%;height:auto;border-radius:12px;background:var(--mint);}
.gal-grid figcaption{margin-top:7px;font-size:12.5px;color:var(--ink-soft);line-height:1.35;}

/* source pages, papers, project diaries — the modal's way out to the real thing */
.modal-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px;}
.mlink{
  display:inline-flex;align-items:center;gap:8px;
  padding:12px 18px;border-radius:100px;
  background:var(--dark);color:var(--cream);
  font-weight:600;font-size:13.5px;
  transition:background .25s ease, transform .25s ease;
}
.mlink:hover{background:var(--green-dark);transform:translateY(-1px);}
.mlink svg{opacity:.75;}

/* service list inside the homepage dialog */
.modal-legal{font-size:14px;font-weight:600;color:var(--ink-soft);margin:-6px 0 0;max-width:52ch;}
.svc-list{list-style:none;margin:24px 0 0;padding:0;display:grid;gap:0;}
.svc-list li{
  position:relative;padding:11px 0 11px 24px;font-size:15px;color:var(--ink);
  border-top:1px solid rgba(39,50,44,0.1);
}
.svc-list li:last-child{border-bottom:1px solid rgba(39,50,44,0.1);}
.svc-list li::before{
  content:"";position:absolute;left:4px;top:20px;width:7px;height:7px;border-radius:50%;background:var(--green);
}

@media (max-width: 880px){
  .nav-links{display:none;}
  .nav{padding:18px 24px;gap:12px;}
  .nav-end{gap:12px;}
  .nav-end > .lang-switch{display:none;}     /* lives in the menu on phones */
  .nav-toggle{display:flex;}
  .mobile-menu{
    display:block;
    padding:6px 24px 20px;
    border-top:1px solid rgba(39,50,44,0.08);
    background:rgba(250,248,225,0.88);
    backdrop-filter:blur(18px) saturate(160%);
    -webkit-backdrop-filter:blur(18px) saturate(160%);
    max-height:calc(100vh - 76px);overflow-y:auto;
  }
  .mobile-menu a{
    display:block;padding:15px 2px;font-size:16px;font-weight:600;
    color:var(--ink-soft);border-bottom:1px solid rgba(39,50,44,0.08);
    transition:color .2s;
  }
  .mobile-menu a:hover{color:var(--dark);}
  .mobile-menu .mobile-lang{
    display:flex;gap:6px;padding:14px 0 2px;font-size:14px;
  }
  .mobile-menu .mobile-lang a, .mobile-menu .mobile-lang span{
    display:inline-block;padding:8px 14px;border:1px solid rgba(39,50,44,0.14);
    border-radius:100px;font-size:14px;
  }
  .mobile-menu .mobile-lang .is-current{background:var(--dark);border-color:var(--dark);color:var(--cream);}
  .mobile-menu a.mobile-menu-cta{
    margin-top:16px;padding:14px 22px;border-bottom:0;text-align:center;
    background:var(--dark);color:var(--cream);border-radius:100px;
  }
  .hero{padding:100px 0 120px;max-width:100%;}
  .hero-video{display:none;}
  .cards{grid-template-columns:1fr;}
  .stat-grid{grid-template-columns:repeat(2,1fr);}
  .proj-grid{grid-template-columns:1fr;}
  .support-paths{grid-template-columns:1fr;}
  .impact,.support{padding:48px 24px;}
  .about-top{flex-direction:column;align-items:flex-start;text-align:left;}
  .about-grid-inner{grid-template-columns:1fr;}
  .about-panel{padding:40px 24px;}
  .partners .label{white-space:normal;}
  .partners .wrap{gap:18px;}
  .plogos{flex:1 0 100%;} /* own line, full width — the fit script trims it */
  section{padding:48px 0;}
  .page-hero{padding:44px 0 4px;}
  .page-stats{grid-template-columns:1fr 1fr;gap:20px;margin-top:34px;}
  .modal{padding:0;}
  .modal-panel{width:100%;max-height:100vh;height:100%;border-radius:0;}
  .modal-body{padding:26px 22px 32px;}
  .gal-grid{columns:1;}
}

/* No cursor on touch, so every hover affordance is dead weight (and worse,
   sticks after a tap). The tilt/magnet JS is skipped there too. */
@media (hover: none), (pointer: coarse){
  .card:hover, .proj-feature:hover, .proj-row:hover, .path:hover{
    box-shadow:none;transform:none !important;
  }
  .nav-cta:hover{background:var(--dark);transform:none;}
  .btn-primary:hover{background:var(--green);box-shadow:0 0 0 0 rgba(126,192,69,0.5);}
  .btn-secondary:hover{
    border-color:rgba(250,248,225,0.4);background:rgba(250,248,225,0.06);
  }
  .btn-secondary:hover::after{opacity:.85;}
  .plogos img:hover{opacity:.65;filter:grayscale(100%);}
  .path:hover .arrow{color:var(--green-dark);gap:6px;}
  .card:hover .arrow{color:var(--green-dark);gap:6px;}
}

@media (prefers-reduced-motion: reduce){
  *{transition:none !important;animation:none !important;}
}

/* ==========================================================================
   Shared page components
   First written for "Podporte nás", now used by the workshop pages too, so
   they live here rather than in one page's own <style>. If a third page needs
   one of these, it just uses the class — nothing gets copied.
   ========================================================================== */

/* section intro: heading + one paragraph */
.s-head{max-width:60ch;}
.s-head h2{font-size:clamp(26px,3.2vw,36px);line-height:1.12;}
.s-head p{margin-top:14px;font-size:16px;color:var(--ink-soft);}

/* a panel that carries a whole block of content */
.s-panel{
  background:var(--white);border:1px solid rgba(39,50,44,0.08);
  border-radius:24px;padding:40px;
}
.s-panel.is-mint{background:var(--mint);border-color:rgba(95,160,45,0.18);}

/* details meant to be copied into a form or a bank transfer */
.req{margin-top:26px;display:flex;flex-direction:column;gap:2px;}
.req-row{
  display:grid;grid-template-columns:150px minmax(0,1fr) auto;
  gap:16px;align-items:baseline;
  padding:13px 0;border-bottom:1px solid rgba(39,50,44,0.10);
}
.req-row:last-child{border-bottom:0;}
.req-label{font-size:13px;color:var(--ink-soft);}
.req-value{
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:15.5px;font-weight:600;color:var(--dark);
  overflow-wrap:anywhere;
}
.req-copy{
  font-family:inherit;font-size:12.5px;font-weight:600;letter-spacing:inherit;
  color:var(--ink-soft);background:transparent;
  border:1px solid rgba(39,50,44,0.16);border-radius:100px;
  padding:5px 12px;cursor:pointer;white-space:nowrap;
  transition:border-color .2s, color .2s, background .2s;
}
.req-copy:hover{border-color:var(--ink-soft);color:var(--ink);}
.req-copy.is-done{background:var(--dark);border-color:var(--dark);color:var(--cream);}

/* something that must not be missed, and quieter asides */
.s-warn{
  margin-top:26px;padding:20px 22px;border-radius:16px;
  background:var(--cream);border:1px solid rgba(39,50,44,0.12);
  border-left:3px solid var(--green);
}
.s-warn h4{font-size:14.5px;margin-bottom:6px;}
.s-warn p{font-size:14.5px;color:var(--ink-soft);}
.s-note{margin-top:18px;font-size:14px;color:var(--ink-soft);}
.link-arrow{font-weight:600;color:var(--green-dark);border-bottom:1px solid rgba(95,160,45,0.35);}
.link-arrow:hover{color:var(--dark);border-bottom-color:var(--dark);}

/* a ticked list */
.use-list{list-style:none;margin-top:26px;display:flex;flex-direction:column;gap:2px;}
.use-list li{
  display:flex;gap:13px;align-items:flex-start;
  padding:14px 0;border-bottom:1px solid rgba(39,50,44,0.09);
  font-size:15.5px;
}
.use-list li:last-child{border-bottom:0;}
.use-list svg{flex:0 0 auto;margin-top:3px;color:var(--green-dark);}
.use-outro{
  margin-top:22px;font-family:var(--font-head);font-weight:700;
  letter-spacing:var(--track-head);font-size:18px;color:var(--dark);
}

/* a link to a file or a page on somebody else's site */
.forms{margin-top:24px;display:flex;flex-wrap:wrap;gap:10px;}
.form-link{
  display:inline-flex;align-items:center;gap:9px;
  font-size:13.5px;font-weight:600;color:var(--dark);
  background:var(--white);border:1px solid rgba(39,50,44,0.16);
  border-radius:100px;padding:10px 17px;
  transition:border-color .2s, box-shadow .2s;
}
.form-link:hover{border-color:var(--ink-soft);box-shadow:0 10px 24px -14px rgba(39,50,44,0.4);}
.form-link svg{flex:0 0 auto;opacity:.5;}
.form-meta{font-size:12.5px;font-weight:400;color:var(--ink-soft);white-space:nowrap;}

/* a row of dates */
.dates{margin-top:34px;}
.dates h4{font-size:15px;margin-bottom:16px;}
.dates ol{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:20px;}
.dates li{border-top:2px solid var(--green);padding-top:14px;}
.dates .d{font-family:var(--font-head);font-weight:700;font-size:17px;letter-spacing:var(--track-head);}
.dates .t{margin-top:6px;font-size:13.5px;color:var(--ink-soft);}
/* a date that has gone by steps back; the next one still to come steps forward */
.dates li.is-past{border-top-color:rgba(39,50,44,0.18);opacity:.5;}
.dates li.is-next{border-top-color:var(--dark);}
.dates li.is-next .d{color:var(--green-dark);}

@media (max-width: 880px){
  .s-panel{padding:28px 22px;border-radius:20px;}
  /* the label above the value instead of beside it — 150px of label plus a
     24-character IBAN does not fit a phone */
  .req-row{grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;}
  .req-label{grid-column:1 / -1;}
  .req-value{font-size:14.5px;}
  .dates ol{grid-template-columns:1fr 1fr;gap:16px;}
}
