/* HARDLINE Build Co. -- poster system: safety orange on bone paper, Anton + Inter Tight */
:root {
  --orange: #F8873F;
  --orange-deep: #E9702C;
  --bone: #F2E2C6;
  --paper: #E5D5B6;
  --paper-2: #DCCAA8;
  --ink: #1D1A16;
  --ink-2: #3A332B;
  --amber: #F2BE4C;
  --slate-0: #0E141C;
  --slate-1: #17222D;
  --slate-2: #243643;
  --teal: #62B4BC;
  --sig-red: #E5482E;
  --sig-green: #47C07A;
  --display: "Anton", "Impact", "Arial Narrow Bold", sans-serif;
  --text: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(12px, 1.6vw, 24px);
  --top: 64px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
canvas { display: block; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
b { font-weight: 700; }

/* paper grain over everything */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background: url(../assets/grain.png) repeat;
  background-size: 192px;
  opacity: .32; mix-blend-mode: multiply;
}

.tracked {
  font-family: var(--text); font-weight: 600; font-size: 11px;
  letter-spacing: .38em; text-transform: uppercase; line-height: 1.4;
}
.meta {
  position: absolute; z-index: 6;
  font-family: var(--text); font-weight: 700; font-size: 11px; line-height: 1.25;
  letter-spacing: .04em; text-transform: uppercase; color: var(--ink);
}
.meta--tl { top: 22px; left: 26px; }
.meta--tr { top: 22px; right: 26px; text-align: right; }
.meta--light { color: var(--bone); }

/* warning triangle glyph */
.tri {
  display: inline-block; width: 14px; height: 13px; vertical-align: -1px; margin-left: .5em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 26'%3E%3Cpath d='M14 2 26 24H2Z' fill='none' stroke='black' stroke-width='2.4' stroke-linejoin='round'/%3E%3Cpath d='M14 9.5v7' stroke='black' stroke-width='2.6' stroke-linecap='round'/%3E%3Ccircle cx='14' cy='20' r='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 26'%3E%3Cpath d='M14 2 26 24H2Z' fill='none' stroke='black' stroke-width='2.4' stroke-linejoin='round'/%3E%3Cpath d='M14 9.5v7' stroke='black' stroke-width='2.6' stroke-linecap='round'/%3E%3Ccircle cx='14' cy='20' r='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.tri--lg { width: 30px; height: 28px; vertical-align: -8px; margin-left: 1em; }

/* pills: outlined callouts from the poster series */
.pill {
  display: inline-flex; align-items: center; gap: .45em;
  border: 1.5px solid var(--ink); border-radius: 999px;
  padding: .72em 1.35em; white-space: nowrap;
  font-family: var(--text); font-weight: 500; font-size: 15px; line-height: 1;
  color: var(--ink); background: transparent;
  transition: background-color .25s, color .25s, transform .35s cubic-bezier(.2,.9,.3,1.3);
}
.pill--callout { position: absolute; z-index: 7; background: var(--orange); font-size: clamp(13px, 1.12vw, 17px); }
.pill--ink { background: var(--ink); color: var(--bone); }
.pill--ink:hover { background: var(--orange); color: var(--ink); }
.pill--night { border-color: var(--bone); color: var(--bone); background: rgba(14, 20, 28, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pill--big { font-size: clamp(16px, 1.6vw, 22px); padding: .9em 1.7em; background: var(--ink); color: var(--bone); }
.pill--big:hover { background: var(--bone); color: var(--ink); transform: scale(1.04); }
.pill.is-hot { background: var(--ink); color: var(--bone); transform: scale(1.06); }

/* ---------------------------------------------------------------- top bar */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--top);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 calc(var(--gutter) + 6px);
  transition: background-color .3s, color .3s;
}
.topbar.is-dark { color: var(--bone); }
.topbar.is-solid { background: rgba(229, 213, 182, .86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.topbar.is-dark.is-solid { background: rgba(14, 20, 28, .72); }
.brand { font-family: var(--display); font-size: 26px; letter-spacing: .01em; line-height: 1; }
.brand sup { font-family: var(--text); font-size: 10px; font-weight: 600; vertical-align: 14px; margin-left: 2px; }
.nav { display: flex; gap: 28px; }
.nav a { font-weight: 600; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 1.5px; background: currentColor; transition: right .3s; }
.nav a:hover::after { right: 0; }
.nav-cta { font-size: 13px; padding: .7em 1.2em; }
.topbar.is-dark .nav-cta { background: var(--bone); color: var(--ink); border-color: var(--bone); }

/* ---------------------------------------------------------------- poster frame */
.poster {
  position: relative; overflow: hidden;
  background: var(--orange);
  border-radius: 2px;
}
.poster::after { /* faint print vignette */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 8;
  background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(120, 50, 10, .18) 100%);
}

/* ---------------------------------------------------------------- 01 hero */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 560px;
  padding: var(--top) var(--gutter) 46px;
}
.hero__poster { height: 100%; }
.hero__word {
  position: absolute; left: 0; right: 0; z-index: 2;
  top: var(--word-top, 34%);
  text-align: center; pointer-events: none;
  font-family: var(--display); font-weight: 400; color: var(--bone);
  font-size: var(--word-size, 21vw); line-height: .8; letter-spacing: -.005em;
  white-space: nowrap;
  will-change: transform;
}
.hero__word-inner { display: inline-block; }
.hero__word .ch { display: inline-block; will-change: transform; }

.crew { position: absolute; z-index: 4; pointer-events: none; }
.hero .crew, .cta .crew { inset: 0; }
.crew__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.crew__fallback { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; opacity: 0; }
.crew.no-gl .crew__fallback { opacity: 1; }
.crew__tags { position: absolute; inset: 0; }
.tag {
  position: absolute; transform: translate(-50%, -100%);
  font-weight: 700; font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  background: var(--ink); color: var(--bone); padding: 6px 10px 5px; border-radius: 3px;
  opacity: 0; transition: opacity .25s, transform .35s cubic-bezier(.2,.9,.3,1.3);
  white-space: nowrap;
}
.tag::after { content: ""; position: absolute; left: 50%; bottom: -5px; margin-left: -5px; border: 5px solid transparent; border-bottom: 0; border-top-color: var(--ink); }
.tag.is-on { opacity: 1; transform: translate(-50%, calc(-100% - 8px)); }

.hero__pills { position: absolute; inset: 0; z-index: 7; pointer-events: none; }
.hero__pills .pill { will-change: transform; }
.pill--cropped { right: -60px; }

.hero__foot {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 46px;
  display: flex; align-items: center; justify-content: space-between;
}
.hero__scroll { font-weight: 700; font-size: 11px; letter-spacing: .3em; }

/* ---------------------------------------------------------------- 02 signal */
.signal { position: relative; height: 330vh; background: var(--paper); }
.signal__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: grid; grid-template-columns: 62fr 38fr; overflow: hidden;
}
.signal__field { position: relative; background: var(--orange); padding: calc(var(--top) + 24px) 0 40px; overflow: hidden; }
.signal__count { position: absolute; top: calc(var(--top) + 6px); left: 4vw; color: var(--ink); }
.signal__stages { position: absolute; inset: 0; }
.stage { position: absolute; inset: 0; pointer-events: none; }
.stage__word {
  position: absolute; left: -.04em; top: 18%;
  font-family: var(--display); color: var(--bone); line-height: .8;
  font-size: clamp(120px, 21vw, 420px);
}
.stage__word--2 { left: auto; right: 4%; top: auto; bottom: 9%; font-size: clamp(70px, 10.5vw, 210px); text-align: right; }
.stage__arrow {
  position: absolute; left: 4%; top: 58%; width: 26%; height: auto;
  fill: none; stroke: var(--bone); stroke-width: 15; stroke-linecap: butt; stroke-linejoin: miter;
}
.note { position: absolute; font-weight: 600; font-size: 13px; letter-spacing: .04em; color: var(--ink); }
.note--a { left: 58%; top: 24%; }
.note--b { left: 68%; top: 34%; }
.signal__side { position: relative; background: var(--bone); }
.vticker {
  position: absolute; top: 0; bottom: 0; right: 0; width: 46px; overflow: hidden;
  display: flex; justify-content: center;
}
.vticker__track {
  writing-mode: vertical-rl; white-space: nowrap;
  font-family: var(--text); font-weight: 600; font-size: 13px; letter-spacing: .28em; color: var(--ink);
  will-change: transform;
}

/* ---------------------------------------------------------------- 03 build */
.build { position: relative; height: 560vh; background: var(--slate-0); color: var(--bone); }
.build__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: radial-gradient(110% 80% at 60% 30%, var(--slate-2) 0%, var(--slate-1) 45%, var(--slate-0) 100%); }
.build__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.build__hud { position: absolute; inset: 0; pointer-events: none; }
.build__hud .meta { top: calc(var(--top) + 6px); left: 4vw; }
.build__level { position: absolute; left: 4vw; bottom: 9vh; display: flex; flex-direction: column; }
.build__label { color: var(--amber); margin-bottom: 6px; }
.build__num { font-family: var(--display); font-size: clamp(90px, 13vw, 230px); line-height: .82; font-variant-numeric: tabular-nums; }
.build__of { color: var(--teal); font-size: .38em; vertical-align: .9em; }
.build__day { position: absolute; right: 4vw; top: calc(var(--top) + 6px); color: var(--amber); }
.build__caption { position: absolute; right: 4vw; bottom: 11vh; font-size: 16px; }
.build__bar { position: absolute; left: 4vw; right: 4vw; bottom: 5vh; height: 2px; background: rgba(242, 226, 198, .18); }
.build__bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--orange); }
.build__title {
  position: absolute; right: 4vw; top: calc(var(--top) + 46px); text-align: right;
  font-family: var(--display); font-weight: 400; font-size: clamp(48px, 6vw, 110px); line-height: .86;
  color: var(--bone); pointer-events: none;
}
.build__title span { display: block; }

/* ---------------------------------------------------------------- 04 services */
.services { position: relative; height: 420vh; background: var(--paper); }
.services__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.services__head { flex: none; width: 24vw; align-self: flex-start; margin-top: 2vh; }
.services__head .tracked { margin-top: 12px; }
.display-sm { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 4.6vw, 84px); line-height: .9; }
.services__track {
  position: absolute; top: 0; bottom: 0; left: 0;
  display: flex; align-items: center; gap: 4vw; padding: calc(var(--top) + 20px) 8vw 30px 4vw;
  will-change: transform;
}
.services__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.spost { flex: none; height: min(78vh, 760px); aspect-ratio: 4 / 5; background: var(--bone); padding: 2.2%; box-shadow: 0 30px 60px -30px rgba(40, 20, 0, .35); }
.spost__panel { position: relative; height: 100%; background: var(--orange); overflow: hidden; }
.spost--bone .spost__panel { background: var(--bone); outline: 1.5px solid var(--ink); outline-offset: -1.5px; }
.spost--bone { background: var(--orange); }
.spost--amber .spost__panel { background: var(--amber); }
.spost--slate .spost__panel { background: var(--slate-1); }
.spost--slate .meta, .spost--slate .spost__foot { color: var(--bone); }
.spost .meta { font-size: 10px; top: 16px; }
.spost .meta--tl { left: 18px; } .spost .meta--tr { right: 18px; }
.spost__word {
  position: absolute; left: 0; right: 0; top: 16%; text-align: center; z-index: 1;
  font-family: var(--display); font-weight: 400; color: var(--bone);
  font-size: clamp(80px, 9.6vw, 190px); line-height: .82;
}
.spost--bone .spost__word { color: var(--orange); }
.spost--amber .spost__word { color: var(--bone); }
.spost--slate .spost__word { color: var(--orange); }
.spost__stage { position: absolute; inset: 0; z-index: 3; }
.spost .pill--callout { z-index: 4; font-size: clamp(12px, .95vw, 15px); opacity: 0; transform: scale(.6); }
.spost--slate .pill--callout { background: var(--slate-1); color: var(--bone); border-color: var(--bone); }
.spost--amber .pill--callout { background: var(--amber); }
.spost--bone .pill--callout { background: var(--bone); }
.spost .s1 { left: 7%; top: 44%; }
.spost .s2 { right: 7%; top: 58%; }
.spost .s3 { left: 12%; top: 74%; }
.spost__foot { position: absolute; left: 0; right: 0; bottom: 4.5%; text-align: center; font-size: 9.5px; letter-spacing: .34em; z-index: 4; }

/* ---------------------------------------------------------------- 05 numbers */
.numbers { position: relative; background: var(--bone); padding: 22vh 4vw 16vh; overflow: hidden; }
.tape {
  position: absolute; left: -10vw; right: -10vw; height: 54px; overflow: hidden; z-index: 3;
  background: repeating-linear-gradient(-45deg, var(--amber) 0 26px, var(--ink) 26px 52px);
  display: flex; align-items: center; box-shadow: 0 10px 30px -12px rgba(0,0,0,.35);
}
.tape__track {
  white-space: nowrap; background: var(--amber); color: var(--ink); padding: 7px 0;
  font-weight: 700; font-size: 15px; letter-spacing: .3em; will-change: transform;
}
.tape--a { top: 7vh; transform: rotate(-3deg); }
.tape--b { bottom: 5vh; transform: rotate(2.4deg); background: repeating-linear-gradient(45deg, var(--orange) 0 26px, var(--ink) 26px 52px); }
.tape--b .tape__track { background: var(--orange); }
.numbers__grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, 1fr); gap: 7vh 4vw; }
.stat { border-top: 1.5px solid var(--ink); padding-top: 18px; }
.stat__n { font-family: var(--display); font-size: clamp(90px, 12vw, 220px); line-height: .9; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat:nth-child(2) .stat__n, .stat:nth-child(3) .stat__n { color: var(--orange-deep); }
.odo { display: flex; align-items: flex-start; overflow: hidden; height: 1em; line-height: 1; }
.odo__col { display: flex; flex-direction: column; flex: none; height: auto; will-change: transform; }
.odo__col span { height: 1em; display: block; text-align: center; }
.odo__fixed { display: inline-block; }
.numbers__note { position: relative; z-index: 2; margin-top: 6vh; font-size: 12px; color: var(--ink-2); }

/* ---------------------------------------------------------------- 06 attention */
.attention { background: var(--paper); padding: 10vh var(--gutter); }
.attention__poster { height: min(96vh, 1100px); max-width: 1180px; margin: 0 auto; }
.attention__word {
  position: absolute; left: 0; right: 0; top: 34%; z-index: 2; text-align: center;
  font-family: var(--display); font-weight: 400; color: var(--bone);
  font-size: var(--att-size, 18vw); line-height: .8; white-space: nowrap;
}
.attention__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; }
.attention .a1 { left: 26%; top: 27%; }
.attention .a2 { left: -1.5%; top: 47%; }
.attention .a3 { left: 51%; top: 60%; }
.attention .a4 { left: 26%; top: 71%; }
.attention .a5 { top: 12%; right: -40px; }
.attention__foot { position: absolute; left: 0; right: 0; bottom: 4.5%; text-align: center; z-index: 6; font-size: 12px; }

/* ---------------------------------------------------------------- 07 work */
.work { background: var(--paper); padding: 8vh 4vw 14vh; }
.work__head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 5vh; }
.work__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6vw; }
.card { position: relative; background: var(--bone); padding: 10px 10px 16px; cursor: pointer; }
.card__art { width: 100%; aspect-ratio: 4 / 5; height: auto; background: var(--orange); }
.card__meta { padding: 14px 4px 0; }
.card__meta h3 { font-family: var(--display); font-weight: 400; font-size: clamp(20px, 1.8vw, 30px); line-height: 1; margin-bottom: 8px; }
.card__meta .tracked { font-size: 9.5px; letter-spacing: .24em; }
.card__pill { left: 50%; top: 40%; transform: translate(-50%, 10px) scale(.8); opacity: 0; font-size: 13px; transition: opacity .3s, transform .4s cubic-bezier(.2,.9,.3,1.3); }
.card:hover .card__pill { opacity: 1; transform: translate(-50%, 0) scale(1); }

/* ---------------------------------------------------------------- 08 cta */
.cta { background: var(--paper); padding: 0 var(--gutter); }
.cta__poster { height: 100vh; height: 100svh; min-height: 620px; background: var(--orange); }
.cta__word {
  position: absolute; left: 0; right: 0; top: 9%; z-index: 2; text-align: center;
  font-family: var(--display); font-weight: 400; color: var(--bone);
  font-size: clamp(96px, min(14vw, 26vh), 290px); line-height: .82;
}
.cta__word span { display: block; }
.cta__btn { position: absolute; left: 50%; top: 53%; transform: translateX(-50%); z-index: 9; }
.cta__btn:hover { transform: translateX(-50%) scale(1.04); }
.footer {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  padding: 22px 6px 30px; font-size: 12px; color: var(--ink-2);
}
.footer p { text-align: center; max-width: 720px; margin: 0 auto; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 900px) {
  :root { --top: 56px; }
  .nav { display: none; }
  .brand { font-size: 22px; }
  .meta { font-size: 9.5px; }
  .meta--tl { top: 14px; left: 14px; } .meta--tr { top: 14px; right: 14px; }
  .pill--callout { font-size: 12px; }
  .hero__foot .tracked { letter-spacing: .22em; font-size: 9.5px; }
  .signal__sticky { grid-template-columns: 1fr; grid-template-rows: 58fr 42fr; }
  .stage__word { font-size: 31vw; top: 14%; }
  .stage__word--2 { font-size: 15vw; top: auto; bottom: 8%; }
  .stage__arrow { top: 52%; width: 34%; stroke-width: 18; }
  .note--a { left: 6%; top: 66%; font-size: 11px; } .note--b { left: 6%; top: 71%; font-size: 11px; }
  .stage__arrow { left: 6%; top: 50%; }
  .tl { left: 50%; top: 5%; height: 100%; transform: translateX(-50%); }
  .services__head { width: 70vw; }
  .build__caption { bottom: auto; top: calc(var(--top) + 34px); right: 4vw; font-size: 13px; }
  .build__day { top: calc(var(--top) + 6px); }
  .services__track { padding-left: 8vw; gap: 6vw; padding-top: calc(var(--top) + 90px); }
  .spost { height: min(66vh, 560px); }
  .numbers__grid { grid-template-columns: 1fr; }
  .attention__poster { height: 88vh; }
  .attention .pill--callout { font-size: 11px; }
  .work__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .footer { grid-template-columns: 1fr; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* section additions */
.tl { position: absolute; left: -9%; top: 9%; height: 96%; aspect-ratio: 415 / 1200; z-index: 2; perspective: 1000px; }
.tl__tilt { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; will-change: transform; }
.tl__img { width: 100%; height: 100%; filter: drop-shadow(22px 26px 24px rgba(70, 36, 10, .3)); }
.tl__lamp { position: absolute; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); }
.tl__lamp::before { /* unlit: smoked glass */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 45% 38%, rgba(30, 20, 14, .28), rgba(12, 8, 6, .74) 70%);
  mix-blend-mode: multiply; transition: opacity .3s;
}
.tl__lamp::after { /* lit: hot core + halo spilling onto the paper */
  content: ""; position: absolute; inset: -110%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 250, 225, .9) 0 9%, var(--glow) 18%, transparent 58%);
  mix-blend-mode: screen; opacity: 0; transition: opacity .3s;
}
.tl__lamp.is-on::before { opacity: 0; }
.tl__lamp.is-on::after { opacity: 1; animation: lamp-hum 2.4s ease-in-out infinite; }
@keyframes lamp-hum { 0%, 100% { filter: brightness(1); } 47% { filter: brightness(1.12); } 50% { filter: brightness(.86); } 53% { filter: brightness(1.08); } }
.spost.is-in .pill--callout { opacity: 1; transform: scale(1); }
.spost .pill--callout { transition: opacity .35s, transform .5s cubic-bezier(.2,.9,.3,1.4); }
.spost.is-in .s2 { transition-delay: .08s; } .spost.is-in .s3 { transition-delay: .16s; }
.attention__word { font-size: 18vw; top: 31%; }
.cta .crew { z-index: 4; }

/* phone overrides that must come after the section additions above */
@media (max-width: 900px) {
  .tl { left: 50%; top: 4%; height: 104%; transform: translateX(-50%); }
  .spost { height: auto; width: 80vw; }
  .spost .pill--callout { font-size: 11px; }
}
