/*
VOICE: classic corporate: calm, formal, trustworthy; few hues, fine detail, air.
IDEA: the company's printed product catalogue: ruled columns, serif titles, product plates.
PICTURE: the deck's photograph of natural rubber sheets, framed large in the first screen.
COLOUR and TYPE: Glentrade logo blue #1f4e79 and a deeper navy, white paper, leaf green as a hairline accent; Source Serif 4 + Source Sans 3.
LAYOUT: white header with logo, navy hero with photo, ruled product columns, group, customers, contact band.
*/
:root{
  color-scheme:light dark;
  --bg:light-dark(#ffffff,#0b1622);
  --ink:light-dark(#14212e,#e7edf3);
  --muted:light-dark(#4b5b6a,#a9b7c5);
  --rule:light-dark(#d6dde4,#24364a);
  --soft:light-dark(#f2f5f8,#102030);
  --tile:light-dark(#ffffff,#f3f6f9);
  --brand:#1f4e79;
  --navy:#132f4c;
  --leaf:#5b9a3c;
  --link:light-dark(#1f4e79,#8fc0ec);
}
:root[data-theme=light]{color-scheme:light}
:root[data-theme=dark]{color-scheme:dark}
*{box-sizing:border-box;min-width:0}
html{scroll-padding-top:84px}
body{margin:0;background:var(--bg);color:var(--ink);font:17px/1.6 "Source Sans 3",system-ui,-apple-system,"Segoe UI",sans-serif;overflow-x:clip}
h1,h2,h3{font-family:"Source Serif 4",Georgia,"Times New Roman",serif;font-weight:600;line-height:1.1;text-wrap:balance;margin:0 0 .5em}
h1{font-size:clamp(34px,4.6vw,50px)}
h2{font-size:clamp(28px,3.4vw,38px)}
h3{font-size:22px}
p{margin:0 0 1em;max-width:66ch}
a{color:var(--link)}
img{max-width:100%;display:block}
a:focus-visible,button:focus-visible{outline:3px solid #8fc0ec;outline-offset:3px;border-radius:2px}
.wrap{max-width:1240px;margin:0 auto}
.band{padding:clamp(44px,6vw,88px) max(5vw,16px)}
.skip{position:absolute;left:-999px}.skip:focus{left:16px;top:12px;background:#fff;color:#000;padding:8px 12px;z-index:9}

/* Header: white so the logo sits on its own ground */
.site-head{background:#fff;padding:0 max(5vw,16px);position:sticky;top:0;z-index:5;border-bottom:1px solid #dfe5eb}
.site-head .wrap{display:flex;align-items:center;justify-content:space-between;gap:8px 24px;min-height:76px;flex-wrap:wrap}
.brand{display:block;padding:12px 0}
.brand img{height:34px;width:auto}
nav ul{display:flex;flex-wrap:wrap;gap:0 24px;list-style:none;margin:0;padding:0}
nav a{color:#2b3a48;text-decoration:none;display:inline-block;padding:12px 0;font-size:16px}
nav a:hover,nav a[aria-current=page]{color:var(--brand);box-shadow:inset 0 -2px 0 var(--brand)}

/* Hero */
.hero{background:var(--navy);color:#fff;padding:clamp(36px,5vw,72px) max(5vw,16px)}
.hero .wrap{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:clamp(24px,4vw,56px);align-items:center}
.hero p{color:#d3dfea}
.hero .lede{font-size:clamp(18px,1.7vw,20px)}
.hero .group-note{font-size:16px;color:#b7c8d8;border-top:1px solid #ffffff2e;padding-top:16px;margin-top:24px}
.hero .group-note strong{color:#fff;font-weight:600}
.btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.btn{display:inline-flex;align-items:center;min-height:48px;padding:0 22px;border-radius:3px;font-weight:600;text-decoration:none;font-size:16px}
.btn-primary{background:#fff;color:var(--navy)}
.btn-primary:hover{background:#e6eef6}
.btn-ghost{color:#fff;border:1px solid #ffffff66}
.btn-ghost:hover{border-color:#fff}
.hero-photo{margin:0;position:relative}
.hero-photo img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;border-radius:3px;box-shadow:0 24px 48px -24px #000c}
.hero-photo figcaption{font-size:14px;color:#b7c8d8;margin-top:10px}

/* Facts strip */
.facts{background:var(--brand);color:#fff;padding:0 max(5vw,16px)}
.facts dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0}
.facts div{padding:22px 20px 22px 0;border-right:1px solid #ffffff2e}
.facts div+div{padding-left:20px}
.facts div:last-child{border-right:0}
.facts dt{font-size:14px;color:#c9daea}
.facts dd{margin:2px 0 0;font-family:"Source Serif 4",Georgia,serif;font-size:20px;line-height:1.25}

/* Intro rows */
.intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:clamp(20px,4vw,56px);margin-bottom:clamp(28px,4vw,48px)}
.intro p{color:var(--muted);font-size:18px}

/* Products */
.cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:2px solid var(--ink)}
.col{padding:26px clamp(16px,2.4vw,32px) 8px 0;border-right:1px solid var(--rule)}
.col+.col{padding-left:clamp(16px,2.4vw,32px)}
.col:last-child{border-right:0}
.col img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:2px;margin-bottom:20px}
.col p{color:var(--muted)}
.col ul{margin:0 0 1em;padding:0;list-style:none;border-top:1px solid var(--rule)}
.col li{padding:9px 0;border-bottom:1px solid var(--rule);font-size:16px}
.note{font-size:15px;color:var(--muted);margin-top:24px}

/* Services */
.soft{background:var(--soft)}
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 clamp(24px,4vw,64px)}
.steps li{display:grid;grid-template-columns:auto minmax(0,1fr);gap:18px;padding:24px 0;border-top:1px solid var(--rule)}
.steps svg{width:36px;height:36px;color:var(--brand)}
:root[data-theme=dark] .steps svg{color:#8fc0ec}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]) .steps svg{color:#8fc0ec}}
.steps h3{margin-bottom:.3em}
.steps p{color:var(--muted);margin:0}

/* Group */
.group{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,2.4vw,28px)}
.unit{border:1px solid var(--rule);border-top:3px solid var(--brand);padding:clamp(20px,2.6vw,30px);border-radius:3px;display:flex;flex-direction:column}
.unit .logo{height:64px;display:flex;align-items:center;margin-bottom:18px}
.unit .logo img{max-height:56px;width:auto;background:#fff;padding:4px 6px;border-radius:2px}
.unit .role{font-size:14px;color:var(--muted);margin:0 0 4px}
.unit ul{margin:0;padding-left:1.1em;color:var(--muted)}
.unit li{margin-bottom:6px}

/* Customers */
.logos{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--rule);border:1px solid var(--rule)}
.logos li{background:var(--tile);display:flex;align-items:center;justify-content:center;padding:clamp(18px,3vw,32px);min-height:120px}
.logos img{max-height:60px;max-width:100%;width:auto;object-fit:contain}

/* CTA */
.cta{background:var(--navy);color:#fff}
.cta .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px}
.cta h2{margin:0}
.cta p{color:#d3dfea;margin:.4em 0 0}

/* Contact page */
.page-head{background:var(--navy);color:#fff}
.page-head p{color:#d3dfea;font-size:19px;margin:0}
.contact-grid{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:clamp(28px,5vw,72px)}
.cards{border-top:2px solid var(--ink)}
.card{display:grid;grid-template-columns:44px minmax(0,1fr);gap:18px;padding:26px 0;border-bottom:1px solid var(--rule)}
.card svg{width:36px;height:36px;color:var(--brand)}
.card .label{font-size:15px;color:var(--muted);margin:0 0 2px}
.card .value{font-family:"Source Serif 4",Georgia,serif;font-size:clamp(20px,2.4vw,26px);line-height:1.3;margin:0;overflow-wrap:anywhere}
.card .value a{text-decoration:none;color:var(--ink)}
.card .value a:hover{text-decoration:underline;color:var(--link)}
.card .sub{margin:8px 0 0;font-size:16px}
.nowrap{white-space:nowrap}
.copy{margin-top:10px;min-height:44px;padding:0 16px;font:inherit;font-size:15px;border:1px solid var(--rule);background:transparent;color:var(--ink);border-radius:3px;cursor:pointer}
.copy:hover{border-color:var(--ink)}
.aside{background:var(--soft);padding:clamp(22px,3vw,36px);border-radius:3px;align-self:start}
.aside h3{margin-bottom:.6em}
.aside ul{margin:0;padding-left:1.1em;color:var(--muted)}
.aside li{margin-bottom:8px}

/* Footer */
.site-foot{background:#0d2238;color:#b9c8d6;padding:36px max(5vw,16px);font-size:15px}
.site-foot .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 24px}
.site-foot a{color:#dfe8f1}

@media(max-width:900px){
  .hero .wrap,.intro,.contact-grid{grid-template-columns:minmax(0,1fr)}
  .cols,.group{grid-template-columns:minmax(0,1fr)}
  .col,.col+.col{padding:24px 0 8px;border-right:0;border-bottom:1px solid var(--rule)}
  .steps{grid-template-columns:minmax(0,1fr)}
  .facts dl{grid-template-columns:repeat(2,minmax(0,1fr))}
  .facts div:nth-child(2){border-right:0}
  .facts div:nth-child(3){padding-left:0}
  .facts div:nth-child(-n+2){border-bottom:1px solid #ffffff2e}
}
@media(max-width:600px){
  .site-head{position:static}
  .brand img{height:28px}
  body{font-size:16px}
  .logos{grid-template-columns:repeat(2,minmax(0,1fr))}
  .logos img{max-height:44px}
  .facts dl{grid-template-columns:minmax(0,1fr)}
  .facts div,.facts div+div{padding:16px 0;border-right:0;border-bottom:1px solid #ffffff2e}
  .facts div:last-child{border-bottom:0}
}
@media(prefers-reduced-motion:no-preference){
  .hero-photo img{animation:rise .8s ease-out both}
  @keyframes rise{from{opacity:0;transform:translateY(12px)}}
}
