/* Supply page — page-specific styles (loaded after site.css via `css: supply`). */

/* ---------- hero ---------- */
.sp-hero .hero__content{max-width:640px}
.sp-hero .hero__media img{object-position:55% center}
:lang(mn) .sp-hero .hero__content{max-width:720px}
:lang(mn) .sp-hero .h1{font-size:clamp(36px,4.6vw,66px);letter-spacing:-.022em}
@media (min-width:901px){
  .sp-hero{justify-content:center}
  .sp-hero .hero__shade{background:
    linear-gradient(90deg,rgba(24,25,27,.92) 0%,rgba(24,25,27,.7) 40%,rgba(24,25,27,.15) 75%),
    linear-gradient(0deg,rgba(24,25,27,.6),rgba(24,25,27,0) 40%),
    linear-gradient(180deg,rgba(24,25,27,.55) 0%,rgba(24,25,27,0) 20%)}
}
@media (max-width:900px){
  .sp-hero{min-height:min(760px,92svh)}
  .sp-hero .hero__media img{object-position:38% center}
}

/* ---------- product range ---------- */
.h2.sp-h2{font-size:clamp(36px,4.7vw,68px);line-height:1}
:lang(mn) .h2.sp-h2{font-size:clamp(32px,4.2vw,60px);line-height:1.04}
.sp-h2 .dim{display:block;color:#8A8B86}
.sp-tag{align-self:flex-start;background:var(--spark);color:var(--core);padding:5px 10px;font-family:var(--f-mono);font-size:12px;font-weight:500;letter-spacing:.1em;text-transform:uppercase;line-height:1.4}
.sp-head{margin-bottom:clamp(32px,4vw,56px)}
.sp-head .sec-head__text{gap:24px}

.sp-cards .pcard__body{gap:24px}
.sp-pc__copy{display:flex;flex-direction:column;gap:10px}
.sp-cards .pcard__title{display:block}
.sp-cards .pcard__more{font-family:var(--f-mono);font-size:12px;letter-spacing:.08em;color:var(--muted)}
.sp-cards .pcard:hover .pcard__more{color:var(--ink)}
/* landing from the homepage (supply/#busduct etc.): brief spark ring on the target card */
.sp-cards .pcard{scroll-margin-top:24px}
.sp-cards .pcard:target{animation:sp-target 2.6s var(--ease) .3s backwards}
@keyframes sp-target{0%,55%{box-shadow:0 0 0 3px var(--spark)}100%{box-shadow:0 0 0 3px rgba(255,204,0,0)}}
@media (max-width:560px){.sp-cards .pcard__body{gap:14px}.sp-pc__copy{gap:6px}}
@media (max-width:420px){.sp-cards .pcard__title{font-size:20px}.sp-cards .pcard__text{font-size:14px}}

/* ---------- photo band (light parallax, CSS only) ---------- */
.sp-band{position:relative;overflow:hidden;isolation:isolate;background:var(--core);color:var(--on-dark);margin-top:var(--sec);min-height:clamp(280px,32vw,460px);display:flex;align-items:center;view-timeline:--sp-band block}
.sp-band__img{position:absolute;left:0;top:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center 55%;opacity:.55;z-index:-2}
.sp-band::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(24,25,27,.85),rgba(24,25,27,.2))}
.sp-band__body{padding-block:56px}
.sp-band__title{font-size:clamp(40px,5.3vw,76px);line-height:1;letter-spacing:-.028em;font-weight:300;max-width:780px}
:lang(mn) .sp-band__title{max-width:860px}
@media (prefers-reduced-motion:no-preference){
  @supports (animation-timeline:view()){
    .sp-band__img{top:-20%;height:140%;animation:sp-plx linear both;animation-timeline:--sp-band;animation-range:cover}
  }
}
@keyframes sp-plx{from{transform:translate3d(0,-10%,0)}to{transform:translate3d(0,10%,0)}}

/* shared partner band continues the photo band (no gap), with the faint knot mark from the board */
.sp-band + .partners{margin-top:0;position:relative;overflow:hidden;isolation:isolate;padding-top:clamp(48px,5vw,72px)}
.sp-band + .partners::before{content:"";position:absolute;right:-140px;top:24px;width:min(560px,70vw);aspect-ratio:1;background:url(/assets/logos/knot-mark.svg) center/contain no-repeat;opacity:.07;z-index:-1;pointer-events:none}

/* ---------- catalogue request line (under the product cards) ---------- */
.sp-cat{display:flex;align-items:center;gap:20px 28px;flex-wrap:wrap;margin-top:clamp(32px,4vw,48px);border-top:1px solid var(--core);border-bottom:1px solid var(--line-light);padding:28px 0}
.sp-cat__icon{width:36px;height:auto;flex-shrink:0;color:var(--ink)}
.sp-cat__text{flex:1 1 240px;font-family:var(--f-head);font-size:clamp(22px,2vw,28px);font-weight:300;line-height:1.25;letter-spacing:-.015em}
.sp-cat .link{flex-shrink:0}
@media (max-width:560px){.sp-cat{align-items:flex-start}.sp-cat .link{margin-left:64px}}

/* ---------- where to buy ---------- */
.sp-buy{display:grid;grid-template-columns:1.6fr 1fr;gap:16px}
.sp-buy__stores{position:relative;overflow:hidden;isolation:isolate;background:var(--core);color:var(--on-dark);padding:clamp(28px,3.4vw,48px);display:flex;flex-direction:column;gap:28px}
.sp-buy__knot{position:absolute;right:-80px;bottom:-120px;width:380px;opacity:.08;z-index:-1;pointer-events:none}
.sp-buy__head{display:flex;justify-content:space-between;align-items:center;gap:20px 24px}
.sp-buy__titles{display:flex;flex-direction:column;gap:12px;min-width:0}
.sp-buy__title{font-size:clamp(28px,2.5vw,36px);font-weight:400;line-height:1.15;letter-spacing:-.015em}
.sp-buy__logo{height:30px;width:auto;flex-shrink:0}
.sp-buy .stores{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.sp-buy .store{background:none;border-top:1px solid rgba(247,247,242,.2);padding:18px 0 0;gap:8px}
.sp-buy .store__name{font-family:var(--f-body);font-size:18px;font-weight:600;color:var(--on-dark)}
.sp-buy .store__addr{color:var(--on-dark-2)}
.sp-buy__contact{font-family:var(--f-mono);font-size:13px;letter-spacing:.04em;color:var(--on-dark-3);display:flex;flex-wrap:wrap;gap:4px 10px}
.sp-buy__contact a{color:var(--on-dark-2);transition:color .2s}
.sp-buy__contact a:hover{color:var(--spark)}

.sp-shop{background:var(--spark);color:var(--core);padding:clamp(28px,3.4vw,48px);display:flex;flex-direction:column;gap:14px;transition:box-shadow .3s}
.sp-shop:hover{box-shadow:0 18px 40px rgba(24,25,27,.14)}
.sp-shop:focus-visible{outline-color:var(--core)}
.sp-shop__logo{align-self:flex-start;background:var(--core);padding:12px 14px}
.sp-shop__logo img{height:22px;width:auto}
.sp-shop__title{font-size:clamp(28px,2.5vw,36px);font-weight:400;line-height:1.15;letter-spacing:-.015em;margin-top:auto;padding-top:32px}
.sp-shop__text{font-size:16px;line-height:1.55}
.sp-shop__go{font-size:16px;font-weight:700;margin-top:8px;display:inline-flex;gap:8px;align-items:center}

@media (max-width:1100px){
  .sp-buy{grid-template-columns:minmax(0,1fr)}
  .sp-shop__title{padding-top:16px}
}
@media (max-width:700px){
  .sp-buy__head{flex-direction:column;align-items:flex-start}
  .sp-buy .stores{grid-template-columns:minmax(0,1fr);gap:20px}
  .sp-buy__knot{width:260px;right:-90px;bottom:-90px}
}

/* ---------- closing CTA: dark variant, as on the board (the yellow shop card sits right above it) ---------- */
.page-supply .cta-band{background:var(--core);color:var(--on-dark)}
.page-supply .cta-band__text p{color:var(--on-dark-2);font-weight:400}
.page-supply .cta-band .btn--dark{background:var(--spark);color:var(--core)}
.page-supply .cta-band .btn--dark:hover{background:#FFD633}
.page-supply .cta-band .btn--outline-dark{border-color:rgba(247,247,242,.4);color:var(--on-dark)}
.page-supply .cta-band .btn--outline-dark:hover{border-color:var(--on-dark);background:rgba(247,247,242,.06)}

/* ---------- QA 2026-10-15 ---------- */
/* this page's CTA band is dark */
.page-supply main .cta-band :focus-visible{outline-color:var(--spark)}
/* no orphaned last words in headings */
.page-supply main :is(h1,h2,h3){text-wrap:balance}
/* phones: hero buttons full width, as on Services and in the CTA band */
@media (max-width:560px){.sp-hero .btn-row .btn{flex:1 1 100%}}
