/* jobosaur.com home page (pre-launch, 2026-11-15).
   Brand: hard hat orange #F08A30 · dino green #8BA878 · charcoal #1E1E1E · cream #F3E6C4.
   Headings in Poppins (same as the video end cards). Dark on purpose: it matches
   the videos and the app. Privacy / terms / delete-account keep site.css. */

:root {
  --bg: #161513;
  --bg-alt: #1D1C19;
  --card: #24221F;
  --ink: #F6EFDF;
  --muted: #BFB7A4;
  --line: rgba(243, 230, 196, 0.12);
  --orange: #F08A30;
  --orange-hi: #F59A47;
  --green: #8BA878;
  --cream: #F3E6C4;
  --radius: 18px;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }

h1, h2, h3, .brand span, .btn, .eyebrow {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}
h1 { font-size: clamp(40px, 9vw, 72px); font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 6vw, 42px); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; }
h3 { font-size: 19px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.accent { color: var(--orange); }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 12px; cursor: pointer;
  background: var(--orange); color: #1E1E1E;
  font-weight: 700; text-decoration: none;
  transition: background .15s ease, transform .1s ease;
}
.btn:hover { background: var(--orange-hi); }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: .6; cursor: default; }
.btn-small { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-big { width: 100%; height: 56px; padding: 0 22px; font-size: 17px; }

/* ===== HEADER ===== */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(22, 21, 19, 0.92);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  backdrop-filter: saturate(140%) blur(8px);
}
.top-row { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand span { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }

/* ===== HERO ===== */
.hero { padding: 20px 0 56px; position: relative; }
.hero-grid { display: grid; gap: 8px; }
.hero-copy { position: relative; z-index: 1; }
.lead { margin: 18px 0 24px; font-size: 18px; color: var(--muted); max-width: 34em; }

.hero-art { position: relative; order: -1; display: flex; justify-content: center; margin-bottom: -8px; }
.hero-art img { width: 38%; max-width: 190px; height: auto; position: relative; z-index: 1; }
.glow {
  position: absolute; inset: 10% 15% 0;
  background: radial-gradient(closest-side, rgba(240, 138, 48, 0.35), rgba(240, 138, 48, 0) 70%);
  filter: blur(10px);
}

.signup-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  scroll-margin-top: 84px;
}
.field { display: block; margin-bottom: 12px; }
.field span { display: block; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; height: 52px; padding: 0 14px;
  background: #171614; color: var(--ink);
  border: 1px solid rgba(243, 230, 196, 0.18); border-radius: 12px;
  font: inherit; font-size: 17px;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23BFB7A4' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 36px;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(240, 138, 48, 0.25); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin-top: 12px; color: #FF9B8A; font-weight: 600; font-size: 15px; }
.fine { margin-top: 12px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.signup-done h3 { font-size: 24px; color: var(--orange); margin-bottom: 8px; }
.signup-done p { color: var(--muted); }

/* ===== BANDS ===== */
.band { padding: 64px 0; }
.band-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sub { margin-top: 10px; color: var(--muted); font-size: 18px; }

/* Videos: swipe sideways on phones, three across on desktop. */
.band-videos { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reel {
  display: grid; grid-auto-flow: column; grid-auto-columns: 72%;
  gap: 14px; margin: 28px -20px 0; padding: 0 20px 8px;
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.reel::-webkit-scrollbar { display: none; }
.clip { scroll-snap-align: center; }
.clip video {
  width: 100%; aspect-ratio: 9 / 16; object-fit: cover;
  border-radius: var(--radius); background: #000;
  border: 1px solid var(--line);
}
/* Fullscreen: keep the 9:16 shape with black bars, never crop or stretch. */
.clip video:fullscreen { object-fit: contain; aspect-ratio: auto; width: 100%; height: 100%; border: 0; border-radius: 0; }
.clip video:-webkit-full-screen { object-fit: contain; aspect-ratio: auto; width: 100%; height: 100%; border: 0; border-radius: 0; }
.clip figcaption { margin-top: 10px; font-weight: 600; color: var(--muted); font-size: 15px; }

.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.socials a {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--card);
  text-decoration: none; font-weight: 600; font-size: 15px;
}
.socials a:hover { border-color: rgba(240, 138, 48, 0.6); }
.socials svg { width: 18px; height: 18px; fill: var(--cream); }
.socials-tight { margin-top: 10px; }
.socials-tight a { height: 40px; }

/* Why */
.why { display: grid; gap: 14px; margin-top: 28px; }
.why > div { padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--orange); }
.why p { margin-top: 8px; color: var(--muted); }

/* Features */
.grid { display: grid; gap: 14px; margin-top: 28px; }
.card { padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.card p { margin-top: 6px; color: var(--muted); }
.icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(139, 168, 120, 0.16);
}
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Steps */
.steps { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.steps span {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--orange); color: #1E1E1E; font-family: 'Poppins', sans-serif; font-weight: 800;
}
.steps p { margin-top: 4px; color: var(--muted); }

/* FAQ */
details { border-bottom: 1px solid var(--line); }
details:first-of-type { margin-top: 20px; border-top: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 18px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 26px; font-weight: 400; color: var(--orange);
}
details[open] summary::after { content: '–'; }
details p { padding: 0 0 20px; color: var(--muted); }
details a { text-decoration-color: var(--orange); text-underline-offset: 3px; }

/* Closer */
.closer { padding: 56px 0 72px; background: radial-gradient(120% 80% at 50% 100%, rgba(240,138,48,0.16), rgba(240,138,48,0) 60%); }
.closer-grid { display: grid; gap: 18px; justify-items: center; text-align: center; }
.closer img { width: 52%; max-width: 260px; height: auto; }
.closer p { margin: 10px 0 22px; color: var(--muted); font-size: 18px; }
.closer .btn-big { max-width: 360px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 15px; color: var(--muted); }
.foot-row { display: grid; gap: 16px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--ink); }
.foot .brand span { font-size: 18px; color: var(--ink); }

/* ===== WIDER SCREENS ===== */
@media (min-width: 720px) {
  .wrap { padding: 0 32px; }
  .why { grid-template-columns: repeat(3, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { flex-direction: column; }
  .reel { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); margin: 32px 0 0; padding: 0; overflow: visible; }
  .foot-row { grid-template-columns: auto 1fr auto; align-items: center; }
  .foot nav { justify-content: center; }
}
@media (min-width: 960px) {
  .hero { padding: 64px 0 88px; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
  .hero-art { order: 0; margin: 0; }
  .hero-art img { width: 100%; max-width: 440px; }
  .signup-card { padding: 24px; max-width: 520px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .closer-grid { grid-template-columns: 0.8fr 1.2fr; text-align: left; justify-items: start; align-items: center; }
  .closer img { width: 100%; max-width: 300px; justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ===== MOTION (2026-11-15) =====
   Everything here is decoration: with JS off or reduced motion on, the page is static and complete. */

/* Headline slams in word by word; the last word lands with a shake. */
.js .slam .w { display: inline-block; opacity: 0; transform: scale(1.8) translateY(-10px); filter: blur(8px); animation: slam .55s cubic-bezier(.2,1.4,.4,1) forwards; }
.js .slam .w1 { animation-delay: .15s; }
.js .slam .w2 { animation-delay: .38s; }
.js .slam .w3 { animation-delay: .62s; }
@keyframes slam { 60% { opacity: 1; filter: blur(0); } 100% { opacity: 1; transform: none; filter: blur(0); } }
.js .hero { animation: shake .45s ease-out 1.05s; }
.has-hero-video .hero { animation: none; }
.has-hero-video .hero.boom { animation: shake .5s ease-out; }
.hero.boom .w3 { animation: slam .55s cubic-bezier(.2,1.4,.4,1) forwards, flare 1.2s ease-out; }
@keyframes flare { 0% { text-shadow: 0 0 0 rgba(240,138,48,0); } 25% { text-shadow: 0 0 28px rgba(240,138,48,.9), 0 0 60px rgba(240,138,48,.6); } 100% { text-shadow: 0 0 0 rgba(240,138,48,0); } }
@keyframes shake {
  0%,100% { transform: none; }
  15% { transform: translate(-6px, 3px) rotate(-.4deg); }
  30% { transform: translate(5px, -3px) rotate(.4deg); }
  45% { transform: translate(-4px, 2px); }
  60% { transform: translate(3px, -1px); }
  80% { transform: translate(-1px, 1px); }
}
.js .pop { opacity: 0; transform: translateY(18px); animation: pop .6s cubic-bezier(.2,.8,.2,1) forwards; }
.js .pop1 { animation-delay: .05s; }
.js .pop2 { animation-delay: 1.1s; }
.js .pop3 { animation-delay: 1.3s; }
@keyframes pop { to { opacity: 1; transform: none; } }

/* Dozer: drops in, then idles with a slow bob; the glow breathes. */
.js .hero-art .bob { animation: drop .8s cubic-bezier(.3,1.5,.5,1) .2s both, bob 4s ease-in-out 1.2s infinite; }
@keyframes drop { from { opacity: 0; transform: translateY(-60px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.glow { animation: breathe 4s ease-in-out infinite; }
@keyframes breathe { 0%,100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }

/* Tickers */
.ticker {
  background: var(--orange); color: #1E1E1E; overflow: hidden;
  transform: rotate(-2deg); margin: -6px -10px 0; padding: 14px 0;
  box-shadow: 0 10px 30px rgba(240,138,48,.25); position: relative; z-index: 2;
}
.ticker-alt { background: var(--green); transform: rotate(1.5deg); margin: 40px -10px 0; box-shadow: none; }
.ticker-track { display: flex; width: max-content; align-items: center; animation: tick 28s linear infinite reverse; }
.ticker-alt .ticker-track { animation-duration: 48s; }
.ticker span { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 22px; text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; padding: 0 18px; }
.ticker i { font-style: normal; font-size: 16px; opacity: .55; }
@keyframes tick { to { transform: translateX(-50%); } }
.band-videos { padding-top: 76px; }

/* Scroll reveal */
.js .reveal, .js .reveal-kids > * { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in, .js .reveal-kids > .in { opacity: 1; transform: none; }
.js .rise { opacity: 0; transform: translateY(80px) scale(.92); transition: opacity .8s ease, transform .9s cubic-bezier(.3,1.4,.5,1); }
.js .rise.in { opacity: 1; transform: none; }

/* Cards lift and glow on hover (desktop) */
.card, .why > div, .steps li { transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, opacity .7s ease; }
@media (hover: hover) {
  .card:hover, .why > div:hover, .steps li:hover { transform: translateY(-4px); border-color: rgba(240,138,48,.45); box-shadow: 0 14px 40px rgba(240,138,48,.12); }
}

@media (prefers-reduced-motion: reduce) {
  .js .slam .w, .js .pop, .js .hero-art .bob, .js .hero, .hero.boom, .glow, .ticker-track { animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
  .js .reveal, .js .reveal-kids > *, .js .rise { opacity: 1; transform: none; transition: none; }
}

/* ===== HERO CLIP ===== */
.hero-video { display: none; }
.has-hero-video .hero-art .bob { display: none; }
.has-hero-video .hero-video {
  display: block; position: relative; z-index: 1; cursor: pointer;
  height: clamp(300px, 50svh, 470px); width: auto; aspect-ratio: 9 / 16; object-fit: cover;
  /* Screen blend: the clip's black drops out, so it sits on the page colour with no box or oval. */
  mix-blend-mode: screen;
  /* Phone: feather all four edges so paper drifting out of frame fades away instead of being cut. */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 78%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 12%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 22%, #000 78%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 12%, #000 90%, transparent 100%);
  mask-composite: intersect;
  animation: fadein .6s ease both;
}
.has-hero-video .hero-art .glow { display: none; }
.has-hero-video .hero-art { margin-bottom: -18px; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

@media (min-width: 960px) {
  .hero-wide .hero { min-height: min(88vh, 780px); display: flex; align-items: center; overflow: hidden; }
  .hero-wide .hero-grid { grid-template-columns: minmax(0, 560px); }
  .hero-wide .hero-copy { position: relative; z-index: 2; }
  .hero-wide .hero-art { position: absolute; inset: 0; margin: 0; display: block; }
  .hero-wide .hero-art .glow { display: none; }
  .hero-wide .hero-video {
    width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; transform: translateX(20%);
    -webkit-mask-image: none; mask-image: none;
  }
  .hero-wide .hero-art::after {
    content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1;
    background:
      linear-gradient(to right, var(--bg) 0%, var(--bg) 22%, rgba(22,21,19,.55) 45%, rgba(22,21,19,0) 62%),
      linear-gradient(to top, var(--bg) 0%, rgba(22,21,19,0) 22%);
  }
}
