/* A shop wall: canary carbon-copy tickets, CMYK marks and a steel rail. */
@font-face { font-family: "Big Shoulders"; src: url("fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("fonts/courier-prime-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("fonts/courier-prime-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #15161a; --canary: #ffd83d; --magenta: #e5007e; --cyan: #009fdf; --paper: #fbfaf6; --white-copy: #fffef9;
  --pink-copy: #ffc6d8; --yellow-copy: #ffe88a; --wall: #23272c; --wall-line: #3b4148; --steel: #aab2ba; --go: #0a7a3e;
  --display: "Big Shoulders", Impact, "Arial Narrow", sans-serif;
  --body: "Figtree", "Segoe UI", Arial, sans-serif;
  --type: "Courier Prime", "Courier New", monospace;
  --gutter: clamp(16px, 4vw, 48px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--body); }
h1, h2 { font-family: var(--display); font-weight: 800; line-height: .95; margin: 0; text-wrap: balance; letter-spacing: .005em; }
h2 { font-size: clamp(34px, 5vw, 52px); }
h3, p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 2px; }
[hidden] { display: none !important; }

.color-bar { display: flex; height: 8px; }
.color-bar i { flex: 1; }
.c { background: var(--cyan); }
.m { background: var(--magenta); }
.y { background: var(--canary); }
.k { background: var(--ink); }

.top { background: var(--canary); display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px var(--gutter); }
.logo { display: inline-flex; gap: 9px; align-items: center; font: 800 25px/1 var(--display); text-decoration: none; }
.top nav { display: flex; gap: 20px; align-items: center; font-weight: 700; font-size: 15px; }
.link-button { background: none; border: 0; padding: 0; font: 700 15px var(--body); color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.button { display: inline-block; background: var(--ink); color: var(--paper); border: 2px solid var(--ink); padding: 12px 18px; font: 700 16px var(--body); text-decoration: none; cursor: pointer; }
.button:hover { background: var(--magenta); border-color: var(--magenta); }
.button-light { background: var(--canary); color: var(--ink); border-color: var(--canary); }
.button-light:hover { color: var(--paper); }

.hero { background: var(--canary); padding: clamp(20px, 4vw, 44px) var(--gutter) clamp(44px, 6vw, 76px); display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.hero-copy { display: grid; gap: 18px; justify-items: start; min-width: 0; }
h1 { font-size: clamp(66px, 11vw, 148px); line-height: .86; text-shadow: 3px 2px 0 rgba(229, 0, 126, .55); }
h1 em { font-style: normal; color: var(--magenta); text-shadow: -3px 2px 0 rgba(0, 159, 223, .75); }
.lede { font-size: clamp(19px, 2vw, 23px); line-height: 1.35; font-weight: 700; max-width: 30em; }
.lede.small { font-size: 17px; font-weight: 400; line-height: 1.5; max-width: 34em; }
.hero-art { margin: 0; position: relative; min-width: 0; padding-bottom: 8px; }
.hero-ticket { position: absolute; right: -6px; bottom: -28px; width: min(56%, 250px); transform: rotate(4deg); }

.ticket { background: var(--white-copy); color: var(--ink); font-family: var(--type); padding: 22px 13px 13px; position: relative; display: grid; gap: 2px; box-shadow: 0 2px 0 rgba(0, 0, 0, .25), 0 9px 16px rgba(0, 0, 0, .22); }
.ticket::before { content: ""; position: absolute; inset: 7px 12px auto; height: 7px; background: radial-gradient(circle at center, rgba(0, 0, 0, .55) 0 3px, transparent 3.5px) 0 0 / 22px 7px repeat-x; }
.ticket-yellow { background: var(--yellow-copy); }
.ticket-pink { background: var(--pink-copy); }
.ticket-head { display: flex; justify-content: space-between; gap: 8px; font-weight: 700; font-size: 14px; border-bottom: 1px dashed var(--ink); padding-bottom: 4px; }
.ticket-customer { font-weight: 700; font-size: 18px; line-height: 1.15; margin-top: 7px; overflow-wrap: anywhere; }
.ticket-job { font-size: 14px; line-height: 1.25; overflow-wrap: anywhere; }
.ticket-notes { font-size: 13px; line-height: 1.25; margin-top: 4px; white-space: pre-wrap; overflow-wrap: anywhere; }
.ticket-lines { list-style: none; margin: 9px 0 0; padding: 0; display: grid; gap: 3px; font-size: 13px; }
.ticket-lines li { display: flex; justify-content: space-between; gap: 8px; }
.ticket-lines li::before { content: "[x]"; font-weight: 700; flex: none; }
.ticket-lines li.open::before { content: "[ ]"; }
.ticket-lines li span { flex: 1; }
.ticket-step { display: grid; grid-template-columns: 28px 62px minmax(0, 1fr); align-items: center; gap: 3px; font-size: 14px; margin-top: 3px; }
.ticket-step i { font-style: normal; font-weight: 700; }
.ticket-step select { font: 700 13.5px var(--type); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink); padding: 3px 0; width: 100%; min-width: 0; cursor: pointer; }
.ticket-step select option { background: var(--paper); }
.ticket-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; font-size: 13px; }
.ticket-foot a, .ticket-foot button { background: none; border: 0; padding: 0; font: 400 13px var(--type); color: inherit; text-decoration: underline; cursor: pointer; }
.ticket:has(.stamp) .ticket-customer, .ticket:has(.stamp) .ticket-job { padding-right: 66px; }
.stamp { position: absolute; right: 8px; top: 44px; font: 800 25px/1 var(--display); padding: 3px 7px 2px; border: 3px solid currentColor; transform: rotate(-9deg); opacity: .82; pointer-events: none; }
.stamp-go { color: var(--go); }
.stamp-late { color: #b00060; }

.plain { padding: clamp(46px, 7vw, 88px) var(--gutter); display: grid; gap: clamp(30px, 5vw, 56px); }
.holds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 3px solid var(--ink); }
.holds > div { padding: 18px clamp(14px, 2vw, 26px) 4px 0; }
.holds > div + div { border-left: 1px solid var(--ink); padding-left: clamp(14px, 2vw, 26px); }
.holds h3 { font: 800 clamp(30px, 3.4vw, 42px)/1 var(--display); margin-bottom: 9px; }
.not-this { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 20px clamp(20px, 4vw, 40px); align-items: start; }
.not-this p { max-width: 38em; font-size: 19px; line-height: 1.45; }

.board { background-color: var(--wall); background-image: radial-gradient(var(--wall-line) 2px, transparent 2.5px); background-size: 24px 24px; color: var(--paper); padding: clamp(36px, 5vw, 64px) var(--gutter) clamp(50px, 7vw, 84px); }
.board-head { display: flex; justify-content: space-between; align-items: end; gap: 16px 24px; flex-wrap: wrap; }
.board-head p { margin-top: 8px; }
.board-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; }
.board-link { background: none; border: 0; padding: 0; color: var(--paper); font: 700 15px var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.board-status { min-height: 1.5em; margin: 12px 0 8px; font-family: var(--type); color: var(--canary); }
.rail-columns { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 44px); align-items: start; }
.column { min-width: 0; }
.column h3 { font: 800 25px/1.1 var(--display); margin-bottom: 8px; }
.column h3 span { color: var(--canary); margin-left: 5px; }
.rail { height: 14px; background: linear-gradient(#d7dce0, var(--steel) 45%, #6e767e); border-radius: 2px; box-shadow: 0 3px 4px rgba(0, 0, 0, .45); position: relative; z-index: 1; }
.tickets { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 232px), 1fr)); gap: 24px 16px; align-items: start; margin-top: -3px; min-height: 120px; }
.tickets .ticket { transform-origin: top center; }
.tickets .ticket:nth-child(3n + 1) { transform: rotate(-1deg); }
.tickets .ticket:nth-child(3n + 2) { transform: rotate(.7deg); }
.tickets .ticket:nth-child(3n) { transform: rotate(-.3deg); }
.empty { color: #c9cdd1; font-family: var(--type); padding: 22px 2px; }

.pilot { background: var(--canary); padding: clamp(44px, 6vw, 72px) var(--gutter); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 60px); }
.pilot > div { display: grid; gap: 14px; justify-items: start; align-content: start; }
.pilot p { max-width: 34em; }
.foot { background: var(--ink); color: var(--paper); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px var(--gutter); font-size: 15px; }

.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
dialog { border: 3px solid var(--ink); padding: 0; width: min(460px, calc(100vw - 32px)); background: var(--paper); color: var(--ink); }
dialog::backdrop { background: rgba(21, 22, 26, .65); }
dialog form { display: grid; gap: 13px; padding: 20px; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; }
.close { background: none; border: 0; font-size: 30px; line-height: 1; cursor: pointer; color: inherit; }
dialog label { display: grid; gap: 4px; font-weight: 700; font-size: 15px; min-width: 0; }
dialog input, dialog textarea { font: 400 17px var(--type); padding: 9px; border: 2px solid var(--ink); background: var(--white-copy); color: var(--ink); width: 100%; min-width: 0; border-radius: 0; }
dialog textarea { resize: vertical; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 12px; }
.dialog-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.form-error { color: #a80058; font-weight: 700; }
.form-error:empty, .form-note:empty { display: none; }
.form-note { font-weight: 700; }
.forgot { justify-self: start; font-weight: 400; }

body.signed-in .marketing { display: none; }
body.signed-in .board { min-height: calc(100vh - 66px); }

@media (max-width: 860px) {
  .hero, .pilot, .not-this, .rail-columns { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 520px; margin-bottom: 18px; }
  .holds { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .holds > div, .holds > div + div { border-left: 0; border-top: 3px solid var(--ink); padding: 14px 0 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
