:root {
  --blue: #1470af;
  --blue-light: #8eb6dc;
  --ink: #111;
  --muted: #555;
  --paper: #fff;
  --gray: #eaeaee;
  --serif-display: "Ovo", Georgia, serif;
  --serif: "Crimson Text", Georgia, serif;
  --sans: "Almarai", system-ui, sans-serif;
  --max: 1200px;
  --gutter: clamp(20px, 3vw, 44px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif-display); font-weight: 400; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(36px, 4.4vw, 58px); }
h2 { font-size: clamp(30px, 3.4vw, 46px); }
h3 { font-size: clamp(24px, 2.4vw, 32px); }
h4 { font-size: 22px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
}
.brand { font-family: var(--serif-display); font-size: 24px; text-decoration: none; }
.nav { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-size: 15px; padding-bottom: 2px; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"], .nav .has-sub.active > button { border-bottom-color: currentColor; }
.nav .has-sub { position: relative; }
.nav .has-sub > button {
  font: inherit; font-size: 15px; background: none; border: 0; color: inherit;
  cursor: pointer; padding: 0 0 2px; border-bottom: 1px solid transparent;
}
.nav .sub {
  display: none; position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%);
  background: #fff; color: var(--ink); list-style: none; margin: 0; padding: 10px 0;
  min-width: 170px; box-shadow: 0 6px 24px rgba(0,0,0,.15);
}
.nav .sub a { display: block; padding: 7px 20px; border: 0; white-space: nowrap; }
.nav .sub a:hover { background: #f2f2f2; }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub, .nav .has-sub.open .sub { display: block; }
.nav .has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.ig { display: inline-flex; width: 18px; height: 18px; }
.ig svg { width: 100%; height: 100%; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; color: inherit; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: currentColor; margin: 6px 0; }

.home .site-header { position: absolute; left: 0; right: 0; background: transparent; box-shadow: none; color: #fff; }

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: #fff; color: var(--ink); padding: 10px var(--gutter) 24px;
    box-shadow: 0 10px 20px rgba(0,0,0,.12);
  }
  .nav.open { display: flex; }
  .nav > li { width: 100%; border-bottom: 1px solid #eee; }
  .nav > li > a, .nav .has-sub > button { display: block; padding: 14px 0; font-size: 18px; width: 100%; text-align: left; border: 0; }
  .nav .sub { position: static; transform: none; box-shadow: none; display: block; padding: 0 0 10px 16px; }
  .nav .has-sub::after { display: none; }
}

.btn {
  display: inline-block; text-decoration: none; text-align: center;
  font-family: var(--serif); font-weight: 700; font-size: 16px;
  color: #fff; background: var(--blue);
  padding: 18px 46px; border-radius: 999px; border: 2px solid transparent;
  transition: opacity .2s, background .2s;
}
.btn:hover { opacity: .85; }
.btn-light { background: var(--blue-light); }
.btn-wide { min-width: min(100%, 500px); }
.btn-outline {
  background: transparent; color: var(--blue); border-color: var(--blue);
  font-family: system-ui, sans-serif; font-weight: 400; font-size: 15px; padding: 18px 36px;
}
.btn-outline:hover { background: var(--blue); color: #fff; opacity: 1; }

.hero {
  position: relative; color: #fff; text-align: center;
  min-height: min(92vh, 1060px);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 130px var(--gutter) 150px;
  background: #0d1520 url(/img/hero.webp) center / cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.18); }
.hero > * { position: relative; }
.hero h1 { font-size: clamp(42px, 5.6vw, 72px); margin-bottom: 18px; text-shadow: 0 2px 16px rgba(0,0,0,.4); }
.hero .tagline { font-weight: 700; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.3; margin: 0; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.hero .lead { font-weight: 700; font-size: clamp(19px, 1.7vw, 25px); line-height: 1.35; max-width: 1400px; margin: 0 auto 50px; text-shadow: 0 2px 10px rgba(0,0,0,.7); }

.features { padding: clamp(80px, 12vw, 200px) 0; }
.features .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 60px; }
.features img { width: 165px; aspect-ratio: 3 / 2; object-fit: cover; margin: 0 0 10px 82px; }
.features h4 { font-size: 24px; margin-bottom: 14px; }
.features p { font-size: 14px; max-width: 320px; }

.slant { display: block; width: 100%; height: 90px; }

.serve { padding: clamp(80px, 12vw, 180px) 0; }
.serve .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 80px; align-items: start; }
.serve h2 { font-size: clamp(36px, 3.4vw, 46px); margin-bottom: 24px; }
.serve .btn { margin-left: 34%; padding: 20px 68px; }
.serve p { font-size: 15px; max-width: 640px; }

.faq-section { position: relative; color: #fff; background: #111 url(/img/faq-bg.webp) center / cover no-repeat; }
.faq-section .curve { display: block; width: 100%; height: 110px; margin-bottom: -1px; }
.faq-section .inner { padding: clamp(60px, 9vw, 140px) 0 clamp(80px, 12vw, 180px); background: rgba(0,0,0,.55); }
.faq-section h3 { font-size: clamp(32px, 3.2vw, 44px); margin-bottom: 30px; }
.faq details { border-bottom: 1px solid rgba(255,255,255,.45); }
.faq details:first-of-type { border-top: 1px solid rgba(255,255,255,.45); }
.faq summary {
  list-style: none; cursor: pointer; padding: 26px 50px 26px 0; position: relative;
  font-family: var(--serif-display); font-size: 22px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--serif); font-size: 32px; font-weight: 300; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 26px; max-width: 900px; font-size: 17px; }

.page-pad { padding: clamp(80px, 10vw, 150px) 0; }

.about .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about h2 { font-style: italic; font-size: clamp(34px, 3vw, 44px); }
.about p { font-size: 19px; line-height: 1.75; }
.about .btn { margin: 10px 0 0 20%; padding: 18px 46px; line-height: 1.3; }
.about img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }

.caps h1 { text-align: center; font-size: clamp(36px, 3.2vw, 46px); margin-bottom: 30px; }
.caps .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px 40px; }
.caps .cap { text-align: center; }
.caps .cap img { width: 230px; height: 230px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; }
.caps .cap h3 { font-size: clamp(28px, 2.4vw, 38px); margin-bottom: 30px; }
.caps .cap p { font-size: 15px; text-align: left; max-width: 250px; margin: 0 auto; }
.caps .cta { text-align: center; margin-top: 50px; }
.specialize { padding-bottom: clamp(80px, 12vw, 200px); }
.specialize h2 { text-align: center; font-size: clamp(34px, 3vw, 46px); }
.specialize .body { max-width: 1060px; margin: 0 auto; font-size: 15px; }

.industries-title { text-align: center; padding-top: clamp(80px, 12vw, 180px); margin-bottom: 0; }
.industry { padding: clamp(40px, 6vw, 90px) 0 clamp(80px, 10vw, 160px); border-bottom: 5px solid var(--blue); }
.industry:last-of-type { border-bottom: 0; }
.industry .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px 80px; align-items: center; }
.industry img { width: 100%; max-width: 330px; aspect-ratio: 2 / 3; object-fit: cover; margin: 0 auto; }
.industry.flip .media { order: 2; }
.industry h2 { font-size: clamp(30px, 3vw, 44px); }
.industry .text { padding-left: 40px; font-size: 15px; max-width: 460px; }
.industry .btn { width: 100%; max-width: 500px; margin-top: 10px; }
.industries-cta { text-align: center; padding: clamp(60px, 9vw, 130px) 0; background: var(--gray); }
.industries-cta h3 { font-size: clamp(28px, 2.6vw, 38px); }

.materials { padding: 90px 0 clamp(80px, 12vw, 200px); font-family: var(--sans); }
.materials h1 { font-family: var(--serif-display); font-size: 28px; font-weight: 700; margin-bottom: 6px; }
.materials .intro { color: #444; font-size: 15px; }
.table-scroll { overflow-x: auto; margin: 26px 0; }
.mat-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 900px; }
.mat-table th { text-align: left; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; color: #444; background: #f4f4ef; padding: 14px 12px; border-bottom: 2px solid #ddd; }
.mat-table td { padding: 14px 12px; border-bottom: 1px solid #e8e8e8; vertical-align: middle; }
.mat-table tr.group td { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: #777; padding: 12px; }
.mat-table td:first-child { font-weight: 700; }
.mat-table small { display: block; color: #888; font-size: 12px; margin-top: 2px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; padding: 3px 9px; border-radius: 3px; }
.t-steel .tag { background: #e6eef8; color: #2d5d93; }
.t-mild .tag { background: #efece6; color: #5b5246; }
.t-ss .tag { background: #e2f3ee; color: #23715a; }
.t-ph .tag { background: #fbe9e4; color: #9a4a31; }
.t-al .tag { background: #fbefdc; color: #8a5a17; }
.t-br .tag { background: #efece6; color: #5b5246; }
.materials .note { color: #444; font-size: 15px; }

.rfq { background: var(--gray); padding: clamp(60px, 7vw, 110px) 0; }
.rfq .grid { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 420px); justify-content: center; gap: 30px 60px; }
.rfq h1 { font-size: clamp(34px, 3vw, 46px); margin-bottom: 14px; }
.rfq h1 span { text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.rfq .side img { width: 100%; max-width: 400px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 50%; }
.rfq .side p { font-size: 20px; line-height: 1.75; margin: 60px 0 0 36px; }

.form .field { margin-bottom: 26px; }
.form label, .form legend { display: block; font-size: 15px; margin-bottom: 4px; }
.form .req { font-size: 12px; color: var(--muted); margin-left: 4px; }
.form .help { font-size: 13px; color: var(--muted); margin: 4px 0 8px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form input[type=number], .form input[type=date], .form textarea, .form select {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid #888; border-radius: 0;
  padding: 10px 0; outline: none;
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { border-bottom-color: var(--blue); border-bottom-width: 2px; }
.form input::placeholder, .form textarea::placeholder { color: #8a8a8a; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form .row label { font-size: 12px; }
.form input[type=date] { width: 200px; }
.form fieldset { border: 0; padding: 0; margin: 0 0 26px; }
.form .pills { display: flex; gap: 14px; margin-top: 8px; }
.form .pills label { margin: 0; }
.form .pills input { position: absolute; opacity: 0; pointer-events: none; }
.form .pills span { display: inline-block; border: 1px solid #555; padding: 3px 12px; font-size: 13px; cursor: pointer; }
.form .pills input:checked + span { background: var(--ink); color: #fff; }
.form .pills input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.dropzone {
  position: relative; border: 1px dashed #333; text-align: center; padding: 26px 16px; cursor: pointer;
  font-size: 14px;
}
.dropzone.drag { background: #dfe7f0; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone .plus { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; font-size: 24px; line-height: 1; margin-bottom: 8px; }
.file-list { font-size: 13px; margin-top: 8px; color: #333; }
.form .btn { cursor: pointer; padding: 18px 34px; font-size: 15px; }
.form .btn[disabled] { opacity: .6; cursor: wait; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 18px; font-size: 16px; }
.form-status.err { color: #a32020; }
.form-success { font-size: 20px; padding: 30px 0; }

.site-footer { background: var(--blue-light); color: #fff; padding: 50px 0 60px; }
.site-footer .wrap { max-width: none; }
.site-footer h2 { white-space: nowrap; }
.site-footer .grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; align-items: center; }
.site-footer h2 { font-size: clamp(28px, 2.4vw, 36px); margin-bottom: 18px; }
.site-footer p { font-size: 14px; margin: 0 0 12px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .ig-box { display: inline-flex; width: 34px; height: 34px; border: 1px solid #fff; border-radius: 4px; align-items: center; justify-content: center; margin-top: 6px; }
.site-footer .ig-box svg { width: 18px; height: 18px; }
.site-footer .contact p { margin-bottom: 16px; }
.site-footer .logo img { width: 260px; margin: 0 auto; }

@media (max-width: 860px) {
  .features .grid, .serve .grid, .about .grid, .caps .grid, .industry .grid, .rfq .grid, .site-footer .grid { grid-template-columns: 1fr; }
  .features img { margin-left: 0; }
  .serve .btn, .about .btn { margin-left: 0; }
  .industry.flip .media { order: 0; }
  .industry .text { padding-left: 0; }
  .rfq .side p { margin: 24px 0 0; font-size: 18px; }
  .site-footer .logo img { margin: 0; }
  .hero { padding-top: 110px; }
}
