:root {
  --ink: #080808;
  --steel: #1c1c1b;
  --safety: #f5c400;
  --paper: #f5f5f2;
  --ash: #b9b9b5;
  --display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --text: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

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

html { background: var(--ink); -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; }

:focus-visible { outline: 3px solid var(--safety); outline-offset: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 5;
  padding: 30px clamp(24px, 5.5vw, 80px);
}
.logo {
  display: inline-block;
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: 26px;
  letter-spacing: .2em;
  text-decoration: none;
  color: #fff;
}
.logo span { color: var(--safety); }

/* ---------- Hero ---------- */
.hero {
  flex: 1;
  display: grid;
  grid-template-columns: 5fr 6fr;
  min-height: calc(100svh - 76px);
}

.copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: clamp(120px, 16vh, 170px) clamp(24px, 3vw, 56px) clamp(56px, 9vh, 100px) clamp(24px, 7vw, 120px);
}

.status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  color: var(--safety);
  font-weight: 700;
  font-size: 16px;
}
.status::before {
  content: "";
  width: 12px; height: 12px;
  background: var(--safety);
  transform: skewX(-18deg);
}

h1 {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(44px, 5.6vw, 96px);
  line-height: .92;
  letter-spacing: -.015em;
  text-transform: uppercase;
  color: #fff;
}
h1 .work { display: block; color: var(--safety); }

.lede {
  margin-top: 30px;
  max-width: 30ch;
  color: var(--ash);
  font-size: clamp(18px, 1.5vw, 22px);
}

.divider {
  width: 74px; height: 4px;
  margin: 36px 0 28px;
  background: var(--safety);
}

.tough {
  font-weight: 700;
  font-size: clamp(18px, 1.5vw, 22px);
  color: #fff;
}
.soon {
  margin-top: 4px;
  font-weight: 700;
  font-size: clamp(18px, 1.5vw, 22px);
  color: var(--safety);
}

.cta {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px 14px 18px;
  border: 1px solid #3a3a38;
  text-decoration: none;
  transition: background-color .2s, border-color .2s, color .2s;
}
.cta svg { width: 34px; height: 34px; flex: none; color: var(--safety); transition: color .2s; }
.cta small { display: block; color: var(--ash); font-size: 14px; line-height: 1.2; transition: color .2s; }
.cta strong { display: block; font-size: 19px; line-height: 1.35; overflow-wrap: anywhere; }
.cta:hover, .cta:focus-visible { background: var(--safety); border-color: var(--safety); color: var(--ink); }
.cta:hover svg, .cta:focus-visible svg, .cta:hover small, .cta:focus-visible small { color: var(--ink); }

/* ---------- Visual ---------- */
.visual { position: relative; overflow: hidden; background: var(--steel); }
.visual picture { position: absolute; inset: 0; display: block; }
.visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
  animation: settle .9s cubic-bezier(.2, .7, .2, 1) both;
}
/* fades the photo into the page black on the text side and at the footer */
.visual::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--ink) 0, rgba(8, 8, 8, 0) 36%),
    linear-gradient(0deg, var(--ink) 0, rgba(8, 8, 8, 0) 14%);
}
@keyframes settle {
  from { opacity: 0; transform: translateX(28px) scale(1.03); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Footer ---------- */
.site-footer { position: relative; z-index: 3; background: var(--ink); }
.rule { display: block; width: 100%; height: 24px; }
.rule path { fill: none; stroke: var(--safety); stroke-width: 2; vector-effect: non-scaling-stroke; }

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 32px;
  padding: 6px clamp(24px, 5.5vw, 80px) 22px;
  color: var(--ash);
  font-size: 13px;
}
.pillars { display: flex; list-style: none; letter-spacing: .22em; text-transform: uppercase; color: #ddd; }
.pillars li + li::before { content: "/"; margin: 0 1.1em; color: var(--safety); }

/* ---------- 404 ---------- */
.notfound .copy { align-self: center; }
.notfound .hero { grid-template-columns: 1fr; }
.notfound .lede { max-width: 38ch; }

/* ---------- Mobile / tablet ---------- */
@media (max-width: 860px) {
  body { font-size: 17px; }
  .site-header { padding: 22px 24px; }
  .logo { font-size: 22px; }

  .hero { grid-template-columns: 1fr; min-height: 0; }

  .visual {
    order: -1;
    height: clamp(340px, 58svh, 560px);
  }
  .visual::after {
    background:
      linear-gradient(180deg, rgba(8, 8, 8, .75) 0, rgba(8, 8, 8, 0) 28%),
      linear-gradient(0deg, var(--ink) 0, rgba(8, 8, 8, 0) 42%);
  }
  .visual img { object-position: 50% 58%; }

  .copy { margin-top: -56px; padding: 0 24px 44px; }
  h1 { font-size: clamp(40px, 13.2vw, 92px); }
  .lede { margin-top: 22px; max-width: 34ch; }
  .divider { margin: 28px 0 22px; }
  .cta { display: flex; width: 100%; margin-top: 32px; }

  .footer-row { justify-content: center; text-align: center; padding-bottom: 20px; }
  .pillars { letter-spacing: .14em; font-size: 12px; }
  .pillars li + li::before { margin: 0 .8em; }
  .notfound .copy { margin-top: 0; padding-top: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  .visual img { animation: none; }
  .cta, .cta svg, .cta small { transition: none; }
}
