/* ============================================================
   Home v2 — "new concept" homepage, inspired by new.drupal.org's
   layout rhythm (bold hero → stat band → icon feature cards →
   testimonial → dual-path cards → case-study cards → CTA) reskinned
   entirely in ShuttleKita's yellow/ink system. Loaded only by
   index-new.html — does not affect the live homepage. The hero sits
   directly below the fixed, transparent site header (same technique
   as the live homepage's .hero.surface-yellow), so its yellow surface
   is what shows through the header instead of a separate top strip.
   ============================================================ */

/* ---- Hero v2 ---- */
.hero2 { padding-block: calc(var(--nav-h) + var(--sp-8)) var(--sp-24); }
.hero2__grid { display: grid; gap: var(--sp-16); align-items: center; }
.hero2__copy h1 {
  margin-block: var(--sp-6);
  font-size: clamp(2.3rem, 1.3rem + 3.1vw, 4.1rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
}
.hero2__mark { color: var(--accent-yellow-ink); }
.hero2 .lead { max-width: 48ch; }
.hero2__actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-8); }

.hero2__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(16, 16, 19, 0.14);
}
.hero2__trust li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ink-700);
}
.hero2__trust svg { width: 18px; height: 18px; color: var(--accent-yellow-ink); flex-shrink: 0; }

.hero2__visual { position: relative; }
.hero2__photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 6px solid #FFFFFF;
  box-shadow: var(--shadow-elevated);
  aspect-ratio: 4 / 3;
}
.hero2__photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero2__chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-small);
  font-weight: 600;
  white-space: nowrap;
  background: #FFFFFF;
  color: var(--ink-900);
  box-shadow: 0 16px 32px -12px rgba(16, 16, 19, 0.35);
}
.hero2__chip strong { font-family: var(--font-display); color: var(--accent-yellow-ink); }
.hero2__chip--a { top: -18px; left: -12px; }
.hero2__chip--b { bottom: -18px; right: -12px; background: var(--ink-900); color: #FFFFFF; }
.hero2__chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-yellow); flex-shrink: 0; }

@keyframes hv2-floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.js-motion-ready .hero2__chip { animation: hv2-floaty 5s ease-in-out infinite; }
.js-motion-ready .hero2__chip--b { animation-duration: 6s; animation-delay: -2.4s; }

@media (min-width: 1024px) {
  .hero2 { padding-block: calc(var(--nav-h) + var(--sp-16)) var(--sp-24); }
  .hero2__grid { grid-template-columns: 1.05fr 1fr; }
}

/* ---- Stat band ---- */
.stat-band {
  padding-block: var(--sp-12);
  background: var(--cream-100);
  border-block: 1px solid var(--cream-200);
}
.stat-band__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-8);
  text-align: center;
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h2);
  color: var(--ink-900);
}
.stat__label { margin-top: var(--sp-1); font-size: var(--fs-small); color: var(--ink-500); }

@media (min-width: 768px) {
  .stat-band__grid { grid-template-columns: repeat(4, 1fr); }
  .stat { position: relative; }
  .stat:not(:first-child)::before {
    content: "";
    position: absolute;
    left: calc(-1 * var(--sp-4));
    top: 4px; bottom: 4px;
    width: 1px;
    background: var(--cream-200);
  }
}

/* ---- Feature cards (the icon+card grid — the flagship section) ---- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  margin-top: var(--sp-12);
}
/* Hard-edged box-shadow (0 blur) for the offset "sticker" block — it
   naturally paints behind the card's own background, unlike a ::before
   with negative z-index (which paints *above* the element's own bg per
   CSS stacking rules and would cover the whole face instead of peeking
   out at the corner). */
.feature-card {
  background: #FFFFFF;
  border: 2px solid var(--ink-900);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  box-shadow: 8px 8px 0 0 var(--accent-yellow);
  transition: transform var(--dur-medium) var(--ease-cinematic), box-shadow var(--dur-medium) var(--ease-cinematic);
}
.feature-card:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 0 var(--accent-yellow); }
.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: var(--accent-yellow-200);
  color: var(--accent-yellow-ink);
  margin-bottom: var(--sp-6);
  transition: background var(--dur-medium) ease, transform var(--dur-medium) var(--ease-cinematic);
}
.feature-card__icon svg { width: 26px; height: 26px; }
.feature-card:hover .feature-card__icon { background: var(--accent-yellow); transform: scale(1.08) rotate(-4deg); }
.feature-card h3 { margin-bottom: var(--sp-2); }
.feature-card p { color: var(--ink-700); margin: 0; }

@media (min-width: 700px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---- Van overview slider (markup/JS shared with gallery.js: .events__*) ----
   Photos are a mix of portrait and landscape, so each slide is a blurred
   cover copy of the photo behind a "contain" copy — nothing gets cropped. */
.van__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-12); align-items: center; }
.van__copy h2 { margin-block: var(--sp-4); }
.van__copy .hero__actions { margin-top: var(--sp-8); }
.van__gallery { width: 100%; min-width: 0; max-width: 560px; margin-inline: auto; }
.events__viewer {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--ink-900);
  box-shadow: 10px 10px 0 0 var(--accent-yellow);
  background: var(--ink-900);
  touch-action: pan-y;
}
.events__slides { position: absolute; inset: 0; }
.events__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity var(--dur-medium) ease;
}
.events__slide.is-active { opacity: 1; z-index: 1; }
.van__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(22px) brightness(0.8); transform: scale(1.15); }
.van__img { position: relative; width: 100%; height: 100%; object-fit: contain; display: block; }
.events__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: var(--sp-12) var(--sp-6) var(--sp-4);
  background: linear-gradient(to top, rgba(16, 16, 19, 0.75), rgba(16, 16, 19, 0));
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-body-lg);
}
.events__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink-900);
  box-shadow: 0 10px 24px -10px rgba(16, 16, 19, 0.55);
  transition: background var(--dur-fast) ease;
}
.events__nav:hover { background: var(--accent-yellow); }
.events__nav--prev { left: var(--sp-3); }
.events__nav--next { right: var(--sp-3); }
.events__count {
  position: absolute;
  top: var(--sp-3); right: var(--sp-3);
  z-index: 3;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(16, 16, 19, 0.72);
  color: #FFFFFF;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.events__thumbs {
  display: flex;
  gap: var(--sp-2);
  margin-top: var(--sp-6);
  padding: 4px 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.events__thumbs::-webkit-scrollbar { display: none; }
.events__thumb {
  flex: 0 0 72px;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  opacity: 0.6;
  transition: opacity var(--dur-fast) ease, border-color var(--dur-fast) ease, transform var(--dur-fast) var(--ease-cinematic);
}
.events__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.events__thumb:hover { opacity: 0.9; }
.events__thumb.is-active { opacity: 1; border-color: var(--ink-900); transform: translateY(-3px); }

@media (min-width: 1024px) {
  .van__grid { grid-template-columns: 1fr minmax(0, 560px); gap: var(--sp-16); }
  .van__gallery { margin-inline: 0; }
}

/* ---- Pricing / roadmap teaser (copy + Now/Next/2027 status-list live in
   components.css — this page only needs the two-column grid layout) ---- */
.pricing-teaser__grid { display: grid; gap: var(--sp-12); align-items: center; }
.pricing-teaser h2 { margin-block: var(--sp-4); }

@media (min-width: 1024px) {
  .pricing-teaser__grid { grid-template-columns: 1.1fr 1fr; }
}

/* ---- Founder quote ----
   A yellow surface card with the photo styled as a little "browser window"
   (dot-bar header) that overlaps the card's top-right corner on wider
   screens; stacks as a normal inline photo on mobile. */
.quote-card {
  position: relative;
  isolation: isolate;
  overflow: visible; /* override surface-yellow's overflow:hidden so the photo can overlap the top edge */
  border-radius: var(--radius-lg);
  padding: var(--sp-12) var(--sp-8);
}
.quote-card::before { border-radius: inherit; }

.quote-card__photo {
  width: 150px;
  margin-bottom: var(--sp-6);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #FFFFFF;
  border: 4px solid #FFFFFF;
  box-shadow: var(--shadow-default);
}
.quote-card__photo-bar { display: flex; gap: 5px; padding: 8px 10px; background: #FFFFFF; }
.quote-card__photo-bar span { width: 6px; height: 6px; border-radius: 50%; background: var(--cream-200); }
.quote-card__photo img { display: block; width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }

.quote-card__body { max-width: 62ch; }
.quote-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 1.15rem + 1.4vw, 2.1rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  max-width: none;
  margin: 0 0 var(--sp-6);
}
.quote-cite { font-size: var(--fs-small); font-weight: 500; color: var(--ink-700); margin: 0; }

@media (min-width: 700px) {
  .quote-card { padding: var(--sp-16) var(--sp-12); padding-right: 260px; }
  .quote-card__photo {
    position: absolute;
    top: -30px;
    right: var(--sp-12);
    width: 210px;
    margin-bottom: 0;
    box-shadow: var(--shadow-elevated);
    z-index: 2;
  }
}

/* ---- Two-path cards ----
   "Sticker" card: bold ink outline, solid offset shadow block behind
   (a flat color panel, not a blur), pill badge in the header, a hard
   divider rule, then a checklist and a full-width button. */
.path-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  margin-top: var(--sp-16);
}
.path-card {
  background: #FFFFFF;
  border: 2px solid var(--ink-900);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  box-shadow: 10px 10px 0 0 var(--cream-200);
  display: flex;
  flex-direction: column;
}
.path-card--highlight { box-shadow: 10px 10px 0 0 var(--accent-yellow); }

.path-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-3);
}
.path-card__head h3 {
  font-size: clamp(1.4rem, 1.2rem + 1vw, 1.85rem);
  margin: 0;
}
.path-card__tag {
  flex-shrink: 0;
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--accent-yellow);
  background: var(--ink-900);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.path-card__subtitle { color: var(--ink-700); margin: 0 0 var(--sp-6); }
.path-card__divider { border: 0; border-top: 2px solid var(--ink-900); margin: 0 0 var(--sp-6); }

.path-card__list { display: flex; flex-direction: column; gap: var(--sp-4); margin-bottom: var(--sp-8); flex: 1; }
.path-card__list li { display: flex; align-items: flex-start; gap: var(--sp-3); color: var(--ink-900); font-weight: 500; }
.path-card__list svg { width: 20px; height: 20px; color: var(--accent-yellow-ink); flex-shrink: 0; margin-top: 1px; }

.path-card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  width: 100%;
  background: var(--ink-900);
  color: #FFFFFF;
  font-weight: 700;
  padding: var(--sp-4) var(--sp-6);
  border-radius: var(--radius-md);
  transition: background var(--dur-fast) ease, transform var(--dur-fast) var(--ease-cinematic);
}
.path-card__cta svg { width: 16px; height: 16px; transition: transform var(--dur-fast) var(--ease-cinematic); }
.path-card__cta:hover { background: #000000; transform: translateY(-2px); }
.path-card__cta:hover svg { transform: translateX(3px); }
.path-card__cta--outline { background: transparent; color: var(--ink-900); border: 2px solid var(--ink-900); }
.path-card__cta--outline:hover { background: var(--ink-900); color: #FFFFFF; }

@media (min-width: 800px) {
  .path-grid { grid-template-columns: repeat(2, 1fr); margin-top: var(--sp-16); }
}

/* ---- Moment / case-study cards ---- */
.moment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  margin-top: var(--sp-12);
}
.moment-card {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--cream-200);
  background: #FFFFFF;
  box-shadow: var(--shadow-default);
  transition: transform var(--dur-medium) var(--ease-cinematic), box-shadow var(--dur-medium) var(--ease-cinematic);
}
.moment-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-elevated); }
.moment-card__photo { aspect-ratio: 4 / 3; overflow: hidden; }
.moment-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--dur-slow) var(--ease-cinematic); }
.moment-card:hover .moment-card__photo img { transform: scale(1.05); }
.moment-card__body { padding: var(--sp-6); }
.moment-card__body h3 { margin-bottom: var(--sp-2); }
.moment-card__body p { color: var(--ink-700); margin-bottom: var(--sp-4); }
.moment-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: var(--fs-small);
  color: var(--ink-900);
}
.moment-card__link svg { width: 14px; height: 14px; transition: transform var(--dur-fast) var(--ease-cinematic); }
.moment-card:hover .moment-card__link svg { transform: translateX(3px); }

@media (min-width: 700px) {
  .moment-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Compact team strip ---- */
.team-strip__inner { display: flex; flex-direction: column; gap: var(--sp-8); }
.team-strip__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.team-strip__list li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--sp-1); }
.team-strip__list img {
  width: 140px; height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: var(--sp-3);
  border: 4px solid #FFFFFF;
  box-shadow: var(--shadow-elevated);
}
.team-strip__list strong { color: var(--ink-900); font-size: var(--fs-body); }
.team-strip__list span { font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-yellow-ink); }

@media (min-width: 700px) {
  .team-strip__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: var(--sp-12); }
  .team-strip__intro { max-width: 32ch; flex-shrink: 0; }
  .team-strip__list { flex: 1; }
  .team-strip__list img { width: 160px; height: 160px; }
}

/* ---- Final CTA v2 ---- */
.cta2 { padding-block: var(--sp-32); }
.cta2__inner { text-align: center; max-width: 640px; margin-inline: auto; }
.cta2__quote { font-size: var(--fs-h2); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: var(--sp-4); margin-inline: auto; }
.cta2 h2 { margin-bottom: var(--sp-4); }
.cta2__fineprint { margin-top: var(--sp-6); font-size: var(--fs-small); color: var(--ink-500); }
