/* Silicon Group — site styles */
:root {
  --ink: #15202b;
  --muted: #55616d;
  --navy: #0b2a47;
  --blue: #0776b7;
  --blue-dark: #055d91;
  --steel: #a8aaad;
  --mist: #eef2f5;
  --line: #d9e0e6;
  --paper: #ffffff;
  --c-cortech: #0079ba;
  --c-stamptech: #111111;
  --c-castech: #4ca9a8;
  --c-motortech: #c89f18;
  --c-tooltech: #f1794f;
  --c-tradetech: #727272;
  --wrap: 1180px;
  --head: "IBM Plex Sans Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "IBM Plex Sans", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid #f2b705; outline-offset: 3px; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(6px); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo-head { width: 168px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }
.menu-btn { display: none; }

/* buttons */
.btn { display: inline-block; background: var(--blue); color: #fff; text-decoration: none; font: 600 1rem/1 var(--body);
  padding: 15px 24px; border-radius: 4px; border: 2px solid var(--blue); cursor: pointer; }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.nav .btn-small { color: #fff; padding: 11px 18px; font-size: .95rem; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-ghost-dark { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost-dark:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* hero */
.hero { background: var(--navy); color: #fff; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; min-height: 600px; padding-top: 56px; padding-bottom: 56px; }
.kicker { color: #9ccbe9; font-weight: 500; margin-bottom: 18px; }
.hero h1 { max-width: 13ch; }
.lede { font-size: 1.2rem; line-height: 1.55; color: #d4e2ee; max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-art { position: relative; justify-self: end; width: min(560px, 100%); aspect-ratio: 1; }
.ring { width: 100%; height: 100%; fill: none; stroke: #6fb3df; stroke-width: 1.6; }
.ring > circle:first-of-type { stroke: #9ccbe9; stroke-width: 2.2; }
.ring > path, .ring use, .ring > circle { stroke-dasharray: 1; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .ring > path, .ring use, .ring > circle { stroke-dashoffset: 1; animation: draw 1.6s cubic-bezier(.6,0,.2,1) forwards; animation-delay: calc(var(--i, 0) * 28ms); }
  .ring { animation: turn 120s linear 1.8s infinite; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes turn { to { transform: rotate(360deg); } }
}

/* facts */
.facts-band { border-bottom: 1px solid var(--line); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 auto; padding-top: 34px; padding-bottom: 34px; }
.fact { padding: 0 24px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact dt { font: 700 2.3rem/1.1 var(--head); color: var(--navy); }
.fact dd { margin: 6px 0 0; color: var(--muted); font-size: .95rem; }

/* sections */
.section { padding: 96px 0; }
.tint { background: var(--mist); }
.navy { background: var(--navy); color: #fff; }
.navy .sec-head p, .navy p { color: #d4e2ee; }
.sec-head { max-width: 640px; margin-bottom: 48px; }
.sec-head p { color: var(--muted); font-size: 1.08rem; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.split .sec-head { margin-bottom: 0; }

/* company rows */
.co { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.co:nth-of-type(even) .co-media { order: -1; }
.co-text { border-left: 4px solid var(--accent); padding-left: 28px; }
.logo-co { width: 210px; height: auto; margin-bottom: 14px; }
.co-place { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.co h3 { font-size: 1.55rem; }
.co-media { margin: 0; background: #fff; border: 1px solid var(--line, #e3e6ea); border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 3; }
.co-img { width: 100%; height: 100%; object-fit: cover; }
.co-img.fit { object-fit: contain; padding: 24px; }
.co-link { font-weight: 600; }
.co-cortech { --accent: var(--c-cortech); } .co-stamptech { --accent: var(--c-stamptech); }
.co-castech { --accent: var(--c-castech); } .co-motortech { --accent: var(--c-motortech); }
.co-tooltech { --accent: var(--c-tooltech); } .co-tradetech { --accent: var(--c-tradetech); }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; }
.ticks li { position: relative; padding-left: 22px; margin-bottom: 7px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--accent, var(--blue)); }
.ticks-light li::before { background: #6fb3df; }

/* flow */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: s; }
.flow li { position: relative; padding: 0 22px 0 0; }
.flow li::after { content: ""; position: absolute; top: 19px; left: 46px; right: 8px; height: 2px; background: var(--steel); }
.flow li:last-child::after { display: none; }
.step { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; font: 700 1.05rem var(--head); margin-bottom: 18px; }
.flow h3 { font-size: 1.25rem; margin-bottom: .35em; }
.flow p { color: var(--muted); font-size: .97rem; margin-bottom: .4em; }
.flow .by { color: var(--navy); font-weight: 600; font-size: .92rem; }

/* industries */
.industries { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 36px 40px; }
.industries li { border-top: 2px solid var(--navy); padding-top: 16px; }
.industries h3 { font-size: 1.2rem; margin-bottom: .3em; }
.industries p { color: var(--muted); margin: 0; }
.side-photo { margin: 32px 0 0; border-radius: 6px; overflow: hidden; }
.side-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* quality */
.certs { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.certs li { color: #d4e2ee; }
.certs strong { display: inline-block; min-width: 150px; color: #fff; font-family: var(--head); font-size: 1.15rem; }
.list-title { font-size: 1.35rem; margin-top: 6px; }

/* milestones */
.milestones { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 40px; }
.milestones li { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); }
.yr { font: 700 1.25rem var(--head); color: var(--blue); }
.milestones-full { grid-template-columns: repeat(2, 1fr); }
.text-link { font-weight: 600; }

/* contact band */
.contact-band { background: var(--mist); padding: 64px 0; border-top: 1px solid var(--line); }
.contact-grid { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.contact-grid h2 { margin-bottom: .25em; }
.contact-grid p { color: var(--muted); margin: 0; }
.contact-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* inner pages */
.page-hero { background: var(--navy); color: #fff; padding: 72px 0 64px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.prose { max-width: 680px; }
.prose h3 { margin-top: 1.4em; }
.prose.narrow h2 { font-size: 1.5rem; margin-top: 1.6em; }
.leaders { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 40px; }
.leaders li { border-top: 1px solid var(--line); padding-top: 12px; display: grid; }
.leaders strong { font-family: var(--head); font-size: 1.2rem; }
.leaders span { color: var(--muted); }
.locations { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.locations li { border-top: 2px solid var(--navy); padding-top: 16px; }
.locations p { color: var(--muted); margin: 0; }

/* contact page */
.contact-details h2 { font-size: 1.15rem; margin: 0 0 .3em; }
.contact-details p { margin-bottom: 1.6em; }
.enquiry { background: var(--mist); padding: 36px; border-radius: 6px; }
.enquiry h2 { font-size: 1.7rem; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-weight: 500; font-size: .95rem; }
input, select, textarea { font: inherit; padding: 11px 12px; border: 1px solid #b9c3cc; border-radius: 4px; background: #fff; color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { outline: 3px solid #9ccbe9; border-color: var(--blue); }
.form-note { min-height: 1.4em; color: var(--blue-dark); font-weight: 500; }
.form-note.error { color: #b42318; }
.map-wrap iframe { display: block; width: 100%; height: 380px; border: 0; }

/* footer */
.site-footer { background: #071d33; color: #c5d3df; padding: 64px 0 24px; font-size: .95rem; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h2 { font-size: 1.05rem; color: #fff; margin-bottom: .8em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: #c5d3df; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.logo-foot { width: 180px; height: auto; margin-bottom: 16px; }
.legal { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 20px; }
.legal p { margin: 0; }

/* floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 20; display: flex; align-items: center; gap: 8px;
  background: #1fa855; color: #fff; text-decoration: none; font: 600 .98rem/1 var(--body); padding: 12px 18px 12px 14px;
  border-radius: 999px; box-shadow: 0 6px 18px rgba(7,29,51,.28); }
.wa-float:hover { background: #178a45; color: #fff; }
.wa-float svg { display: block; }

/* responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-art { justify-self: center; width: min(380px, 80%); order: -1; }
  .facts { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .split, .co { grid-template-columns: 1fr; gap: 32px; }
  .co:nth-of-type(even) .co-media { order: 0; }
  .flow { grid-template-columns: 1fr; gap: 28px; }
  .flow li { padding: 0 0 0 58px; }
  .flow .step { position: absolute; left: 0; top: 0; }
  .flow li::after { top: 46px; bottom: -24px; left: 19px; right: auto; width: 2px; height: auto; }
  .milestones, .milestones-full, .locations { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .wrap { padding: 0 16px; }
  .bar { height: 64px; }
  .logo-head { width: 140px; }
  .menu-btn { display: inline-block; font: 600 .95rem var(--body); background: none; border: 1px solid var(--line); border-radius: 4px; padding: 8px 14px; color: var(--ink); }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--mist); }
  .nav .btn-small { margin-top: 12px; text-align: center; }
  .industries, .leaders, .field-row { grid-template-columns: 1fr; }
  .fact { padding: 0 14px; }
  .fact dt { font-size: 1.65rem; }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .co-text { padding-left: 18px; }
  .enquiry { padding: 24px 18px; }
  .foot { grid-template-columns: 1fr; }
  .legal { flex-direction: column; gap: 8px; }
  .wa-float { right: 14px; bottom: 14px; padding: 13px; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .site-footer { padding-bottom: 88px; }
}