/* ===== Straits Alloys — Design Tokens ===== */
:root{
  --navy-900:#0B1F3A;
  --navy-700:#003B8E;
  --navy-600:#0A4CA8;
  --steel-500:#5B6670;
  --steel-300:#9AA5AD;
  --steel-200:#D7DCE2;
  --steel-100:#EDF0F3;
  --bg:#F5F7FA;
  --ink:#14202E;
  --rust-600:#8B4A3D;
  --white:#FFFFFF;

  --font-head:"Space Grotesk", "Segoe UI", Arial, sans-serif;
  --font-body:"IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --font-mono:"IBM Plex Mono", Consolas, monospace;

  --maxw:1140px;
}

*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--bg);
  line-height:1.55;
  font-size:16px;
}
h1,h2,h3,h4{
  font-family:var(--font-head);
  color:var(--navy-900);
  line-height:1.15;
  margin:0 0 .5em;
  font-weight:600;
}
h1{font-size:2.6rem; letter-spacing:-0.01em;}
h2{font-size:1.9rem;}
h3{font-size:1.25rem;}
p{margin:0 0 1em; max-width:70ch;}
a{color:var(--navy-700); text-decoration:none;}
a:hover{text-decoration:underline;}
.mono{font-family:var(--font-mono);}

.wrap{
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 24px;
}

/* ===== Blueprint grid backdrop ===== */
.blueprint{
  background-image:
    repeating-linear-gradient(0deg, rgba(11,31,58,0.06) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(11,31,58,0.06) 0 1px, transparent 1px 40px);
  background-position:center;
}

/* corner tick marks used to frame key panels */
.ticked{
  position:relative;
  padding:28px;
}
.ticked::before, .ticked::after{
  content:"";
  position:absolute;
  width:16px; height:16px;
  border:2px solid var(--navy-700);
}
.ticked::before{top:0; left:0; border-right:none; border-bottom:none;}
.ticked::after{bottom:0; right:0; border-left:none; border-top:none;}

/* ===== Header / Nav ===== */
header.site{
  border-bottom:1px solid var(--steel-200);
  background:var(--white);
  position:sticky; top:0; z-index:50;
}
header.site .wrap{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:14px; padding-bottom:14px;
}
header.site img.logo{height:64px; display:block;}
nav.primary{display:flex; gap:28px; align-items:center;}
nav.primary a{
  font-family:var(--font-head);
  font-weight:500;
  font-size:.95rem;
  color:var(--ink);
}
nav.primary a.current{color:var(--navy-700); border-bottom:2px solid var(--navy-700); padding-bottom:4px;}
nav.primary a:hover{color:var(--navy-700); text-decoration:none;}

/* ===== Hero ===== */
.hero{
  padding:72px 0 56px;
  border-bottom:1px solid var(--steel-200);
}
.hero .eyebrow-strip{
  display:flex; gap:18px; flex-wrap:wrap;
  font-family:var(--font-mono);
  font-size:.82rem;
  color:var(--steel-500);
  margin-bottom:22px;
}
.hero .eyebrow-strip span{
  border-left:2px solid var(--navy-700);
  padding-left:8px;
}
.hero p.lead{font-size:1.15rem; color:var(--steel-500); max-width:56ch;}
.hero .cta-row{display:flex; gap:14px; margin-top:20px; flex-wrap:wrap;}

.btn{
  display:inline-block;
  font-family:var(--font-head);
  font-weight:600;
  font-size:.95rem;
  padding:12px 22px;
  border-radius:2px;
  border:1.5px solid var(--navy-700);
}
.btn.primary{background:var(--navy-700); color:var(--white);}
.btn.primary:hover{background:var(--navy-600); text-decoration:none;}
.btn.ghost{background:transparent; color:var(--navy-700);}
.btn.ghost:hover{background:var(--navy-700); color:var(--white); text-decoration:none;}

/* ===== Cert strip ===== */
.cert-strip{
  background:var(--navy-900);
  color:var(--white);
  padding:16px 0;
}
.cert-strip .wrap{
  display:flex; align-items:center; gap:18px; flex-wrap:wrap;
  font-size:.92rem;
}
.cert-strip .badge{
  font-family:var(--font-head); font-weight:700;
  border:1.5px solid var(--white);
  padding:4px 10px;
  letter-spacing:.02em;
}
.cert-strip .mono{color:var(--steel-300);}

/* ===== Sections ===== */
section{padding:64px 0;}
section.tight{padding:40px 0;}
section h2{margin-bottom:.35em;}
.section-intro{color:var(--steel-500); max-width:60ch; margin-bottom:36px;}

/* Industries row — plain labels, no numbering (not a sequence) */
.industries-row{
  display:flex; flex-wrap:wrap; gap:0;
  border:1px solid var(--steel-200);
}
.industries-row div{
  flex:1 1 200px;
  padding:22px 20px;
  border-right:1px solid var(--steel-200);
}
.industries-row div:last-child{border-right:none;}
.industries-row .industry-icon{width:36px; height:36px; display:block; margin-bottom:12px;}
.industries-row h4{margin-bottom:.25em; font-size:1.05rem;}
.industries-row p{margin:0; font-size:.9rem; color:var(--steel-500);}

/* Product teaser grid */
.teaser-grid{display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--steel-200);}
.teaser{
  background:var(--white);
  padding:32px;
  border-left:3px solid var(--navy-700);
}
.teaser h3{margin-bottom:.4em;}
.teaser p{color:var(--steel-500); font-size:.95rem;}

/* Spec table */
table.spec{
  width:100%;
  border-collapse:collapse;
  font-size:.92rem;
  background:var(--white);
}
table.spec th, table.spec td{
  border:1px solid var(--steel-200);
  padding:11px 14px;
  text-align:left;
  vertical-align:top;
}
table.spec thead th{
  background:var(--navy-900);
  color:var(--white);
  font-family:var(--font-head);
  font-weight:500;
  font-size:.85rem;
}
table.spec td.std{font-family:var(--font-mono); font-size:.85rem; color:var(--navy-700);}
table.spec tbody tr:nth-child(even){background:var(--steel-100);}

/* Case-study strip */
.case-strip{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:18px;
}
.case-card{background:var(--white); border:1px solid var(--steel-200);}
.case-card img{width:100%; display:block; aspect-ratio:4/3; object-fit:cover;}
.case-card .cap{padding:14px 16px;}
.case-card .cap .tag{
  font-family:var(--font-mono); font-size:.75rem; color:var(--rust-600);
  display:block; margin-bottom:4px;
}
.case-card .cap p{margin:0; font-size:.88rem; color:var(--steel-500);}

/* Label callout */
.label-callout{
  display:flex; gap:28px; align-items:center;
  background:var(--white); border:1px solid var(--steel-200);
  padding:28px;
}
.label-callout img{width:160px; flex:0 0 160px;}

/* About / values */
.founder{display:flex; gap:36px; align-items:flex-start;}
.founder img{width:180px; height:180px; object-fit:cover; border:1px solid var(--steel-200); flex:0 0 180px;}
dl.values{display:grid; grid-template-columns:1fr 1fr; gap:20px 32px; margin:0;}
dl.values dt{font-family:var(--font-head); color:var(--navy-700); font-weight:600;}
dl.values dd{margin:4px 0 0; color:var(--steel-500); font-size:.92rem;}

/* Certifications block */
.cert-block{background:var(--white); border:1px solid var(--steel-200); padding:32px;}
table.certfacts{width:100%; border-collapse:collapse; font-size:.9rem; margin-top:14px;}
table.certfacts td{padding:6px 0; border-bottom:1px solid var(--steel-100);}
table.certfacts td:first-child{color:var(--steel-500); width:220px;}
table.certfacts td:last-child{font-family:var(--font-mono);}

/* Contact */
.contact-grid{display:grid; grid-template-columns:1.1fr .9fr; gap:48px;}
form.contact-form label{
  display:block; font-family:var(--font-head); font-size:.88rem;
  margin-bottom:6px; margin-top:16px; color:var(--navy-900);
}
form.contact-form input, form.contact-form textarea{
  width:100%; padding:11px 12px; border:1px solid var(--steel-300);
  font-family:var(--font-body); font-size:.95rem; background:var(--white);
}
form.contact-form input:focus, form.contact-form textarea:focus{
  outline:2px solid var(--navy-700); outline-offset:1px;
}
form.contact-form button{margin-top:20px;}
.contact-facts{background:var(--white); border:1px solid var(--steel-200); padding:28px;}
.contact-facts h3{font-size:1rem; margin-bottom:14px;}
.contact-facts .row{margin-bottom:16px;}
.contact-facts .row span.k{display:block; font-family:var(--font-mono); font-size:.78rem; color:var(--steel-500);}
.contact-facts .row span.v{font-size:1rem;}

/* Footer */
footer.site{
  background:var(--navy-900);
  color:var(--steel-300);
  padding:40px 0 28px;
  margin-top:0;
}
footer.site .wrap{display:flex; justify-content:space-between; flex-wrap:wrap; gap:24px;}
footer.site a{color:var(--white);}
footer.site .fine{font-size:.82rem; margin-top:18px; color:var(--steel-300);}

/* Responsive */
@media (max-width:820px){
  .founder{flex-direction:column;}
  dl.values{grid-template-columns:1fr;}
  .teaser-grid{grid-template-columns:1fr;}
  .case-strip{grid-template-columns:1fr;}
  .contact-grid{grid-template-columns:1fr;}
  .industries-row{flex-direction:column;}
  .industries-row div{border-right:none; border-bottom:1px solid var(--steel-200);}
  h1{font-size:2rem;}
  nav.primary{gap:16px;}
  .label-callout{flex-direction:column;}
  .label-callout img{width:120px; flex-basis:auto;}
}
