/* css/site.css: the landing page, sunny toon look. Sky and clouds up top, cream paper below, chunky rounded type,
   white cards with a navy outline and a short hard shadow, hand-lettered notes in the margins. */


body.site {
  --navy: #23314D;
  --navy-2: #3B4A6B;
  --navy-soft: #5B6782;
  --sky-1: #4FAEF0;
  --sky-2: #8FD0FA;
  --sky-3: #D6EFFF;
  --cream: #FFF8EC;
  --cream-2: #FFF1D6;
  --sun: #FFC93C;
  --sun-2: #FFB01F;
  --orange: #FF6A2B;
  --orange-ink: #D14A12;
  --teal: #1F8F86;
  --grass: #7CC855;
  --grass-2: #4E9A3A;
  --shadow: 0 5px 0 0 var(--navy);
  --round: 22px;

  --display: 'Baloo 2', 'Arial Rounded MT Bold', 'Nunito', system-ui, sans-serif;
  --text: 'Nunito', 'Helvetica Neue', Arial, sans-serif;
  --hand: 'Shantell Sans', 'Comic Sans MS', 'Chalkboard SE', cursive;

  background: var(--cream);
  color: var(--navy);
  font: 500 17px/1.6 var(--text);
}
.site a:hover { color: var(--orange-ink); }
.hand { font-family: var(--hand); font-weight: 600; }
.num { font-family: var(--display); font-weight: 800; font-variant-numeric: tabular-nums; }

/* buttons: toy-like, with a hard navy shadow */
.site .btn {
  --bg: #fff; --fg: var(--navy); --bd: var(--navy);
  min-height: 52px; padding: 0 24px; border: 3px solid var(--bd); border-radius: 16px;
  font: 800 17px/1 var(--display); letter-spacing: .01em;
  box-shadow: 0 5px 0 0 var(--navy);
}
.site .btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 0 var(--navy); color: var(--fg); }
.site .btn:active { transform: translateY(3px); box-shadow: 0 2px 0 0 var(--navy); }
.site .btn-hot { --bg: var(--sun); }
.site .btn-line { --bg: #fff; box-shadow: 0 5px 0 0 var(--navy); }
.site .btn-line:hover { background: #fff; --fg: var(--navy); }
.site .btn-sm { min-height: 44px; padding: 0 16px; font-size: 16px; border-radius: 14px; }

/* ------------------------------------------------------------ header (floats on the sky) */
.top { position: absolute; z-index: 10; left: 0; right: 0; top: 0; }
.nav {
  max-width: calc(var(--maxw) + 2 * var(--pad)); margin: 0 auto; padding: 18px var(--pad);
  display: flex; align-items: center; gap: 26px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; min-height: 44px; }
.brand-art { height: 40px; width: auto; filter: drop-shadow(0 3px 0 rgba(35, 49, 77, .25)); }
.brand-text { display: none; font: 800 32px/1 var(--display); color: #fff; -webkit-text-stroke: 2px var(--navy); }
.brand-art.is-missing { display: none; }
.brand-art.is-missing + .brand-text { display: inline; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a {
  font: 800 16px/1 var(--display); color: var(--navy); text-decoration: none;
  padding: 11px 14px; border-radius: 999px;
}
.nav-links a:hover { background: rgba(255, 255, 255, .55); color: var(--navy); }
.nav-cta { flex: none; }
.nav .music-btn { margin-left: 0; }
.nav-links + .music-btn { margin-left: 8px; }
.w-short { display: none; }
@media (max-width: 420px) { .nav .w-long { display: none; } .nav .w-short { display: inline; } .nav { gap: 10px; } }

/* ------------------------------------------------------------ hero: sky, clouds, the yard */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 46%, var(--sky-3) 86%, var(--cream) 100%);
  padding: 120px var(--pad) 90px;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas: "kick art" "title art" "copy art";
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(20px, 3vw, 48px);
  max-width: none;
}
.hero > * { position: relative; z-index: 2; }
.hero::before, .hero::after {
  /* two layers of soft clouds drifting across the sky */
  content: ''; position: absolute; z-index: 0; inset: 0 -40% auto -40%; height: 70%; pointer-events: none;
  background-repeat: repeat-x;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='300' viewBox='0 0 900 300'%3E%3Cg fill='%23fff'%3E%3Cpath d='M60 210c-30 0-46-28-30-50 10-14 28-18 42-12 6-30 40-46 66-32 14-30 60-34 80-8 20-12 50 0 52 26 26 2 36 34 18 52-6 16-22 24-38 24z' opacity='.95'/%3E%3Cpath d='M560 120c-22 0-34-20-22-36 8-10 20-13 31-9 5-22 30-34 49-24 10-22 44-25 59-6 15-9 37 0 38 19 19 1 26 25 13 38-4 12-16 18-28 18z' opacity='.9'/%3E%3C/g%3E%3Cg fill='%23CFE7FA'%3E%3Cpath d='M70 210c60 4 170 4 228 0-8 12-22 18-38 18H64c-10 0-18-8-20-18z' /%3E%3Cpath d='M566 120c44 3 124 3 167 0-6 9-16 14-28 14H562c-8 0-14-6-15-14z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 900px 300px;
  animation: drift 120s linear infinite;
}
.hero::after { top: 22%; height: 60%; opacity: .7; background-size: 620px 210px; animation-duration: 80s; animation-direction: reverse; }
@keyframes drift { to { transform: translateX(900px); } }

.hero-kicker { grid-area: kick; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 18px; font: 800 15px/1.2 var(--display); color: var(--navy); }
.sticker {
  display: inline-flex; align-items: center; padding: 6px 12px 5px; border: 2.5px solid var(--navy); border-radius: 10px;
  background: var(--sun); color: var(--navy); font: 800 13px/1 var(--display); letter-spacing: .08em; text-transform: uppercase;
  transform: rotate(-4deg); box-shadow: 0 3px 0 0 var(--navy);
}
.sticker.is-live { background: var(--grass); }

.hero-title {
  grid-area: title; margin: 0 0 22px;
  font: 800 clamp(52px, 6.6vw, 96px)/.92 var(--display); letter-spacing: -.01em; color: #fff;
  -webkit-text-stroke: 3px var(--navy); paint-order: stroke fill;
  text-shadow: 0 6px 0 var(--navy);
}
.hero-title .ln { display: block; }
.hero-title .ln:nth-child(2) { color: var(--sun); margin-left: .35em; }
.tick {
  display: inline-block; vertical-align: baseline; position: relative;
  min-width: 3.3em; text-align: left; color: var(--orange);
}
.tick-in { display: inline-block; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), opacity .25s; }
.tick-in.is-out { transform: translateY(.45em) rotate(6deg) scale(.8); opacity: 0; }

.hero-art { grid-area: art; position: relative; align-self: center; min-height: 360px; }
.floorbox { position: relative; aspect-ratio: 16 / 10.5; }
/* the canvas is transparent, so the box can spill past its column: the yard gets big without a visible edge */
@media (min-width: 901px) {
  .floorbox { width: 132%; margin: -9% 0 -7% -16%; }
  .wallclock { left: 4%; bottom: 2%; }
  .note-floor { right: 8%; top: 4%; }
}
.floor-poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: radial-gradient(ellipse 62% 60% at 50% 52%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 62% 60% at 50% 52%, #000 62%, transparent 100%);
  transition: opacity .6s ease;
}
.floor-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s ease; touch-action: pan-y; }
.floorbox.is-3d .floor-canvas { opacity: 1; }
.floorbox.is-3d .floor-poster { opacity: 0; }
.floor-poster.is-missing { display: none; }

.note-floor {
  position: absolute; z-index: 3; right: 2%; top: -4px; margin: 0;
  font-size: clamp(17px, 1.5vw, 21px); line-height: 1.15; color: var(--navy); transform: rotate(5deg); text-align: right;
}
.hand-arrow { width: 92px; height: 46px; fill: none; stroke: var(--navy); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; display: block; margin: 2px 0 0 auto; transform: rotate(-12deg) translateX(-26px); }

.wallclock {
  position: absolute; z-index: 3; left: 0; bottom: -10px;
  display: flex; align-items: center; gap: 14px; padding: 12px 20px 12px 12px;
  background: #fff; border: 3px solid var(--navy); border-radius: 999px; box-shadow: var(--shadow);
}
.clockface { width: 70px; height: 70px; flex: none; }
.cf-rim { fill: var(--orange); stroke: var(--navy); stroke-width: 3; }
.cf-face { fill: var(--cream-2); stroke: var(--navy); stroke-width: 2; }
.cf-ticks line { stroke: var(--navy); stroke-width: 2.4; stroke-linecap: round; }
.cf-utc { font: 800 9px/1 var(--display); fill: var(--navy-soft); text-anchor: middle; letter-spacing: .08em; }
.cf-h, .cf-m { stroke: var(--navy); stroke-linecap: round; }
.cf-h { stroke-width: 5; } .cf-m { stroke-width: 3.5; }
.cf-s { stroke: var(--orange); stroke-width: 1.8; stroke-linecap: round; }
.cf-pin { fill: var(--navy); }
[data-hand] { transform-origin: 50px 50px; transition: transform .25s cubic-bezier(.3, 1.8, .5, 1); }
.wallclock.is-ringing { animation: ring .12s linear 12 alternate; }
@keyframes ring { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
.wallclock-txt { display: grid; grid-template-columns: auto auto; column-gap: 10px; align-items: baseline; }
.wc-count { font-size: 40px; line-height: 1; color: var(--navy); }
.wc-label { font-size: 17px; color: var(--orange-ink); }
.wc-at { grid-column: 1 / -1; font-size: 12px; color: var(--navy-soft); margin-top: 4px; }

.hero-copy { grid-area: copy; }
.lede { font-size: clamp(17px, 1.4vw, 19px); max-width: 32em; color: var(--navy-2); font-weight: 600; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 18px; }
.hero-fine { font-size: 15px; color: var(--navy-soft); max-width: 34em; }

/* the grassy edge between the sky and the page */
.how { position: relative; }
.how::before {
  content: ''; position: absolute; left: 0; right: 0; top: -34px; height: 36px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='36' viewBox='0 0 240 36'%3E%3Cpath d='M0 22c20-12 40-12 60 0s40 12 60 0 40-12 60 0 40 12 60 0v14H0z' fill='%237CC855'/%3E%3Cpath d='M0 30c20-8 40-8 60 0s40 8 60 0 40-8 60 0 40 8 60 0v6H0z' fill='%23FFF8EC'/%3E%3C/svg%3E") repeat-x bottom / 240px 36px;
}

/* ------------------------------------------------------------ sections */
.sec { max-width: calc(var(--maxw) + 2 * var(--pad)); margin: 0 auto; padding: clamp(56px, 8vw, 110px) var(--pad); }
.sec-head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }
.h2 { font: 800 clamp(38px, 4.6vw, 64px)/1 var(--display); letter-spacing: -.01em; color: var(--navy); margin: 0 0 12px; }
.sub { font-size: clamp(17px, 1.4vw, 19px); color: var(--navy-2); max-width: 40em; margin: 0; }
.fine { font-size: 14px; color: var(--navy-soft); }

/* ------------------------------------------------------------ how a shift goes: a comic strip */
.comic { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.panel {
  position: relative; background: #fff; border: 3px solid var(--navy); border-radius: var(--round);
  box-shadow: var(--shadow); padding: 14px 14px 18px; transform: rotate(var(--tilt, 0deg));
  transition: transform .25s cubic-bezier(.3, 1.6, .5, 1);
}
.panel:hover { transform: rotate(0deg) translateY(-4px); }
.panel-n {
  position: absolute; z-index: 2; left: -12px; top: -14px; width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--orange); color: #fff; border: 3px solid var(--navy); border-radius: 50%;
  font: 800 20px/1 var(--display); box-shadow: 0 3px 0 0 var(--navy);
}
.panel-art {
  aspect-ratio: 5 / 4; border-radius: 14px; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 70%, #EAF6FF 0 45%, var(--sky-3) 46% 100%);
}
.panel-art img { width: 108%; max-width: none; height: auto; }
.panel-art img.is-missing { display: none; }
.bubble {
  position: relative; margin: 16px 2px 0; padding: 12px 14px; background: var(--cream-2); border: 2.5px solid var(--navy);
  border-radius: 16px; font-size: 16px; line-height: 1.45; color: var(--navy);
}
.bubble::before {
  content: ''; position: absolute; left: 26px; top: -12px; width: 18px; height: 18px; background: var(--cream-2);
  border-left: 2.5px solid var(--navy); border-top: 2.5px solid var(--navy); transform: rotate(45deg) skew(8deg, 8deg);
}
.bubble b { font-family: var(--display); font-weight: 800; font-size: 18px; }
.panel-bell .panel-art { background: radial-gradient(circle at 50% 60%, #FFF6D8 0 44%, #FFE6A3 45% 100%); }

.timecard {
  width: 64%; background: var(--cream-2); border: 2.5px solid var(--navy); border-radius: 8px; padding: 8px 10px 10px;
  transform: rotate(-6deg); box-shadow: 0 4px 0 0 var(--navy);
}
.tc-top { display: flex; justify-content: space-between; font: 800 10px/1 var(--display); letter-spacing: .08em; color: var(--navy-soft); border-bottom: 2px dashed rgba(35, 49, 77, .3); padding-bottom: 6px; }
.tc-rows { display: grid; gap: 6px; margin-top: 8px; }
.tc-row { display: flex; align-items: center; gap: 8px; font: 700 13px/1 var(--text); color: var(--navy); }
.tc-row i { width: 14px; height: 14px; border-radius: 50%; background: var(--navy); box-shadow: inset 0 0 0 3px var(--cream-2), 0 0 0 2px var(--navy); }
.tc-row i.tc-off { background: transparent; }
.tc-row b { color: var(--orange-ink); }
.timecard .tc-row:nth-child(1) i, .timecard .tc-row:nth-child(2) i, .timecard .tc-row:nth-child(3) i { animation: punch 4s steps(1) infinite; }
.timecard .tc-row:nth-child(2) i { animation-delay: .4s; } .timecard .tc-row:nth-child(3) i { animation-delay: .8s; }
@keyframes punch { 0% { background: transparent; } 20% { background: var(--navy); } }

.mini-slip {
  position: relative; width: 58%; background: #fff; border: 2.5px solid var(--navy); border-radius: 6px 6px 0 0; padding: 14px 12px 22px;
  display: grid; gap: 7px; transform: rotate(4deg); box-shadow: 0 4px 0 0 var(--navy);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 8px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 12px 8px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 8px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 12px 8px repeat-x;
}
.ms-ding { position: absolute; right: -6px; top: -26px; font-size: 22px; color: var(--orange-ink); transform: rotate(10deg); }
.ms-line { height: 6px; border-radius: 3px; background: #DDE3EE; }
.ms-short { width: 60%; }
.ms-sym { font: 800 26px/1 var(--display); color: var(--orange); }
.how-note { margin: 34px 0 0 auto; max-width: 340px; text-align: right; font-size: 19px; color: var(--navy-2); transform: rotate(-2deg); }

/* ------------------------------------------------------------ work permit: a laminated card that got stamped */
.permit-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.permit-points { list-style: none; display: grid; gap: 12px; margin: 22px 0 18px; }
.permit-points li { position: relative; padding-left: 30px; font-size: 16.5px; color: var(--navy-2); }
.permit-points li::before {
  content: ''; position: absolute; left: 2px; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--sun); border: 2.5px solid var(--navy);
}
.permit-points b { color: var(--navy); }
.permit-hand { font-size: 19px; color: var(--orange-ink); transform: rotate(-1.5deg); display: inline-block; margin: 0; }
.permit-art { position: relative; display: grid; place-items: center; padding: 24px 0; }
.permit-card {
  position: relative; width: min(360px, 92%); background: #fff; border: 3px solid var(--navy); border-radius: 18px;
  box-shadow: 0 6px 0 0 var(--navy); transform: rotate(-3deg); overflow: hidden;
}
.permit-card::after {
  /* the laminate shine */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .55) 42%, transparent 54%);
}
.pc-top { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--teal); color: #fff; border-bottom: 3px solid var(--navy); }
.pc-top img { width: 40px; height: 40px; }
.pc-top b { display: block; font: 800 22px/1 var(--display); }
.pc-top small { font-size: 12.5px; opacity: .85; }
.pc-body { display: grid; grid-template-columns: 104px 1fr; gap: 14px; padding: 16px; align-items: center; }
.pc-photo { aspect-ratio: 1; border-radius: 12px; border: 2.5px solid var(--navy); background: radial-gradient(circle at 50% 70%, #EAF6FF 0 45%, var(--sky-3) 46% 100%); overflow: hidden; display: grid; place-items: center; }
.pc-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.75) translateY(3%); }
.pc-rows { margin: 0; display: grid; gap: 8px; }
.pc-rows div { display: flex; justify-content: space-between; gap: 8px; border-bottom: 2px dotted rgba(35, 49, 77, .2); padding-bottom: 6px; }
.pc-rows dt { font-size: 13px; color: var(--navy-soft); }
.pc-rows dd { margin: 0; font: 800 14.5px/1.15 var(--display); color: var(--navy); text-align: right; }
.pc-foot { padding: 0 16px 16px; }
.pc-foot .barcode { width: 58%; }
.pc-foot .barcode { display: block; height: 26px; }
.pc-stamp {
  position: absolute; right: 16px; bottom: 10px; padding: 6px 12px; border: 3.5px solid var(--orange); border-radius: 10px;
  color: var(--orange); background: rgba(255, 255, 255, .85); font: 800 22px/1 var(--display); letter-spacing: .1em; text-transform: uppercase;
  transform: rotate(-14deg);
}
.pc-flame {
  position: absolute; left: 6%; bottom: 4px; width: 64px; height: 84px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 84'%3E%3Cpath d='M32 4c6 14 22 22 22 44 0 18-10 32-22 32S10 66 10 48c0-10 4-16 9-22 0 8 4 13 8 15-2-14 1-27 5-37z' fill='%23FF6A2B' stroke='%2323314D' stroke-width='3.5' stroke-linejoin='round'/%3E%3Cpath d='M32 40c4 8 12 12 12 22 0 9-5 15-12 15s-12-6-12-15c0-6 3-9 6-12 0 4 2 7 4 8-1-7 0-13 2-18z' fill='%23FFC93C' stroke='%2323314D' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
  animation: flicker 1.6s ease-in-out infinite alternate; transform-origin: 50% 100%;
}
@keyframes flicker { from { transform: scale(1, 1) rotate(-3deg); } to { transform: scale(1.06, .94) rotate(3deg); } }
@media (max-width: 900px) { .permit-grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .pc-body { grid-template-columns: 84px 1fr; gap: 10px; padding: 12px; }
  .pc-stamp { font-size: 18px; right: 12px; }
  .pc-flame { width: 48px; height: 64px; left: 2%; }
}
@media (prefers-reduced-motion: reduce) { .pc-flame { animation: none; } }

/* ------------------------------------------------------------ the crew: staff badges on lanyards */
.crew { padding-top: clamp(40px, 6vw, 80px); }
.badges { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px clamp(14px, 2vw, 24px); padding-top: 26px; }
.badge {
  position: relative; background: #fff; border: 3px solid var(--navy); border-radius: var(--round); box-shadow: var(--shadow);
  padding: 14px 14px 16px; transform-origin: 50% -24px; transform: rotate(var(--tilt, 0deg));
}
.badge:hover { animation: swing 1.4s ease-in-out; }
@keyframes swing { 0% { transform: rotate(var(--tilt, 0deg)); } 20% { transform: rotate(5deg); } 45% { transform: rotate(-4deg); } 70% { transform: rotate(2deg); } 100% { transform: rotate(var(--tilt, 0deg)); } }
.badge::before {
  /* the lanyard */
  content: ''; position: absolute; left: 50%; top: -30px; width: 14px; height: 30px; transform: translateX(-50%);
  background: repeating-linear-gradient(180deg, var(--orange) 0 6px, var(--sun) 6px 12px); border: 2px solid var(--navy); border-bottom: 0; border-radius: 4px 4px 0 0;
}
.badge-clip { position: absolute; left: 50%; top: -6px; width: 34px; height: 12px; transform: translateX(-50%); background: var(--steel, #B9C2D0); border: 2.5px solid var(--navy); border-radius: 6px; }
.badge-photo {
  aspect-ratio: 5 / 4; border-radius: 14px; overflow: hidden; display: grid; place-items: center; margin-top: 6px;
  background: radial-gradient(circle at 50% 72%, #EAF6FF 0 44%, var(--sky-3) 45% 100%);
}
.badge-photo img { width: 112%; max-width: none; height: auto; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.badge:hover .badge-photo img { transform: scale(1.06) translateY(-2px); }
.badge-photo img.is-missing { display: none; }
.badge-role {
  display: inline-block; margin: 12px 0 4px; padding: 4px 10px 3px; border-radius: 999px; border: 2px solid var(--navy);
  font: 800 12px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--navy);
}
.role-make { background: #FFD7C2; } .role-ship { background: #C8EEE9; } .role-rest { background: #FFF0B8; }
.badge-name { font: 800 26px/1 var(--display); color: var(--navy); margin: 2px 0 6px; }
.badge-line { font-size: 15px; line-height: 1.4; color: var(--navy-2); min-height: 2.8em; margin: 0 0 12px; }
.badge-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; margin: 0; padding-top: 10px; border-top: 2px dashed rgba(35, 49, 77, .22); }
.badge-stats div { min-width: 0; }
.badge-stats dt { font: 700 12px/1.2 var(--text); color: var(--navy-soft); }
.badge-stats dd { margin: 2px 0 0; font: 800 16px/1.1 var(--display); color: var(--navy); }

.crew-foot { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(18px, 3vw, 40px); margin-top: clamp(40px, 5vw, 64px); align-items: start; }
.ship-note {
  position: relative; background: #FFF0B8; border: 3px solid var(--navy); border-radius: 6px; padding: 18px 20px 16px; box-shadow: var(--shadow);
  transform: rotate(-1.5deg); font-size: 16.5px;
}
.ship-note p { margin: 0; }
.ship-hand { font-size: 24px !important; color: var(--orange-ink); margin-bottom: 4px !important; }
.levels-box { background: #fff; border: 3px solid var(--navy); border-radius: var(--round); box-shadow: var(--shadow); padding: 18px 20px 20px; }
.levels-say { margin: 0 0 14px; font-size: 16.5px; }
.levels { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; align-items: end; }
.lv { text-align: center; }
.lv-grid { display: grid; gap: 2px; margin: 0 auto 8px; width: 100%; max-width: 64px; }
.lv-grid i { aspect-ratio: 1; border-radius: 2px; background: var(--grass); border: 1.5px solid var(--navy); }
.lv-n { font: 800 15px/1 var(--display); color: var(--navy); }
.lv-p { font-size: 12.5px; line-height: 1.3; color: var(--navy-soft); margin-top: 3px; }

/* ------------------------------------------------------------ paycheck */
.pay { position: relative; }
.pay-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.pick-say { margin: 26px 0 10px; font: 800 18px/1 var(--display); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.chip button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 6px 14px 6px 6px; cursor: pointer;
  background: #fff; border: 2.5px solid var(--navy); border-radius: 999px; box-shadow: 0 3px 0 0 var(--navy);
  font: 800 15px/1 var(--display); color: var(--navy); transition: transform .12s, box-shadow .12s, background .12s;
}
.chip button:hover { transform: translateY(-2px); box-shadow: 0 5px 0 0 var(--navy); }
.chip button[aria-pressed='true'] { background: var(--sun); transform: translateY(2px); box-shadow: 0 1px 0 0 var(--navy); }
.chip img, .chip-ph { width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 2px solid var(--navy); object-fit: contain; }
/* a white mark (QQQ from parestocks.com) sits on a dark disc */
.chip img.is-dark { background: var(--navy); padding: 4px; }
.slip-logo.is-dark { background: var(--navy); }
.chip-ph { display: grid; place-items: center; font: 800 11px/1 var(--display); background: var(--cream-2); }
.eth-say { margin: 22px 0 0; font-size: 16px; color: var(--navy-2); max-width: 34em; }
.eth-say .hand { color: var(--teal); font-size: 19px; margin-right: 4px; }

.slip-wrap { position: relative; display: grid; justify-items: center; padding-top: 20px; }
.printer {
  width: min(380px, 92%); height: 34px; background: var(--navy); border-radius: 14px 14px 6px 6px; position: relative; z-index: 2;
  box-shadow: 0 4px 0 0 #121A2C;
}
.printer span { position: absolute; left: 10%; right: 10%; bottom: 6px; height: 6px; border-radius: 3px; background: #121A2C; }
.slip {
  position: relative; z-index: 1; width: min(330px, 82%); margin-top: -10px; padding: 26px 22px 30px;
  background: #fff; border: 3px solid var(--navy); border-top: 0; border-radius: 0 0 4px 4px;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 16px 10px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 16px 10px repeat-x;
  filter: drop-shadow(0 5px 0 rgba(35, 49, 77, .25));
}
.slip.is-printing { animation: print .7s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes print { from { transform: translateY(-70%); clip-path: inset(70% 0 0 0); } to { transform: none; clip-path: inset(0 0 0 0); } }
.slip-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 2px dashed rgba(35, 49, 77, .3); }
.slip-head img { width: 34px; height: 34px; }
.slip-head b { display: block; font: 800 19px/1.1 var(--display); }
.slip-head small { font-size: 13px; color: var(--navy-soft); }
.slip-rows { margin: 14px 0 0; display: grid; gap: 10px; }
.slip-rows div { display: grid; grid-template-columns: 76px 1fr; gap: 10px; align-items: baseline; }
.slip-rows dt { font: 700 13px/1.2 var(--text); color: var(--navy-soft); }
.slip-rows dd { margin: 0; font-weight: 700; font-size: 15px; }
.slip-you { font-size: 22px !important; color: var(--teal); }
.slip-sym { font: 800 28px/1 var(--display); color: var(--orange); }
.slip-rows small { color: var(--navy-soft); font-weight: 600; }
.slip-rows .mono { font-size: 13px; }
.slip-foot { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.slip-logo { width: 44px; height: 44px; border-radius: 50%; border: 2.5px solid var(--navy); display: grid; place-items: center; overflow: hidden; background: #fff; flex: none; }
.slip-logo img { width: 34px; height: 34px; object-fit: contain; }
.barcode { flex: 1; height: 34px; background: repeating-linear-gradient(90deg, var(--navy) 0 2px, transparent 2px 4px, var(--navy) 4px 7px, transparent 7px 9px, var(--navy) 9px 10px, transparent 10px 13px); opacity: .85; }
.slip-stamp {
  /* stamped across the barcode, the way a real payslip gets stamped */
  position: absolute; right: 12px; bottom: 30px; background: rgba(255, 255, 255, .82); margin: 0; padding: 4px 10px; border: 3px solid var(--grass-2); border-radius: 8px; color: var(--grass-2);
  font: 800 13px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; transform: rotate(-12deg); opacity: .85;
}

/* ------------------------------------------------------------ money: the payroll jar */
.money .sec-head { max-width: 900px; }
.say-big { font: 800 clamp(26px, 2.6vw, 34px)/1.15 var(--display); color: var(--orange-ink); margin: 0; }
.money-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.jar-fig { margin: 0; }
.jar-svg { width: 100%; height: auto; max-width: 520px; }
.j-line { fill: none; stroke: var(--navy); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.j-dim { stroke: var(--navy-soft); stroke-dasharray: 2 7; }
.j-hot { stroke: var(--orange); }
.j-hand { font: 600 17px/1 'Shantell Sans', cursive; fill: var(--navy); }
.j-pct { font: 800 30px/1 'Baloo 2', sans-serif; fill: var(--navy); }
.j-dim-t { fill: var(--navy-soft); }
.j-hot-t { fill: var(--orange-ink); }
.j-lid { fill: var(--orange); stroke: var(--navy); stroke-width: 3.5; }
.j-glass { fill: #EAF6FF; stroke: var(--navy); stroke-width: 3.5; }
.j-fill { fill: var(--sun); stroke: var(--navy); stroke-width: 2.5; }
.j-coin { fill: #FFE07A; stroke: var(--navy); stroke-width: 2.5; }
.j-shine { fill: none; stroke: #fff; stroke-width: 6; stroke-linecap: round; opacity: .9; }
.j-label { font: 800 18px/1 'Baloo 2', sans-serif; fill: var(--navy); text-anchor: middle; }

.pours { list-style: none; counter-reset: p; display: grid; gap: 14px; margin: 0 0 26px; }
.pours li { counter-increment: p; position: relative; padding-left: 52px; font-size: 17.5px; color: var(--navy-2); }
.pours li::before {
  content: counter(p); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; display: grid; place-items: center;
  border: 3px solid var(--navy); border-radius: 50%; background: #fff; font: 800 18px/1 var(--display); color: var(--navy);
}
.pours b { color: var(--navy); font-weight: 800; }
.sticky {
  background: #FFF0B8; border: 3px solid var(--navy); border-radius: 6px; padding: 20px 22px 6px; box-shadow: var(--shadow);
  transform: rotate(var(--tilt, 0deg)); font-size: 16.5px; color: var(--navy);
}
.sticky-h { font-size: 24px; color: var(--orange-ink); margin: 0 0 6px; }

/* ------------------------------------------------------------ house rules: notes pinned up */
.board-pins { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 30px); align-items: start; }
.pin-note {
  position: relative; background: #fff; border: 3px solid var(--navy); border-radius: 8px; padding: 26px 22px 20px; box-shadow: var(--shadow);
  transform: rotate(var(--tilt, 0deg));
}
.pin-no { background: #FFE4DA; }
.pin-nums { background: #DDF3EE; }
.tape { position: absolute; left: 50%; top: -14px; width: 92px; height: 26px; transform: translateX(-50%) rotate(-3deg); background: rgba(255, 201, 60, .75); border: 2px solid rgba(35, 49, 77, .25); }
.pin-h { font: 800 26px/1 var(--display); margin: 0 0 14px; color: var(--navy); }
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: 15.5px; line-height: 1.4; color: var(--navy-2); }
.ticks .ico { width: 22px; height: 22px; stroke-width: 3; color: var(--grass-2); margin-top: 1px; }
.ticks-no .ico { color: var(--orange-ink); }
.nums { display: grid; gap: 10px; margin: 0; }
.nums div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; border-bottom: 2px dotted rgba(35, 49, 77, .22); padding-bottom: 8px; }
.nums div:last-child { border-bottom: 0; }
.nums dt { font-size: 14.5px; color: var(--navy-2); }
.nums dd { margin: 0; font: 800 17px/1 var(--display); color: var(--navy); white-space: nowrap; text-align: right; }
.nums small { display: block; font: 600 11.5px/1.2 var(--text); color: var(--navy-soft); margin-top: 3px; }
.rules-fine { margin-top: 30px; max-width: 64em; }

/* ------------------------------------------------------------ the floor right now: a chalkboard */
.board { max-width: none; padding-left: var(--pad); padding-right: var(--pad); }
.board-in {
  max-width: var(--maxw); margin: 0 auto; padding: clamp(32px, 5vw, 60px);
  background: #2F5E4E radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, .07), transparent 60%);
  border: 10px solid #B9824F; border-radius: 18px; box-shadow: 0 6px 0 0 var(--navy), inset 0 0 0 3px rgba(0, 0, 0, .25);
  color: #F4F1E6;
}
.h2-light { color: #F4F1E6; font-family: var(--hand); font-weight: 700; font-size: clamp(34px, 4vw, 54px); }
.board-big { font: 700 clamp(24px, 2.6vw, 34px)/1.2 var(--hand); margin: 8px 0 12px; }
.board-prelim p { max-width: 46em; color: rgba(244, 241, 230, .88); }
.board-prelim .btn { margin-top: 10px; }
.board-figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 18px 0 0; }
.board-figs dt { font: 600 15px/1.3 var(--hand); color: rgba(244, 241, 230, .8); }
.board-figs dd { margin: 6px 0 0; font-size: clamp(30px, 3.4vw, 46px); line-height: 1; color: #fff; }
.board-note { margin: 22px 0 0; font-size: 12.5px; color: rgba(244, 241, 230, .7); }

/* ------------------------------------------------------------ questions */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.faq-hand { font-size: 22px; color: var(--orange-ink); transform: rotate(-3deg); display: inline-block; margin: 0; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 3px solid var(--navy); border-radius: 16px; box-shadow: 0 4px 0 0 var(--navy); }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 54px 16px 20px; position: relative; min-height: 44px;
  font: 800 19px/1.25 var(--display); color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center;
  border-radius: 50%; background: var(--sun); border: 2.5px solid var(--navy); font: 800 20px/1 var(--display); transition: transform .2s;
}
.faq details[open] summary::after { content: '\2212'; background: #fff; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--navy-2); font-size: 16.5px; }

/* ------------------------------------------------------------ footer: grass on top */
.foot { position: relative; background: var(--navy); color: #E6ECF7; margin-top: 60px; }
.foot::before {
  content: ''; position: absolute; left: 0; right: 0; top: -30px; height: 32px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='32' viewBox='0 0 160 32'%3E%3Cpath d='M0 18c14-10 26-10 40 0s26 10 40 0 26-10 40 0 26 10 40 0v14H0z' fill='%237CC855'/%3E%3Cpath d='M0 26c14-6 26-6 40 0s26 6 40 0 26-6 40 0 26 6 40 0v6H0z' fill='%2323314D'/%3E%3C/svg%3E") repeat-x bottom / 160px 32px;
}
.foot-in { max-width: calc(var(--maxw) + 2 * var(--pad)); margin: 0 auto; padding: 48px var(--pad) 26px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 30px; }
.foot-mark { height: 46px; width: auto; }
.foot-tag { font-size: 20px; color: var(--sun); margin: 10px 0 0; transform: rotate(-2deg); display: inline-block; }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 22px; }
.foot-k { font: 800 14px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: #9FB0CF; margin: 0 0 8px; }
.foot a { color: #fff; }
.foot a:hover { color: var(--sun); }
.foot-addr { word-break: break-all; font-size: 13px; }
.foot-base {
  max-width: calc(var(--maxw) + 2 * var(--pad)); margin: 0 auto; padding: 16px var(--pad) 28px;
  display: flex; gap: 10px 26px; flex-wrap: wrap; font-size: 13.5px; color: #9FB0CF; border-top: 1px solid rgba(255, 255, 255, .12);
}

/* ------------------------------------------------------------ narrower screens */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav .music-btn { margin-left: auto; }
  .comic { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; }
  .badges { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .board-pins { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pin-nums { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr; grid-template-areas: "kick" "title" "art" "copy"; grid-template-rows: none;
    padding-top: 96px; padding-bottom: 64px;
  }
  .hero-art { min-height: 0; margin: 0 0 54px; }
  .note-floor { top: -10px; right: 0; }
  .crew-foot, .pay-grid, .money-grid, .faq-grid, .foot-in { grid-template-columns: 1fr; }
  .board-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jar-svg { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 700px) {
  body.site { font-size: 16px; }
  .nav { padding-top: 12px; padding-bottom: 12px; }
  .brand-art { height: 32px; }
  .hero { padding-top: 84px; }
  .hero-title { font-size: clamp(44px, 13.4vw, 64px); -webkit-text-stroke-width: 2.5px; text-shadow: 0 4px 0 var(--navy); }
  /* square on phones, and pulled up under the headline: the phone poster has a lot of sky above the yard */
  .floorbox { aspect-ratio: 1 / 1; width: 124%; margin: -14% -12% -4%; }
  .floor-poster { object-position: 50% 78%; }
  .floor-poster { -webkit-mask-image: radial-gradient(ellipse 64% 58% at 50% 50%, #000 60%, transparent 100%); mask-image: radial-gradient(ellipse 64% 58% at 50% 50%, #000 60%, transparent 100%); }
  .note-floor { display: none; }
  .wallclock { left: 50%; transform: translateX(-50%); bottom: -40px; white-space: nowrap; }
  .wallclock.is-ringing { animation: none; }
  .clockface { width: 56px; height: 56px; }
  .wc-count { font-size: 32px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .comic { grid-template-columns: 1fr; }
  .panel { display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: center; padding: 12px; }
  .panel-art { aspect-ratio: 1; }
  .timecard { width: 84%; padding: 6px 7px 8px; }
  .tc-top span + span { display: none; }
  .tc-row { font-size: 11px; gap: 6px; }
  .tc-row i { width: 11px; height: 11px; }
  .tc-row:nth-child(4) { display: none; }
  .mini-slip { width: 74%; padding: 10px 9px 18px; }
  .ms-sym { font-size: 20px; }
  .bubble { margin: 0; font-size: 15px; }
  .bubble::before { left: -12px; top: 22px; transform: rotate(-45deg) skew(8deg, 8deg); }
  .how-note { margin-top: 24px; font-size: 17px; }
  .badges { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 12px; }
  .badge { padding: 10px 10px 12px; }
  .badge-name { font-size: 21px; }
  .badge-line { font-size: 13.5px; min-height: 0; }
  .badge-stats { gap: 6px 8px; }
  .badge-stats dt { font-size: 11px; }
  .badge-stats dd { font-size: 14px; }
  .levels { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 10px; }
  .board-pins { grid-template-columns: 1fr; }
  .board-in { border-width: 7px; }
  .board-figs { grid-template-columns: 1fr; }
  .faq summary { font-size: 17.5px; }
}
@media (max-width: 360px) {
  .badges { grid-template-columns: 1fr; }
  .wallclock { padding-right: 14px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after { animation: none; }
  .timecard .tc-row i { animation: none; background: var(--navy); }
}
