/* ============================================================
   JOBBWIRE · Daylight theme for the homepage
   Same layout, motion and type as site.css. This file only
   repaints it in the /start palette: cream paper, sage bands,
   forest green ink, terracotta and sand accents, white cards.
   Loaded after site.css and scoped to <body class="day">.
   ============================================================ */

body.day {
  --cream: #f8f3ed;
  --forest: #21473b;
  --forest-deep: #183a30;
  --sage: #e1eadd;
  --sage-deep: #cfdccb;
  --clay: #c8805c;
  --clay-deep: #a9582f;
  --sand: #e8cfa0;
  --sheet: 44px;
  --hatch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath d='M0 0L8 8M8 0L0 8' stroke='%23aab1ad' stroke-opacity='.09' stroke-width='.4'/%3E%3C/svg%3E");

  --void: var(--cream);
  --void-2: #f3ede4;
  --panel: #ffffff;
  --panel-2: #ffffff;
  --hairline: rgba(33, 71, 59, 0.16);
  --phos: var(--forest);
  --phos-bright: #2f6151;
  --phos-dim: rgba(33, 71, 59, 0.4);
  --phos-glow: transparent;
  --signal: var(--clay-deep);
  --signal-soft: rgba(169, 88, 47, 0.14);
  --amber: #9a6410;
  --sky: #2c6a88;
  --paper: #ffffff;
  --paper-2: #f3ede4;
  --ink: var(--forest);
  --ink-dim: #5a645d;
  --white: #1f4035;
  --fog: #5a645d;
  --fog-dim: #6f7870;

  /* Hero canvas (read by site.js) */
  --field-phos: 33, 71, 59;
  --field-signal: 169, 88, 47;
  --field-sky: 44, 106, 136;
  --field-grid: rgba(33, 71, 59, 0.05);

  background-image: var(--hatch);
  background-size: 8px 8px;
}
@media (max-width: 700px) { body.day { --sheet: 26px; } }

.day .aurora, .day .grain { display: none; }
.day ::selection { color: var(--cream); }

/* ---------- Page flow: sage, white, cream sheets ---------- */
.day main > section {
  border: 0;
  border-radius: var(--sheet) var(--sheet) 0 0;
  margin-top: calc(-1 * var(--sheet));
  padding-bottom: var(--sheet);
  box-shadow: 0 -14px 34px rgba(33, 71, 59, 0.07);
  background-color: var(--cream);
  background-image: var(--hatch);
  background-size: 8px 8px;
}
.day main > section.hero,
.day main > section.hero + section { border-radius: 0; margin-top: 0; box-shadow: none; }
.day main > section.hero { padding-bottom: 0; }
.day main > section.hero,
.day main > section.speed,
.day main > section.assistants,
.day main > section.finale { background-color: var(--sage); }
.day main > section.paper { background-color: #fff; background-image: none; }
.day main > section.finale { padding-bottom: 0; }

/* ---------- Type ---------- */
.day .eyebrow.glow { color: var(--clay-deep); text-shadow: none; }
.day .paper .eyebrow { color: var(--clay-deep); }
.day .hero-title em { text-shadow: none; }

/* ---------- Nav ---------- */
.day .nav.is-scrolled {
  background: #fff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: rgba(33, 71, 59, 0.14);
}
.day .nav-mark-blip { fill: var(--clay); }
.day .nav-cta { background: rgba(255, 255, 255, 0.6); }
.day .nav-cta:hover { background: #fff; }

/* ---------- Buttons ---------- */
.day .btn-solid:hover { background: var(--forest-deep); box-shadow: none; }
.day .btn-ghost { background: rgba(255, 255, 255, 0.6); border-color: rgba(33, 71, 59, 0.3); }
.day .btn-ghost:hover { background: #fff; }

/* ---------- Hero ---------- */
.day .hero-scrim {
  background: linear-gradient(90deg, rgba(225, 234, 221, 0.92) 0%, rgba(225, 234, 221, 0.6) 46%, rgba(225, 234, 221, 0.15) 100%);
}
.day .hero-kicker { background: rgba(255, 255, 255, 0.6); }
.day .live-dot { background: var(--clay); animation: none; box-shadow: 0 0 0 4px rgba(200, 128, 92, 0.2); }
.day .hero-ticker { background: rgba(255, 255, 255, 0.72); }
.day .hero-ticket {
  background: #fff;
  border-color: var(--hairline);
  box-shadow: 0 24px 60px rgba(33, 71, 59, 0.16);
}
.day .ticket-topline { filter: none; }
.day .ticket-avatar, .day .call-avatar { background: var(--sage); }
.day .ticket-steps::before { background: rgba(33, 71, 59, 0.14); }
.day .ticket-steps::after { box-shadow: none; }
.day .tk-node { background: var(--sage); }
.day .ticket-stamp, .day .call-stamp { box-shadow: none; background: #fff; }
.day .sk-body { fill: var(--sage-deep); }
.day .sk-crane { stroke: rgba(33, 71, 59, 0.35); }
.day .sk-crane-solid { fill: rgba(33, 71, 59, 0.35); }
.day .sk-win rect { fill: var(--sand); }

/* ---------- Product cards ---------- */
.day .call-card,
.day .lanes,
.day .board,
.day .season-strip,
.day .contact-form { box-shadow: 0 18px 44px rgba(33, 71, 59, 0.1); }
.day .d-card:hover { box-shadow: 0 16px 36px rgba(33, 71, 59, 0.12); }
.day .t-ai { background: var(--sage); border-color: rgba(33, 71, 59, 0.2); }
.day .t-human { background: #f3ede4; }
.day .lane { border-bottom-color: rgba(33, 71, 59, 0.12); }
.day .lane-block[data-status="confirmed"] { background: var(--sage); border-color: rgba(33, 71, 59, 0.45); color: var(--forest); }
.day .lane-block[data-status="notified"] { background: rgba(44, 106, 136, 0.1); border-color: rgba(44, 106, 136, 0.4); }
.day .lane-block[data-status="assigned"] { background: rgba(232, 207, 160, 0.45); border-color: rgba(154, 100, 16, 0.4); }
.day .lane-block-bounced { background: rgba(200, 128, 92, 0.12); border-color: rgba(169, 88, 47, 0.5); }
.day .b-card { background: var(--cream); }
.day .tag-sky { background: rgba(44, 106, 136, 0.08); border-color: rgba(44, 106, 136, 0.3); }
.day .tag-amber { background: rgba(232, 207, 160, 0.45); border-color: rgba(154, 100, 16, 0.35); }
.day .tag-phos { background: var(--sage); border-color: rgba(33, 71, 59, 0.3); color: var(--forest); }
.day .board-toast { background: var(--sage); }
.day .board-scan { background: linear-gradient(90deg, transparent, rgba(33, 71, 59, 0.03) 45%, rgba(33, 71, 59, 0.07) 50%, rgba(33, 71, 59, 0.03) 55%, transparent); }
.day .ss-total { background: var(--sage); }
.day .r-card { background: #fff; }
.day .r-head { color: var(--clay-deep); }
.day .r-dot { background: var(--clay); box-shadow: none; }
.day .r-resched .r-dot { box-shadow: none; }

/* ---------- Finale + contact ---------- */
.day .finale-halo { background: radial-gradient(closest-side, rgba(232, 207, 160, 0.55), rgba(232, 207, 160, 0.18) 45%, transparent 70%); }
.day .orbit { border-color: rgba(33, 71, 59, 0.22); }
.day .orbit-b { border-color: rgba(169, 88, 47, 0.25); }
.day .orbit-b b { background: var(--clay); box-shadow: none; }
.day .cf-field input,
.day .cf-field textarea { background: #fbf8f3; border-color: rgba(33, 71, 59, 0.22); }
.day .cf-field input:focus,
.day .cf-field textarea:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(33, 71, 59, 0.12); }
.day .cf-field input::placeholder,
.day .cf-field textarea::placeholder { color: #8b938c; }
.day .cf-done { background: var(--sage); }

/* ---------- Footer ---------- */
.day .footer { background: var(--cream); background-image: var(--hatch); background-size: 8px 8px; }
/* The halo and orbits stay behind the form so the fields read clean */
.day .contact-form { position: relative; z-index: 1; background: #fff; }

/* ============================================================
   Brighter call-out cards
   Pure white, a crisp lift off the page, and stronger colour
   inside: solid forest for what the system did, sand and
   terracotta for the customer and the outcome.
   ============================================================ */
.day .hero-ticket,
.day .call-card,
.day .lanes,
.day .board,
.day .season-strip,
.day .contact-form,
.day .d-card,
.day .r-card {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 2px 6px rgba(33, 71, 59, 0.06), 0 26px 60px rgba(33, 71, 59, 0.18);
}
.day .r-card { box-shadow: 0 1px 3px rgba(33, 71, 59, 0.06), 0 10px 24px rgba(33, 71, 59, 0.1); }
.day .call-card::before { display: none; }
.day .b-card { background: #fff; border-color: rgba(33, 71, 59, 0.14); box-shadow: 0 6px 16px rgba(33, 71, 59, 0.08); }

/* Hero ticket: larger */
.day .hero-ticket { max-width: 580px; padding: 2rem 2.1rem 1.8rem; border-radius: 24px; }
.day .ticket-topline { height: 4px; top: -2px; background: linear-gradient(90deg, transparent, var(--forest) 30%, var(--clay) 50%, var(--forest) 70%, transparent); background-size: 220% 100%; }
.day .ticket-head .mono { font-size: 0.72rem; }
.day .ticket-avatar { width: 58px; height: 58px; font-size: 1rem; }
.day .ticket-who strong { font-size: 1.4rem; }
.day .ticket-who .mono { font-size: 0.7rem; color: var(--fog); }
.day .ticket-in { font-size: 0.72rem; color: var(--fog); }
.day .tk-body strong { font-size: 1.12rem; }
.day .tk-body small { font-size: 0.94rem; color: var(--fog); }
.day .tk-step time { font-size: 0.74rem; font-weight: 600; color: var(--clay-deep); }
.day .ticket-elapsed { font-size: 0.72rem; color: var(--fog); }
.day .ticket-elapsed b { color: var(--forest); }
.day .ticket-stamp { font-size: 0.9rem; }
@media (max-width: 520px) { .day .hero-ticket { padding: 1.3rem 1.2rem 1.2rem; } .day .ticket-who strong { font-size: 1.15rem; } .day .tk-body strong { font-size: 1rem; } .day .tk-body small { font-size: 0.84rem; } }

/* Colour inside the cards */
.day .ticket-avatar,
.day .call-avatar { background: var(--sand); border-color: transparent; color: var(--forest); }
.day .tk-node { background: var(--forest); border-color: var(--forest); }
.day .tk-node::after { border-color: #fff; }
.day .ticket-stamp,
.day .call-stamp { color: var(--clay-deep); border-color: var(--clay-deep); }
.day .call-meta { color: var(--clay-deep); }
.day .waveform i { opacity: 1; }
.day .t-ai { background: var(--forest); border-color: var(--forest); color: #fff; }
.day .t-ai::before { color: var(--sand); }
.day .t-human { background: #fbf0d9; border-color: transparent; color: var(--forest); }
.day .t-human::before { color: var(--clay-deep); }
.day .fact-k { color: var(--clay-deep); }
.day .lane-block[data-status="confirmed"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.day .ss-total { background: var(--forest); }
.day .ss-cell.ss-total strong, .day .ss-cell.ss-total .mono { color: #fff; text-shadow: none; }
.day .ss-cell strong { color: var(--forest); }
@media (min-width: 1081px) {
  .day .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(420px, 580px); gap: clamp(2rem, 4vw, 4.5rem); }
}

/* Hero: wider stage, ticket as tall as the copy column */
@media (min-width: 1081px) {
  .day .hero-inner {
    max-width: 1560px;
    grid-template-columns: minmax(0, 1.05fr) minmax(460px, 0.95fr);
    align-items: stretch;
    gap: clamp(2.5rem, 4.5vw, 5.5rem);
    padding-left: clamp(1.4rem, 3.4vw, 3.4rem);
    padding-right: clamp(1.4rem, 3.4vw, 3.4rem);
  }
  .day .hero-ticket {
    max-width: 700px;
    display: flex;
    flex-direction: column;
    padding: clamp(2rem, 2.6vw, 2.8rem) clamp(2.1rem, 2.8vw, 3rem) clamp(1.8rem, 2.2vw, 2.4rem);
  }
  .day .ticket-steps { flex: 1; display: flex; flex-direction: column; justify-content: space-around; }
  .day .ticket-who strong { font-size: 1.6rem; }
  .day .tk-body strong { font-size: 1.25rem; }
  .day .tk-body small { font-size: 1.02rem; }
}

/* Hero headline: four full sentences, one per line */
.day .hero-title { max-width: none; font-size: clamp(2.1rem, 9.2vw, 3rem); line-height: 1.04; }
.day .hero-sub { max-width: 54ch; }
.day .hero-sub b { color: var(--forest); font-weight: 600; }
@media (min-width: 1081px) {
  .day .hero-title { font-size: clamp(2.5rem, 4.15vw, 4.6rem); }
  .day .hero-title .line { white-space: nowrap; }
}
@media (max-height: 950px) and (min-width: 1081px) {
  .day .hero-title { font-size: clamp(2.4rem, min(4.15vw, 6.4vh), 4.6rem); }
}

/* Ticket accent: a band that follows the card's rounded top edge instead of a floating line */
.day .ticket-topline {
  inset: 0;
  height: auto;
  border-radius: inherit;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% 6px no-repeat;
  mask: linear-gradient(#000 0 0) top / 100% 6px no-repeat;
}

/* Section headlines: one line, sized by site.js to span the section's full width */
@media (min-width: 900px) {
  .day .display.fit { white-space: nowrap; max-width: none; line-height: 1.08; }
  .day .display.fit > span { display: inline-block; }
  .day .display.fit.fit-wrap { white-space: normal; text-wrap: balance; }
  .day .display.fit.fit-wrap > span { display: inline; }
  .day .display.fit.measuring { width: max-content; font-size: 100px !important; }
}
/* Lead-in above the dispatch headline */
.day .display-lead {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  color: var(--clay-deep);
  margin-bottom: 0.9rem;
}

/* Hero kicker: keep the pill on one line on small screens by dropping the clock */
@media (max-width: 520px) {
  .day .hero-kicker { font-size: 0.56rem; letter-spacing: 0.05em; white-space: nowrap; gap: 0.5em; }
}

/* Section subtext runs the full width of the section, under the full-width headline */
@media (min-width: 900px) {
  .day main > section:not(.hero):not(.finale) .section-inner > .lede {
    max-width: none;
    font-size: clamp(1.15rem, 1.5vw, 1.36rem);
    text-wrap: pretty;
  }
}

/* The core promise in the hero: highlighter stroke, same as /start */
.day .hero-sub mark {
  background: linear-gradient(transparent 58%, var(--sand) 58% 92%, transparent 92%);
  color: var(--forest);
  font-weight: 700;
  padding: 0 0.12em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Booking wall: soften the (already masked) contact line on each card */
.day .r-mask { filter: blur(2.2px); user-select: none; }
