/* ============================================================
   Home page additions: About, What We Do cards, heavy-duty
   equipment, mission photo, contact form. Loaded after site.css.
   (The digital shop and its cart were removed on 28 Nov.)
   ============================================================ */

/* ---------- Perfume video (28 Nov): his 36-second intro ---------- */
.film-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(40px, 7vw, 120px); align-items: center; }
.film-copy .title { margin: 26px 0 0; max-width: 16ch; }
.film-copy .lead { max-width: 52ch; margin-top: 22px; }
.film-facts { list-style: none; margin: 34px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, max-content)); gap: 16px clamp(28px, 3.4vw, 56px); }
.film-facts strong { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(26px, 2.4vw, 36px); line-height: 1; letter-spacing: -.02em; }
.film-facts span { display: block; margin-top: 8px; max-width: 17ch; font-size: 13.5px; line-height: 1.35; color: var(--muted); }
.film-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.film-player {
  position: relative; margin: 0; width: clamp(280px, 25vw, 380px); aspect-ratio: 9 / 16;
  border-radius: 3px; overflow: hidden; background: #0A0E17;
  box-shadow: 0 50px 90px -45px rgba(10, 14, 23, .6);
}
.film-player video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-play {
  display: none; position: absolute; inset: 0; align-items: flex-end; gap: 14px; padding: clamp(18px, 2vw, 26px);
  border: 0; background: linear-gradient(to top, rgba(6, 9, 15, .8), rgba(6, 9, 15, 0) 42%); color: #fff;
  font: inherit; text-align: left; cursor: pointer;
}
html.js .film-play { display: flex; }
.film.is-playing .film-play { display: none; }
.film-ico {
  flex: none; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%;
  background: var(--azure); box-shadow: 0 0 0 8px rgba(58, 151, 242, .25); transition: transform .35s var(--ease), box-shadow .35s;
}
.film-ico svg { width: 24px; height: 24px; margin-left: 3px; }
.film-play:hover .film-ico, .film-play:focus-visible .film-ico { transform: scale(1.07); box-shadow: 0 0 0 12px rgba(58, 151, 242, .22); }
.film-label { display: grid; gap: 4px; padding-bottom: 4px; }
.film-label strong { font-weight: 800; font-size: 16px; letter-spacing: -.01em; }
.film-label small { font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }

/* ---------- Heavy-duty equipment ---------- */
.equip-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.equip-list { display: grid; gap: 14px; }
.equip-item {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 20px; align-items: center;
  padding: 20px 22px; border: 1px solid var(--line-d); border-radius: 3px; background: rgba(255, 255, 255, .03);
}
.equip-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: rgba(124, 196, 245, .1); color: var(--sky); }
.equip-icon svg { width: 34px; height: 34px; }
.equip-item h3 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.equip-item p { margin: 5px 0 0; font-size: 14px; color: var(--muted-d); }
.equip-tags { display: flex; gap: 6px; margin-top: 12px; }
.equip-tags span {
  padding: 4px 10px; border: 1px solid var(--line-d); border-radius: 999px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #E6E9F0;
}
.equip-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.equip-actions .btn { height: 44px; padding: 0 20px; font-size: 11px; }
.equip-wa { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--sky); }
.equip-wa svg { width: 15px; height: 15px; color: #3BD58A; }
.equip-wa:hover { color: #fff; }

/* ---------- Mission photo ---------- */
.manifesto-photo { margin: clamp(48px, 6vw, 84px) auto 0; max-width: 1480px; aspect-ratio: 1800 / 855; border-radius: 3px; overflow: hidden; background: #CFE3EE; }
.manifesto-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Contact ---------- */
.contact { background: var(--paper-2); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact-side .lead + .lead { margin-top: 14px; }
.contact-ways { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 10px; max-width: 460px; }
.contact-ways a {
  display: grid; grid-template-columns: 44px 1fr 16px; gap: 16px; align-items: center;
  padding: 13px 18px 13px 13px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper);
  transition: border-color .2s, transform .3s var(--ease);
}
.contact-ways a:hover { border-color: var(--text); transform: translateY(-2px); }
.cw-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(58, 151, 242, .1); color: var(--azure-2); }
.cw-icon.wa { background: rgba(31, 175, 90, .12); color: #1FAF5A; }
.cw-icon svg { width: 20px; height: 20px; }
.cw-text { display: grid; gap: 2px; min-width: 0; }
.cw-text small { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.cw-text strong { font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.contact-ways .go { width: 16px; height: 16px; color: var(--muted); }

.contact-card { padding: clamp(24px, 3vw, 44px); border: 1px solid var(--line); border-radius: 3px; background: var(--paper); }
.contact-card .form { margin-top: 0; }
.contact-submit { grid-column: 1 / -1; }
.contact .field label { color: var(--muted); }
.contact .field label .req { color: var(--azure-2); }
.contact .input { background: #fff; border-color: var(--line); color: var(--text); }
.contact .input::placeholder { color: #8B91A0; }
.contact .input:hover { border-color: rgba(10, 14, 23, .3); }
.contact .input:focus { border-color: var(--azure); background: #fff; box-shadow: 0 0 0 3px rgba(58, 151, 242, .15); }
.contact select.input:invalid { color: #8B91A0; }
.contact .field .error { color: #C23B3B; }
.contact .form-note { color: var(--muted); }
.contact .form-note svg { color: var(--azure-2); }
.contact-card.flash { animation: cardFlash 1.4s var(--ease); }
@keyframes cardFlash { 0%, 45% { box-shadow: 0 0 0 3px var(--azure); } 100% { box-shadow: 0 0 0 3px rgba(58, 151, 242, 0); } }
.contact-ok { display: none; }
.contact-ok.show { display: block; animation: rise .6s var(--ease); }
.contact-ok .check { width: 56px; height: 56px; margin-bottom: 22px; display: grid; place-items: center; border-radius: 50%; background: #1FAF5A; color: #fff; }
.contact-ok .check svg { width: 26px; height: 26px; }
.contact-ok h3 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: -.02em; line-height: 1.15; }
.contact-ok p { margin: 12px 0 26px; max-width: 46ch; color: var(--muted); }

/* ---------- About us (the client's text) ---------- */
.about { border-bottom: 1px solid var(--line); }
.about-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(40px, 7vw, 128px); align-items: center;
}
.about-copy .title { margin: 26px 0 0; }
.about-copy .lead { max-width: 58ch; }
.about-copy .lead + .lead { margin-top: 18px; }
.founders {
  margin: 34px 0 0; padding-top: 22px; border-top: 1px solid var(--line); max-width: 58ch;
  font-size: 15px; color: var(--muted);
}
.founders strong { color: var(--text); font-weight: 700; }
.about-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
/* The van mockup (light grey background, so it sits on a matching panel while it loads) */
.about-photo { margin: 0; border-radius: 3px; overflow: hidden; background: #EAE6E5; aspect-ratio: 1400 / 1050; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- What We Do cards: each previews what's inside (27 Nov) ---------- */
/* 01 Perfume: real bottles from the catalogue, plus the range in one number */
.venture--feature .v-shelf {
  position: relative; margin: clamp(52px, 4.6vw, 64px) 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, .8vw, 12px);
}
.venture--feature .venture-num { margin-top: 36px; }   /* at least this much room under the photos */
.v-tile { position: relative; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; border-radius: 3px; background: #fff; }
.v-tile:nth-child(3n+2) { transform: translateY(16px); }
.v-tile img { width: 88%; height: 88%; object-fit: contain; transition: transform .9s var(--ease); }
.venture:hover .v-tile img { transform: scale(1.05); }
.v-tile--stat { background: var(--grad); color: #fff; place-items: end start; align-content: end; padding: 12%; }
.v-tile--stat strong { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(22px, 2.3vw, 34px); line-height: 1; letter-spacing: -.02em; }
.v-tile--stat small { display: block; margin-top: 8px; font-size: 10px; font-weight: 800; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }

/* 02 Equipment (a wide card): the same icons as the Equipment section, on the right */
.v-icons { top: 0; bottom: 0; right: clamp(26px, 2.6vw, 40px); display: flex; align-items: center; }
.venture--trans h3, .venture--trans p { max-width: min(40ch, 56%); }
.v-icon {
  width: 104px; height: 104px; display: grid; place-items: center; border-radius: 50%;
  background: #1A2443; color: var(--sky);
  box-shadow: 0 0 0 5px #121831, inset 0 0 0 1px rgba(124, 196, 245, .28);
}
.v-icon + .v-icon { margin-left: -18px; background: #1F2B52; }
.v-icon svg { width: 50px; height: 50px; }

/* 03 What's next: where JMF is so far, and the next launch */
.v-road { top: 0; bottom: 0; right: clamp(26px, 2.6vw, 40px); width: min(42%, 500px); display: flex; align-items: center; }
.venture--next h3, .venture--next p { max-width: min(40ch, 44%); }
.v-road ol { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); }
.v-road li { position: relative; padding: 32px 12px 0 0; }
.v-road li::before {
  content: ""; position: absolute; left: 22px; right: 4px; top: 8px; height: 2px; border-radius: 2px;
  background: rgba(124, 196, 245, .5);
}
.v-road li:nth-last-child(2)::before { background: repeating-linear-gradient(90deg, rgba(242, 184, 75, .85) 0 6px, transparent 6px 12px); }
.v-road li:last-child::before { display: none; }
.v-dot { position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 5px rgba(124, 196, 245, .14); }
.v-dot::before {   /* check mark */
  content: ""; position: absolute; left: 6px; top: 3.5px; width: 4px; height: 8px;
  border: solid #0A0E17; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.v-road .is-next .v-dot { background: #F2B84B; box-shadow: 0 0 0 5px rgba(242, 184, 75, .16); }
.v-road .is-next .v-dot::before { display: none; }
.v-road .is-next .v-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #F2B84B;
  animation: vPing 2.4s var(--ease) infinite;
}
@keyframes vPing { 0% { transform: scale(1); opacity: .9; } 80%, 100% { transform: scale(2.4); opacity: 0; } }
.v-road b { display: block; font-size: 13.5px; font-weight: 700; line-height: 1.25; color: #fff; }
.v-road small { display: block; margin-top: 6px; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); }
.v-road .is-next small { color: #F2B84B; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .equip-grid, .contact-grid, .about-grid, .film-grid { grid-template-columns: 1fr; }
  .film-player { width: min(100%, 360px); }
  .about-photo { max-width: 680px; }
  .venture--feature { min-height: 0; }   /* full width here: the card fits its photos and text */
  .venture--feature .v-shelf { grid-template-columns: repeat(6, 1fr); }
  .v-tile:nth-child(3n+2) { transform: none; }
  .v-tile:nth-child(even) { transform: translateY(12px); }
  .v-tile--stat { padding: 10%; }
  .v-tile--stat strong { font-size: 20px; }
  .v-tile--stat small { font-size: 8.5px; letter-spacing: .1em; }
}
@media (max-width: 760px) {
  .notify-form .input { flex: none; }
  .film-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .film-facts span { font-size: 12.5px; }
  .film-player { width: min(100%, 320px); margin: 0 auto; }
  .equip-item { grid-template-columns: 48px 1fr; gap: 16px; padding: 18px; }
  .equip-icon { width: 48px; height: 48px; }
  .equip-icon svg { width: 26px; height: 26px; }
  .equip-actions { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .equip-actions .btn { flex: 1; }
  .equip-wa { flex: 1; height: 44px; border: 1px solid var(--line-d); border-radius: 999px; }
  .manifesto-photo { aspect-ratio: 4 / 3; }
  .contact-ways a { grid-template-columns: 44px 1fr; padding-right: 14px; }
  .contact-ways .go { display: none; }
  .cw-text strong { font-size: 14px; overflow-wrap: normal; }
  .venture--feature .v-shelf { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 52px; }
  .v-tile:nth-child(even) { transform: none; }
  .v-tile:nth-child(3n+2) { transform: translateY(12px); }
  .v-tile--stat strong { font-size: 22px; }
  .venture--trans { padding-top: 136px; }   /* phones: icons in a band above the text */
  .v-icons { top: 18px; bottom: auto; right: 20px; }
  .venture--trans h3, .venture--trans p { max-width: 40ch; }
  .v-icon { width: 72px; height: 72px; }
  .v-icon svg { width: 36px; height: 36px; }
  .venture--next { padding-top: 76px; }
  .v-road { position: static; width: auto; display: block; margin: 0 0 30px; }
  .venture--next h3, .venture--next p { max-width: 40ch; }
  .v-road b { font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .v-road .is-next .v-dot::after { animation: none; opacity: 0; }
}
