/* 1-800-SHILL site styles. Tokens live in tokens.css. Paper pinned to an office wall, lights on. */

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 16px); }
body {
  margin: 0;
  background: var(--wall);
  color: var(--ink);
  font: 400 var(--t-body)/1.55 var(--f-text);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0 0; }

/* ---------- type ---------- */
.display {
  font-family: var(--f-display);
  font-stretch: var(--display-stretch);
  font-weight: 850;
  line-height: .94;
  letter-spacing: -.005em;
  text-wrap: balance;
}
.h1 { font-size: var(--t-h1); }
.h2 { font-size: var(--t-h2); }
.lede { font-size: var(--t-lede); line-height: 1.5; color: var(--ink-2); max-width: 36em; text-wrap: pretty; }
.lede b { color: var(--ink); font-weight: 650; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 var(--t-label)/1.2 var(--f-mono);
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2);
  margin: 0 0 18px;
}
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.kicker.is-live::before { background: var(--red); }
.label {
  font: 600 var(--t-label)/1.2 var(--f-mono);
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.underline-ink {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8.5C40 4.5 92 3.2 198 6.2' fill='none' stroke='%23D8362A' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E") left bottom / 100% .3em no-repeat;
  padding-bottom: .08em;
}
.hl { background: linear-gradient(transparent 58%, rgba(242, 194, 48, .75) 58%, rgba(242, 194, 48, .75) 92%, transparent 92%); padding: 0 .08em; }

.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head .lede { margin: 0; }

/* ---------- buttons and chips ---------- */
.btn {
  --h: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: var(--h); padding: 0 18px;
  border: 2px solid var(--ink); border-radius: var(--r-2);
  background: var(--paper); color: var(--ink);
  font: 650 15px/1 var(--f-text);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  box-shadow: 0 2px 0 var(--ink);
  transition: transform var(--t-press) var(--ease), box-shadow var(--t-press) var(--ease), background-color var(--t-hover) var(--ease);
}
.btn:hover { background: #fff; }
.btn:active { transform: translateY(2px); box-shadow: 0 0 0 var(--ink); }
.btn-primary { background: var(--gold); }
.btn-primary:hover { background: #F6CC4A; }
.btn-lg { --h: 54px; padding: 0 26px; font-size: 17px; }
.btn-sm { --h: 36px; padding: 0 13px; font-size: 14px; box-shadow: 0 1.5px 0 var(--ink); border-width: 1.5px; }
.btn-wide { width: 100%; }
.btn-text {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px;
  background: none; border: 0; padding: 0; cursor: pointer;
}
.btn-text:hover { text-decoration-color: var(--red); }
.btn .play { width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  height: 28px; padding: 0 10px;
  border: 1px solid var(--line-3); border-radius: 999px;
  font: 500 12px/1 var(--f-mono); letter-spacing: .02em; color: var(--ink-2);
  text-decoration: none; white-space: nowrap; background: transparent;
}
.chip-dash { border-style: dashed; }
.chip-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.chip-live::before { background: var(--red); }

/* ---------- header ---------- */
.demo-strip {
  background: var(--ink); color: var(--paper);
  font: 500 12.5px/1.4 var(--f-mono); text-align: center; padding: 7px 16px;
}
.demo-strip b { color: var(--gold); font-weight: 600; }
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--wall);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-hover) var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line-2); }
.header-in { height: var(--header); display: flex; align-items: center; gap: 30px; }
.logo { display: block; color: var(--ink); flex: none; }
.logo svg { height: 21px; width: auto; }
.nav { display: flex; gap: 24px; }
.nav a { font-weight: 500; font-size: 15px; color: var(--ink-2); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.tabbar { display: none; }

/* ---------- paper primitives ---------- */
.sheet {
  position: relative;
  background: var(--paper);
  border-radius: var(--r-1);
  box-shadow: var(--shadow-paper);
}
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .09 0 0 0 0 .07 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
.tape {
  position: absolute; z-index: 2;
  width: 92px; height: 26px;
  background: rgba(255, 253, 244, .62);
  box-shadow: 0 1px 1px rgba(26, 23, 20, .06);
  border-left: 1px dashed rgba(26, 23, 20, .08);
  border-right: 1px dashed rgba(26, 23, 20, .08);
}
.pin {
  position: absolute; top: 10px; left: 50%; z-index: 3;
  width: 14px; height: 14px; margin-left: -7px; border-radius: 50%;
  background: var(--red); box-shadow: inset -2px -2px 0 rgba(0, 0, 0, .18), 0 2px 2px rgba(26, 23, 20, .25);
}
.stamp {
  display: inline-block;
  padding: .28em .55em .2em;
  border: .14em solid var(--red); border-radius: .22em;
  color: var(--red);
  font-family: var(--f-display); font-stretch: var(--display-stretch); font-weight: 900;
  letter-spacing: .04em; text-transform: uppercase; line-height: 1;
  box-shadow: inset 0 0 0 .06em var(--paper), inset 0 0 0 .12em var(--red);
  mix-blend-mode: multiply;
  opacity: .9;
}

/* ---------- the flyer (the signature object) ---------- */
.flyer {
  --paper-c: var(--gold);
  --tabs: 9;
  container-type: inline-size;
  position: relative;
  color: var(--ink);
  filter: drop-shadow(0 1px 0 rgba(26, 23, 20, .1)) drop-shadow(0 16px 14px rgba(48, 34, 14, .2));
}
.flyer .tape { width: 21cqi; height: 6.2cqi; top: -2.6cqi; }
.flyer .tape-l { left: 7cqi; rotate: -7deg; }
.flyer .tape-r { right: 7cqi; rotate: 5deg; }
.flyer-sheet {
  position: relative;
  background: var(--paper-c);
  border-radius: .5cqi .5cqi 0 0;
  padding: 6.4cqi 6.4cqi 4cqi;
}
.flyer-kicker {
  display: flex; justify-content: space-between; gap: 2cqi;
  font: 600 max(10px, 2.1cqi)/1.2 var(--f-mono);
  letter-spacing: .08em; text-transform: uppercase;
  padding-bottom: 2.2cqi; margin: 0;
  border-bottom: max(1.5px, .45cqi) solid currentColor;
}
.flyer-title {
  display: block;
  font-family: var(--f-display); font-stretch: var(--display-stretch); font-weight: 900;
  font-size: 18.4cqi; line-height: .84; letter-spacing: -.008em;
  text-transform: uppercase; white-space: nowrap;
  margin: 3.6cqi 0 3cqi;
}
.flyer-pitch {
  font-weight: 700; font-size: max(15px, 4.4cqi); line-height: 1.12; letter-spacing: -.015em;
  margin: 0 0 3.4cqi; text-wrap: balance;
}
.flyer-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5cqi 4cqi;
  list-style: none; margin: 0 0 3.6cqi; padding: 0;
  font: 600 max(12px, 2.8cqi)/1.2 var(--f-text);
}
.flyer-list li { display: flex; align-items: center; gap: 1.8cqi; }
.flyer-list li::before {
  content: ""; flex: none;
  width: max(11px, 2.8cqi); height: max(11px, 2.8cqi);
  border: max(1.5px, .42cqi) solid currentColor; border-radius: .3cqi;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.6 5.4l2.2 2.2L8.6 2' fill='none' stroke='%231A1714' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 92% no-repeat;
}
.flyer-foot {
  display: flex; justify-content: space-between; gap: 2cqi; flex-wrap: wrap;
  font: 600 max(10px, 2.1cqi)/1.25 var(--f-mono);
  letter-spacing: .06em; text-transform: uppercase; margin: 0;
}
.flyer-sheet::after, .tab::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .09 0 0 0 0 .07 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
.tabs {
  display: grid; grid-template-columns: repeat(var(--tabs), minmax(0, 1fr));
  column-gap: .75cqi;
  height: 30cqi;
}
.tab {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper-c); color: var(--ink);
  text-decoration: none;
  border-top: max(1px, .32cqi) dashed rgba(26, 23, 20, .38);
  transform-origin: 50% 0;
  transition: transform var(--t-hover) var(--ease);
  animation: draft 8s var(--ease) infinite;
  animation-delay: calc(var(--i, 0) * 85ms + 1.5s);
  /* sized here, in horizontal writing mode, so cqi reads the flyer's width */
  font-size: min(3.7cqi, calc(46cqi / var(--n, 11)));
}
.tab-num {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font: 600 1em/1 var(--f-mono);
  letter-spacing: .04em; white-space: nowrap;
}
a.tab:hover { transform: rotate(-3.5deg) translateY(.7cqi); }
a.tab:focus-visible { outline-offset: -3px; }
.tab.is-torn { background: transparent; border-top-color: transparent; pointer-events: none; animation: none; }
.tab.is-torn > *, .tab.is-torn::after { visibility: hidden; }
.tab.is-torn::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3.6cqi;
  background: var(--paper-c);
  clip-path: polygon(0 0, 100% 0, 100% 48%, 86% 82%, 73% 44%, 59% 96%, 45% 52%, 31% 100%, 17% 50%, 0 78%);
}
.tab-fall {
  position: fixed; z-index: 60; margin: 0; pointer-events: none;
  transform-origin: 50% 0;
  animation: fall .7s cubic-bezier(.45, 0, .8, .5) forwards;
}
@keyframes draft {
  0%, 72%, 100% { rotate: 0deg; }
  77% { rotate: -1.6deg; }
  83% { rotate: 1deg; }
  89% { rotate: -.45deg; }
  95% { rotate: .15deg; }
}
@keyframes fall {
  0% { transform: none; }
  20% { transform: rotate(-7deg) translateY(4px); }
  100% { transform: translateY(240px) rotate(-30deg); opacity: 0; }
}

/* office flyers: a project's own call center */
.flyer--office { --tabs: 7; }
.flyer--office .flyer-sheet { padding: 5.6cqi 6cqi 4cqi; }
.flyer--office .flyer-kicker { font-size: max(10.5px, 2.9cqi); }
.flyer--office .flyer-title {
  font-size: min(25cqi, calc(150cqi / var(--tn, 5)));
  margin: 4cqi 0 2.4cqi; line-height: .86; text-transform: none;
}
.flyer--office .flyer-name { font: 700 max(13px, 4.2cqi)/1.2 var(--f-text); margin: 0 0 1.6cqi; }
.flyer--office .flyer-pitch {
  font-size: max(13px, 3.7cqi); font-weight: 500; line-height: 1.35; letter-spacing: 0;
  margin: 0; min-height: calc(3 * 1.35em);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.flyer--office .tabs { height: 33cqi; }
.flyer--office .tab { animation: none; font-size: min(5cqi, calc(58cqi / var(--n, 10))); }

/* ---------- hero ---------- */
.hero { padding: clamp(28px, 3.6vw, 44px) 0 clamp(56px, 7vw, 96px); }
.hero-stage {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 590px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 44px); align-items: center;
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
}
.hero-flyer { grid-column: 2; grid-row: 1; rotate: -1.1deg; }
.hero-today { grid-column: 1; grid-row: 1; justify-self: end; align-self: start; margin-top: 18%; width: min(100%, 250px); rotate: 1.6deg; }
.hero-call { grid-column: 3; grid-row: 1; justify-self: start; align-self: end; margin-bottom: 14%; width: min(100%, 300px); rotate: -2deg; }
.hero-actions { text-align: center; margin-top: clamp(30px, 3.4vw, 44px); padding: 0 var(--gutter); }
.hero-actions .row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.hero-facts { margin: 18px 0 0; font: 500 13px/1.5 var(--f-mono); color: var(--muted); }

.index-card { padding: 20px 20px 18px; }
.index-card .label { display: flex; justify-content: space-between; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid rgba(216, 54, 42, .45); margin-bottom: 14px; }
.index-card .big { font: 900 64px/.9 var(--f-display); font-stretch: var(--display-stretch); font-variant-numeric: tabular-nums; }
.index-card .big-label { font-weight: 650; margin: 6px 0 10px; }
.index-card p { font-size: 14px; color: var(--ink-2); margin: 0; }
.index-card .rule-lines { background: repeating-linear-gradient(transparent 0 23px, rgba(70, 120, 190, .18) 23px 24px); }

/* the phone message slip */
.slip {
  position: relative; background: var(--slip);
  padding: 16px 18px 16px; border-radius: var(--r-1);
  box-shadow: var(--shadow-paper);
  font-size: 14px;
}
.slip-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.slip-title { font: 900 19px/1 var(--f-display); font-stretch: var(--display-stretch); text-transform: uppercase; letter-spacing: .01em; white-space: nowrap; }
.slip-line { display: inline-flex; align-items: center; gap: 7px; font: 600 11px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.slip-line .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: ring 1.2s steps(2, jump-none) infinite; }
@keyframes ring { 0%, 49% { opacity: 1; } 50%, 100% { opacity: .2; } }
.slip-field { display: grid; grid-template-columns: 54px 1fr; gap: 8px; padding: 6px 0; border-bottom: 1px solid rgba(26, 23, 20, .16); }
.slip-field dt { font: 600 11px/1.5 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.slip-field dd { margin: 0; font-weight: 600; }
.slip-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 8px; margin: 10px 0; font: 500 11px/1.3 var(--f-mono); }
.slip-checks span { display: flex; align-items: center; gap: 6px; }
.slip-checks span::before { content: ""; width: 11px; height: 11px; border: 1.5px solid currentColor; border-radius: 2px; flex: none; }
.slip-checks .on::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 5.5l2.3 2.2L8.7 1.8' fill='none' stroke='%231A1714' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.slip-checks .urgent { color: var(--red); font-weight: 600; }
.slip-msg { font: 600 17px/1.3 var(--f-text); margin: 10px 0 8px; text-wrap: pretty; }
.slip-foot { font: 500 11.5px/1.3 var(--f-mono); color: var(--ink-2); margin: 0; }

/* ---------- the job ---------- */
.job-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.steps { list-style: none; margin: 0; padding: 8px 28px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: 0; }
.steps .n { font: 900 46px/.85 var(--f-display); font-stretch: var(--display-stretch); font-variant-numeric: tabular-nums; }
.steps h3 { font-size: var(--t-h3); font-weight: 700; letter-spacing: -.01em; margin: 2px 0 6px; }
.steps p { margin: 0; color: var(--ink-2); }

.schedule { padding: 22px 26px 18px; }
.schedule-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 2px solid var(--ink); padding-bottom: 12px; }
.schedule-head h3 { font: 900 28px/1 var(--f-display); font-stretch: var(--display-stretch); text-transform: uppercase; }
.schedule table { width: 100%; border-collapse: collapse; font-size: 15px; }
.schedule td { padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.schedule td:first-child { width: 78px; font: 600 12px/1.6 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.schedule .pitch { font-weight: 650; }
.schedule .code { display: inline-block; min-width: 46px; margin-right: 10px; padding: 1px 6px; border: 1.5px solid var(--ink); border-radius: 3px; font: 600 11px/1.5 var(--f-mono); text-align: center; }
.schedule tr.boss td { border-bottom: 0; padding-top: 14px; }
.schedule tr.boss .pitch { color: var(--red); }
.schedule-foot { display: flex; justify-content: space-between; gap: 12px; margin: 14px 0 0; }
.schedule-foot b { font: 900 22px/1 var(--f-display); font-stretch: var(--display-stretch); text-transform: uppercase; }

.desk-photo { grid-column: 1 / -1; justify-self: center; width: min(100%, 900px); margin: 20px 0 0; rotate: .5deg; }
.desk-photo .tape { top: -12px; left: 50%; margin-left: -46px; rotate: -2deg; }
.photo { position: relative; background: var(--paper); padding: 12px 12px 0; box-shadow: var(--shadow-paper); border-radius: var(--r-1); }
.photo img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--ink); border-radius: 2px; }
.photo figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 12px 4px 14px; font: 500 13px/1.4 var(--f-mono); color: var(--ink-2); }

/* ---------- callers ---------- */
.callers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.callers .slip:nth-child(1) { rotate: -1.2deg; }
.callers .slip:nth-child(2) { rotate: .8deg; margin-top: 18px; }
.callers .slip:nth-child(3) { rotate: -.5deg; }
.trailer { margin-top: clamp(36px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; }
.trailer-btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; }
.trailer-btn .photo img { filter: saturate(.9); }
.trailer-btn .play-badge {
  position: absolute; left: 50%; top: 44%; translate: -50% -50%;
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px;
  background: var(--gold); border: 2px solid var(--ink); border-radius: var(--r-2); box-shadow: 0 2px 0 var(--ink);
  font: 650 16px/1 var(--f-text); color: var(--ink);
  transition: transform var(--t-press) var(--ease);
}
.trailer-btn:hover .play-badge { background: #F6CC4A; }
.trailer-btn:active .play-badge { transform: translateY(2px); box-shadow: none; }

/* ---------- for projects ---------- */
.projects-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.perks { list-style: none; margin: 26px 0 30px; padding: 0; border-top: 1px solid var(--line-2); }
.perks li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line-2); font-weight: 550; }
.perks .k { font: 600 12px/1.9 var(--f-mono); color: var(--muted); }
.make { display: flex; gap: 10px; flex-wrap: wrap; align-items: stretch; }
.field-ticker { position: relative; flex: 1 1 200px; max-width: 280px; }
.field-ticker span { position: absolute; left: 14px; top: 50%; translate: 0 -50%; font: 600 17px var(--f-mono); color: var(--muted); pointer-events: none; }
.field-ticker input { padding-left: 32px; text-transform: uppercase; font-family: var(--f-mono); font-weight: 600; letter-spacing: .04em; }
.preview-wrap { position: relative; max-width: 380px; width: 100%; justify-self: center; rotate: 1.4deg; }
.preview-wrap .pin { top: -6px; }
.preview-note { margin: 30px 0 0; text-align: center; font: 500 12.5px/1.4 var(--f-mono); color: var(--muted); }

/* ---------- the board (directory rows) ---------- */
.board { margin-top: clamp(48px, 6vw, 80px); }
.board-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; border-bottom: 2px solid var(--ink); padding-bottom: 14px; }
.board-head h3 { font: 900 clamp(28px, 3vw, 40px)/1 var(--f-display); font-stretch: var(--display-stretch); }
.dir { list-style: none; margin: 0; padding: 0; }
.dir-row {
  display: grid; grid-template-columns: 44px 22px minmax(0, auto) minmax(24px, 1fr) auto auto auto;
  align-items: baseline; gap: 14px;
  padding: 16px 4px; border-bottom: 1px solid var(--line-2);
  text-decoration: none; color: inherit;
}
a.dir-row:hover { background: rgba(255, 253, 247, .6); }
a.dir-row:hover .dir-go { text-decoration: underline; text-underline-offset: 4px; }
.dir-rank { font: 900 30px/.9 var(--f-display); font-stretch: var(--display-stretch); font-variant-numeric: tabular-nums; }
.dir-swatch { width: 16px; height: 20px; border-radius: 2px; background: var(--sw, var(--gold)); box-shadow: inset 0 0 0 1px rgba(26, 23, 20, .2); align-self: center; }
.dir-name { min-width: 0; }
.dir-name b { font: 600 17px/1.2 var(--f-mono); letter-spacing: .01em; }
.dir-name span { color: var(--ink-2); margin-left: 10px; }
.dir-leader { border-bottom: 2px dotted var(--line-3); align-self: end; margin-bottom: 6px; }
.dir-num { font: 600 15px/1.2 var(--f-mono); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.dir-num small { font-size: 12px; color: var(--muted); font-weight: 500; }
.dir-go { font-weight: 600; white-space: nowrap; }
.dir-empty { padding: 36px 4px 12px; }
.dir-empty b { display: block; font: 900 30px/1 var(--f-display); font-stretch: var(--display-stretch); margin-bottom: 8px; }
.dir-empty p { color: var(--ink-2); max-width: 34em; }
.dir-empty .row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }

/* ---------- memo ---------- */
.memo { max-width: 820px; margin: 0 auto; padding: clamp(28px, 4vw, 56px) clamp(22px, 5vw, 64px) clamp(30px, 4vw, 48px); }
.memo-head { display: grid; grid-template-columns: 70px 1fr; gap: 8px 16px; padding-bottom: 20px; border-bottom: 2px solid var(--ink); font: 500 14px/1.5 var(--f-mono); }
.memo-head dt { color: var(--muted); font-weight: 600; letter-spacing: .08em; }
.memo-head dd { margin: 0; }
.memo h2 { margin: 30px 0 22px; }
.memo-body { font-size: 18px; line-height: 1.6; max-width: 36em; }
.memo-body p:last-child { font-weight: 700; margin-bottom: 0; }
.memo .stamp { position: absolute; right: clamp(18px, 5vw, 56px); top: clamp(22px, 3vw, 40px); font-size: clamp(22px, 2.6vw, 32px); rotate: -9deg; }
.memo-sign { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line-2); font: 500 13px/1.4 var(--f-mono); color: var(--muted); }

/* ---------- HR questions ---------- */
.hr-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 2px; font-weight: 650; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 22px/1 var(--f-mono); color: var(--muted); transition: rotate var(--t-hover) var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: 0 0 20px; color: var(--ink-2); max-width: 40em; }

/* ---------- closing ---------- */
.closing { text-align: center; padding: var(--section) 0; }
.closing .display { font-size: var(--t-hero); margin-bottom: 26px; }
.closing p { color: var(--ink-2); font: 500 13px/1.5 var(--f-mono); margin: 18px 0 0; }

/* ---------- footer ---------- */
.site-footer { border-top: 2px solid var(--ink); padding: 40px 0 48px; background: var(--wall-2); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 32px; align-items: start; }
.footer-grid .logo svg { height: 26px; }
.footer-line { margin: 14px 0 0; color: var(--ink-2); max-width: 30em; }
.footer-links { display: grid; grid-template-columns: repeat(2, max-content); gap: 8px 36px; font-weight: 550; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line-2); font-size: 13.5px; color: var(--ink-2); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.legal p { margin: 0; max-width: 64em; }
.motion-switch { display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 var(--f-mono); background: none; border: 1px solid var(--line-3); border-radius: 999px; height: 32px; padding: 0 12px; cursor: pointer; white-space: nowrap; }
.motion-switch b { font-weight: 600; }

/* ---------- dialog ---------- */
.modal { border: 0; padding: 0; background: transparent; max-width: min(1000px, calc(100vw - 32px)); width: 100%; }
.modal::backdrop { background: rgba(26, 23, 20, .78); }
.modal-in { background: var(--ink); border-radius: var(--r-2); overflow: hidden; }
.modal video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.modal-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; color: var(--paper); font: 500 13px/1 var(--f-mono); }
.modal-bar .btn { --h: 34px; font-size: 14px; }

/* ---------- forms ---------- */
.input, .textarea {
  width: 100%; height: 48px; padding: 0 14px;
  background: var(--paper); border: 1.5px solid var(--line-3); border-radius: var(--r-2);
  font-size: 16px; color: var(--ink);
  transition: border-color var(--t-hover) var(--ease);
}
.textarea { height: auto; min-height: 132px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.input:hover, .textarea:hover { border-color: var(--ink-2); }
.input:focus, .textarea:focus { outline: 3px solid rgba(242, 194, 48, .7); outline-offset: 0; border-color: var(--ink); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--bad); }
.input::placeholder, .textarea::placeholder { color: #8C857B; }

/* ---------- launch page ---------- */
.page-head { padding: clamp(36px, 5vw, 64px) 0 clamp(28px, 3vw, 40px); }
.page-head .lede { margin-top: 18px; }
.launch-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 410px); gap: clamp(28px, 4vw, 56px); align-items: start; padding-bottom: var(--section); }
.form-sheet { padding: 8px clamp(18px, 3vw, 34px) 30px; }
.step { padding: 26px 0; border-bottom: 1px solid var(--line); }
.step:last-of-type { border-bottom: 0; }
.step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.step-n {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  border: 1.5px solid var(--ink); font: 600 13px/1 var(--f-mono);
}
.step.is-done .step-n { background: var(--ink); color: var(--paper); font-size: 0; }
.step.is-done .step-n::after { content: ""; width: 12px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 5.4l2.3 2.2L8.6 2' fill='none' stroke='%23FFFDF7' stroke-width='1.9' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.step-head h2 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.step-head .label { margin-left: auto; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.fields .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 7px; }
.field .hint { font-size: 13.5px; color: var(--muted); margin: 7px 0 0; }
.field .problem { font-size: 13.5px; color: var(--bad); margin: 7px 0 0; font-weight: 550; }
.field .count { float: right; font: 500 12px/1.9 var(--f-mono); color: var(--muted); }
.prefix { position: relative; }
.prefix > span { position: absolute; left: 14px; top: 50%; translate: 0 -50%; font: 600 16px var(--f-mono); color: var(--muted); pointer-events: none; }
.prefix > .input { padding-left: 30px; font-family: var(--f-mono); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.swatch span {
  display: grid; place-items: end start;
  width: 62px; height: 78px; padding: 6px;
  background: var(--sw); border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(26, 23, 20, .2), 0 6px 10px -8px rgba(48, 34, 14, .5);
  font: 600 10.5px/1.1 var(--f-mono); text-transform: uppercase; letter-spacing: .04em;
  transition: transform var(--t-hover) var(--ease);
}
.swatch input:checked + span { box-shadow: inset 0 0 0 2px var(--ink), 0 10px 14px -10px rgba(48, 34, 14, .6); transform: translateY(-3px) rotate(-2deg); }
.swatch input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 3px; }
.side { position: sticky; top: calc(var(--header) + 20px); }
.side .preview-wrap { max-width: 360px; margin: 6px auto 0; }
.side-box { margin-top: 30px; padding: 18px 20px; }
.side-box h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.next-steps { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.next-steps li { counter-increment: n; display: grid; grid-template-columns: 26px 1fr; gap: 8px; padding: 6px 0; font-size: 14.5px; color: var(--ink-2); }
.next-steps li::before { content: counter(n); font: 600 12px/1.9 var(--f-mono); color: var(--ink); }
.next-steps code { font: 500 12.5px/1.4 var(--f-mono); background: var(--wall); padding: 1px 5px; border-radius: 3px; word-break: break-all; }
.submit-row { padding-top: 22px; }
.submit-note { margin: 12px 0 0; font-size: 14px; color: var(--ink-2); }
.submit-note.is-bad { color: var(--bad); font-weight: 550; }
.checks { list-style: none; margin: 16px 0 0; padding: 0; font-size: 14px; color: var(--ink-2); }
.checks li { display: flex; gap: 9px; padding: 4px 0; }
.checks li::before { content: ""; flex: none; width: 15px; height: 15px; margin-top: 3px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 5.4l2.3 2.2L8.6 2' fill='none' stroke='%231E7A4C' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.posted { padding: clamp(26px, 4vw, 44px); position: relative; }
.posted .stamp { font-size: 26px; rotate: -6deg; margin-bottom: 22px; }
.posted h2 { margin-bottom: 14px; }
.copy-line { display: flex; gap: 8px; align-items: center; margin: 18px 0; flex-wrap: wrap; }
.copy-line code { flex: 1 1 260px; font: 500 14px/1.4 var(--f-mono); background: var(--wall); border: 1px solid var(--line-2); border-radius: var(--r-2); padding: 11px 12px; overflow-wrap: anywhere; user-select: all; }

/* ---------- offices page ---------- */
.live-line { display: flex; gap: 10px 22px; flex-wrap: wrap; margin-top: 22px; font: 500 13.5px/1.4 var(--f-mono); color: var(--ink-2); }
.live-line b { color: var(--ink); font-weight: 600; }
.offices-top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.plaque { padding: 20px 22px; }
.plaque h3 { font: 900 26px/1 var(--f-display); font-stretch: var(--display-stretch); text-transform: uppercase; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.plaque ol { list-style: none; margin: 0; padding: 0; }
.plaque li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); }
.plaque li:last-child { border-bottom: 0; }
.plaque .who { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.plaque .who small { font: 500 12px var(--f-mono); color: var(--muted); margin-left: 6px; }
.badge { display: inline-block; font: 600 10.5px/1 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; padding: 4px 6px; border-radius: 3px; background: var(--gold); color: var(--ink); margin-left: 6px; vertical-align: 2px; }
.wall-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.search { position: relative; width: min(100%, 320px); }
.search .input { padding-left: 38px; }
.search svg { position: absolute; left: 13px; top: 50%; translate: 0 -50%; width: 16px; height: 16px; color: var(--muted); }
.flyer-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 44px 28px; }
.office { display: block; text-decoration: none; color: inherit; }
.office .flyer { transition: transform var(--t-hover) var(--ease); }
.office:nth-child(3n+1) .flyer { rotate: -.8deg; }
.office:nth-child(3n+2) .flyer { rotate: .6deg; }
.office:nth-child(3n) .flyer { rotate: -.3deg; }
.office:hover .flyer { transform: translateY(-4px); }
.office-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 14px; font: 500 13px/1.4 var(--f-mono); color: var(--ink-2); }
.office-meta b { color: var(--ink); font-weight: 600; }
.office-meta .go { font-family: var(--f-text); font-weight: 650; color: var(--ink); white-space: nowrap; }
.office:hover .office-meta .go { text-decoration: underline; text-underline-offset: 4px; }
.house { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: clamp(22px, 3vw, 36px); margin-bottom: var(--section); }
.ca-box { border: 1.5px dashed var(--line-3); border-radius: var(--r-2); padding: 16px 18px; background: var(--wall); }
.ca-box .label { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.ca-box .v { font: 600 18px/1.3 var(--f-mono); }
.ca-box p { font-size: 13.5px; color: var(--ink-2); margin: 8px 0 0; }

/* ---------- 404 ---------- */
.lost { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(28px, 6vw, 88px); align-items: center; padding: clamp(40px, 6vw, 88px) 0 var(--section); }
.lost .flyer { rotate: -1.6deg; }
.lost .flyer-title { font-size: 16.6cqi; }

/* ---------- states ---------- */
.skeleton { background: linear-gradient(90deg, rgba(26, 23, 20, .06), rgba(26, 23, 20, .1), rgba(26, 23, 20, .06)); border-radius: 4px; }
.skel-row { height: 58px; margin: 6px 0; }
.skel-flyer { aspect-ratio: 1 / 1.08; border-radius: 3px; }
.state-error { padding: 28px 4px; }
.state-error b { display: block; font-weight: 700; font-size: 18px; margin-bottom: 6px; }

/* ---------- motion off: the switch decides ---------- */
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after {
  animation: none !important;
  transition: none !important;
}

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .hero-stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 760px; row-gap: 36px; }
  .hero-flyer { grid-column: 1 / -1; grid-row: 1; justify-self: center; width: min(100%, 590px); }
  .hero-today { grid-column: 1; grid-row: 2; margin-top: 0; justify-self: stretch; width: auto; align-self: stretch; }
  .hero-call { grid-column: 2; grid-row: 2; margin-bottom: 0; justify-self: stretch; width: auto; }
  .hero-actions { margin-top: 36px; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .sec-head, .job-grid, .projects-grid, .hr-grid, .trailer, .offices-top, .house, .lost { grid-template-columns: minmax(0, 1fr); }
  .callers { grid-template-columns: minmax(0, 1fr); max-width: 480px; }
  .callers .slip:nth-child(2) { margin-top: 0; }
  .launch-grid { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .lost .flyer { max-width: 380px; }
}
@media (max-width: 720px) {
  :root { --header: 56px; }
  body { padding-bottom: 72px; }
  .header-right .btn { display: none; }
  .logo svg { height: 18px; }
  .tabbar {
    display: grid; grid-template-columns: repeat(4, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    height: 64px; padding: 0 6px env(safe-area-inset-bottom);
    background: var(--paper); border-top: 1.5px solid var(--ink);
  }
  .tabbar a { display: grid; place-items: center; align-content: center; gap: 4px; text-decoration: none; font: 600 11.5px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
  .tabbar a[aria-current="page"] { color: var(--ink); }
  .tabbar a[aria-current="page"]::before { background: var(--ink); }
  .tabbar a::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: transparent; }
  .tabbar .tab-cta { margin: 9px 4px; border: 2px solid var(--ink); border-radius: var(--r-2); background: var(--gold); color: var(--ink); }
  .tabbar .tab-cta::before { display: none; }
  .hero-stage { grid-template-columns: minmax(0, 1fr); }
  .hero-today, .hero-call { grid-column: 1; }
  .hero-today { grid-row: 3; }
  .hero-call { grid-row: 2; }
  .hero-today, .hero-call { rotate: 0deg; }
  .hero-actions .btn { width: 100%; }
  .flyer-list { grid-template-columns: 1fr; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .dir-row { grid-template-columns: 34px 16px minmax(0, 1fr) auto; gap: 10px; }
  .dir-leader, .dir-go, .dir-row .dir-num.co { display: none; }
  .dir-name span { display: block; margin: 2px 0 0; font-size: 14px; }
  .dir-rank { font-size: 26px; }
  .memo-head { grid-template-columns: 52px 1fr; }
  .memo .stamp { position: static; display: inline-block; margin-bottom: 8px; }
  .legal { flex-direction: column; }
  .swatch span { width: 54px; height: 68px; }
}
