:root {
  --bg: #23272A;
  --bg-deep: #1A1D1F;
  --accent: #F58220;
  --silver: #BDC3C7;
  --text: #EDEFF0;
  --border: #34383B;
  --font-head: 'Oswald', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

a { color: inherit; text-decoration: none; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(35, 39, 42, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom: 0.5px solid var(--border);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-icon {
  height: 30px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-logo-wordmark {
  height: 22px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  font-size: 13.5px;
  color: var(--silver);
  transition: color 0.15s ease;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--text); }

.nav-links a.nav-cta {
  background: var(--accent);
  padding: 8px 16px;
  border-radius: 4px;
  color: #1A1D1F;
}

.nav-links a.nav-cta:hover { opacity: 0.88; color: #1A1D1F; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-flex {
  display: flex;
  align-items: stretch;
  gap: 3rem;
}

.hero-inner {
  max-width: 620px;
  padding: 3.5rem 0 3rem;
  flex: 1 1 auto;
}

.hero-photo {
  flex: 0 0 300px;
  margin: 3.5rem 0 1.5rem;
  border-left: 0.5px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.eyebrow-plain {
  font-size: 14px;
  color: var(--silver);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  margin-bottom: 1.5rem;
}

.hero-role {
  font-size: 16px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 16px;
  color: var(--silver);
  max-width: 60ch;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #1A1D1F;
}

.btn-primary:hover { opacity: 0.88; }

.btn-ghost {
  border: 0.5px solid var(--border);
  color: var(--text);
}

.btn-ghost:hover { border-color: var(--silver); }

.weld-line {
  height: 1px;
  width: 100%;
  background: var(--border);
  position: relative;
  margin-top: 4rem;
  overflow: hidden;
}

.weld-line::after {
  content: '';
  position: absolute;
  left: -30%;
  top: 0;
  height: 100%;
  width: 30%;
  background: var(--accent);
  animation: weld-sweep 1.6s ease-out forwards;
}

@keyframes weld-sweep {
  to { left: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .weld-line::after { animation: none; display: none; }
}

/* Sections */
.section { padding: 5rem 0; border-top: 0.5px solid var(--border); }
.section-alt { background: var(--bg-deep); }

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 2.5rem;
}

.section-grid { max-width: 780px; }

.section-body p {
  color: var(--silver);
  margin-bottom: 1.1rem;
  max-width: 68ch;
}

.section-body p:last-child { margin-bottom: 0; }

.pull-quote {
  border-left: 2px solid var(--accent);
  padding: 0.2rem 0 0.2rem 1.25rem;
  margin: 1.75rem 0;
  color: var(--text);
  font-size: 16px;
  font-style: normal;
  max-width: 62ch;
}

.section-lead {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  margin: 1.75rem 0 0.9rem;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.check-list li {
  color: var(--silver);
  font-size: 15px;
  max-width: 66ch;
  padding-left: 1.3rem;
  position: relative;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--accent);
}

.check-list strong { color: var(--text); font-weight: 500; }

.section-kicker {
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

/* Track Record */
.record-list { list-style: none; }

.record-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2rem;
  padding: 1.75rem 0;
  border-top: 0.5px solid var(--border);
}

.record-row:first-child { border-top: none; }

.record-date {
  font-family: var(--font-head);
  font-size: 14px;
  color: var(--accent);
  padding-top: 0.2rem;
}

.record-body h3 {
  font-size: 19px;
  margin-bottom: 0.3rem;
}

.record-body p:not(.record-role) {
  color: var(--silver);
  font-size: 15px;
  max-width: 62ch;
}

.muted-inline {
  color: var(--silver);
  font-weight: 400;
  font-size: 15px;
}

.record-role {
  color: var(--silver);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.also-worked {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 0.5px solid var(--border);
}

.condensed-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.6rem 2rem;
}

.condensed-list li {
  color: var(--silver);
  font-size: 14px;
}

.condensed-list strong { color: var(--text); font-weight: 500; }

/* Stamps (certifications) */
.stamps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: stretch;
  gap: 1.25rem;
}

.stamps-group-spacer { margin-top: 2.5rem; }

.stamp {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.5rem 1.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.stamp-link {
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  margin-top: auto;
  padding-top: 1rem;
}

.stamp-link:hover { color: var(--text); }

.stamp-mark {
  display: inline-block;
  align-self: flex-start;
  width: 60px;
  text-align: center;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: 4px;
  padding: 3px 0;
  margin-bottom: 1rem;
}

.stamp-title {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.stamp-sub {
  font-size: 13px;
  color: var(--silver);
}

.stamp-cert-no {
  font-size: 11px;
  color: var(--silver);
  opacity: 0.65;
  margin-top: 0.4rem;
}

/* Services */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
}

.services-6 { gap: 2.25rem 2.5rem; }

.service h3 {
  font-size: 19px;
  margin-bottom: 0.6rem;
  max-width: 26ch;
}

.service p {
  color: var(--silver);
  font-size: 15px;
}

.industries-note,
.services-footnote {
  color: var(--silver);
  font-size: 14px;
  margin-top: 2.5rem;
}

.industries-note {
  padding-top: 1.75rem;
  border-top: 0.5px solid var(--border);
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.75rem;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.testimonial-card p {
  color: var(--silver);
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.testimonial-card footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: auto;
}

.testimonial-card footer strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.testimonial-card footer span {
  color: var(--accent);
  font-size: 13px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  grid-template-areas:
    "info   form"
    "qr     footer";
  column-gap: 2.5rem;
  row-gap: 1.75rem;
  align-items: start;
}

.contact-info {
  grid-area: info;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
  height: 100%;
}
.contact-form { grid-area: form; }
.contact-form-footer { grid-area: footer; display: flex; flex-direction: column; }

.contact-info .hero-sub { margin-bottom: 0; }

.contact-actions {
  margin: 0;
  flex-direction: column;
  align-items: stretch;
}

.contact-actions .btn { text-align: center; padding-top: 12.5px; padding-bottom: 12.5px; }

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-links a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 16px;
  padding: 0.7rem 0;
}

.contact-links a:hover { color: var(--accent); }

.contact-links a svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: var(--accent);
}

.contact-note {
  color: var(--silver);
  font-size: 13px;
  margin-top: 2rem;
}

.contact-qr {
  grid-area: qr;
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.contact-qr img {
  width: 80px;
  height: 80px;
  background: #F5F5F0;
  padding: 6px;
  border-radius: 4px;
  display: block;
  flex-shrink: 0;
}

.contact-qr span {
  color: var(--silver);
  font-size: 13px;
  transition: color 0.15s ease;
}

.contact-qr:hover span { color: var(--accent); }

/* Contact form */
.contact-form { width: 100%; }

.form-group { margin-bottom: 1.4rem; }

.form-group label {
  display: block;
  color: var(--silver);
  font-size: 14px;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-deep);
  border: 1px solid #6A6E72;
  border-radius: 4px;
  padding: 0.7rem 0.9rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: var(--silver);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.18);
}

.form-group select {
  color-scheme: dark;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23BDC3C7' stroke-width='1.5' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-submit {
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  margin-top: 0.25rem;
}

/* Footer */
.footer { border-top: 0.5px solid var(--border); padding: 2rem 0; }

.footer-legal {
  color: var(--silver);
  font-size: 11px;
  opacity: 0.7;
  margin-top: 0.75rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--silver);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-photo { display: none; }

  .record-row { grid-template-columns: 1fr; gap: 0.4rem; }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 0.5px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.25rem;
    display: none;
  }

  .nav-links.open { display: flex; }

  .nav-toggle { display: flex; }

  .contact-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "info"
      "form"
      "qr"
      "footer";
  }

  .contact-info {
    height: auto;
    justify-content: flex-start;
    gap: 1.5rem;
  }

  .section { padding: 3.5rem 0; }

  .hero-inner { padding: 3rem 0 2.5rem; }
}
