:root {
  --ink: #121820;
  --ink-soft: #26313d;
  --steel: #315a70;
  --steel-dark: #1e3747;
  --ember: #df6128;
  --ember-dark: #b74318;
  --green: #28705f;
  --paper: #f7f8f7;
  --panel: #ffffff;
  --line: #d9dfdf;
  --muted: #66727b;
  --shadow: 0 18px 48px rgba(18, 24, 32, 0.14);
  --radius: 8px;
  --container: min(1120px, calc(100% - 32px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

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

a:hover,
a:focus-visible {
  color: var(--ember);
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--ember);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.top-strip {
  background: var(--ink);
  color: #e7ecec;
  font-size: 0.9rem;
}

.top-strip__inner,
.top-strip__links,
.nav-shell,
.brand,
.site-nav,
.quick-contact__inner,
.quick-contact__links,
.hero__actions,
.cta-band__inner {
  display: flex;
  align-items: center;
}

.top-strip__inner {
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
}

.top-strip__links {
  gap: 18px;
  flex-wrap: wrap;
}

.nav-shell {
  min-height: 78px;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  gap: 12px;
  min-width: 0;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 46px;
  aspect-ratio: 1;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--steel-dark), var(--ember));
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.08rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.8rem;
}

.site-nav {
  gap: 6px;
}

.site-nav a {
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-weight: 700;
  padding: 10px 12px;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav .is-active {
  background: #edf1f1;
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: clamp(560px, 78vh, 760px);
  color: #fff;
  isolation: isolate;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero__image,
.hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
  object-position: center right;
  z-index: -2;
}

.hero__overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 18, 24, 0.95) 0%, rgba(12, 18, 24, 0.82) 36%, rgba(12, 18, 24, 0.28) 72%),
    linear-gradient(0deg, rgba(12, 18, 24, 0.56), rgba(12, 18, 24, 0.08));
}

.hero__content {
  padding-block: 88px;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.95;
}

.hero__lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: #e3e9ea;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--ember);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.section--dark .eyebrow {
  color: #ff935f;
}

.hero__actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 800;
  line-height: 1.1;
}

.button--primary {
  background: var(--ember);
  color: #fff;
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--ember-dark);
  color: #fff;
}

.button--secondary {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.quick-contact {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.quick-contact__inner {
  justify-content: space-between;
  gap: 20px;
  padding-block: 18px;
}

.quick-contact__label {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.quick-contact__links {
  gap: 12px;
  flex-wrap: wrap;
  font-weight: 800;
}

.quick-contact__links a {
  color: var(--steel-dark);
  border-bottom: 2px solid var(--ember);
}

.section {
  padding-block: clamp(64px, 8vw, 104px);
}

.section--muted {
  background: #eef2f2;
}

.section--dark {
  background: var(--ink);
  color: #fff;
}

.split,
.process,
.material-section,
.quality-flow,
.contact-layout,
.detail-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

h3 {
  margin: 0;
  font-size: 1.12rem;
}

.section-lead,
.page-hero p,
.capability-copy p,
.material-section p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section--dark .material-section p,
.section--dark .process p {
  color: #c4cdd0;
}

.feature-grid,
.service-grid,
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.feature-card,
.service-card,
.capability-grid article,
.timeline article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 1px 0 rgba(18, 24, 32, 0.04);
}

.feature-card__number,
.service-card__icon,
.timeline span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  aspect-ratio: 1;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: #edf2f2;
  color: var(--steel-dark);
  font-weight: 900;
}

.feature-card p,
.service-card p,
.capability-grid p,
.timeline p {
  margin: 12px 0 0;
  color: var(--muted);
}

.process {
  align-items: start;
}

.process-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.process-list span {
  color: #fff;
  font-weight: 900;
}

.process-list p {
  margin: 0;
}

.sector-band {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.sector-list,
.material-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sector-list span,
.material-tags span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 10px 12px;
  font-weight: 800;
}

.material-tags span {
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.cta-band {
  background: var(--steel-dark);
  color: #fff;
}

.cta-band__inner {
  justify-content: space-between;
  gap: 24px;
  padding-block: clamp(34px, 5vw, 56px);
}

.cta-band h2 {
  max-width: 760px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(18, 24, 32, 0.96), rgba(30, 55, 71, 0.94)),
    url("../img/forge-hero.jpg") center right / cover;
  color: #fff;
}

.page-hero__inner {
  padding-block: clamp(76px, 12vw, 132px);
}

.page-hero h1 {
  font-size: clamp(2.6rem, 6vw, 5.4rem);
}

.page-hero p {
  max-width: 720px;
  margin-top: 20px;
  color: #dce5e6;
}

.service-grid {
  margin-top: 0;
}

.service-card {
  display: flex;
  min-height: 275px;
  flex-direction: column;
}

.service-card a {
  margin-top: auto;
  color: var(--steel-dark);
  font-weight: 900;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.2em;
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--green);
  box-shadow: inset 0 0 0 4px #d8eee8;
}

.capability-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(30px, 6vw, 70px);
}

.capability-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  column-gap: 16px;
}

.timeline article p {
  grid-column: 2;
}

.spec-callout {
  display: grid;
  gap: 18px;
  max-width: 780px;
}

.spec-callout p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.spec-callout a:not(.button) {
  color: var(--steel-dark);
  font-weight: 900;
}

.contact-section {
  padding-top: clamp(44px, 7vw, 84px);
}

.contact-panel,
.quote-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 32px);
  box-shadow: var(--shadow);
}

.contact-panel h2,
.quote-form h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.contact-method {
  display: grid;
  gap: 4px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}

.contact-method span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-method a {
  color: var(--steel-dark);
  font-size: 1.15rem;
  font-weight: 900;
}

.contact-note {
  margin-top: 24px;
  padding: 18px;
  border-radius: var(--radius);
  background: #eef4f4;
}

.contact-note p {
  margin: 8px 0 0;
  color: var(--muted);
}

.quote-form {
  display: grid;
  gap: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid #c7d0d2;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(223, 97, 40, 0.22);
  border-color: var(--ember);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
}

.site-footer {
  background: #0f151b;
  color: #dce4e5;
  padding-block: 44px 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 30px;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 0.92rem;
  text-transform: uppercase;
}

.site-footer p {
  max-width: 380px;
  color: #aeb9bc;
}

.site-footer a {
  display: block;
  width: fit-content;
  margin-top: 8px;
}

.brand--footer .brand__mark {
  background: linear-gradient(135deg, var(--steel), var(--ember));
}

.brand--footer small {
  color: #aeb9bc;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #aeb9bc;
  font-size: 0.9rem;
}

@media (max-width: 840px) {
  .top-strip__inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 9px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: grid;
    gap: 4px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-header.is-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero {
    min-height: 620px;
  }

  .hero__overlay {
    background:
      linear-gradient(90deg, rgba(12, 18, 24, 0.95), rgba(12, 18, 24, 0.7)),
      linear-gradient(0deg, rgba(12, 18, 24, 0.78), rgba(12, 18, 24, 0.18));
  }

  .quick-contact__inner,
  .cta-band__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .split,
  .process,
  .material-section,
  .quality-flow,
  .contact-layout,
  .detail-panel,
  .sector-band,
  .capability-layout {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .service-grid,
  .capability-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .process-list li,
  .timeline article {
    grid-template-columns: 1fr;
  }

  .timeline article p {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  :root {
    --container: min(100% - 24px, 1120px);
  }

  .top-strip__links,
  .quick-contact__links {
    display: grid;
    gap: 6px;
  }

  .brand__mark {
    width: 42px;
  }

  .brand strong {
    font-size: 1rem;
  }

  .hero {
    min-height: 560px;
  }

  .hero h1 {
    font-size: clamp(3rem, 20vw, 4.7rem);
  }

  .hero__actions,
  .form-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .feature-card,
  .service-card,
  .capability-grid article,
  .timeline article,
  .contact-panel,
  .quote-form {
    padding: 20px;
  }
}
