:root {
  --bg: #f4f1eb;
  --bg-deep: #e8e2d8;
  --ink: #1c2429;
  --ink-soft: #3a454d;
  --mute: #5c6670;
  --line: #d4cdc1;
  --signal: #f06a2b;
  --signal-deep: #d4551c;
  --white: #fffdf9;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(28, 36, 41, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(28, 36, 41, 0.03) 1px, transparent 1px),
    var(--bg);
  background-size: 28px 28px, 28px 28px, auto;
  line-height: 1.55;
  opacity: 0;
  transition: opacity 0.3s ease;
}

body.page-ready {
  opacity: 1;
}

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

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

.shell {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--signal);
  z-index: 60;
  transform-origin: left;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal);
}

h1,
h2,
h3 {
  margin: 0 0 0.85rem;
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
  color: var(--mute);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 241, 235, 0.9);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(10px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(28, 36, 41, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.75rem;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 58px;
  width: auto;
  display: block;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  padding: 0.45rem 0.8rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-weight: 500;
  font-size: 0.95rem;
}

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

.nav-cta {
  background: var(--ink);
  color: var(--white) !important;
  padding: 0.5rem 0.95rem;
}

.nav-cta:hover {
  background: var(--signal) !important;
  color: var(--white) !important;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: calc(100vh - 4.25rem);
}

.hero-media {
  position: relative;
  overflow: hidden;
  min-height: 28rem;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.9);
  transform: scale(1.08);
  transition: transform 0.1s linear;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(28, 36, 41, 0.15), transparent 45%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 39px,
      rgba(255, 255, 255, 0.08) 39px,
      rgba(255, 255, 255, 0.08) 40px
    );
  pointer-events: none;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 0 3.5rem 2.5rem;
  width: auto;
  max-width: none;
  background: var(--bg);
  border-left: 6px solid var(--signal);
}

.brand-lockup {
  margin-bottom: 1.25rem;
}

.brand-lockup-name {
  display: block;
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  line-height: 0.95;
}

.brand-lockup-tag {
  display: block;
  margin-top: 0.35rem;
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal);
}

.hero-line {
  font-family: "Archivo", sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.hero-lede {
  max-width: 28rem;
  font-size: 1.05rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  font: inherit;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-solid {
  background: var(--signal);
  color: var(--white);
  border-color: var(--signal);
}

.btn-solid:hover {
  background: var(--signal-deep);
  border-color: var(--signal-deep);
}

.btn-line {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-line:hover {
  border-color: var(--signal);
  color: var(--signal);
}

.btn-wide {
  width: 100%;
}

.ticker {
  background: var(--ink);
  color: var(--white);
}

.ticker-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.6rem 0;
}

.ticker-row em {
  display: block;
  font-family: "Archivo", sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--signal);
  margin-bottom: 0.2rem;
}

.ticker-row span {
  font-size: 0.88rem;
  color: #aeb6bc;
}

.block {
  padding: 5.5rem 0;
}

.about-layout,
.works-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-shot img {
  width: 100%;
  height: 28rem;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}

.about-shot figcaption {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--mute);
}

.check {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.check li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.35rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 10px;
  height: 3px;
  background: var(--signal);
}

.services {
  background: var(--bg-deep);
}

.section-intro {
  max-width: 32rem;
  margin-bottom: 2rem;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-list li {
  display: grid;
  grid-template-columns: 4rem 1fr 11rem;
  gap: 1.25rem;
  align-items: center;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.service-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.svc-num {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--signal);
}

.service-list p {
  margin: 0;
}

.service-list img {
  width: 11rem;
  height: 5.5rem;
  object-fit: cover;
  filter: grayscale(0.2);
}

.works-mosaic {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 12rem 12rem;
  gap: 0.75rem;
}

.works-a {
  grid-row: 1 / 3;
  height: 100%;
  object-fit: cover;
}

.works-b,
.works-c {
  height: 100%;
  object-fit: cover;
}

.method {
  background: var(--ink);
  color: var(--white);
}

.method .eyebrow {
  color: var(--signal);
}

.method h2 {
  color: var(--white);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.method-grid article {
  border-top: 2px solid var(--signal);
  padding-top: 1rem;
}

.method-grid strong {
  display: block;
  font-family: "Archivo", sans-serif;
  color: var(--signal);
  margin-bottom: 0.6rem;
}

.method-grid h3 {
  color: var(--white);
  margin-bottom: 0.4rem;
}

.method-grid p {
  color: #aeb6bc;
  margin: 0;
  font-size: 0.95rem;
}

.contact {
  background:
    linear-gradient(135deg, rgba(244, 241, 235, 0.94), rgba(244, 241, 235, 0.88)),
    url("../images/sector-mech.jpg") center/cover;
}

.contact-dl {
  margin: 1.5rem 0 0;
}

.contact-dl > div {
  margin-bottom: 1.1rem;
}

.contact-dl dt {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--signal);
  margin-bottom: 0.25rem;
}

.contact-dl dd {
  margin: 0;
  color: var(--ink-soft);
}

.contact-dl a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.enquiry {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.5rem;
  box-shadow: 10px 10px 0 rgba(240, 106, 43, 0.2);
}

.enquiry label {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.enquiry input,
.enquiry textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
  color: var(--ink);
}

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

.form-status {
  min-height: 1.2rem;
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
}

.form-status.is-success {
  color: var(--signal-deep);
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0 1.75rem;
  font-size: 0.88rem;
  color: var(--mute);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    padding: 2.5rem 0;
    border-left: 0;
    border-top: 6px solid var(--signal);
  }

  .hero-media {
    min-height: 22rem;
  }

  .about-layout,
  .works-layout,
  .contact-layout,
  .method-grid,
  .ticker-row {
    grid-template-columns: 1fr 1fr;
  }

  .service-list li {
    grid-template-columns: 3rem 1fr;
  }

  .service-list img {
    display: none;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1rem;
  }

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

  .nav a {
    padding: 0.7rem 0;
  }

  .ticker-row,
  .about-layout,
  .works-layout,
  .contact-layout,
  .method-grid,
  .works-mosaic {
    grid-template-columns: 1fr;
  }

  .works-mosaic {
    grid-template-rows: auto;
  }

  .works-a,
  .works-b,
  .works-c {
    height: 12rem;
  }

  .about-shot img {
    height: 18rem;
  }
}
