/* ================================================
   JENGWEI PORTFOLIO — WORK PAGE
   work.css
   ================================================ */


/* ------------------------------------------------
   GLOBAL — match profile page image border-radius
   ------------------------------------------------ */
.rounded {
  border-radius: 1rem !important;
}




/* ------------------------------------------------
   ALL CONTENT SECTIONS — background matching page header
   ------------------------------------------------ */
#bicycle-cta,
#bicycle-features,
#bicycle-features-1,
#bicycle-products {
  background-color: #f8f7f4;
}


/* ------------------------------------------------
   ALL CONTENT SECTIONS — max-width 1440px, 6vw padding on mobile
   ------------------------------------------------ */
#bicycle-cta .container-fluid,
#bicycle-features .container-fluid,
#bicycle-features-1 .container-fluid,
#bicycle-products .container-fluid {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}



/* ------------------------------------------------
   FULL-WIDTH CARDS — category labels & titles
   (text sits on dark overlay, stays white)
   ------------------------------------------------ */
#bicycle-cta h6 {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  font-family: 'PT Mono', 'Courier New', monospace;
}

#bicycle-cta h2 {
  font-weight: 300;
  letter-spacing: -0.02em;
  font-family: 'Lato', sans-serif;
}


/* ------------------------------------------------
   HALF CARDS — MENU / MENUSHOP
   ------------------------------------------------ */
#bicycle-features h6 {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  font-family: 'PT Mono', 'Courier New', monospace;
}

#bicycle-features h2 {
  font-weight: 300;
  letter-spacing: -0.02em;
  font-family: 'Lato', sans-serif;
}


/* ------------------------------------------------
   SMALL GRID — category labels, titles, body
   ------------------------------------------------ */
#bicycle-features-1 h6 {
  font-size: 11px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.35);
  letter-spacing: 0.14em;
  font-family: 'PT Mono', 'Courier New', monospace;
  text-transform: uppercase;
}

#bicycle-features-1 h4 {
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 300;
  color: #111;
  letter-spacing: -0.01em;
  line-height: 1.2;
  font-family: 'Lato', sans-serif;
}

#bicycle-features-1 p {
  font-size: 13px;
  font-weight: 300;
  color: #555;
  line-height: 1.65;
  font-family: 'Lato', sans-serif;
}


/* ------------------------------------------------
   MORE PROJECTS — section title & hoverbox labels
   ------------------------------------------------ */
#bicycle-products h3 {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 300;
  color: #111;
  letter-spacing: -0.02em;
  font-family: 'Lato', sans-serif;
}

#bicycle-products h5 {
  font-size: 14px;
  font-weight: 300;
  font-family: 'Lato', sans-serif;
  line-height: 1.5;
}


/* ------------------------------------------------
   WORK INDEX — last section / project list footer
   ------------------------------------------------ */
.jw-work-index {
  background: #f8f7f4;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 5rem 0 6rem;
}

.jw-work-index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

@media (max-width: 768px) {
  .jw-work-index-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Column label */
.jw-work-index-label {
  font-size: 11px;
  font-family: 'PT Mono', 'Courier New', monospace;
  color: rgba(0, 0, 0, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 1.25rem;
}

/* Link list */
.jw-work-index-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.jw-work-index-list li {
  margin-bottom: 0.65rem;
}

.jw-work-index-list a {
  font-size: 14px;
  font-weight: 300;
  font-family: 'Lato', sans-serif;
  color: rgba(0, 0, 0, 0.55);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.jw-work-index-list a:hover {
  color: #111;
  border-bottom-color: rgba(0, 0, 0, 0.25);
  text-decoration: none;
}


/* ------------------------------------------------
   REMODAL — styled to match jw design system
   ------------------------------------------------ */

/* Modal panel */
.jw-remodal {
  background: #f8f7f4;
  border-radius: 1rem;
  padding: 3rem 3rem 2.5rem;
  text-align: left;
  max-width: 480px;
}

/* Close button */
.jw-remodal .remodal-close {
  top: 1.25rem;
  left: auto;
  right: 1.25rem;
  width: 32px;
  height: 32px;
  color: rgba(0, 0, 0, 0.3);
  transition: color 0.2s;
}

.jw-remodal .remodal-close:hover {
  color: #111;
}

.jw-remodal .remodal-close::before {
  font-family: 'Lato', sans-serif;
  font-size: 22px;
  line-height: 32px;
  width: 32px;
}

/* Label (eyebrow) */
.jw-remodal-label {
  font-size: 11px;
  font-family: 'PT Mono', 'Courier New', monospace;
  color: rgba(0, 0, 0, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 0.6rem;
}

/* Title */
.jw-remodal-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 300;
  color: #111;
  letter-spacing: -0.025em;
  line-height: 1.1;
  font-family: 'Lato', sans-serif;
  margin: 0 0 1.25rem;
}

/* Body text */
.jw-remodal-body {
  font-size: 15px;
  font-weight: 300;
  color: #555;
  line-height: 1.7;
  font-family: 'Lato', sans-serif;
  margin: 0 0 2rem;
}

/* Password input */
.jw-remodal-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  color: #111;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  outline: none;
  margin-bottom: 0.5rem;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.jw-remodal-input:focus {
  border-color: rgba(0, 0, 0, 0.4);
}

.jw-remodal-input::placeholder {
  color: rgba(0, 0, 0, 0.25);
}

/* Error message */
.jw-remodal-error {
  font-size: 12px;
  font-family: 'PT Mono', 'Courier New', monospace;
  color: #d0021b;
  letter-spacing: 0.02em;
  margin: 0 0 1.5rem;
}

/* Actions row */
.jw-remodal-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Primary button — dark pill (light-mode mag-btn override) */
.jw-remodal-btn-dark {
  border-color: rgba(0, 0, 0, 0.2);
  color: #111;
  cursor: pointer;
}

.jw-remodal-btn-dark:hover,
.jw-remodal-btn-dark:focus {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.6);
  color: #111;
}

/* Ghost cancel link */
.jw-remodal-cancel {
  font-size: 12px;
  font-family: 'Lato', sans-serif;
  color: rgba(0, 0, 0, 0.35);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.jw-remodal-cancel:hover {
  color: #111;
}

/* Overlay tint — softer than default */
.remodal-overlay {
  background: rgba(14, 14, 16, 0.75);
}


/* ------------------------------------------------
   BUTTONS — pill style matching jw-mag-btn
   ------------------------------------------------ */

/* "View" buttons on dark card overlays */
#bicycle-cta .btn-outline-light,
#bicycle-features .btn-dark,
#bicycle-products .btn-outline-light {
  border-radius: 50px;
  font-size: 13px;
  font-family: 'Lato', sans-serif;
  letter-spacing: 0.06em;
  font-weight: 400;
  border-width: 1px;
  padding: 10px 24px;
}