/* ==========================================================================
   GLINE — design system
   Colours and typography follow the "G Line ženklo firminio stiliaus vadovas"
   brand book: green RGB 120/184/51, white, grey RGB 157/158/158, black.
   Display face: Jost (geometric sans, stands in for Neutraface 2 Text).
   Body face: Arial, as specified in the brand book.
   ========================================================================== */

/* -- Fonts (self-hosted, no third-party requests) -------------------------- */
/* Jost, self-hosted (no request to Google). One variable file per subset,
   covering weights 100-900.

   The latin face MUST NOT list the combining marks U+0304/0308/0329 in its
   unicode-range. It has no precomposed ū/Ū, but its cmap does carry the
   combining macron — so if the range lets it claim U+0304, Chrome will build
   ū as u + a floating macron with no positioning data, and the macron lands
   over the next letter. Leaving the marks to the latin-ext face, which has
   the real ū glyph, is what makes Lithuanian render correctly. */
@font-face{font-family:'Jost';font-style:normal;font-weight:100 900;font-display:swap;src:url('../fonts/jost-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Jost';font-style:normal;font-weight:100 900;font-display:swap;src:url('../fonts/jost-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}

/* -- Tokens ---------------------------------------------------------------- */
:root{
  --green:#78B833;
  --green-bright:#8DD03F;
  --green-deep:#5E9527;
  --ink:#0C0D0B;
  --ink-2:#161814;
  --ink-3:#22251F;
  --grey:#9D9E9E;
  --grey-2:#6E7270;
  --line:#E2E5DE;
  --line-dark:#2C3029;
  --bg:#FFFFFF;
  --bg-soft:#F5F6F2;
  --white:#FFFFFF;

  --font-display:'Jost','Segoe UI',system-ui,sans-serif;
  --font-body:Arial,'Helvetica Neue',Helvetica,sans-serif;

  --wrap:1200px;
  --gutter:clamp(1.25rem,4vw,2.5rem);
  --sect:clamp(4rem,9vw,7.5rem);
  --radius:4px;
  --shadow:0 1px 2px rgba(12,13,11,.04),0 8px 30px rgba(12,13,11,.06);
  --shadow-lg:0 2px 4px rgba(12,13,11,.05),0 24px 60px rgba(12,13,11,.12);
  --ease:cubic-bezier(.22,.61,.36,1);
}

/* -- Reset ----------------------------------------------------------------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:1rem;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img,svg,video{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer}
:focus-visible{outline:2px solid var(--green);outline-offset:3px;border-radius:2px}

/* -- Typography ------------------------------------------------------------ */
h1,h2,h3,h4,h5{
  font-family:var(--font-display);
  font-weight:600;
  line-height:1.08;
  letter-spacing:-.02em;
  margin:0 0 .5em;
  text-wrap:balance;
}
h1{font-size:clamp(2.4rem,6.2vw,4.5rem);text-transform:uppercase;letter-spacing:-.025em}
h2{font-size:clamp(1.85rem,3.9vw,2.9rem)}
h3{font-size:clamp(1.25rem,2.2vw,1.6rem)}
h4{font-size:1.1rem}
p{margin:0 0 1.15em;text-wrap:pretty}
p:last-child{margin-bottom:0}
strong{font-weight:700}

.eyebrow{
  font-family:var(--font-display);
  font-size:.78rem;
  font-weight:600;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--green-deep);
  display:flex;
  align-items:center;
  gap:.7rem;
  margin:0 0 1.1rem;
}
.eyebrow::before{
  content:"";
  width:1.75rem;height:2px;
  background:var(--green);
  flex:none;
}
.on-dark .eyebrow{color:var(--green-bright)}

.lead{font-size:clamp(1.05rem,1.6vw,1.2rem);line-height:1.7;color:var(--grey-2)}
.on-dark .lead{color:rgba(255,255,255,.72)}

/* -- Layout ---------------------------------------------------------------- */
.wrap{width:min(var(--wrap),100% - var(--gutter)*2);margin-inline:auto}
.wrap--narrow{width:min(760px,100% - var(--gutter)*2)}
.section{padding-block:var(--sect)}
.section--tight{padding-block:clamp(3rem,6vw,4.5rem)}
.section--soft{background:var(--bg-soft)}
.on-dark{background:var(--ink);color:var(--white)}
.on-dark h1,.on-dark h2,.on-dark h3{color:var(--white)}

.grid{display:grid;gap:clamp(1.5rem,3vw,2.5rem)}
.grid--2{grid-template-columns:repeat(auto-fit,minmax(min(100%,20rem),1fr))}
.grid--3{grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr))}

.section-head{max-width:44rem;margin-bottom:clamp(2.25rem,4vw,3.25rem)}

/* Bracket motif, borrowed from the [G] logo */
.bracket{position:relative;display:inline-block;padding-inline:.55em}
.bracket::before,.bracket::after{
  position:absolute;top:-.02em;color:var(--green);font-weight:400;
}
.bracket::before{content:"[";left:0}
.bracket::after{content:"]";right:0}

/* -- Buttons --------------------------------------------------------------- */
.btn{
  --btn-bg:var(--green);
  --btn-fg:var(--white);
  display:inline-flex;align-items:center;gap:.6rem;
  padding:.85rem 1.65rem;
  font-family:var(--font-display);font-weight:600;font-size:.95rem;
  letter-spacing:.02em;
  background:var(--btn-bg);color:var(--btn-fg);
  border:1px solid var(--btn-bg);
  border-radius:var(--radius);
  transition:background .22s var(--ease),border-color .22s var(--ease),color .22s var(--ease),transform .22s var(--ease);
}
.btn:hover{background:var(--green-deep);border-color:var(--green-deep);transform:translateY(-2px)}
.btn:active{transform:translateY(0)}
.btn--ghost{--btn-bg:transparent;--btn-fg:var(--ink);border-color:var(--line)}
.btn--ghost:hover{--btn-fg:var(--ink);background:var(--bg-soft);border-color:var(--ink);transform:translateY(-2px)}
.on-dark .btn--ghost,.hero .btn--ghost,.cta .btn--ghost,.pagehead .btn--ghost,.footer .btn--ghost{
  --btn-fg:var(--white);border-color:rgba(255,255,255,.3);
}
.on-dark .btn--ghost:hover,.hero .btn--ghost:hover,.cta .btn--ghost:hover,
.pagehead .btn--ghost:hover,.footer .btn--ghost:hover{
  background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.65);
}
.btn svg{width:1em;height:1em;flex:none}
.btn-row{display:flex;flex-wrap:wrap;gap:.85rem;margin-top:2rem}

/* Parent-company mark leading the About text. Sized by height so the file's
   own aspect ratio decides the width, and capped in width so it cannot
   dominate the column on a narrow screen. */
.parent-brand__logo{
  display:block;width:auto;height:clamp(3rem,5.5vw,4.25rem);max-width:100%;
  margin:0 0 1.6rem;
}

/* -- Header ---------------------------------------------------------------- */
.header{
  position:sticky;top:0;z-index:60;
  background:rgba(255,255,255,.88);
  backdrop-filter:saturate(180%) blur(14px);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--line);
  transition:box-shadow .25s var(--ease);
}
.header.is-stuck{box-shadow:0 1px 20px rgba(12,13,11,.07)}
.header__inner{
  display:flex;align-items:center;justify-content:space-between;gap:1.5rem;
  min-height:78px;
}
.brand{display:flex;align-items:center;flex:none}
.brand img{height:38px;width:auto}

.nav{display:flex;align-items:center;gap:.15rem}
.nav__link{
  position:relative;display:block;
  padding:.6rem .8rem;
  font-family:var(--font-display);font-size:.93rem;font-weight:500;
  color:var(--ink);
  border-radius:var(--radius);
  transition:color .2s var(--ease),background .2s var(--ease);
  white-space:nowrap;
}
.nav__link:hover{color:var(--green-deep);background:var(--bg-soft)}
.nav__link[aria-current]{color:var(--green-deep)}
.nav__link[aria-current]::after{
  content:"";position:absolute;left:.8rem;right:.8rem;bottom:.28rem;height:2px;background:var(--green);
}
.nav__item{position:relative}
.nav__item--has-children > .nav__link{padding-right:1.5rem}
.nav__item--has-children > .nav__link::before{
  content:"";position:absolute;right:.72rem;top:50%;
  width:.38rem;height:.38rem;margin-top:-.25rem;
  border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;
  transform:rotate(45deg);opacity:.55;
  transition:transform .2s var(--ease);
}
.nav__sub{
  position:absolute;top:calc(100% + .35rem);left:0;
  min-width:14rem;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow-lg);
  padding:.4rem;
  list-style:none;margin:0;
  opacity:0;visibility:hidden;transform:translateY(-6px);
  transition:opacity .2s var(--ease),transform .2s var(--ease),visibility .2s;
}
.nav__item--has-children:hover .nav__sub,
.nav__item--has-children:focus-within .nav__sub{opacity:1;visibility:visible;transform:translateY(0)}
.nav__item--has-children:hover > .nav__link::before{transform:rotate(225deg);margin-top:-.05rem}
.nav__sub .nav__link{padding:.55rem .75rem;font-size:.9rem}
.nav__sub .nav__link[aria-current]::after{display:none}

.header__end{display:flex;align-items:center;gap:.6rem;flex:none}
.lang{
  display:inline-flex;align-items:center;
  padding:.42rem .78rem;
  font-family:var(--font-display);font-size:.82rem;font-weight:600;letter-spacing:.08em;
  border:1px solid var(--line);border-radius:var(--radius);
  transition:border-color .2s var(--ease),color .2s var(--ease);
}
.lang:hover{border-color:var(--ink);color:var(--green-deep)}

.burger{
  display:none;
  width:44px;height:44px;
  align-items:center;justify-content:center;
  background:none;border:1px solid var(--line);border-radius:var(--radius);
}
.burger span{position:relative;display:block;width:18px;height:1.5px;background:var(--ink);transition:background .2s}
.burger span::before,.burger span::after{
  content:"";position:absolute;left:0;width:18px;height:1.5px;background:var(--ink);
  transition:transform .25s var(--ease),top .25s var(--ease);
}
.burger span::before{top:-6px}
.burger span::after{top:6px}
.burger[aria-expanded="true"] span{background:transparent}
.burger[aria-expanded="true"] span::before{top:0;transform:rotate(45deg)}
.burger[aria-expanded="true"] span::after{top:0;transform:rotate(-45deg)}

@media (max-width:1040px){
  .burger{display:inline-flex}
  .nav{
    position:fixed;inset:78px 0 auto;
    flex-direction:column;align-items:stretch;gap:0;
    background:var(--white);
    border-bottom:1px solid var(--line);
    padding:.75rem var(--gutter) 1.75rem;
    max-height:calc(100dvh - 78px);overflow-y:auto;
    transform:translateY(-8px);opacity:0;visibility:hidden;
    transition:opacity .22s var(--ease),transform .22s var(--ease),visibility .22s;
  }
  .nav.is-open{opacity:1;visibility:visible;transform:translateY(0)}
  .nav__link{padding:.85rem .25rem;font-size:1.05rem;border-bottom:1px solid var(--line)}
  .nav__link[aria-current]::after{display:none}
  .nav__item--has-children > .nav__link::before{right:.35rem}
  .nav__sub{
    position:static;opacity:1;visibility:visible;transform:none;
    box-shadow:none;border:0;border-bottom:1px solid var(--line);
    padding:0 0 .5rem .9rem;border-radius:0;min-width:0;
  }
  .nav__sub .nav__link{border-bottom:0;font-size:.98rem;color:var(--grey-2);padding:.5rem .25rem}
}

/* -- Hero ------------------------------------------------------------------
   Full-width banner in the greenlab.lt idiom: a deep green gradient field with
   the laboratory photograph blended into the right-hand side. The photo is only
   1261px wide, so it is never asked to carry detail — it sits under a heavy
   overlay as texture, which is what lets a small source hold up full-bleed.
   -------------------------------------------------------------------------- */
.hero{
  position:relative;overflow:hidden;
  color:var(--white);
  background:linear-gradient(140deg,#06180A 0%,#0B2410 42%,#17400F 78%,#1E5613 100%);
  padding-block:clamp(4.5rem,11vw,8.5rem);
}
.hero__bg{
  position:absolute;inset:0;
  background-image:var(--hero-image);
  background-size:cover;
  background-position:72% center;
  opacity:.5;
  mix-blend-mode:luminosity;
  pointer-events:none;
}
.hero__bg::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(96deg,
    #06180A 12%,
    rgba(6,24,10,.9) 38%,
    rgba(9,34,14,.55) 62%,
    rgba(12,44,16,.3) 100%);
}
.hero::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(900px 620px at 84% 28%,rgba(120,184,51,.28),transparent 64%);
}
.hero__inner{position:relative;z-index:2;max-width:44rem}
.hero h1{
  margin-bottom:1.35rem;
  font-weight:500;
  text-transform:none;
  letter-spacing:-.02em;
  font-size:clamp(2.3rem,5.4vw,4rem);
  line-height:1.06;
}
.hero h1 em{font-style:normal;color:var(--green-bright)}
.hero .lead{color:rgba(255,255,255,.78);max-width:36rem}
.hero .eyebrow{color:var(--green-bright)}

/* Thin accent rule along the bottom edge, as on greenlab.lt */
.hero__rule{
  position:absolute;left:0;right:0;bottom:0;height:3px;z-index:3;
  background:linear-gradient(90deg,var(--green) 0%,rgba(120,184,51,.35) 45%,transparent 85%);
}

/* Page banner for interior pages — same green field as the hero, shallower */
.pagehead{
  position:relative;overflow:hidden;color:var(--white);
  background:linear-gradient(140deg,#06180A 0%,#0B2410 48%,#15390F 100%);
  padding-block:clamp(3.5rem,7vw,5.5rem);
}
.pagehead::before{
  content:"";position:absolute;inset:0;
  background:radial-gradient(820px 500px at 84% 22%,rgba(120,184,51,.26),transparent 64%);
}
.pagehead::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:3px;
  background:linear-gradient(90deg,var(--green) 0%,rgba(120,184,51,.3) 45%,transparent 85%);
}
.pagehead__inner{position:relative;z-index:1;max-width:52rem}
.pagehead h1{
  font-size:clamp(1.95rem,4.4vw,3.1rem);
  margin-bottom:.4rem;
  font-weight:500;text-transform:none;letter-spacing:-.02em;line-height:1.08;
}
.pagehead p{color:rgba(255,255,255,.72);margin-top:1rem;max-width:44rem}

.crumbs{
  display:flex;flex-wrap:wrap;gap:.45rem;align-items:center;
  font-family:var(--font-display);font-size:.82rem;letter-spacing:.04em;
  color:rgba(255,255,255,.55);margin-bottom:1.25rem;
}
.crumbs a:hover{color:var(--green-bright)}
.crumbs span[aria-hidden]{opacity:.45}

/* -- Stats ----------------------------------------------------------------- */
.stats{
  display:grid;gap:1px;background:var(--line);
  border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr));
}
.stat{background:var(--white);padding:clamp(1.5rem,3vw,2.25rem)}
.stat__num{
  font-family:var(--font-display);font-weight:600;
  font-size:clamp(2rem,3.6vw,2.75rem);line-height:1;
  color:var(--ink);letter-spacing:-.03em;
}
.stat__num span{color:var(--green)}
.stat__label{margin-top:.6rem;font-size:.92rem;color:var(--grey-2);line-height:1.5}

/* -- Cards ----------------------------------------------------------------- */
.card{
  position:relative;display:flex;flex-direction:column;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  transition:transform .28s var(--ease),box-shadow .28s var(--ease),border-color .28s var(--ease);
}
.card::before{
  content:"";position:absolute;top:0;left:0;right:0;height:3px;
  background:var(--green);
  transform:scaleX(0);transform-origin:left;
  transition:transform .32s var(--ease);
}
a.card:hover,.card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);border-color:transparent}
a.card:hover::before,.card:hover::before{transform:scaleX(1)}
.card__media{
  background:var(--bg-soft);
  display:grid;place-items:center;padding:1.5rem;overflow:hidden;
}
/* The image height is set explicitly rather than as a percentage: a
   percentage would need a definite block size on the grid area, which
   browsers do not reliably provide here. */
.card__media img{
  height:clamp(165px,16vw,225px);width:auto;max-width:100%;
  object-fit:contain;
  transition:transform .4s var(--ease);
}
.card:hover .card__media img{transform:scale(1.04)}
.card__body{padding:clamp(1.4rem,2.5vw,1.9rem);display:flex;flex-direction:column;flex:1}
.card__body h3{margin-bottom:.55rem}
.card__body p{color:var(--grey-2);font-size:.96rem}
.card__more{
  margin-top:auto;padding-top:1.1rem;
  font-family:var(--font-display);font-weight:600;font-size:.9rem;
  color:var(--green-deep);display:inline-flex;align-items:center;gap:.45rem;
}
.card__more::after{content:"→";transition:transform .25s var(--ease)}
.card:hover .card__more::after{transform:translateX(4px)}

/* -- Product cards (real product photography + specs) ---------------------- */
.product{
  display:flex;flex-direction:column;
  background:var(--white);
  border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;
  transition:transform .28s var(--ease),box-shadow .28s var(--ease);
}
.product:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.product__media{
  display:grid;place-items:center;
  padding:2rem 1.5rem 1.25rem;
  background:
    radial-gradient(closest-side,rgba(120,184,51,.09),transparent 72%),
    var(--white);
}
.product__media img{
  height:clamp(230px,24vw,300px);width:auto;max-width:100%;
  object-fit:contain;
  filter:drop-shadow(0 14px 26px rgba(12,13,11,.14));
  transition:transform .4s var(--ease);
}
.product:hover .product__media img{transform:translateY(-5px) scale(1.02)}
.product__body{padding:0 clamp(1.4rem,2.5vw,1.75rem) clamp(1.4rem,2.5vw,1.75rem)}
.product__body h3{
  font-size:1.5rem;margin-bottom:1rem;
  padding-bottom:.75rem;border-bottom:2px solid var(--green);
  display:inline-block;
}
.spec{margin:0;display:grid;gap:.6rem}
.spec > div{display:grid;grid-template-columns:auto 1fr;gap:.75rem;align-items:baseline}
.spec dt{
  font-family:var(--font-display);font-size:.7rem;font-weight:600;
  letter-spacing:.12em;text-transform:uppercase;color:var(--green-deep);
  white-space:nowrap;
}
.spec dd{margin:0;font-size:.9rem;color:var(--grey-2);text-align:right}

/* -- Feature rows (image + text, alternating) ------------------------------ */
.feature{display:grid;gap:clamp(2rem,4vw,3.5rem);align-items:center}
@media (min-width:880px){
  .feature{grid-template-columns:1fr 1fr}
  .feature--flip .feature__media{order:2}
}
.feature__media{
  background:var(--bg-soft);border:1px solid var(--line);border-radius:var(--radius);
  padding:clamp(1.25rem,3vw,2.5rem);
}
.feature__media img{width:100%;border-radius:2px}
.feature + .feature{margin-top:clamp(3rem,6vw,5rem)}

/* -- Captioned diagram ----------------------------------------------------- */
.figure{
  margin:0;
  display:flex;flex-direction:column;height:100%;
  background:var(--bg-soft);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  transition:border-color .25s var(--ease),box-shadow .25s var(--ease);
}
.figure:hover{border-color:var(--green);box-shadow:var(--shadow)}

/* The media is a button: clicking opens the lightbox. A fixed height is what
   lets a row of diagrams line up despite their different aspect ratios —
   object-fit letterboxes each one inside the same box. */
.figure__media{
  position:relative;
  flex:1;
  display:grid;place-items:center;
  width:100%;
  height:clamp(200px,22vw,290px);
  padding:clamp(1rem,2.2vw,1.75rem);
  background:var(--white);
  border:0;
  cursor:zoom-in;
  overflow:hidden;
}
.figure__media img{
  width:100%;height:100%;
  object-fit:contain;
  transition:transform .4s var(--ease);
}
.figure:hover .figure__media img{transform:scale(1.03)}

.figure__zoom{
  position:absolute;inset:0;
  display:grid;place-items:center;
  background:rgba(12,13,11,.42);
  opacity:0;
  transition:opacity .25s var(--ease);
}
.figure__zoom .icon{
  width:46px;height:46px;
  color:var(--white);
  padding:.6rem;
  background:rgba(120,184,51,.92);
  border-radius:50%;
  box-sizing:content-box;
  transform:scale(.86);
  transition:transform .25s var(--ease);
}
.figure__media:hover .figure__zoom,
.figure__media:focus-visible .figure__zoom{opacity:1}
.figure__media:hover .figure__zoom .icon,
.figure__media:focus-visible .figure__zoom .icon{transform:scale(1)}
/* Touch devices have no hover, so keep the affordance permanently visible */
@media (hover:none){
  .figure__zoom{opacity:1;background:transparent}
  .figure__zoom .icon{
    position:absolute;right:.6rem;bottom:.6rem;
    width:26px;height:26px;padding:.42rem;transform:none;
  }
}

.figure figcaption{
  padding:.9rem clamp(1.25rem,3vw,1.75rem);
  border-top:1px solid var(--line);
  font-family:var(--font-display);
  font-size:.92rem;font-weight:500;
  letter-spacing:.01em;
  color:var(--grey-2);
  text-wrap:balance;
}
/* A green tick of colour to tie the caption to the rest of the page */
.figure figcaption::before{
  content:"";display:inline-block;vertical-align:middle;
  width:1rem;height:2px;margin-right:.65rem;
  background:var(--green);
}

/* -- Lightbox -------------------------------------------------------------- */
.lightbox{
  border:0;padding:0;
  max-width:min(1500px,94vw);
  max-height:94vh;
  width:auto;
  background:var(--white);
  border-radius:var(--radius);
  box-shadow:0 40px 100px rgba(0,0,0,.45);
  overflow:visible;
}
.lightbox::backdrop{background:rgba(6,24,10,.86)}
.lightbox[open]{
  display:flex;flex-direction:column;
  animation:lightboxIn .22s var(--ease);
}
@keyframes lightboxIn{from{opacity:0;transform:scale(.97)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.lightbox[open]{animation:none}}

.lightbox__img{
  display:block;
  /* Full size where it fits, scaled down to the viewport where it does not */
  max-width:min(1400px,94vw);
  max-height:calc(94vh - 4.5rem);
  width:auto;height:auto;
  margin:auto;
  padding:clamp(1rem,2.5vw,2rem);
}
.lightbox__caption{
  margin:0;
  padding:.85rem clamp(1rem,2.5vw,2rem);
  border-top:1px solid var(--line);
  background:var(--bg-soft);
  font-family:var(--font-display);font-size:.95rem;font-weight:500;
  color:var(--grey-2);
}
.lightbox__close{
  position:absolute;top:-.85rem;right:-.85rem;z-index:2;
  width:44px;height:44px;
  display:grid;place-items:center;
  background:var(--ink);color:var(--white);
  border:2px solid var(--white);border-radius:50%;
  box-shadow:0 4px 16px rgba(0,0,0,.35);
  transition:background .2s var(--ease),transform .2s var(--ease);
}
.lightbox__close:hover{background:var(--green);transform:rotate(90deg)}
.lightbox__close .icon{width:18px;height:18px}
@media (max-width:600px){
  .lightbox__close{top:.5rem;right:.5rem;width:38px;height:38px;border-width:0}
}
body.lightbox-open{overflow:hidden}

/* -- Prose ----------------------------------------------------------------- */
.prose{max-width:46rem;font-size:1.03rem}
.prose h2{margin-top:2.5em}
.prose h2:first-child{margin-top:0}
.prose h3{margin-top:2em}
.prose ul{padding-left:0;list-style:none;margin:0 0 1.4em}
.prose ul li{position:relative;padding-left:1.6rem;margin-bottom:.55rem}
.prose ul li::before{
  content:"";position:absolute;left:0;top:.6em;
  width:.5rem;height:.5rem;background:var(--green);border-radius:1px;
}
.prose a:not(.btn){color:var(--green-deep);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.prose a:not(.btn):hover{color:var(--ink)}

/* Standards / spec list */
.speclist{list-style:none;margin:0 0 1.5em;padding:0;display:grid;gap:.85rem}
.speclist li{
  display:grid;grid-template-columns:auto 1fr;gap:.9rem;align-items:start;
  padding:1rem 1.15rem;
  background:var(--bg-soft);border-left:3px solid var(--green);border-radius:2px;
  font-size:.98rem;
}
.speclist li::before{
  content:"";width:.5rem;height:.5rem;margin-top:.55em;background:var(--green);border-radius:1px;
}

/* -- Chips / tags ---------------------------------------------------------- */
.chips{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 1.5rem;padding:0;list-style:none}
.chip{
  font-family:var(--font-display);font-weight:600;font-size:.82rem;letter-spacing:.05em;
  padding:.35rem .8rem;border:1px solid var(--line);border-radius:100px;
  color:var(--grey-2);background:var(--white);
}
.chip--green{background:var(--green);border-color:var(--green);color:var(--white)}

/* -- Hazard symbols -------------------------------------------------------- */
.hazard{
  display:grid;gap:1.5rem;
  grid-template-columns:auto 1fr;
  padding:clamp(1.5rem,3vw,2rem);
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
  height:100%;
}
.hazard__icon{width:76px;flex:none}
.hazard h3{font-size:1.12rem;margin-bottom:.4rem}
.hazard p{font-size:.94rem;color:var(--grey-2);margin-bottom:.9rem}
.hazard ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.4rem}
.hazard ul li{
  font-size:.84rem;color:var(--grey-2);
  padding:.25rem .65rem;background:var(--bg-soft);border-radius:100px;
}
@media (max-width:520px){.hazard{grid-template-columns:1fr}}

/* -- Packaging / project galleries ----------------------------------------- */
.packgroup{
  border:1px solid var(--line);border-radius:var(--radius);
  background:var(--white);overflow:hidden;
}
.packgroup + .packgroup{margin-top:1.25rem}
.packgroup__head{
  display:flex;flex-wrap:wrap;align-items:baseline;gap:.75rem 1.25rem;
  padding:1.1rem clamp(1.1rem,2.5vw,1.75rem);
  border-bottom:1px solid var(--line);background:var(--bg-soft);
}
.packgroup__vol{
  font-family:var(--font-display);font-weight:600;font-size:1.35rem;letter-spacing:-.02em;
}
.packgroup__mat{
  font-family:var(--font-display);font-size:.78rem;font-weight:600;
  letter-spacing:.12em;text-transform:uppercase;
  color:var(--white);background:var(--ink-3);
  padding:.22rem .65rem;border-radius:100px;
}
.packgroup__mat[data-mat="Metalas"],.packgroup__mat[data-mat="Metal"]{background:var(--grey-2)}
/* auto-fill keeps every cell the same width across groups. Empty trailing
   tracks stay white rather than showing the divider colour. */
.packgrid{
  display:grid;background:var(--white);
  grid-template-columns:repeat(auto-fill,minmax(min(100%,11rem),1fr));
}
.packgrid figure{
  margin:0;background:var(--white);
  padding:1.5rem 1rem 1.1rem;
  display:flex;flex-direction:column;align-items:center;gap:.85rem;
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
  transition:background .25s var(--ease);
}
.packgrid figure:hover{background:var(--bg-soft)}
.packgrid img{
  height:190px;width:auto;object-fit:contain;
  transition:transform .35s var(--ease);
}
.packgrid figure:hover img{transform:scale(1.06)}
.packgrid figcaption{
  font-size:.82rem;color:var(--grey-2);text-align:center;line-height:1.4;
}

/* -- Documents ------------------------------------------------------------- */
.doclist{list-style:none;margin:0;padding:0;display:grid;gap:.6rem}
.doc{
  display:flex;align-items:center;gap:1rem;
  padding:1rem 1.25rem;
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
  transition:border-color .22s var(--ease),transform .22s var(--ease),box-shadow .22s var(--ease);
}
.doc:hover{border-color:var(--green);transform:translateX(3px);box-shadow:var(--shadow)}
.doc__icon{
  flex:none;width:38px;height:44px;
  display:grid;place-items:center;
  background:var(--bg-soft);border:1px solid var(--line);border-radius:2px;
  font-family:var(--font-display);font-size:.62rem;font-weight:700;letter-spacing:.05em;
  color:var(--grey-2);
}
.doc:hover .doc__icon{background:var(--green);border-color:var(--green);color:var(--white)}
.doc__label{font-family:var(--font-display);font-weight:600;font-size:1rem;flex:1}
.doc__meta{font-size:.82rem;color:var(--grey);font-family:var(--font-display);letter-spacing:.03em}
.doc__dl{flex:none;color:var(--grey);transition:color .22s var(--ease)}
.doc:hover .doc__dl{color:var(--green)}
.doc__dl svg{width:20px;height:20px}

/* -- Accordion (useful info) ----------------------------------------------- */
.acc{border-top:1px solid var(--line)}
.acc details{border-bottom:1px solid var(--line)}
.acc summary{
  display:flex;align-items:flex-start;gap:1rem;
  padding:1.35rem .25rem;cursor:pointer;list-style:none;
  font-family:var(--font-display);font-weight:600;font-size:clamp(1.02rem,1.6vw,1.15rem);
  line-height:1.4;
  transition:color .2s var(--ease);
}
.acc summary::-webkit-details-marker{display:none}
.acc summary:hover{color:var(--green-deep)}
.acc summary::after{
  content:"";flex:none;margin-left:auto;margin-top:.42em;
  width:.6rem;height:.6rem;
  border-right:2px solid var(--green);border-bottom:2px solid var(--green);
  transform:rotate(45deg);
  transition:transform .25s var(--ease);
}
.acc details[open] summary::after{transform:rotate(225deg);margin-top:.6em}
.acc__body{padding:0 3rem 1.6rem .25rem;color:var(--grey-2);font-size:1rem}
.acc__num{
  flex:none;font-family:var(--font-display);font-weight:600;font-size:.8rem;
  color:var(--green);letter-spacing:.08em;margin-top:.35em;
}

/* -- Contact --------------------------------------------------------------- */
.contact{display:grid;gap:clamp(2.5rem,5vw,4rem)}
@media (min-width:900px){.contact{grid-template-columns:.9fr 1.1fr}}
.infolist{list-style:none;margin:0;padding:0;display:grid;gap:1.5rem}
.infolist dt,.infolist .k{
  font-family:var(--font-display);font-size:.76rem;font-weight:600;
  letter-spacing:.14em;text-transform:uppercase;color:var(--green-deep);
  margin-bottom:.3rem;
}
.infolist .v{font-size:1.05rem;line-height:1.6}
.infolist .v a:hover{color:var(--green-deep);text-decoration:underline;text-underline-offset:3px}

.form{display:grid;gap:1.15rem}
.field{display:grid;gap:.45rem}
.field label{
  font-family:var(--font-display);font-size:.82rem;font-weight:600;
  letter-spacing:.08em;text-transform:uppercase;color:var(--grey-2);
}
.field label .req{color:var(--green)}
.field input,.field textarea{
  font:inherit;font-size:1rem;
  padding:.85rem 1rem;
  color:var(--ink);background:var(--white);
  border:1px solid var(--line);border-radius:var(--radius);
  transition:border-color .2s var(--ease),box-shadow .2s var(--ease);
  width:100%;
}
.field input:focus,.field textarea:focus{
  outline:none;border-color:var(--green);
  box-shadow:0 0 0 3px rgba(120,184,51,.15);
}
.field textarea{min-height:9rem;resize:vertical}
.form__note{font-size:.85rem;color:var(--grey)}
.form__msg{
  padding:.9rem 1.1rem;border-radius:var(--radius);font-size:.95rem;
  border:1px solid;
}
.form__msg[data-state="ok"]{background:rgba(120,184,51,.1);border-color:var(--green);color:var(--green-deep)}
.form__msg[data-state="err"]{background:#FDF2F2;border-color:#E4B3B3;color:#9B2C2C}
.form__msg[hidden]{display:none}
/* honeypot */
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

.findus{
  display:grid;gap:2rem;align-items:center;
  padding:clamp(1.75rem,4vw,2.75rem);
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
}
@media (min-width:760px){.findus{grid-template-columns:1fr auto}}
.findus h2{margin-bottom:.35rem}
.findus .lead{margin:0}

/* -- CTA band -------------------------------------------------------------- */
.cta{
  position:relative;overflow:hidden;color:var(--white);
  background:linear-gradient(120deg,#06180A 0%,#0C2711 55%,#1A4A12 100%);
  padding-block:clamp(3.5rem,7vw,5.5rem);
}
.cta::before{
  content:"";position:absolute;inset:0;
  background:radial-gradient(760px 460px at 18% 45%,rgba(120,184,51,.24),transparent 66%);
}
.cta h2{font-weight:500;letter-spacing:-.02em}
.cta__inner{position:relative;z-index:1;display:grid;gap:2rem;align-items:center}
@media (min-width:820px){.cta__inner{grid-template-columns:1.4fr auto}}
.cta h2{margin-bottom:.6rem}
.cta p{color:rgba(255,255,255,.7);max-width:36rem;margin:0}

/* -- Footer ---------------------------------------------------------------- */
.footer{
  background:#06180A;color:rgba(255,255,255,.66);
  padding-block:clamp(3rem,6vw,4.5rem) 0;
  border-top:1px solid var(--line-dark);
}
.footer__grid{display:grid;gap:clamp(2rem,4vw,3rem);grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr))}
.footer__brand{max-width:22rem}
.footer__brand img{height:34px;margin-bottom:1.1rem}
.footer__brand p{font-size:.93rem;line-height:1.65}
.footer h4{
  font-family:var(--font-display);font-size:.76rem;font-weight:600;
  letter-spacing:.14em;text-transform:uppercase;color:var(--white);margin-bottom:1.1rem;
}
.footer ul{list-style:none;margin:0;padding:0;display:grid;gap:.6rem}
.footer a{font-size:.93rem;transition:color .2s var(--ease)}
.footer a:hover{color:var(--green-bright)}
.footer__bar{
  margin-top:clamp(2.5rem,5vw,3.5rem);
  padding-block:1.5rem;
  border-top:1px solid var(--line-dark);
  display:flex;flex-wrap:wrap;gap:.75rem 1.5rem;justify-content:space-between;
  font-size:.85rem;
}

/* -- Reveal on scroll ------------------------------------------------------ */
/* Scoped to .js: only hide what JavaScript can later reveal. Without this the
   whole site renders blank when scripting is off, because .is-in never lands. */
.js .reveal{opacity:0;transform:translateY(18px)}
.js .reveal.is-in{opacity:1;transform:none;transition:opacity .7s var(--ease),transform .7s var(--ease)}
@media (prefers-reduced-motion:reduce){.js .reveal{opacity:1;transform:none}}

/* -- Utilities ------------------------------------------------------------- */
.skip{
  position:absolute;left:-9999px;top:0;z-index:100;
  background:var(--green);color:var(--white);padding:.75rem 1.25rem;font-weight:600;
}
.skip:focus{left:0}
.visually-hidden{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}
body.nav-open{overflow:hidden}

/* -- Icons ----------------------------------------------------------------- */
.icon{
  width:1em;height:1em;display:block;flex:none;
  color:var(--green);
  stroke-width:1.4;
}

/* An icon that sits inside a line of text, rather than standing on its own:
   it takes the colour and size of that text instead of the icon set's green.
   Must come after `.icon` above, which would otherwise win on source order. */
.icon--inline{
  display:inline-block;vertical-align:-.12em;
  color:inherit;stroke-width:1.8;
  margin-left:.35em;
}
.btn .icon--inline{
  margin-left:0;vertical-align:0;   /* .btn spaces it with `gap` */
  /* A button label is 600 weight; a 1.8 stroke beside it looks faint at
     rest and only seems to appear when hover darkens the background. */
  stroke-width:2.2;height:1.05em;
}

/* Icon set inline with the page-banner heading */
.pagehead__title{
  display:flex;align-items:center;
  gap:clamp(.85rem,2vw,1.35rem);
}
.pagehead__title h1{margin-bottom:0}
.pagehead__icon{display:block;flex:none}
.pagehead__icon .icon{
  width:clamp(38px,4.6vw,58px);height:clamp(38px,4.6vw,58px);
  color:var(--green-bright);
}
/* Below the heading, the intro paragraph keeps its own spacing */
.pagehead__title + p{margin-top:1rem}

/* Category card that leads with an icon instead of a photograph */
.card__media--icon{
  display:grid;place-items:center;
  height:clamp(150px,15vw,190px);
  background:
    radial-gradient(closest-side,rgba(120,184,51,.12),transparent 75%),
    var(--bg-soft);
}
.card__media--icon .icon{
  width:clamp(64px,7vw,84px);height:clamp(64px,7vw,84px);
  color:var(--green);
  transition:transform .35s var(--ease),color .25s var(--ease);
}
.card:hover .card__media--icon .icon{transform:scale(1.06);color:var(--green-deep)}

/* Feature row that leads with an oversized icon instead of a photograph */
.feature__media--icon{
  display:grid;place-items:center;
  min-height:clamp(240px,26vw,360px);
  background:
    radial-gradient(closest-side,rgba(120,184,51,.14),transparent 78%),
    var(--white);
}
.feature__media--icon .icon{
  width:clamp(120px,17vw,220px);height:clamp(120px,17vw,220px);
  color:var(--green);
  stroke-width:1.1;   /* thinner stroke, so the shape stays elegant when scaled up */
}

/* Two or more cards stacked in one column of a feature row */
.stack{display:flex;flex-direction:column;gap:clamp(1rem,2vw,1.5rem)}

/* -- Email address --------------------------------------------------------- */
/* JS swaps this for a real mailto link. The " [at] " separator only shows if
   JS is unavailable, where it keeps the address readable to a person while
   still not matching a user@host regex. */
.mail{word-break:break-word}
.mail__at{white-space:nowrap}
