/* Profab Machine: Pulleys product page. Built 2026-10-06 from the reviewed copy
   (pages/rebuild). Same card, grid, and section patterns as the Threaded Rod and
   Spacers pages. Section rhythm alternates tint, white, blue, navy with no two adjacent sections in the same tier. */

.profab-page-pulleys .skip-link {
  background: var(--pp-blue);
  color: var(--color-white);
  left: 12px;
  padding: 8px 12px;
  position: fixed;
  top: -50px;
  z-index: 100;
}
.profab-page-pulleys .skip-link:focus { top: 12px; }

/* ---------- Hero ---------- */

.profab-page-pulleys .pul-hero { padding: 56px 0 64px; }
.profab-page-pulleys .pul-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.profab-page-pulleys .pul-hero h1 {
  color: #000000;
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 20px;
}
.profab-page-pulleys .pul-hero p {
  color: #000000;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  max-width: 620px;
  margin-bottom: 24px;
}
.profab-page-pulleys .pul-hero .btn-outline { border-color: #000000; color: #000000; }
.profab-page-pulleys .pul-hero .btn-outline:hover { background: #000000; color: #FFFFFF; }
.profab-page-pulleys .pul-hero__media img { width: 100%; height: auto; }

/* ---------- What Is ---------- */

.profab-page-pulleys .pul-intro__media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-card-lg);
}
.profab-page-pulleys .pul-intro .section-kicker { display: block; margin-bottom: 10px; }
.profab-page-pulleys .pul-intro__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.profab-page-pulleys .pul-intro__tags .pp-tag-pill { background: #E8ECFF; color: var(--pp-blue); }

/* ---------- Selection guide note ---------- */

.profab-page-pulleys .pul-select-note {
  margin-top: 20px;
  color: var(--pp-muted);
  font-family: var(--font-heading);
  font-size: 0.95rem;
}


/* ---------- Type cards: same card treatment as every other rebuilt page
   (.sb-type-card / .bj-type-card / .spb-type-card): white card, 1px line with a
   3px blue top rule, 8px hover lift, 4:3 image, 22px title, tag pills, ink
   description, compact button. ---------- */

.profab-page-pulleys .pul-type-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.profab-page-pulleys .pul-type-card {
  background: var(--color-white);
  border: 1px solid var(--pp-line);
  border-top: 3px solid var(--pp-blue);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.profab-page-pulleys .pul-type-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.profab-page-pulleys .pul-type-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.profab-page-pulleys .pul-type-card__body { padding: 18px 18px 22px; display: flex; flex-direction: column; flex: 1; }
.profab-page-pulleys .pul-type-card__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.profab-page-pulleys .pul-type-card h3 { font-family: var(--font-heading); font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.profab-page-pulleys .pul-type-card p { font-family: var(--font-heading); font-weight: 400; color: var(--pp-ink); font-size: 16px; margin: 0 0 16px; flex: 1; }
.profab-page-pulleys .pul-type-card__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: auto; }
.profab-page-pulleys .pul-type-card .btn { padding: 8px 16px; font-size: 0.82rem; }
.profab-page-pulleys .pul-type-card__tags .pp-tag-pill { background: #E8ECFF; color: var(--pp-blue); }

/* ---------- Universal joint vs CV joint explainer cards (gray description,
   22px title: same tier as every other page's category-explainer cards) ---------- */

.profab-page-pulleys .pul-explainer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.profab-page-pulleys .pul-explainer-card {
  background: var(--color-white);
  border: 1px solid var(--pp-line);
  border-radius: var(--radius-card-lg);
  padding: 28px 30px;
}
.profab-page-pulleys .pul-select-note a { color: var(--pp-blue); font-weight: 700; }

/* ---------- Knowledge Base cards (2 articles; excerpt gray, title black) ---------- */

.profab-page-pulleys .pul-kb-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.profab-page-pulleys .pul-kb-grid .pp-card { position: relative; text-decoration: none; color: inherit; }
.profab-page-pulleys .pul-kb-card__link { position: absolute; inset: 0; z-index: 2; }
.profab-page-pulleys .pul-kb-grid .pp-card__body p { color: var(--pp-muted); }
.profab-page-pulleys .bc-read-more {
  color: var(--pp-blue);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  align-self: flex-start;
}

.profab-page-pulleys .pul-nowrap { white-space: nowrap; }

/* Wide cards below the four-column grid: image on the left when a photo exists, text only otherwise. */
.profab-page-pulleys .pul-type-card--wide { margin-top: 24px; flex-direction: row; }
.profab-page-pulleys .pul-type-card--wide img { width: 320px; aspect-ratio: 4 / 3; object-fit: cover; flex-shrink: 0; }
.profab-page-pulleys .pul-type-card--wide .pul-type-card__body { padding: 22px 28px 26px; }
.profab-page-pulleys .pul-type-card--wide p { max-width: 960px; flex: 0 0 auto; }
@media (max-width: 760px) {
  .profab-page-pulleys .pul-type-card--wide { flex-direction: column; }
  .profab-page-pulleys .pul-type-card--wide img { width: 100%; }
}

/* Card link inside the industry cards: stretched link (a div must not sit inside an a). */
.profab-page-pulleys .pp-cta-card { position: relative; }
.profab-page-pulleys .pul-card-link { position: absolute; inset: 0; z-index: 2; }
.profab-page-pulleys .pul-type-card__link {
  color: var(--pp-blue);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
}
.profab-page-pulleys .pul-type-card__link:hover { text-decoration: underline; }
.profab-page-pulleys .pul-type-card p a { color: var(--pp-blue); font-weight: 700; }

/* ---------- Table note spacing ---------- */
.profab-page-pulleys .sb-table-wrap + .pul-select-note { margin-top: 16px; }

/* ---------- Surface Finish Options ---------- */

.profab-page-pulleys .pul-finish-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.profab-page-pulleys .pul-finish-card {
  background: var(--pp-blue-tint);
  border-radius: var(--radius-card);
  padding: 22px 20px;
}
.profab-page-pulleys .pul-finish-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pp-blue);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 12px;
}


/* ---------- Grade / material comparison (BLUE block) ---------- */

.profab-page-pulleys .pul-grade-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 8px;
}
.profab-page-pulleys .sb-grade-card {
  border: 1px solid rgba(209, 200, 200, 0.5);
  background-color: rgba(226, 223, 223, 0.19);
  padding: 32px 28px;
}
.profab-page-pulleys .sb-grade-card h3 { color: #FFFFFF; font-size: 1.4rem; font-weight: 600; margin-bottom: 12px; }
.profab-page-pulleys .sb-grade-card p { color: #FFFFFF; font-size: 0.95rem; margin-bottom: 12px; }

/* ---------- Applications by Industry -- uses the shared .pp-carousel/
   .pp-cta-card pattern with 5 REAL photos from the live source page
   (rendered there via Elementor's background-image call-to-action widget,
   not a plain <img> tag -- missed on the first build, found on re-check).
   3-per-row is the site standard for this carousel (see
   skills/profab-product-page-review/SKILL.md), not product-base.css's
   generic 4-per-row default. Text-size/centering override below is the
   same 3-line block every other page defines for its own industry
   carousel -- product-base.css's .pp-cta-card default (1.15rem/0.9rem,
   bottom-aligned) was never meant to be the final rendering. */
.profab-page-pulleys #pul-industry-carousel .pp-carousel__track > * { flex-basis: calc(33.333% - 14.67px); }
.profab-page-pulleys #pul-industry-carousel .pp-cta-card { aspect-ratio: 4 / 3; overflow: clip; align-items: center; }
.profab-page-pulleys #pul-industry-carousel .pp-cta-card__body h3 { font-family: var(--font-heading); font-size: 22px; font-weight: 600; }
.profab-page-pulleys #pul-industry-carousel .pp-cta-card__body p { font-family: var(--font-body); font-size: 17px; }

/* ---------- Content blocks (image+text feature rows) media wrapper ---------- */

.profab-page-pulleys .pul-content-media img {
  width: 100%;
  border-radius: var(--radius-card-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Content-block accent heading -- same pattern as Boat Cleats' bc-accent-heading:
   5px solid blue left rule with 10px left padding. Was used in tie-rod.html
   from the start but never defined here -- headings rendered with no accent
   styling at all until this was caught. */
.profab-page-pulleys .bc-accent-heading {
  border-left: 5px solid var(--pp-blue);
  padding-left: 10px;
}

/* ---------- Why Profab (navy section) ---------- */

.profab-page-pulleys .sb-why-row {
  display: flex;
  gap: 41px;
  margin-bottom: 48px;
}
.profab-page-pulleys .sb-why-item { flex: 1; }
.profab-page-pulleys .sb-why-item__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-family: var(--font-heading);
  font-weight: 700;
  color: #FFFFFF;
  font-size: 1.4rem;
  line-height: 1;
  margin-bottom: 16px;
}
.profab-page-pulleys .sb-why-item h3 { font-family: var(--font-heading); color: #F1ECEC; font-size: 22px; font-weight: 600; margin-bottom: 6px; }
.profab-page-pulleys .sb-why-item p { font-family: var(--font-heading); font-weight: 400; color: #D6D3D3; font-size: 16px; margin: 0; }

/* ---------- FAQ ---------- */

.profab-page-pulleys .sb-faq-layout { display: flex; gap: 48px; align-items: flex-start; }
.profab-page-pulleys .sb-faq-aside { flex: 0 0 35%; }
.profab-page-pulleys .sb-faq-list { flex: 1; display: grid; gap: 0; }

/* ---------- How to Order note ---------- */

.profab-page-pulleys .pul-order-note {
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  margin-top: 24px;
}

/* ---------- Related Products ("Often Ordered Together") -- same
   .sb-related-card block every other page defines for itself (it is not in
   product-base.css). Missing entirely on the first build, so the <a> wrapper
   and its <h3> fell back to browser-default blue underlined link styling
   instead of the intended ink-black card treatment. ---------- */

.profab-page-pulleys .sb-related-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--pp-line);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.profab-page-pulleys .sb-related-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.profab-page-pulleys .sb-related-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.profab-page-pulleys .sb-related-card h3 { margin: 14px 16px 16px; }

/* ---------- Final CTA + RFQ form (solid BLUE, ghost "Profab" watermark) --
   same .sb-quote block every other page defines for itself (also not in
   product-base.css). Missing entirely on the first build, which is the
   direct cause of the quote form -- the actual bottom section of the page --
   rendering completely unstyled. ---------- */

.profab-page-pulleys .sb-quote { position: relative; overflow: hidden; }
.profab-page-pulleys .sb-quote::before {
  content: "Profab";
  position: absolute;
  right: -0.05em;
  bottom: -0.28em;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(6rem, 14vw, 9.4rem);
  color: rgba(255, 255, 255, 0.06);
  white-space: nowrap;
  pointer-events: none;
  line-height: 1;
}
.profab-page-pulleys .sb-quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 48px;
  align-items: start;
  position: relative;
}
.profab-page-pulleys .sb-quote h2 { color: #FFFFFF; }
.profab-page-pulleys .sb-quote p { color: #E3E3E3; }
.profab-page-pulleys .sb-quote-email { color: #FFFFFF; font-family: var(--font-heading); font-weight: 700; text-decoration: underline; }
.profab-page-pulleys .sb-quote-form {
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-card-lg);
  box-shadow: 0 0 10px rgba(243,243,243,0.37);
  padding: 32px;
  color: var(--pp-ink);
}
.profab-page-pulleys .sb-quote-form__heading { color: var(--pp-blue); font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem; margin-bottom: 18px; }
.profab-page-pulleys .sb-quote-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.profab-page-pulleys .sb-quote-form__full { grid-column: 1 / -1; }
.profab-page-pulleys .sb-quote-form label { display: flex; flex-direction: column; gap: 6px; font-family: var(--font-heading); font-size: 0.85rem; font-weight: 700; }
.profab-page-pulleys .sb-quote-form input,
.profab-page-pulleys .sb-quote-form textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--pp-line);
  border-radius: 4px;
  padding: 10px 12px;
}
.profab-page-pulleys .sb-quote-form__note { font-size: 0.82rem; color: var(--pp-muted); margin: 14px 0 0; }

@media (max-width: 980px) {
  .profab-page-pulleys .pul-hero__grid { grid-template-columns: 1fr; }
  .profab-page-pulleys .pul-finish-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profab-page-pulleys .pul-grade-grid,
  .profab-page-pulleys .pul-explainer-grid { grid-template-columns: 1fr; }
  .profab-page-pulleys .pul-type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profab-page-pulleys .pul-kb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profab-page-pulleys .sb-why-row { flex-direction: column; gap: 26px; }
  .profab-page-pulleys .sb-faq-layout { flex-direction: column; }
  .profab-page-pulleys .sb-faq-aside { flex-basis: auto; }
  .profab-page-pulleys .sb-quote-layout { grid-template-columns: 1fr; }
  .profab-page-pulleys #pul-industry-carousel .pp-carousel__track > * { flex-basis: calc(50% - 11px); }
}
@media (max-width: 620px) {
  .profab-page-pulleys .sb-quote-form__grid { grid-template-columns: 1fr; }
  .profab-page-pulleys .pul-type-grid,
  .profab-page-pulleys .pul-kb-grid { grid-template-columns: 1fr; }
  .profab-page-pulleys #pul-industry-carousel .pp-carousel__track > * { flex-basis: 82%; }
}

.profab-page-pulleys .pul-video {
  position: relative;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  margin-top: 32px;
  border-radius: var(--radius-card-lg);
  overflow: hidden;
}
.profab-page-pulleys .pul-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 620px) {
  .profab-page-pulleys .pul-finish-grid { grid-template-columns: 1fr; }
}

/* Grade cards: the tag row sits at the bottom of every card so the tags line up across the row */
.profab-page-pulleys .pul-grade-grid .sb-grade-card { display: flex; flex-direction: column; }
.profab-page-pulleys .pul-grade-grid .sb-grade-card p { flex-grow: 1; }
.profab-page-pulleys .pul-grade-tags { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
/* Content block: shared pp-feature layout, page-level accent heading and media */
.profab-page-pulleys .pul-accent-heading { border-left: 5px solid var(--pp-blue); padding-left: 10px; }
.profab-page-pulleys .pul-content-media img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-card-lg); }
.profab-page-pulleys .pul-block__list { margin: 8px 0 16px; padding-left: 20px; }
.profab-page-pulleys .pul-block__list li { margin-bottom: 6px; font-family: var(--font-body); color: var(--pp-muted); }
/* What Is image carousel (source page has a three-image slider) */
.profab-page-pulleys #pul-intro-carousel .pp-carousel__track > * { flex: 0 0 100%; }
.profab-page-pulleys #pul-intro-carousel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-card-lg); }
/* Companion kits with photos: single column of horizontal rows, image left (shipped pattern) */
.profab-page-pulleys .pul-kit-grid { display: flex; flex-direction: column; gap: 20px; }
.profab-page-pulleys .pul-kit-row { display: flex; align-items: stretch; gap: 24px; border: 1px solid var(--pp-line); border-radius: var(--radius-card); overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.profab-page-pulleys .pul-kit-row:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.profab-page-pulleys .pul-kit-row img { width: 240px; height: auto; object-fit: cover; flex-shrink: 0; }
.profab-page-pulleys .pul-kit-row__body { padding: 20px 24px 20px 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.profab-page-pulleys .pul-kit-row__body h3 { font-family: var(--font-heading); font-size: 22px; font-weight: 600; margin: 0; }
.profab-page-pulleys .pul-kit-row__body p { font-family: var(--font-heading); font-weight: 400; color: var(--pp-muted); font-size: 16px; margin: 0; }
.profab-page-pulleys .pul-kit-row__body .btn { align-self: flex-start; margin-top: 4px; }
@media (max-width: 620px) {
  .profab-page-pulleys .pul-kit-row { flex-direction: column; }
  .profab-page-pulleys .pul-kit-row img { width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .profab-page-pulleys .pul-kit-row__body { padding: 16px 20px 20px; }
}
/* Image placeholder card (owner supplies the photo) */
.profab-page-pulleys .pp-cta-card--placeholder { background-color: #4b4f5a; position: relative; }
.profab-page-pulleys .pp-cta-card--placeholder::before { content: "Image placeholder"; position: absolute; top: 12px; right: 12px; padding: 3px 8px; font: 600 11px/1 var(--font-heading); letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: rgba(0, 0, 0, 0.45); border-radius: 3px; }

/* Page variants: three-up type grid, four-up and two-up grade grid, photo-less card */
.profab-page-pulleys .pul-type-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.profab-page-pulleys .pul-grade-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.profab-page-pulleys .pul-grade-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.profab-page-pulleys .pul-select-note--light { color: rgba(255, 255, 255, 0.85); }
@media (max-width: 980px) {
  .profab-page-pulleys .pul-type-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profab-page-pulleys .pul-grade-grid--four,
  .profab-page-pulleys .pul-grade-grid--two { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .profab-page-pulleys .pul-type-grid--three { grid-template-columns: 1fr; }
}
