/* =========================================================
   A.M INDUSTRIAL — design system
   Brand colors:
     --green:    #18281b   (primary, hunter green from BC)
     --green-2:  #2a3d2f   (lighter step)
     --bone:     #f5f1e8   (paper white)
     --black:    #0d0d0d
     --char:     #2b2b2b
     --grey:     #6b6b6b
     --rule:     rgba(13,13,13,.12)
   Type:
     Display: NaN Rage Slab X-Condensed Semibold (brand TTF)
     Body:    Inter (Google Fonts fallback)
   ========================================================= */

@font-face {
  font-family: "NaN Rage Slab";
  src: url("assets/fonts/NaNRageSlabXCondensed-Semibold-TRIAL.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "NaN Rage Slab";
  src: url("assets/fonts/NaNRageSlabCondensed-ExtraLight-TRIAL.ttf") format("truetype");
  font-weight: 200;
  font-display: swap;
}

:root {
  --green: #18281b;
  --green-2: #2a3d2f;
  --bone: #f5f1e8;
  --black: #0d0d0d;
  --char: #2b2b2b;
  --grey: #6b6b6b;
  --rule: rgba(13, 13, 13, 0.12);
  --rule-light: rgba(245, 241, 232, 0.18);

  --display: "NaN Rage Slab", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bone);
  color: var(--char);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { padding: 0; margin: 0; list-style: none; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------------- TOP BAR ---------------- */
.topbar {
  background: var(--green);
  color: var(--bone);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 32px;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar__contact a { margin: 0 6px; }
.topbar__contact a:hover { text-decoration: underline; }
.dot { opacity: 0.5; margin: 0 4px; }

/* Emergency CTA */
.topbar__emergency {
  display: inline-flex;
  align-items: center;
  background: var(--bone);
  color: var(--green) !important;
  padding: 6px 14px 6px 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.topbar__emergency:hover {
  background: var(--char);
  color: var(--bone) !important;
  text-decoration: none;
}
.topbar__pulse {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d32f2f;
  margin-right: 10px;
  box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.6);
  animation: tb-pulse 1.6s ease-in-out infinite;
}
@keyframes tb-pulse {
  0%   { opacity: 1; box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.6); }
  70%  { opacity: 0.7; box-shadow: 0 0 0 7px rgba(211, 47, 47, 0); }
  100% { opacity: 1; box-shadow: 0 0 0 0 rgba(211, 47, 47, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .topbar__pulse { animation: none; }
}

/* ---------------- HEADER / BRAND / NAV ---------------- */
.header {
  background: var(--bone);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
}
.brand__img {
  height: 42px;
  width: auto;
  display: block;
}
.nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav a:hover { color: var(--green); }
.nav__cta {
  background: var(--green);
  color: var(--bone) !important;
  padding: 12px 18px;
  letter-spacing: 0.08em;
}
.nav__cta:hover { background: var(--black); }

/* ---------------- HERO ---------------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
  color: var(--bone);
}
.hero__video,
.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.05) brightness(0.6);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 13, 13, 0.55) 0%,
    rgba(24, 40, 27, 0.7) 100%
  );
}
.hero__inner {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
  text-align: center;
}
.hero__inner .eyebrow,
.hero__inner .hero__lede,
.hero__inner .hero__sub { margin-left: auto; margin-right: auto; }
.hero__ctas { justify-content: center; }
.eyebrow {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone);
  opacity: 0.85;
  margin: 0 0 24px;
}
.eyebrow--dark { color: var(--green); opacity: 1; }
.hero__h {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.005em;
  margin: 0 0 28px;
  text-transform: uppercase;
}
.hero__lede {
  max-width: 640px;
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--bone);
  opacity: 0.95;
  margin: 0 0 22px;
}
.hero__sub {
  max-width: 640px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--bone);
  opacity: 0.85;
  margin: 0 0 36px;
}
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__scroll {
  position: absolute;
  bottom: 24px;
  left: 32px;
  font-size: 11px;
  letter-spacing: 0.3em;
  opacity: 0.6;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 24px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn--primary { background: var(--green); color: var(--bone); border-color: var(--green); }
.btn--primary:hover { background: var(--bone); color: var(--green); }
.btn--ghost { background: transparent; color: var(--bone); border-color: var(--bone); }
.btn--ghost:hover { background: var(--bone); color: var(--green); }
.btn--small { padding: 10px 16px; font-size: 12px; letter-spacing: 0.08em; border-width: 2px; }
.btn--ghost.btn--small { color: var(--green); border-color: var(--green); }
.btn--ghost.btn--small:hover { background: var(--green); color: var(--bone); }

/* ---------------- NAV ACTIVE ---------------- */
.nav a.nav__active {
  color: var(--green);
  border-bottom: 2px solid var(--green);
  padding-bottom: 4px;
}

/* ---------------- CREDENTIALS BAND ---------------- */
.credentials {
  background: var(--bone);
  padding: 36px 0;
  border-bottom: 1px solid var(--rule);
}
.credentials__eyebrow {
  text-align: center;
  letter-spacing: 0.4em;
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  opacity: 0.85;
  text-transform: uppercase;
  margin: 0 0 24px;
}
.credentials__list {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.credential {
  border: 2px solid var(--green);
  background: var(--bone);
  padding: 14px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 150px;
  transition: background 0.2s ease;
}
.credential:hover { background: var(--green); }
.credential:hover .credential__name,
.credential:hover .credential__sub { color: var(--bone); }
.credential__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--green);
  line-height: 1;
  transition: color 0.2s ease;
}
.credential__sub {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  opacity: 0.7;
  margin-top: 6px;
  transition: color 0.2s ease;
}

/* Simplified Core Values: just a single sentence statement */
.values--simple { text-align: center; }
.values--simple .container { display: flex; flex-direction: column; justify-content: center; height: 100%; }
.values__statement {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(36px, 5vw, 72px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
  color: var(--bone);
  margin: 12px auto 0;
  max-width: 1100px;
}

/* ---------------- CORE VALUES BAND ---------------- */
.values {
  background: var(--green);
  color: var(--bone);
  min-height: 100vh;
  padding: 5vh 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  box-sizing: border-box;
}
.values__eyebrow {
  text-align: center;
  letter-spacing: 0.4em;
  font-size: 12px;
  font-weight: 700;
  color: var(--bone);
  opacity: 0.6;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.values__h {
  text-align: center;
  font-family: var(--display);
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 4vh;
}
.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule-light);
  border-left: 1px solid var(--rule-light);
}
.values__grid li {
  display: flex;
  flex-direction: column;
  padding: 36px 32px 32px;
  min-height: 150px;
  border-right: 1px solid var(--rule-light);
  border-bottom: 1px solid var(--rule-light);
  background: transparent;
  transition: background 0.25s ease;
}
.values__grid li:hover { background: rgba(245, 241, 232, 0.035); }
.values__num {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--bone);
  opacity: 0.45;
  margin-bottom: 18px;
}
.values__word {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(30px, 3.2vw, 44px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--bone);
  margin: 0 0 16px;
}
.values__sub {
  font-size: 15px;
  color: var(--bone);
  opacity: 0;
  margin: 0;
  line-height: 1.4;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.values__grid li:hover .values__sub {
  opacity: 0.78;
  transform: translateY(0);
}

/* ---------------- SERVICES ---------------- */
.services {
  background: var(--bone);
  min-height: 100vh;
  padding: 5vh 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}
.services .section-header { margin: 0 0 4vh; }
.section-header { max-width: 720px; margin: 0 0 64px; }
.section-header h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--black);
  margin: 0 0 16px;
}
.section-header__sub { font-size: 18px; color: var(--char); margin: 0; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.svc {
  padding: 28px 32px;
  min-height: 200px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--bone);
  transition: background 0.25s ease;
  display: flex;
  flex-direction: column;
}
.svc:hover { background: #ece7d8; }
.svc__num {
  font-family: var(--display);
  font-weight: 200;
  font-size: 26px;
  color: var(--green);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 12px;
}
.svc h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(24px, 2.4vw, 30px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--black);
  margin: 0 0 14px;
  line-height: 1.05;
}
.svc p {
  font-size: 14px;
  color: var(--char);
  margin: 0;
  opacity: 0;
  line-height: 1.4;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.svc:hover p {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------- INDUSTRIES ---------------- */
.industries {
  background: var(--black);
  color: var(--bone);
  min-height: 100vh;
  padding: 5vh 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid var(--green);
  border-bottom: 1px solid var(--green);
  box-sizing: border-box;
}
.industries .section-header { margin: 0 0 4vh; }
.industries .section-header h2 { color: var(--bone); }
.industries .section-header__sub { color: var(--bone); opacity: 0.8; }
.industries .eyebrow--dark { color: var(--bone); opacity: 0.85; }
.industries__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule-light);
  border-left: 1px solid var(--rule-light);
}
.industry {
  padding: 28px 32px;
  min-height: 220px;
  border-right: 1px solid var(--rule-light);
  border-bottom: 1px solid var(--rule-light);
  transition: background 0.25s ease;
  display: flex;
  flex-direction: column;
}
.industry:hover { background: rgba(245, 241, 232, 0.04); }
.industry__num {
  font-family: var(--display);
  font-weight: 200;
  font-size: 26px;
  color: var(--bone);
  opacity: 0.5;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 12px;
}
.industry h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(24px, 2.4vw, 30px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--bone);
  margin: 0 0 14px;
  line-height: 1.05;
}
.industry p {
  font-size: 14px;
  color: var(--bone);
  opacity: 0;
  margin: 0;
  line-height: 1.4;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.industry:hover p {
  opacity: 0.78;
  transform: translateY(0);
}

/* ---------------- PROJECT SPOTLIGHT ---------------- */
.projects {
  background: var(--bone);
  min-height: 100vh;
  padding: 3vh 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid var(--rule);
  box-sizing: border-box;
}
.projects .section-header { margin: 0 0 2.5vh; }
.projects__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.project {
  background: var(--bone);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.project:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(13, 13, 13, 0.12);
}
.project__image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--green);
}
.project__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.project:hover .project__image img { transform: scale(1.04); }
.project__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--green);
  color: var(--bone);
  padding: 6px 12px;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.project__copy { padding: 16px 20px 18px; }
.project__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(20px, 2vw, 26px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--black);
  margin: 0 0 10px;
  line-height: 1.1;
}
.project__sub {
  font-size: 15px;
  color: var(--char);
  margin: 0;
  line-height: 1.5;
}
.projects__grid--three { grid-template-columns: repeat(3, 1fr); }
.projects--full { padding: 80px 0 100px; }

/* Slim page header (used on projects page) */
.page-header {
  background: var(--green);
  color: var(--bone);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--green);
}
.page-header .eyebrow {
  color: var(--bone);
  opacity: 0.8;
  margin: 0 0 16px;
}
.page-header__h {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(36px, 4vw, 56px);
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0 0 16px;
  color: var(--bone);
}
.page-header__sub {
  font-size: 17px;
  line-height: 1.5;
  opacity: 0.85;
  max-width: 720px;
  margin: 0;
  color: var(--bone);
}
.projects__cta {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
/* Center orphan card only in 2-col grids (NOT the 3-col --three on projects.html / homepage preview) */
.projects__grid:not(.projects__grid--three) .project:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: calc(50% - 16px);
  margin: 0 auto;
}
.projects__note {
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--grey);
  margin: 0;
}
.projects__preview-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ---------------- STATS ---------------- */
.stats {
  background: var(--green);
  color: var(--bone);
  padding: 100px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-light);
  border-left: 1px solid var(--rule-light);
}
.stat {
  padding: 40px 28px;
  border-right: 1px solid var(--rule-light);
  border-bottom: 1px solid var(--rule-light);
}
.stat__num {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(56px, 7vw, 88px);
  line-height: 1;
  margin-bottom: 8px;
}
.stat__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}
.stats__note {
  margin-top: 24px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
}

/* ---------------- ABOUT ---------------- */
.about { padding: 120px 0; background: var(--bone); }
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__copy h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0 0 24px;
  color: var(--black);
}
.about__copy .lede { font-size: 19px; color: var(--char); margin: 0 0 22px; }
.about__copy p { color: var(--char); margin: 0 0 18px; }
.about__closer {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(20px, 1.8vw, 26px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--green);
  line-height: 1.15;
  margin: 24px 0 24px !important;
}
.signature { font-size: 15px; line-height: 1.4; }
.about__photo {
  aspect-ratio: 4/5;
  background: var(--green);
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.about__portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ---------------- AREA / MAP ---------------- */
.area {
  background: var(--green);
  color: var(--bone);
  min-height: 100vh;
  padding: 5vh 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}
.area .eyebrow { color: var(--bone); opacity: 0.7; }
.area__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.area__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.area h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(44px, 5.6vw, 80px);
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
  letter-spacing: -0.005em;
}
.area__map {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* ---------------- SAFETY CULTURE ---------------- */
.safety {
  background: var(--bone);
  min-height: 100vh;
  padding: 5vh 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid var(--rule);
  box-sizing: border-box;
}
.safety h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(32px, 3.5vw, 48px);
  text-transform: uppercase;
  color: var(--black);
  margin: 0 0 16px;
  line-height: 1.05;
}
.safety__sub {
  font-size: 18px;
  color: var(--char);
  margin: 0 0 4vh;
  max-width: 680px;
  line-height: 1.5;
}
.safety__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.pillar {
  padding: 24px 32px;
  min-height: 160px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--bone);
  transition: background 0.25s ease;
  display: flex;
  flex-direction: column;
}
.pillar:hover { background: #ece7d8; }
.pillar__num {
  font-family: var(--display);
  font-weight: 200;
  font-size: 26px;
  color: var(--green);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 12px;
}
.pillar__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(24px, 2.4vw, 30px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--black);
  margin: 0 0 14px;
  line-height: 1.05;
}
.pillar__sub {
  font-size: 15px;
  color: var(--char);
  margin: 0;
  opacity: 0;
  line-height: 1.4;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.pillar:hover .pillar__sub {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------- CONTACT ---------------- */
.contact { background: var(--black); color: var(--bone); padding: 120px 0; }
.contact .eyebrow { color: var(--bone); opacity: 0.7; }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contact__copy h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(36px, 4vw, 56px);
  text-transform: uppercase;
  margin: 0 0 20px;
  line-height: 1.05;
}
.contact__details { margin-top: 32px; }
.contact__details li {
  display: grid;
  grid-template-columns: 110px 1fr;
  padding: 14px 0;
  border-top: 1px solid var(--rule-light);
  font-size: 15px;
}
.contact__details li:last-child { border-bottom: 1px solid var(--rule-light); }
.contact__details strong {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  font-weight: 600;
}
.contact__form { display: flex; flex-direction: column; gap: 16px; }
.contact__form label {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}
.contact__form input,
.contact__form select,
.contact__form textarea {
  margin-top: 8px;
  background: transparent;
  border: 1px solid var(--rule-light);
  color: var(--bone);
  padding: 14px 12px;
  font-family: var(--body);
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
}
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--bone);
}
.contact__form select option {
  background: var(--bone);
  color: var(--char);
}
.contact__form button { align-self: flex-start; margin-top: 8px; }
.contact__form button:disabled { opacity: 0.6; cursor: not-allowed; }
.form-thanks {
  background: var(--green);
  border: 1px solid var(--rule-light);
  padding: 28px 32px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--bone);
  margin: 0;
}
.form-thanks strong {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(22px, 2vw, 28px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0 0 12px;
}

/* ---------------- FOOTER ---------------- */
.footer { background: var(--green); color: var(--bone); padding-top: 64px; }
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer__logo { height: 56px; margin-bottom: 4px; }
.footer__tag { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; margin: 12px 0 0; }
.footer__col h4 {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0 0 16px;
  opacity: 0.85;
}
.footer__col ul li { font-size: 14px; padding: 6px 0; opacity: 0.85; }
.footer__col a:hover { opacity: 1; text-decoration: underline; }
.footer__bottom {
  border-top: 1px solid var(--rule-light);
  padding: 22px 0;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}
.footer__bottom-inner { display: flex; justify-content: space-between; }

/* =========================================================
   CAREERS PAGE
   ========================================================= */

/* ---------------- CAREERS HERO ---------------- */
.careers-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: var(--black);
  color: var(--bone);
  background-image:
    linear-gradient(rgba(13, 13, 13, 0.55), rgba(24, 40, 27, 0.78)),
    url('assets/img/careers-crew.jpg');
  background-size: cover;
  background-position: center top;
  border-bottom: 1px solid var(--green);
}
.careers-hero__inner {
  padding-top: 100px;
  padding-bottom: 100px;
}
.careers-hero__h {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(48px, 6.5vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.005em;
  margin: 0 0 28px;
  text-transform: uppercase;
}
.careers-hero__lede {
  max-width: 680px;
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--bone);
  opacity: 0.95;
  margin: 0 0 36px;
}
.careers-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------------- WHY OUR CREW STAYS ---------------- */
.why-stay {
  background: var(--black);
  color: var(--bone);
  min-height: 100vh;
  padding: 5vh 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--green);
  box-sizing: border-box;
}
.why-stay .section-header { margin: 0 0 4vh; }
.why-stay .section-header h2 { color: var(--bone); }
.why-stay .eyebrow--dark { color: var(--bone); opacity: 0.85; }
.why-stay__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--rule-light);
  border-left: 1px solid var(--rule-light);
}
.reason {
  padding: 28px 32px;
  min-height: 180px;
  border-right: 1px solid var(--rule-light);
  border-bottom: 1px solid var(--rule-light);
  transition: background 0.25s ease;
  display: flex;
  flex-direction: column;
}
.reason:hover { background: rgba(245, 241, 232, 0.04); }
.reason__num {
  font-family: var(--display);
  font-weight: 200;
  font-size: 26px;
  color: var(--bone);
  opacity: 0.5;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 12px;
}
.reason__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(24px, 2.4vw, 30px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--bone);
  margin: 0 0 14px;
  line-height: 1.05;
}
.reason__sub {
  font-size: 15px;
  color: var(--bone);
  opacity: 0;
  margin: 0;
  line-height: 1.4;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.reason:hover .reason__sub {
  opacity: 0.78;
  transform: translateY(0);
}

/* ---------------- OPEN POSITIONS ---------------- */
.openings {
  background: var(--bone);
  padding: 100px 0;
  border-bottom: 1px solid var(--rule);
}
.openings__list {
  border-top: 1px solid var(--rule);
}
.opening {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  transition: background 0.2s ease;
}
.opening:hover { background: #ece7d8; padding-left: 16px; padding-right: 16px; }
.opening__main { flex: 1; }
.opening__main h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(22px, 2.2vw, 28px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--black);
  margin: 0 0 6px;
  line-height: 1.1;
}
.opening__tag {
  display: inline-block;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-left: 10px;
  opacity: 0.7;
}
.opening__main p {
  font-size: 15px;
  color: var(--char);
  margin: 0;
  line-height: 1.5;
}
.opening__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}
.opening__type {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ---------------- APPRENTICESHIP ---------------- */
.apprentice {
  background: var(--green);
  color: var(--bone);
  padding: 100px 0;
}
.apprentice .eyebrow--dark { color: var(--bone); opacity: 0.85; }
.apprentice .section-header h2 { color: var(--bone); }
.apprentice .section-header__sub { color: var(--bone); opacity: 0.85; }
.apprentice__paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-light);
  border-left: 1px solid var(--rule-light);
}
.path {
  padding: 32px 28px;
  border-right: 1px solid var(--rule-light);
  border-bottom: 1px solid var(--rule-light);
  display: flex;
  flex-direction: column;
}
.path__from {
  font-family: var(--display);
  font-weight: 200;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bone);
  opacity: 0.7;
  display: block;
}
.path__arrow {
  font-family: var(--display);
  font-size: 28px;
  color: var(--bone);
  opacity: 0.5;
  margin: 6px 0 4px;
  display: block;
  line-height: 1;
}
.path__to {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(22px, 2.2vw, 28px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--bone);
  display: block;
  margin-bottom: 16px;
  line-height: 1.05;
}
.path__note {
  font-size: 14px;
  color: var(--bone);
  opacity: 0.78;
  line-height: 1.5;
  margin: 0;
}

/* ---------------- BENEFITS ---------------- */
.benefits {
  background: var(--bone);
  padding: 100px 0;
}
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.benefit {
  padding: 28px 32px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  background: var(--bone);
  transition: background 0.2s ease;
}
.benefit:hover { background: #ece7d8; }
.benefit h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(18px, 1.8vw, 22px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--green);
  margin: 0 0 8px;
  line-height: 1.15;
}
.benefit p {
  font-size: 14px;
  color: var(--char);
  margin: 0;
  line-height: 1.45;
}
.benefits__note {
  margin-top: 24px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ---------------- CREW VOICES ---------------- */
.voices {
  background: var(--black);
  color: var(--bone);
  padding: 100px 0;
  border-top: 1px solid var(--green);
  border-bottom: 1px solid var(--green);
}
.voices .section-header h2 { color: var(--bone); }
.voices .eyebrow { color: var(--bone); opacity: 0.7; }
.voices__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.voices__grid .voice:only-child {
  grid-column: 1 / -1;
  max-width: 820px;
  margin: 0 auto;
}
.voice {
  margin: 0;
  padding: 32px 36px;
  border-left: 4px solid var(--bone);
}
.voice p {
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.3;
  color: var(--bone);
  margin: 0 0 16px;
  text-transform: none;
  letter-spacing: 0;
}
.voice cite {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bone);
  opacity: 0.7;
}
.voices__note {
  margin-top: 32px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bone);
  opacity: 0.5;
  text-align: center;
}

/* ---------------- APPLY (CAREERS) ---------------- */
.apply {
  background: var(--black);
  color: var(--bone);
  padding: 100px 0;
}
.apply .eyebrow { color: var(--bone); opacity: 0.7; }
.apply__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.apply__copy h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(36px, 4vw, 56px);
  text-transform: uppercase;
  margin: 0 0 20px;
  line-height: 1.05;
}
.apply__details { margin-top: 32px; }
.apply__details li {
  display: grid;
  grid-template-columns: 90px 1fr;
  padding: 14px 0;
  border-top: 1px solid var(--rule-light);
  font-size: 15px;
}
.apply__details li:last-child { border-bottom: 1px solid var(--rule-light); }
.apply__details strong {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  font-weight: 600;
}

/* =========================================================
   CD NOTE "LESS IS MORE" — COMPACT SERVICES / INDUSTRIES / SAFETY
   Hide intro paragraphs and shrink cells on desktop so sections feel
   like a quick overview, not a deep-dive. Hover still reveals details.
   ========================================================= */
@media (min-width: 701px) {
  .services .section-header__sub,
  .industries .section-header__sub { display: none; }
  .safety__sub {
    font-size: 16px;
    margin: 0 0 24px;
    max-width: 600px;
  }
  .svc { min-height: 140px; padding: 22px 28px; }
  .industry { min-height: 140px; padding: 22px 28px; }
  .pillar { min-height: 110px; padding: 20px 28px; }
}

/* =========================================================
   MOBILE NAV (HAMBURGER)
   ========================================================= */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 10px;
  position: relative;
  z-index: 110;
}
.nav-toggle__line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green);
  margin: 5px auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* =========================================================
   RESPONSIVE — DESKTOP-ISH (≤ 900px)
   ========================================================= */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--bone);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    z-index: 100;
    padding: 80px 24px;
    text-align: center;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav { display: flex; }
  body.nav-open .nav-toggle__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle__line:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav a { font-size: 22px; color: var(--green); }
  .nav__cta { color: var(--bone) !important; padding: 12px 22px; }
  .careers-hero { min-height: auto; }
  .careers-hero__inner { padding-top: 60px; padding-bottom: 60px; }
}

/* =========================================================
   MOBILE-FIRST APP LAYOUT (≤ 700px)
   Each section fits ~one viewport, app-like compact grids
   ========================================================= */
@media (max-width: 700px) {
  .container { padding: 0 16px; }

  /* All major sections: 100vh, content centered, app-feel */
  .credentials, .values, .services, .industries, .stats, .safety, .area, .about, .contact, .projects {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6vh 0;
    box-sizing: border-box;
  }
  .credentials { min-height: auto; padding: 28px 0; } /* slim band */

  /* Section headers compact */
  .section-header { margin: 0 0 22px; max-width: none; }
  .section-header h2,
  .safety h2, .area h2, .contact__copy h2 {
    font-size: clamp(26px, 7vw, 36px);
    margin: 0 0 10px;
    line-height: 1.05;
  }
  .section-header__sub { font-size: 14px; line-height: 1.45; }
  .eyebrow { margin: 0 0 10px; font-size: 11px; }

  /* TOPBAR */
  .topbar__locale, .topbar__contact { display: none; }
  .topbar__inner { justify-content: center; padding: 8px 12px; }
  .topbar__emergency { font-size: 11px; padding: 6px 10px; letter-spacing: 0.06em; }

  /* HERO */
  .hero { min-height: 100vh; }
  .hero__inner { padding-top: 60px; padding-bottom: 60px; }
  .hero__h { font-size: clamp(40px, 11vw, 60px); margin: 0 0 18px; }
  .hero__lede { font-size: clamp(16px, 4.4vw, 20px); margin: 0 0 14px; }
  .hero__sub { font-size: 14px; margin: 0 0 22px; }
  .hero__ctas { flex-direction: column; gap: 10px; }
  .hero__ctas .btn { width: 100%; text-align: center; padding: 14px 18px; }

  /* CREDENTIALS BAND */
  .credentials__list { gap: 8px; }
  .credential { padding: 10px 14px; min-width: 0; flex: 1 1 100px; }
  .credential__name { font-size: 16px; }
  .credential__sub { font-size: 9px; margin-top: 4px; }

  /* CORE VALUES — 2x3 grid, descriptions visible & compact */
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .values__grid li { padding: 14px 12px; min-height: 0; }
  .values__num { font-size: 11px; margin-bottom: 6px; }
  .values__word { font-size: clamp(15px, 4vw, 18px); margin: 0 0 4px; }
  .values__sub { opacity: 0.78; transform: none; font-size: 11px; line-height: 1.3; }

  /* SERVICES — 3x3 grid, app-like icon tiles, just title visible */
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .svc { padding: 12px 8px; min-height: 0; }
  .svc__num { font-size: 14px; margin-bottom: 6px; }
  .svc h3 { font-size: clamp(11px, 3vw, 14px); line-height: 1.1; margin: 0; }
  .svc p { display: none; }

  /* INDUSTRIES — 2x3 grid */
  .industries__grid { grid-template-columns: repeat(2, 1fr); }
  .industry { padding: 14px 12px; min-height: 0; }
  .industry__num { font-size: 11px; margin-bottom: 6px; }
  .industry h3 { font-size: clamp(13px, 3.5vw, 16px); margin: 0 0 4px; }
  .industry p { opacity: 0.78; transform: none; font-size: 11px; line-height: 1.3; }

  /* STATS — 2x2 grid, compact */
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 16px 12px; }
  .stat__num { font-size: clamp(36px, 11vw, 56px); }
  .stat__label { font-size: 10px; letter-spacing: 0.1em; }

  /* ABOUT — photo above text, compact */
  .about__grid { grid-template-columns: 1fr; gap: 18px; }
  .about__photo { aspect-ratio: 4/3; max-height: 32vh; order: -1; }
  .about__copy h2 { font-size: clamp(28px, 8vw, 40px); margin: 0 0 14px; }
  .about__copy .lede { font-size: 15px; margin: 0 0 14px; }
  .about__copy p { font-size: 13px; margin: 0 0 12px; }
  .about__closer { font-size: clamp(15px, 4vw, 18px); margin: 14px 0 14px !important; }
  .signature { font-size: 13px; }

  /* SERVICE AREA — text + map stacked, map capped */
  .area__grid { grid-template-columns: 1fr; gap: 14px; }
  .area__map { max-height: 45vh; max-width: 100%; }

  /* SAFETY CULTURE — 2x2, descriptions visible */
  .safety__grid { grid-template-columns: repeat(2, 1fr); }
  .pillar { padding: 14px 12px; min-height: 0; }
  .pillar__num { font-size: 14px; margin-bottom: 6px; }
  .pillar__name { font-size: clamp(13px, 3.5vw, 16px); margin: 0 0 4px; }
  .pillar__sub { opacity: 1; transform: none; font-size: 11px; line-height: 1.3; }
  .safety__sub { font-size: 14px; margin: 0 0 18px; }

  /* CONTACT — compact form */
  .contact__grid { grid-template-columns: 1fr; gap: 22px; }
  .contact__copy p { font-size: 14px; }
  .contact__details li { grid-template-columns: 70px 1fr; padding: 10px 0; font-size: 14px; }
  .contact__form { gap: 10px; }
  .contact__form label { font-size: 11px; }
  .contact__form input, .contact__form select, .contact__form textarea {
    padding: 10px;
    font-size: 14px;
  }

  /* PROJECT SPOTLIGHT (homepage preview) — all 4 cards + CTA in one viewport */
  .projects { padding: 3vh 0; }
  .projects__grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .projects .section-header { margin: 0 0 10px; }
  .projects .section-header h2 { font-size: clamp(20px, 5.5vw, 28px); margin: 0; line-height: 1.05; }
  .projects .section-header h2 br { display: none; } /* keep title on one line */
  .projects .section-header__sub { display: none; }
  .project__image { aspect-ratio: 2/1; } /* very short image */
  .project__copy { padding: 6px 8px 8px; }
  .project__title { font-size: clamp(11px, 2.8vw, 13px); margin: 0; line-height: 1.1; }
  .project__sub { display: none; }
  .project__tag { font-size: 8px; padding: 3px 6px; top: 5px; left: 5px; letter-spacing: 0.06em; }
  .projects__grid .project:last-child:nth-child(odd) { grid-column: auto; max-width: none; margin: 0; }
  .projects__preview-cta { margin-top: 10px; }
  .projects__preview-cta .btn { width: 100%; text-align: center; padding: 10px 16px; font-size: 12px; }

  /* FOOTER — single column, tight */
  .footer { padding-top: 36px; }
  .footer__inner { grid-template-columns: 1fr; gap: 22px; padding-bottom: 24px; }
  .footer__col h4 { font-size: 11px; margin: 0 0 10px; }
  .footer__col ul li { font-size: 13px; }
  .footer__bottom-inner { flex-direction: column; gap: 8px; text-align: center; }

  /* PROJECTS PAGE — 2 col grid for case studies */
  .projects__grid--three { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .projects--full { padding: 40px 0 60px; }
  .page-header { padding: 36px 0 28px; }
  .page-header__h { font-size: clamp(26px, 7vw, 36px); }
  .page-header__sub { font-size: 13px; }

  /* CAREERS PAGE adjustments */
  .careers-hero__inner { padding-top: 50px; padding-bottom: 50px; }
  .careers-hero__h { font-size: clamp(36px, 10vw, 56px); margin: 0 0 18px; }
  .careers-hero__lede { font-size: clamp(15px, 4vw, 18px); margin: 0 0 22px; }
  .careers-hero__ctas { flex-direction: column; gap: 10px; }
  .careers-hero__ctas .btn { width: 100%; text-align: center; }
  .why-stay { min-height: 100vh; padding: 5vh 0; }
  .why-stay__grid { grid-template-columns: repeat(2, 1fr); }
  .reason { padding: 14px 12px; min-height: 0; }
  .reason__num { font-size: 11px; margin-bottom: 6px; }
  .reason__name { font-size: clamp(14px, 4vw, 17px); margin: 0 0 4px; }
  .reason__sub { opacity: 0.78; transform: none; font-size: 11px; line-height: 1.3; }
  .openings { padding: 5vh 0; }
  .opening { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 0; }
  .opening__meta { flex-direction: row; align-items: center; gap: 12px; }
  .apprentice { padding: 5vh 0; }
  .apprentice__paths { grid-template-columns: 1fr; }
  .path { padding: 18px 14px; }
  .voices { padding: 5vh 0; }
  .voices__grid { grid-template-columns: 1fr; }
  .voices__grid .voice:only-child { max-width: 100%; }
  .voice { padding: 18px 14px; }
  .voice p { font-size: 16px; }
  .apply { padding: 5vh 0; }
  .apply__grid { grid-template-columns: 1fr; gap: 20px; }
  .apply__copy h2 { font-size: clamp(28px, 8vw, 40px); }
}

/* Ultra-narrow phones (<380px) — emergency button minor tighten */
@media (max-width: 380px) {
  .topbar__emergency { font-size: 10px; padding: 5px 8px; }
  .topbar__pulse { width: 7px; height: 7px; margin-right: 7px; }
}
