/* =========================================================
   Shared interior-page system (What We Do, Investors)
   Loads AFTER style.css + home-alt.css (nav, footer, green
   scheme vars, .a-eyebrow, .container, .reveal).

   Editorial and deliberately plain: split hero, uppercase
   section titles, bold sub-heading + short paragraph, large
   photography. No cards, badges, pills or shadows.
   All selectors namespaced .wd-*.
========================================================= */
/* The hero runs the full height of the screen and passes behind the fixed
   header, so the page starts at y=0 and the header stays transparent until
   the first scroll (style.css already styles that state white-on-photo). */
body{padding-top:0}

/* =========================================================
   1. HERO — text on the left, photo bleeding to the right edge
========================================================= */
/* The copy sits in the site's own .container, so it lines up with every
   section below it by construction; the photo bleeds off the right edge
   behind it. No viewport maths, nothing to drift when a scrollbar appears. */
.wd-hero{position:relative;background:#fff;overflow:hidden;min-height:100vh;display:flex;align-items:center}
.wd-hero .container{position:relative;z-index:1;width:100%}
.wd-hero-txt{width:36%;max-width:400px;padding:7rem 2.5rem 5rem 0;
  display:flex;flex-direction:column;justify-content:center}
.wd-crumb{font-size:.78rem;color:var(--muted);margin:0 0 2.4rem;letter-spacing:.3px}
.wd-crumb a{color:var(--muted)}
.wd-crumb a:hover{color:var(--blue-deep)}
.wd-crumb b{color:var(--navy);font-weight:600}
.wd-hero h1{
  font-size:clamp(2.1rem,4vw,3.1rem);line-height:1.05;color:var(--navy);
  text-transform:uppercase;letter-spacing:1px;font-weight:800;margin:0 0 1.4rem;
}
.wd-hero p{color:var(--muted);font-size:1.02rem;line-height:1.85;margin:0;max-width:44ch}
.wd-hero p b{display:block;color:var(--ink);font-weight:700;margin-bottom:.5rem}
/* Two rules in one: on wide screens the left edge tracks the container so the
   gap to the copy stays constant; below that a flat 40% keeps the photo from
   creeping over the text. max() picks whichever is safe at the current width. */
.wd-hero-img{position:absolute;top:0;right:0;bottom:0;overflow:hidden;
  left:max(40%, calc(50% - var(--maxw) / 2 + var(--maxw) * .38));width:auto;background:#eef2f6}
.wd-hero-img picture{display:block;width:100%;height:100%}
.wd-hero-img img{width:100%;height:100%;object-fit:cover;display:block}
/* The header spans both halves of the hero — copy column and photo — so the
   nav stays dark and the photo gets a soft light wash under it instead.
   (A white nav would vanish over the white column on the left.) */
.wd-hero-img::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.92) 0,rgba(255,255,255,.55) 11%,rgba(255,255,255,0) 30%)}
.site-header{border-bottom-color:transparent}
.site-header:not(.scrolled) .brand img{filter:none}
.site-header:not(.scrolled) .primary>li>a{color:var(--navy);text-shadow:none}
.site-header:not(.scrolled) .primary>li>a::after{background:var(--navy)}
.site-header:not(.scrolled) .nav-tools,
.site-header:not(.scrolled) .nav-tools .icon-btn{color:var(--navy)}
.site-header:not(.scrolled) .lang{color:var(--muted)}
.site-header:not(.scrolled) .lang b{color:var(--navy)}
.site-header:not(.scrolled) .hamburger span{background:var(--navy)}

/* =========================================================
   2. SECTION RHYTHM
========================================================= */
.wd-sec{padding:5.5rem 0}
.wd-sec.line{border-top:1px solid var(--line)}
.wd-sec.soft{background:var(--paper)}

.wd-kicker{display:block;font-size:.71rem;font-weight:800;letter-spacing:2.6px;text-transform:uppercase;
  color:var(--blue);margin:0 0 1.1rem}
.wd-h2{font-size:clamp(1.5rem,2.9vw,2.25rem);line-height:1.15;color:var(--navy);text-transform:uppercase;
  letter-spacing:.6px;font-weight:800;margin:0 0 1.5rem;max-width:20ch}
.wd-h2.wide{max-width:28ch}
.wd-intro{color:var(--muted);font-size:1.04rem;line-height:1.9;margin:0;max-width:62ch}
.wd-intro+.wd-intro{margin-top:1.1rem}
.wd-intro strong{color:var(--ink);font-weight:600}

/* centred section head (used above photo grids) */
.wd-head-c{text-align:center;max-width:62ch;margin:0 auto 3rem}
.wd-head-c .wd-h2{max-width:none;margin-left:auto;margin-right:auto}
.wd-head-c .wd-intro{margin:0 auto}

/* =========================================================
   3. TWO-COLUMN: copy beside a photo
========================================================= */
.wd-two{display:grid;grid-template-columns:1fr 1fr;gap:4.5rem;align-items:start}
.wd-two.narrow-media{grid-template-columns:1.15fr .85fr}
.wd-two.rev .wd-figure{order:-1}
.wd-figure{margin:0}
.wd-figure picture{display:block}
.wd-figure img{display:block;width:100%;height:auto;background:#eef2f6}
.wd-figure figcaption{margin-top:.8rem;font-size:.8rem;color:var(--muted);letter-spacing:.3px}
.wd-figure+.wd-figure{margin-top:1.6rem}
.wd-figure.tall img{aspect-ratio:3/4;object-fit:cover}
.wd-figure.wide img{aspect-ratio:4/3;object-fit:cover}
/* 16:9 source shown uncropped */
.wd-figure.film img{aspect-ratio:16/9;object-fit:cover}
.wd-figure.full{margin-bottom:3rem}

/* =========================================================
   3b. STATEMENT BAND — one full-bleed photo, one sentence
========================================================= */
.wd-band{position:relative;min-height:400px;display:flex;align-items:center;overflow:hidden;background:#0c1526}
.wd-band picture{position:absolute;inset:0}
.wd-band img{width:100%;height:100%;object-fit:cover;display:block}
.wd-band::after{content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(6,16,11,.88) 0%,rgba(6,16,11,.62) 52%,rgba(6,16,11,.30) 100%)}
/* width:100% — as a flex item .container would otherwise shrink to its text
   and centre itself, breaking alignment with every other section */
.wd-band .container{position:relative;z-index:2;width:100%;padding-top:3.5rem;padding-bottom:3.5rem}
.wd-band .wd-kicker{color:#8fe0b0}
.wd-band p{color:#fff;font-size:clamp(1.25rem,2.5vw,1.95rem);line-height:1.35;font-weight:600;
  margin:0;max-width:26ch}
.wd-band small{display:block;margin-top:1.3rem;color:rgba(255,255,255,.78);font-size:.94rem;
  line-height:1.7;max-width:46ch}

/* =========================================================
   4. ITEM STACK — the repeating unit: bold head + short copy
========================================================= */
.wd-items{margin:2.6rem 0 0}
.wd-item{padding:1.6rem 0;border-top:1px solid var(--line)}
.wd-item:first-child{border-top:none;padding-top:0}
.wd-item h3{font-size:1.05rem;color:var(--navy);font-weight:700;margin:0 0 .55rem;letter-spacing:.2px}
.wd-item h3 i{font-style:normal;color:var(--blue);font-weight:800;font-size:.78rem;letter-spacing:1.4px;
  margin-right:.7rem;vertical-align:1px}
.wd-item p{margin:0;color:var(--muted);line-height:1.85;font-size:.97rem;max-width:60ch}
.wd-item p+p{margin-top:.7rem}

/* small grey supporting line: "Machinery — Thies, Monforts, …" */
.wd-meta{margin:.9rem 0 0;font-size:.85rem;line-height:1.7;color:var(--muted);max-width:60ch}
.wd-meta b{color:var(--ink);font-weight:700;letter-spacing:.4px}

/* =========================================================
   5. PLAIN LISTS — portfolios, fibres, product types
========================================================= */
.wd-list{list-style:none;margin:1.6rem 0 0;padding:0;display:grid;grid-template-columns:1fr 1fr;
  gap:0 3rem}
.wd-list.c3{grid-template-columns:repeat(3,1fr)}
.wd-list.c1{grid-template-columns:1fr}
.wd-list li{padding:.7rem 0;border-bottom:1px solid var(--line);color:var(--ink);font-size:.95rem;
  line-height:1.5}
.wd-list li span{display:block;color:var(--muted);font-size:.85rem;margin-top:.2rem}

/* =========================================================
   6. PHOTO GRID — pillars / product types
========================================================= */
.wd-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:1.6rem}
.wd-tiles.c4{grid-template-columns:repeat(4,1fr)}
.wd-tile{display:block;color:inherit}
/* 3:2 — the product photography is 16:9 with wide compositions (flat-lays,
   group shots), so a portrait crop would cut the subject in half */
.wd-tile-img{position:relative;overflow:hidden;background:#eef2f6;aspect-ratio:3/2}
.wd-tile-img picture{display:block;width:100%;height:100%}
.wd-tile-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .7s ease}
.wd-tile:hover .wd-tile-img img{transform:scale(1.04)}
.wd-tile h3{font-size:1.02rem;color:var(--navy);margin:1rem 0 .4rem;text-transform:uppercase;
  letter-spacing:1.2px;font-weight:800}
.wd-tile p{margin:0;color:var(--muted);font-size:.92rem;line-height:1.7}
.wd-tile-go{display:inline-block;margin-top:.8rem;font-size:.82rem;font-weight:700;color:var(--blue-deep);
  letter-spacing:.4px;border-bottom:1px solid transparent;transition:border-color .2s}
.wd-tile:hover .wd-tile-go{border-bottom-color:var(--blue-deep)}

/* =========================================================
   7. FIGURES ROW — a plain set of numbers, no boxes
========================================================= */
.wd-figures{display:grid;grid-template-columns:repeat(4,1fr);gap:3rem;margin-top:1rem}
.wd-fig b{display:block;font-size:2.4rem;font-weight:800;color:var(--navy);line-height:1;margin-bottom:.7rem}
.wd-fig span{display:block;color:var(--muted);font-size:.92rem;line-height:1.6}
.wd-fig.tbc b{font-size:1.02rem;color:var(--muted);font-weight:700;letter-spacing:.4px;padding-top:.9rem}
.wd-footnote{margin:2.6rem 0 0;font-size:.85rem;color:var(--muted);line-height:1.7;
  padding-top:1.2rem;border-top:1px solid var(--line)}
.wd-footnote b{color:var(--acc)}

/* =========================================================
   8. CTA — quiet, one line and one link
========================================================= */
.wd-cta{border-top:1px solid var(--line);padding:4.5rem 0;text-align:center}
.wd-cta h2{font-size:clamp(1.4rem,2.4vw,2rem);color:var(--navy);text-transform:uppercase;letter-spacing:.6px;
  margin:0 0 1rem}
.wd-cta p{color:var(--muted);max-width:56ch;margin:0 auto 2rem;line-height:1.8}
.wd-cta .btns{display:flex;gap:2rem;justify-content:center;flex-wrap:wrap;align-items:center}
.wd-cta .go{display:inline-flex;align-items:center;gap:.6rem;background:var(--navy);color:#fff;
  padding:.95rem 2rem;font-weight:700;font-size:.88rem;letter-spacing:.4px;transition:background .2s}
.wd-cta .go:hover{background:var(--blue-deep)}
.wd-cta .plain{font-weight:700;font-size:.88rem;color:var(--navy);border-bottom:1px solid var(--line);
  padding-bottom:2px;transition:border-color .2s}
.wd-cta .plain:hover{border-bottom-color:var(--navy)}

/* =========================================================
   9. RESPONSIVE
========================================================= */
@media (max-width:1100px){
  .wd-hero{grid-template-columns:44% 56%}
  .wd-two{gap:3rem}
  .wd-figures{gap:2rem}
}
@media (max-width:992px){
  /* the photo no longer runs behind the header, so it goes solid white again */
  body{padding-top:84px}
  .site-header,.site-header:not(.scrolled){background:#fff;border-bottom:2px solid var(--navy)}
  /* photo returns to the flow and leads the page, copy sits underneath */
  .wd-hero{min-height:0;display:block}
  .wd-hero-img{position:static;left:auto;width:100%;height:58vw;min-height:300px;max-height:70vh}
  .wd-hero-img::after{display:none}
  .wd-hero-txt{width:100%;max-width:none;min-height:0;padding:2.6rem 0 3rem}
  .wd-crumb{margin-bottom:1.4rem}
  .wd-hero p{max-width:none}
  .wd-sec{padding:3.8rem 0}
  .wd-two,.wd-two.narrow-media{grid-template-columns:1fr;gap:2.4rem}
  .wd-two.rev .wd-figure{order:0}
  .wd-band{min-height:0}
  .wd-band .container{padding-top:3rem;padding-bottom:3rem}
  .wd-tiles,.wd-tiles.c4{grid-template-columns:1fr 1fr}
  .wd-figures{grid-template-columns:1fr 1fr;gap:2.2rem}
  .wd-figure.tall img{aspect-ratio:4/3}
}
@media (max-width:620px){
  .wd-list,.wd-list.c3{grid-template-columns:1fr}
  .wd-tiles,.wd-tiles.c4{grid-template-columns:1fr}
  .wd-figures{grid-template-columns:1fr}
  .wd-h2{max-width:none}
}

/* =========================================================
   UTILITY PAGES — sitemap.html and search.html.
   Required by S.R.O. 1196(I)/2019 clause 1(c)(vi) and (vii).
   They open on a plain band rather than a photograph, so the
   fixed header has to start in its solid state: its default
   transparent state paints the nav white, which would be
   invisible here.
========================================================= */
body.solid-nav .site-header{background:#fff;border-bottom:2px solid var(--navy)}
body.solid-nav .site-header:not(.scrolled) .brand img{filter:none}
body.solid-nav .site-header:not(.scrolled) .primary>li>a{color:var(--navy);text-shadow:none}
body.solid-nav .site-header:not(.scrolled) .primary>li>a::after{background:var(--navy)}
body.solid-nav .site-header:not(.scrolled) .nav-tools,
body.solid-nav .site-header:not(.scrolled) .nav-tools .icon-btn{color:var(--navy)}
body.solid-nav .site-header:not(.scrolled) .lang{color:var(--muted)}
body.solid-nav .site-header:not(.scrolled) .lang b{color:var(--navy)}
body.solid-nav .site-header:not(.scrolled) .hamburger span{background:var(--navy)}

.wd-hero.plain{min-height:0;display:block;background:var(--paper);
  border-bottom:1px solid var(--line)}
.wd-hero.plain .wd-hero-txt{width:100%;max-width:none;padding:8.5rem 0 3.2rem}
.wd-hero.plain p{max-width:64ch}
.wd-hero.plain p a{color:var(--blue-deep);font-weight:600}
.wd-hero.plain p a:hover{text-decoration:underline}

/* ---- site map ---- */
.sm-group{display:grid;grid-template-columns:minmax(0,260px) minmax(0,1fr);gap:2.4rem;
  padding:2.4rem 0;border-top:1px solid var(--line)}
.sm-group:first-child{border-top:0;padding-top:.6rem}
.sm-head h2{margin:0 0 .6rem}
.sm-head p{margin:0;color:var(--muted);font-size:.92rem;line-height:1.7}
.sm-list{list-style:none;margin:0;padding:0;display:grid;
  grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:.2rem 2rem}
.sm-list a{display:block;padding:.7rem 0;border-bottom:1px solid var(--line)}
.sm-list .t{display:block;font-weight:700;color:var(--navy);font-size:.95rem}
.sm-list .d{display:block;color:var(--muted);font-size:.82rem;line-height:1.55;margin-top:.15rem}
.sm-list a:hover .t{color:var(--blue-deep)}

/* ---- search ---- */
.sr-form{display:flex;flex-direction:column;gap:.5rem;max-width:640px}
.sr-form label{font-size:.78rem;font-weight:800;letter-spacing:1.4px;
  text-transform:uppercase;color:var(--blue-deep)}
.sr-form input{font:inherit;font-size:1.05rem;padding:.9rem 1rem;border:1px solid var(--line);
  border-radius:3px;background:#fff;color:var(--ink);width:100%}
.sr-form input:focus{outline:2px solid var(--blue-deep);outline-offset:1px;
  border-color:var(--blue-deep)}
.sr-note{margin:1rem 0 0;font-size:.86rem;color:var(--muted)}
.sr-list{list-style:none;margin:1.4rem 0 0;padding:0;max-width:760px}
.sr-list li{border-top:1px solid var(--line)}
.sr-list a{display:block;padding:1.1rem 0}
.sr-list .t{display:block;font-weight:800;color:var(--navy);font-size:1.02rem}
.sr-list .s{display:block;color:var(--muted);font-size:.9rem;line-height:1.7;margin:.3rem 0}
.sr-list .u{display:block;font-size:.76rem;color:var(--blue-deep)}
.sr-list a:hover .t{color:var(--blue-deep)}
.sr-list mark{background:#dff3e6;color:var(--navy);font-weight:700;padding:0 .1em}

@media (max-width:860px){
  .sm-group{grid-template-columns:1fr;gap:1.2rem}
}

/* ---------------------------------------------------------
   Investor complaints block (investor-information.html).
   S.R.O. 1196(I)/2019 clause 1(c)(ii) — the SDMS logo and
   the disclaimer the notification prints verbatim.
   Markup comes from tools/build_complaints.py.
--------------------------------------------------------- */
.ir-step{font-size:1.02rem;color:var(--navy);margin:0 0 .5rem;font-weight:700}
.ir-p{margin:0 0 1rem;color:var(--muted);font-size:.94rem;line-height:1.75;max-width:46ch}
.ir-sdms{display:block;max-width:460px}
.ir-sdms img{width:100%;height:auto;display:block;
  border:1px solid var(--line);border-radius:3px}
.ir-sdms:hover img{border-color:var(--blue-deep)}
.ir-disclaimer{margin:1rem 0 0;font-size:.8rem;line-height:1.7;
  color:var(--muted);max-width:60ch}
