/* Sections carried over from the original pyros.ltd: Our approach, Sustainability,
   Why work with Pyros and Meet the team. Light (Stone) theme, matching the new site. */
:root {
  --pz-bg: #ECE7DF;
  --pz-card: #F7F4EF;
  --pz-ink: #26221F;
  --pz-ink-2: #4F4842;
  --pz-muted: #7E766E;
  --pz-line: rgb(38 34 31 / 14%);
  --pz-accent: #9E3F1A;
  --pz-pad-x: max(var(--gutter, 40px), 7vw);
}

.pz-approach,
.pz-why,
.pz-team {
  position: relative;
  color: var(--pz-ink);
  padding-left: var(--pz-pad-x);
  padding-right: var(--pz-pad-x);
}

.pz-approach h2,
.pz-why h2,
.pz-team h2,
.pz-sustain h2 {
  margin: 0;
  font: 400 clamp(38px, 4.6vw, 68px)/1.08 var(--font-primary, Manrope, sans-serif);
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.pz-approach .eyebrow,
.pz-why .eyebrow,
.pz-sustain .eyebrow {
  margin: 0 0 28px;
}

/* Our approach: heading left, copy right */
.pz-approach { padding-top: clamp(110px, 14vh, 170px); padding-bottom: clamp(90px, 12vh, 150px); }
.pz-approach__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.pz-approach__copy { display: grid; gap: 26px; padding-top: 6px; }
.pz-approach__copy p {
  margin: 0;
  max-width: 62ch;
  color: var(--pz-ink-2);
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.75;
}

/* Sustainability: forest photo in a rounded frame, like the first page */
.pz-sustain { padding: 0 max(16px, 1.4vw); }
.pz-sustain__frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: min(92svh, 860px);
  border-radius: clamp(16px, 1.6vw, 26px);
  box-shadow: 0 30px 80px rgb(38 34 31 / 14%);
  background: #18200f;
}
.pz-sustain__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pz-sustain__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgb(6 9 5 / 58%) 0%, rgb(6 9 5 / 70%) 60%, rgb(6 9 5 / 80%) 100%);
}
.pz-sustain__copy {
  max-width: 900px;
  padding: clamp(80px, 12vh, 140px) clamp(24px, 5vw, 64px);
  text-align: center;
  color: #fff;
}
.pz-sustain .eyebrow { color: rgb(255 255 255 / 78%); }
.pz-sustain h2 { font-family: Newsreader, Georgia, serif; font-size: clamp(42px, 5.4vw, 84px); line-height: 1.04; letter-spacing: -0.015em; }
.pz-sustain__copy > p:last-child {
  max-width: 64ch;
  margin: 34px auto 0;
  color: rgb(255 255 255 / 84%);
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.75;
}

/* Why work with Pyros: three cards */
.pz-why { padding-top: clamp(110px, 14vh, 170px); padding-bottom: clamp(70px, 9vh, 110px); }
.pz-why__inner { max-width: 1280px; margin: 0 auto; }
.pz-why__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 28px);
  margin-top: clamp(40px, 5vw, 64px);
}
.pz-why__card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: clamp(28px, 2.6vw, 40px);
  border: 1px solid var(--pz-line);
  border-top: 2px solid var(--pz-accent);
  border-radius: 14px;
  background: var(--pz-card);
  box-shadow: 0 10px 30px rgb(38 34 31 / 6%);
}
.pz-why__card h3 {
  margin: 0;
  font: 500 clamp(20px, 1.6vw, 24px)/1.25 var(--font-primary, Manrope, sans-serif);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.pz-why__card p { margin: 0; color: var(--pz-ink-2); font-size: 16px; line-height: 1.7; }

/* Meet the team */
.pz-team { padding-top: clamp(60px, 8vh, 100px); padding-bottom: clamp(110px, 14vh, 170px); text-align: center; }
.pz-team__inner { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.pz-team__inner > p { margin: 0; color: var(--pz-ink-2); font-size: clamp(16px, 1.2vw, 19px); }
.pz-team__cta { margin-top: 10px; text-decoration: none; }

@media (max-width: 860px) {
  .pz-approach__inner { grid-template-columns: 1fr; gap: 28px; }
  .pz-why__grid { grid-template-columns: 1fr; }
  .pz-sustain__frame { min-height: 0; }
}
@media (max-width: 767px) {
  .pz-approach, .pz-why, .pz-team { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
}

/* Meet the team: its own framed panel, so it reads as a separate section from "Why work with Pyros" */
.pz-team { padding: clamp(20px, 3vh, 40px) max(16px, 1.4vw) clamp(70px, 9vh, 110px); }
.pz-team__inner {
  position: relative;
  max-width: none;
  gap: 22px;
  padding: clamp(90px, 13vh, 150px) clamp(24px, 5vw, 64px);
  border: 1px solid var(--pz-line);
  border-radius: clamp(16px, 1.6vw, 26px);
  background:
    radial-gradient(70% 90% at 50% 0%, rgb(158 63 26 / 9%) 0%, transparent 70%),
    #E2D9CC;
  box-shadow: 0 30px 80px rgb(38 34 31 / 10%);
}
.pz-team__inner > * { max-width: 720px; }
.pz-team .eyebrow { margin: 0 0 4px; color: var(--pz-accent); }
@media (max-width: 767px) {
  .pz-team { padding-left: max(12px, env(safe-area-inset-left, 0px)); padding-right: max(12px, env(safe-area-inset-right, 0px)); }
}

/* One section per screen: each added section fills the screen on its own,
   with its content centred below the header bar, so the next one doesn't peek in. */
.pz-approach, .pz-why {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(120px, 14vh, 150px);
  padding-bottom: clamp(60px, 9vh, 110px);
}
.pz-approach__inner, .pz-why__inner { width: 100%; }
.pz-sustain, .pz-team {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: 100px;
  padding-bottom: max(16px, 1.4vw);
}
.pz-sustain__frame, .pz-team__inner { flex: 1; min-height: 0; }
.pz-team__inner { justify-content: center; }
.pz-team__inner { width: 100%; margin: 0; }

/* Menu: all eight links fit on one screen, no scrolling. The link size follows the screen height. */
.site-menu[open] { display: flex; flex-direction: column; overflow: hidden; }
.menu-links { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; padding: 3vh 0 2vh; }
.menu-line a {
  font-size: max(20px, min(clamp(30px, 4.3vw, 66px), calc((100dvh - 230px - 5vh) / 10.4)));
  line-height: 1.3;
}
@media (max-width: 1024px) {
  .menu-line a { font-size: max(20px, min(clamp(30px, 5.8vw, 60px), calc((100dvh - 230px - 5vh) / 10.4))); }
}
@media (max-width: 767px) {
  .menu-links { padding: 2vh 0 1vh; }
  .menu-line a {
    padding-block: 4px;
    font-size: max(20px, min(clamp(28px, 7.4vw, 46px), calc((100dvh - 200px - 3vh) / 10.4)));
  }
}
@media (max-height: 550px) and (min-width: 600px) {
  .menu-links { display: grid; grid-template-columns: 1fr 1fr; align-content: center; }
  .menu-line a { font-size: 24px; }
}

/* Technology (was "How we operate"): wording from the original pyros.ltd, same sliding card motion */
.final-operations__heading .final-kicker { margin: 0 0 16px; color: var(--pz-accent); font-size: 11px; }
.final-operations__heading h2 { font-size: clamp(40px, 5.2vw, 88px); line-height: 1; letter-spacing: -0.055em; }
.ops-badge {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: clamp(16px, 2.4vh, 26px); padding: 9px 18px 9px 12px;
  border: 1px solid var(--pz-line); border-radius: 999px;
  background: rgb(247 244 239 / 70%);
  color: var(--pz-ink-2); font-size: 14px; text-decoration: none;
  transition: border-color .25s, background-color .25s;
}
.ops-badge b { color: var(--pz-ink); font-weight: 600; }
.ops-badge__dot { width: 9px; height: 9px; border-radius: 50%; background: #860F1C; box-shadow: 0 0 0 4px rgb(134 15 28 / 14%); }
.ops-badge:hover, .ops-badge:focus-visible { border-color: rgb(158 63 26 / 50%); background: #F7F4EF; }
.final-operations__sticky { padding-top: max(118px, 14vh); }
@media (max-height: 800px) {
  .final-operations__heading .final-kicker { margin-bottom: 8px; }
  .final-operations__heading h2 { font-size: clamp(36px, 4.4vw, 60px); }
  .ops-badge { margin-top: 12px; padding: 6px 14px 6px 10px; font-size: 13px; }
}
@media (max-height: 679px) and (prefers-reduced-motion: no-preference) {
  .final-operations__sticky { min-height: 0; padding-top: 112px; padding-bottom: 28px; }
  .operations-card { height: min(80vw, 300px, calc(100svh - 360px)); }
}

/* What We Do, design B: each photo fills the screen inside a rounded frame (like the first page),
   white text bottom-left on the photo. Same scroll motion. Not applied to the short-screen / reduced-motion list layout. */
@media (prefers-reduced-motion: no-preference) and (min-height: 651px), (prefers-reduced-motion: no-preference) and (min-width: 600px) and (min-height: 551px) {
/* shared: white text over the photo, bottom-left, like the first page */
#what .story-sticky::after{display:none;}
#what .story-images::after{content:"";position:absolute;inset:0;z-index:60;pointer-events:none;
  background:linear-gradient(90deg,rgb(0 0 0/58%) 0%,rgb(0 0 0/22%) 45%,transparent 70%),linear-gradient(0deg,rgb(0 0 0/50%) 0%,transparent 55%);}
#what .story-layers{top:auto;height:0;max-width:820px;}
#what .story-chapter{inset:auto 0 0;}
#what .story-chapter h2{color:#fff;}
#what .story-chapter > p:last-child{color:rgb(255 255 255/88%);}
#what .story-image{border:0;box-shadow:none;}
/* B: framed full screen, matches the first page and Sustainability */
#what .story-images{inset:100px max(16px,1.4vw) max(16px,1.4vw);border-radius:clamp(16px,1.6vw,26px);background:#15110e;box-shadow:0 30px 80px rgb(38 34 31/14%);}
#what .story-image{width:110%;height:110%;aspect-ratio:auto;border-radius:0;}
#what .story-images::after{border-radius:inherit;}
#what .story-layers{left:calc(max(16px,1.4vw) + clamp(24px,4.5vw,72px));bottom:calc(max(16px,1.4vw) + clamp(36px,7vh,80px));}
}
