/* Maximum Industrial — reel */
:root {
  --bg: #000;
  --ink: #e8e8e8;
  --ink-soft: #c8c8c8;
  --ink-dim: #8a8a8a;
  --rust: #c2410c;
  --line: #1c1c1c;
  --header-h: 3.6rem;
  --pad-x: clamp(1.25rem, 4.6vw, 5.25rem);
  --copy-w: 38rem;
}

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

html {
  color-scheme: dark;
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Barlow, sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--bg);
  color: var(--ink);
  padding: 0.7rem 1rem;
  text-decoration: none;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.8rem;
}
.skip:focus,
.skip:focus-visible {
  left: 1rem;
  top: 1rem;
}

:focus { outline: none; }
:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

/* Header sits on the hero */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad-x);
  background: #000;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.hex {
  width: 0.95rem;
  height: 1.08rem;
  flex: 0 0 auto;
}

.wordmark__name {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.header-phone {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.header-phone:hover { color: var(--ink-soft); }

/* Chapters */
.chapter {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  background: #000;
}

.chapter__media,
.chapter__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.chapter__media {
  object-fit: cover;
}

.chapter--pipeline .chapter__media {
  object-position: 42% 62%;
}
.chapter--people .chapter__media {
  object-position: 42% 38%;
}

.chapter__veil { pointer-events: none; }

.chapter--pipeline .chapter__veil {
  background:
    linear-gradient(90deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.62) 32%, rgba(0,0,0,0.18) 54%, transparent 70%),
    linear-gradient(0deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.4) 32%, transparent 58%);
}

.chapter--people .chapter__veil {
  background:
    linear-gradient(90deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.74) 34%, rgba(0,0,0,0.28) 55%, transparent 72%),
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.18) 28%, transparent 50%);
}

.chapter__copy {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--header-h) + 2.5rem) var(--pad-x) 4.75rem;
  max-width: var(--copy-w);
  width: 100%;
}

.caption {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.15rem;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rust);
}

.caption::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: var(--rust);
  flex: 0 0 auto;
}

.headline {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: clamp(2.6rem, 7.4vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: var(--ink);
}

.dek {
  margin: 1.15rem 0 0;
  max-width: 22rem;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.4;
  color: var(--ink-soft);
}

.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  margin-top: 2.15rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.92rem 1.5rem;
  border: 1px solid rgba(232, 232, 232, 0.88);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.cta:hover,
.cta:focus-visible {
  background: var(--ink);
  color: #000;
}


.chapter--hero .chapter__media {
  object-position: 62% 42%;
}
.chapter--dusk .chapter__media {
  object-position: 50% 38%;
}
.chapter--hero .chapter__veil {
  background:
    linear-gradient(90deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.55) 28%, rgba(0,0,0,0.18) 45%, transparent 68%),
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.12) 32%, transparent 55%);
}
.chapter--dusk .chapter__veil {
  background:
    linear-gradient(90deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.12) 52%, transparent 70%),
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.18) 36%, transparent 58%);
}

@media (max-width: 720px) {
  .chapter--hero .chapter__media { object-position: 70% 40%; }
  .chapter--dusk .chapter__media { object-position: 55% 35%; }
}

/* Hero / black type chapters */
.chapter--hero .chapter__copy,
.chapter--dusk .chapter__copy {
  justify-content: center;
  max-width: 46rem;
  padding-bottom: 12vh;
}

.chapter--hero .headline {
  font-size: clamp(3.1rem, 9.2vw, 7.4rem);
  letter-spacing: 0.06em;
}

.chapter--dusk .headline {
  font-size: clamp(2.4rem, 6.4vw, 5.2rem);
}

.chapter--pipeline .chapter__copy {
  justify-content: flex-end;
  padding-bottom: 8vh;
  max-width: 34rem;
}
.chapter--pipeline .headline {
  font-size: clamp(2rem, 4.8vw, 3.9rem);
}

.chapter--people .chapter__copy {
  justify-content: flex-start;
  padding-top: calc(var(--header-h) + 3.25rem);
  max-width: 40rem;
}

.chapter--people .headline {
  font-size: clamp(2.1rem, 5.4vw, 4.2rem);
}

.memo {
  margin: 1.6rem 0 0;
  padding: 0 0 0 1.1rem;
  border-left: 1px solid var(--rust);
  max-width: 32rem;
}
.memo p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.memo footer {
  margin-top: 0.85rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* Company closer */
.chapter--company,
.chapter--contact {
  overflow: visible;
}

.chapter--company .chapter__copy {
  max-width: 64rem;
  justify-content: flex-start;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 4rem;
}

.chapter--company .headline {
  font-size: clamp(2.2rem, 5.8vw, 4.6rem);
  max-width: 18ch;
}

.chapter--company .dek {
  max-width: 28rem;
}

.services {
  margin: 2.6rem 0 0;
  padding: 0;
  max-width: 52rem;
}

.svc {
  display: grid;
  grid-template-columns: minmax(11rem, 18rem) minmax(0, 1fr);
  gap: 0.35rem 2rem;
  margin: 0;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
}

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

.svc dt {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.svc dd {
  margin: 0;
  color: var(--ink-dim);
  font-size: 0.98rem;
  line-height: 1.45;
}

/* Contact */
.chapter--contact .chapter__copy {
  max-width: 42rem;
  justify-content: flex-start;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 4.5rem;
}

.phone-xl {
  display: inline-block;
  margin: 0.15rem 0 0;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: clamp(2.4rem, 7vw, 4.75rem);
  line-height: 1;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--ink);
}
.phone-xl:hover { color: var(--ink-soft); }

.email {
  display: inline-block;
  margin: 1.1rem 0 0;
  font-size: 1.05rem;
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.email:hover { color: var(--ink); }

.addr {
  margin: 0.7rem 0 0;
  font-size: 0.82rem;
  color: var(--ink-dim);
  letter-spacing: 0.04em;
}

.contact-form {
  margin-top: 2.6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem 1.5rem;
  max-width: 38rem;
}

.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #2a2a2a;
  border-radius: 0;
  padding: 0.55rem 0 0.65rem;
  color: var(--ink);
  appearance: none;
}

.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-dim) 50%),
                    linear-gradient(135deg, var(--ink-dim) 50%, transparent 50%);
  background-position: calc(100% - 12px) 50%, calc(100% - 6px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 1.5rem;
}

.field textarea {
  min-height: 6.5rem;
  resize: vertical;
  line-height: 1.5;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-bottom-color: var(--ink);
  outline: none;
}

.field select option {
  background: #111;
  color: #e8e8e8;
}

.cta:disabled {
  opacity: 0.4;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 1.5rem 0 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.form-note {
  margin: 2rem 0 0;
  color: var(--ink-dim);
  font-size: 0.95rem;
}

.site-footer {
  padding: 1.6rem var(--pad-x) 2.1rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
}
.site-footer a {
  color: var(--ink-dim);
  text-decoration: none;
}
.site-footer a:hover { color: var(--ink); }

@media (max-width: 760px) {
  .chapter--pipeline .chapter__media { object-position: 40% 70%; }
  .chapter--people .chapter__media { object-position: 58% 42%; }
  .svc { grid-template-columns: 1fr; gap: 0.3rem; padding: 1.05rem 0; }
  .contact-form { grid-template-columns: 1fr; }
  .chapter--people .chapter__copy { padding-top: calc(var(--header-h) + 2.2rem); }
  .wordmark__name { letter-spacing: 0.18em; }
}

@media (max-width: 420px) {
  .wordmark__name { letter-spacing: 0.12em; font-size: 0.68rem; }
  .header-phone { letter-spacing: 0.1em; font-size: 0.7rem; }
  .site-header { padding: 0 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cta { transition: none; }
}
