@font-face {
  font-family: "DM Sans";
  src: url("/assets/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}
:root {
  color-scheme: dark;
  font-family: "DM Sans", sans-serif;
  color: #f7f0e5;
  background: #141310;
  --copper: #e8a16d;
  --margin: clamp(1.3rem, 5vw, 5.5rem);
}
* { box-sizing: border-box; }
body, h1, p { margin: 0; }
body { min-width: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
::selection { color: #1b120c; background: var(--copper); }
:focus-visible { outline: 2px solid #ffbd89; outline-offset: 5px; }
.page {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-rows: auto 1fr auto;
  background: radial-gradient(ellipse at 78% 45%, #30241a 0, #221c16 26%, transparent 65%), #141310;
}
.masthead, footer {
  position: relative; z-index: 2; margin-inline: var(--margin);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.masthead { padding-block: clamp(1.1rem,2.7vh,2.2rem); border-bottom: 1px solid #bca38439; }
.lockup { display: block; height: auto; width: clamp(9.4rem, 14vw, 13.8rem); filter: brightness(0) invert(.92) sepia(.21); }
.sign-in {
  color: #f8eee1; text-decoration: none; font-size: .91rem; font-weight: 600;
  min-height: 44px; padding: .65rem 1.25rem; border: 1px solid #ae9980a6; border-radius: 3rem;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .18s, border-color .18s, color .18s;
}
.sign-in:hover { color: #201811; background: #eac7a4; border-color: #eac7a4; }
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; overflow: hidden; padding: clamp(1.8rem,3.7vh,4rem) var(--margin); }
.jobsite { position: absolute; inset: 0; z-index: -2; pointer-events: none; opacity: .22; background: url("/assets/field-pump-768.webp") left 52% / cover no-repeat; filter: grayscale(1); mix-blend-mode: luminosity; mask-image: linear-gradient(0deg, #0008, transparent 66%); }
.hero::after { content: ""; pointer-events: none; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #15141080 0, transparent 59%); }
.copy { position: relative; z-index: 1; padding-block: 1rem; align-self: center; }
.eyebrow { display: flex; align-items: center; gap: .72rem; color: #e4b48d; font-weight: 650; font-size: .875rem; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow span { width: 2.1rem; height: 2px; background: var(--copper); }
h1 { margin-top: clamp(1.25rem, 3.5vh, 2.8rem); font-size: clamp(5.4rem,9.2vw,10.5rem); line-height: .88; font-weight: 510; letter-spacing: -.065em; word-spacing: .065em; }
h1 em { display: inline-block; margin-top: .02em; padding-right: .08em; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-style: italic; color: var(--copper); letter-spacing: -.085em; }
.description { color: #d5cbbc; font-size: clamp(1.06rem,1.45vw,1.35rem); line-height: 1.57; max-width: 22em; margin-top: clamp(1.55rem,3.7vh,3.4rem); text-wrap: pretty; }
.art { position: relative; justify-self: center; width: calc(100% + var(--margin)); max-width: 85svh; margin-left: calc(var(--margin) * -.15); aspect-ratio: 820 / 650; pointer-events: none; }
.art canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.fallback-bull { position: absolute; width: 57.5%; height: 83%; left: 22%; top: 8%; object-fit: contain; filter: brightness(1.65) saturate(.95); }
.art.ready .fallback-bull { visibility: hidden; }
footer { min-height: 4.8rem; padding-block: .55rem; color: #cfc4b5; border-top: 1px solid #bca38439; }
.location, .motion-button { display: inline-flex; align-items: center; gap: .65rem; font-size: .9rem; line-height: 1.2; }
.location { font-weight: 540; }
.crosshair { display: inline-block; width: 14px; height: 14px; border: 1px solid #e4ac7f; border-radius: 50%; position: relative; background: radial-gradient(circle, #e4ac7f 0 1.5px, transparent 2px); }
.crosshair::before, .crosshair::after { content: ""; position: absolute; background: #e4ac7f; }
.crosshair::before { width: 2px; height: 4px; left: 5px; top: -2px; }
.crosshair::after { height: 2px; width: 4px; top: 5px; right: -2px; }
.motion-button { min-height: 44px; color: inherit; background: transparent; border: 0; padding: .55rem .15rem .55rem .6rem; font-family: inherit; cursor: pointer; }
.motion-button:hover { color: #fff3db; }
.pause-mark { width: 9px; height: 11px; border-inline: 2px solid currentColor; }
.motion-button[data-paused] .pause-mark { border: 1px solid currentColor; border-radius: 50%; width: 10px; height: 10px; }
@media (min-aspect-ratio: 2/1) and (min-width: 1000px) {
  .art { max-width: min(100%,87vh); justify-self: end; }
  .hero { padding-block: 1.8rem; }
}
@media (max-width: 800px) {
  .page { background: radial-gradient(ellipse at 64% 62%, #30251c, transparent 58%), #171511; }
  .hero { grid-template-columns: minmax(0, 1fr); align-content: center; padding-block: clamp(1.8rem,5vh,3.5rem) 0; }
  .copy { padding: 0; }
  .eyebrow { font-size: .875rem; letter-spacing: .105em; }
  h1 { margin-top: 1.05rem; font-size: clamp(4.8rem, 12vw, 6.4rem); line-height: .93; }
  .description { margin-top: 1rem; font-size: 1.03rem; max-width: 28rem; }
  .art { width: min(calc(100% + var(--margin) * 2), 32rem); justify-self: center; margin: -.1rem 0 -.4rem; }
  .jobsite { opacity: .16; background-position: 57% center; }
  footer { min-height: 3.7rem; }
}
@media (max-width: 360px) {
  h1 { font-size: 4rem; }
  .sign-in { padding-inline: .8rem; }
  .location, .motion-button { gap: .4rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
}
