/* hardstockprint.com temporary landing page. Loaded after roderick-ui.css and the brand file (hardstock.css),
   which holds the locked colors, fonts, and the .on-navy token flip. Mint and berry are accents, never backgrounds. */

/* Wider than the brand site: the default screen is a 16-inch MacBook (about 1728 px wide). */
.wrap { width: min(1560px, 100% - clamp(40px, 7vw, 128px)); }

body.on-navy { background: var(--hs-navy);
  --rui-background: var(--hs-navy); --rui-surface: var(--ui-surface-1); --rui-text: var(--hs-ice); --rui-text-muted: #A6ACCD;
  --rui-border: var(--hs-line); --rui-focus: var(--hs-mint); }
.on-navy [data-slot="status-dot"] { --rui-status-dot-tone: var(--hs-mint); }

/* cream surfaces (the products section and the job ticket): reset the tokens .on-navy flipped */
.paper-block, .ticket {
  --rui-background: var(--hs-paper); --rui-surface: #fff; --rui-text: var(--hs-navy); --rui-text-muted: var(--hs-muted); --rui-focus: var(--hs-mint-p);
  --ui-ink: var(--hs-navy); --ui-paper: var(--hs-paper); --ui-muted: var(--hs-muted); --ui-accent: var(--hs-mint-p);
  --ui-tint: color-mix(in oklab, var(--hs-navy) 6%, var(--hs-paper));
  --ui-line: color-mix(in oklab, var(--hs-navy) 38%, var(--hs-paper));
  --ui-line-faint: color-mix(in oklab, var(--hs-navy) 16%, var(--hs-paper));
  --ui-surface-1: #fff; --ui-surface-2: #fff; --ui-surface-3: #fff;
  --hs-line: color-mix(in oklab, var(--hs-navy) 16%, var(--hs-paper));
  background: var(--hs-paper); color: var(--hs-navy);
}
.paper-block .eyebrow, .ticket .eyebrow { color: var(--hs-berry-p); }
.ticket [data-slot="status-dot"] { --rui-status-dot-tone: var(--hs-mint-p); }

/* header */
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.masthead .wordmark { height: 64px; width: auto; margin-left: -16px; }
.live { font-family: "Open Mono", monospace; font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.live [data-slot="status-dot-mark"], .ticket [data-slot="status-dot-mark"] { animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* hero: halftone dots fade in from the right, behind everything */
.hero { padding: 64px 0 104px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(color-mix(in oklab, var(--hs-ice) 16%, transparent) 1.1px, transparent 1.5px);
  background-size: 14px 14px;
  mask-image: radial-gradient(ellipse 60% 70% at 78% 45%, #000 0%, transparent 75%);
}
@media (min-width: 861px) { .hero .wrap { grid-template-columns: 1.3fr 1fr; } }
.hero .tag { font-family: "Open Mono", monospace; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: transparent; color: var(--hs-mint); border: 1px solid color-mix(in oklab, var(--hs-mint) 55%, var(--hs-navy)); }
/* Each headline line stays on one line at every width. "Heavy paper." is 7.19 em wide in Mona Sans 800 at 125%,
   so the size follows the text column's width (cqi) with a little room to spare. */
.hero .intro { container-type: inline-size; min-width: 0; }
.hero h1 { font-size: clamp(30px, 13.4cqi, 132px); }
.hero h1 .line { display: block; white-space: nowrap; }
.hero h1 .plain { color: inherit; }
.hero .lead { max-width: 48ch; }

/* the logo as a sheet on the press: crop marks, a slug line, and sheets that feed in along the 11° angle */
.sheet-stage { position: relative; padding: 44px 40px 56px; width: min(600px, 100%); justify-self: center; color: #A6ACCD; }
.mark { display: block; width: 100%; height: auto; overflow: visible; }
.crop { position: absolute; width: 30px; height: 30px; opacity: .7; }
.crop::before, .crop::after { content: ""; position: absolute; background: currentColor; }
.crop::before { width: 20px; height: 1.5px; }
.crop::after { width: 1.5px; height: 20px; }
.crop.tl { top: 0; left: 0; } .crop.tl::before { top: 29px; left: 0; } .crop.tl::after { left: 29px; top: 0; }
.crop.tr { top: 0; right: 0; } .crop.tr::before { top: 29px; right: 0; } .crop.tr::after { right: 29px; top: 0; }
.crop.bl { bottom: 0; left: 0; } .crop.bl::before { bottom: 29px; left: 0; } .crop.bl::after { left: 29px; bottom: 0; }
.crop.br { bottom: 0; right: 0; } .crop.br::before { bottom: 29px; right: 0; } .crop.br::after { right: 29px; bottom: 0; }
.slug { position: absolute; left: 40px; right: 40px; bottom: 6px; display: flex; justify-content: space-between; gap: 12px; font-size: 11px; }

/* The sheets run through the press every 7 s, and each pass mirrors the last (landing.js swaps the class when a
   pass ends). Pass A feeds in from the left, bottom-left sheet first, and exits right. Pass B feeds in from the
   right, top-right sheet first, and exits left. The full H rests about 5 s per pass. The wordmark stays put. */
.mark .sheet { animation: press-a 7s cubic-bezier(.2, .8, .2, 1) calc(.2s + var(--i) * 75ms) both; }
.mark.pass-b .sheet { animation-name: press-b; animation-delay: calc((11 - var(--i)) * 75ms); }
.mark .word { animation: rise .7s ease-out 1.25s both; }
@keyframes press-a {
  0% { opacity: 0; transform: translate(-90px, 17.5px); }
  9% { opacity: 1; transform: none; }
  86% { opacity: 1; transform: none; animation-timing-function: cubic-bezier(.55, 0, .85, .25); }
  94%, 100% { opacity: 0; transform: translate(90px, -17.5px); }
}
@keyframes press-b {
  0% { opacity: 0; transform: translate(90px, -17.5px); }
  9% { opacity: 1; transform: none; }
  86% { opacity: 1; transform: none; animation-timing-function: cubic-bezier(.55, 0, .85, .25); }
  94%, 100% { opacity: 0; transform: translate(-90px, 17.5px); }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ticker */
.ticker { display: flex; overflow: hidden; border-block: 1px solid var(--hs-line); padding: 22px 0; }
.run { display: flex; flex: none; align-items: center; gap: 36px; padding-right: 36px; animation: slide 48s linear infinite; }
.run span { font-family: var(--hs-display); font-weight: 800; font-stretch: 125%; font-size: clamp(26px, 3.6vw, 42px); line-height: 1; white-space: nowrap; }
.run i { color: var(--hs-mint); font-style: normal; font-size: 18px; }
.run i:nth-of-type(4n) { color: var(--hs-berry); }
@keyframes slide { to { transform: translateX(-100%); } }

/* products */
.paper-block { padding: 104px 0 112px; }
.head-row { display: grid; gap: 14px; margin-bottom: 48px; }
.head-row h2 { max-width: 18ch; }
.jobs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.job { background: #fff; border-color: var(--hs-line); position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.job::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--hs-mint-p); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.job:nth-child(4n)::before { background: var(--hs-berry-p); }
.job:hover { transform: translateY(-3px); box-shadow: 0 10px 24px -14px #24293866; }
.job:hover::before { transform: scaleX(1); }
.job .k { font-family: "Open Mono", monospace; font-weight: 700; font-size: 12px; letter-spacing: .1em; color: var(--hs-berry-p); }
.job [data-slot="card-title"] { font-family: var(--hs-display); font-weight: 800; font-stretch: 112%; font-size: 21px; margin-top: 28px; }
.job [data-slot="card-description"] { color: var(--hs-muted); }
.job [data-slot="card-footer"] { margin-top: auto; }
.job { display: flex; flex-direction: column; }
@media (max-width: 960px) { .jobs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .jobs { grid-template-columns: 1fr; } }

/* job ticket */
.ticket-block { padding: 104px 0; }
.ticket-block .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.ticket { padding: 28px; border: 0; border-radius: 4px; box-shadow: 0 24px 48px -24px #0009; transform: rotate(-2deg); }
.ticket-head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px dashed var(--ui-line); }
.ticket dl { margin: 0; }
.ticket dl div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--ui-line); }
.ticket dt { font-family: "Open Mono", monospace; font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--hs-muted); padding-top: 3px; }
.ticket dd { margin: 0; font-weight: 600; }
.bar-meter { height: 10px; border-radius: 99px; margin-top: 22px; background: var(--hs-navy); overflow: hidden; }
.bar-meter span { display: block; height: 100%; width: 72%; border-radius: inherit;
  background: repeating-linear-gradient(-45deg, var(--hs-mint) 0 10px, color-mix(in oklab, var(--hs-mint) 70%, var(--hs-navy)) 10px 20px);
  background-size: 28.28px 100%; animation: stripes 1.2s linear infinite; }
@keyframes stripes { to { background-position: 28.28px 0; } }
.ticket-copy h2 { margin-bottom: 18px; }
@media (max-width: 860px) { .ticket-block .wrap { grid-template-columns: 1fr; gap: 40px; } .ticket-copy { order: -1; } .ticket { transform: rotate(-1deg); } }

/* footer */
.foot { padding: 48px 0 56px; border-top: 1px solid var(--hs-line); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.foot .wordmark { height: 56px; width: auto; margin-left: -12px; }
.foot p { margin: 0; color: #A6ACCD; font-size: 14px; text-align: right; }
.foot .spec { margin-top: 6px; }
.foot a { text-decoration-color: var(--hs-mint); text-underline-offset: 3px; }
.foot a:hover { color: var(--hs-mint); }
@media (max-width: 600px) { .foot p { text-align: left; } }

/* 404 */
.lost { min-height: 100vh; display: grid; align-items: center; }
.lost h1 { margin: 18px 0 20px; }
.lost h1 span { color: var(--hs-mint); }
.lost .lead { margin-bottom: 28px; }

@media (max-width: 860px) {
  .hero { padding: 32px 0 72px; }
  .hero .wrap { gap: 24px; }
  .sheet-stage { order: -1; width: min(340px, 86%); justify-self: start; padding: 32px 30px 46px; }
  .slug { left: 30px; right: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ticker { flex-wrap: wrap; } .run[aria-hidden] { display: none; } .run { flex-wrap: wrap; row-gap: 14px; padding-inline: 20px; flex: 1; }
}
