/* ============================================================
   project-style-a.css — Option A: Editorial
   Body class: project-redesign-a
   ============================================================ */

/* ---- Reset / base for this layout ---- */
body.project-redesign-a {
  background-color: #F3F3F3;
  background-repeat: repeat;
  background-size: 256px 256px;
  background-attachment: fixed;
  color: #202022;
  font-family: 'Inter', sans-serif;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 0;
  min-width: 280px;
  line-height: 1.5;
}

/* ============================================================
   HEADER
   ============================================================ */
.pra-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #F3F3F3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
}

.pra-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #202022;
}

.pra-header-back-arrow {
  color: #ff2c1b;
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
}

.pra-header-brand {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #202022;
  text-decoration: none;
}

.pra-header-left:hover .pra-header-brand {
  color: #ff2c1b;
}

.pra-header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.pra-header-right a {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #202022;
  text-decoration: none;
}

.pra-header-right a:hover {
  color: #ff2c1b;
}

/* ============================================================
   SECTION NAV
   ============================================================ */
.pra-section-nav {
  position: fixed;
  top: 61px;
  left: 0;
  right: 0;
  z-index: 90;
  background: #F3F3F3;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.pra-section-nav-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.pra-section-nav-inner::-webkit-scrollbar {
  display: none;
}

.pra-section-nav-inner a {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #aaa;
  text-decoration: none;
  white-space: nowrap;
  padding: 10px 14px;
  transition: color 0.18s;
  flex-shrink: 0;
}

.pra-section-nav-inner a:hover {
  color: #404040;
}

.pra-section-nav-inner a.active {
  color: #202022;
}

/* ============================================================
   MAIN CONTENT WRAPPER
   ============================================================ */
.pra-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 148px 24px 160px;
}

/* ============================================================
   OVERVIEW SECTION
   ============================================================ */
.pra-project-type {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ff2c1b;
  margin-bottom: 16px;
}

.pra-title {
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.2;
  color: #202022;
  margin-bottom: 24px;
}

.pra-lead {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  color: #666;
  line-height: 1.65;
  margin-bottom: 40px;
}

/* Meta grid */
.pra-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 48px;
}

.pra-meta-item {
  padding: 16px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.pra-meta-item:nth-child(odd) {
  padding-right: 24px;
  border-right: 1px solid rgba(0,0,0,0.08);
}

.pra-meta-item:nth-child(even) {
  padding-left: 24px;
}

.pra-meta-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
  margin-bottom: 6px;
}

.pra-meta-value {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #202022;
  line-height: 1.5;
}

/* Hero images */
.pra-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 0;
}

.pra-hero-media-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  display: block;
}

/* ============================================================
   DIVIDERS
   ============================================================ */
.pra-main hr {
  border: none;
  border-top: 1px solid rgba(0,0,0,0.08);
  margin: 64px 0;
}

/* ============================================================
   SECTIONS (Problem, Goal, 1/, 2/, 3/, 4/, Outcomes)
   ============================================================ */
.pra-section-tag {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ff2c1b;
  margin-bottom: 10px;
}

.pra-section-title {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #202022;
  line-height: 1.25;
  margin-bottom: 24px;
}

.pra-body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #404040;
  margin-bottom: 20px;
}

.pra-body:last-child {
  margin-bottom: 0;
}

body.project-redesign-a .highlighted-text {
  color: #ff2c1b !important;
  font-weight: 400;
}

/* Problem section two-col rows */
.pra-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 32px;
}

.pra-two-col:last-child {
  margin-bottom: 0;
}

/* ============================================================
   IMAGE CAPTIONS
   ============================================================ */
.pra-caption {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #999;
  line-height: 1.5;
  margin-top: 8px;
}

/* ============================================================
   IMAGES
   ============================================================ */
.pra-img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.pra-img-container {
  margin: 32px 0;
}

.pra-img-container img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

/* system-guidance-image and legacy-onboarding-image */
.system-guidance-image,
.legacy-onboarding-image {
  width: 100%;
  border-radius: 12px;
  display: block;
}

/* ============================================================
   CAROUSELS
   ============================================================ */
.pra-main .carousel-container {
  margin: 32px 0;
  overflow: hidden;
  position: relative;
}

.pra-main .component-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.pra-main .component-carousel::-webkit-scrollbar {
  display: none;
}

.pra-main .carousel-item-with-caption {
  flex-shrink: 0;
  scroll-snap-align: start;
  width: 700px;
}

.pra-main .component-carousel-item {
  width: 700px;
  height: auto;
  border-radius: 12px;
  background: #e8e8e8;
  display: block;
}

.pra-main .carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.pra-main .carousel-button {
  background: none;
  border: none;
  cursor: pointer;
  color: #202022;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.pra-main .carousel-button:hover {
  opacity: 1;
}

.pra-main .carousel-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.pra-main .carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0,0,0,0.15);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.pra-main .carousel-dot.active {
  background: #202022;
  transform: scale(1.2);
}

/* ============================================================
   QUOTE BLOCK
   ============================================================ */
.pra-main .quote-block {
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  gap: 16px;
  margin: 32px 0;
}

.pra-main .quote-mark {
  font-size: 48px;
  line-height: 1;
  color: #ff2c1b;
  font-family: Georgia, serif;
  flex-shrink: 0;
  margin-top: -4px;
}

.pra-main .quote-content p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #202022;
}

.pra-main .quote-content p.body-2 {
  font-size: 13px;
  color: #999;
  margin-top: 10px;
}

/* ============================================================
   GOAL ITEMS
   ============================================================ */
.pra-main .goal-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.pra-main .goal-number {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #ff2c1b;
  flex-shrink: 0;
  min-width: 28px;
}

.pra-main .goal-item .case-study-text {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #404040;
  margin-bottom: 0;
}

/* ============================================================
   OUTCOMES GRID
   ============================================================ */
.pra-main .outcomes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.pra-main .outcome-card {
  padding: 24px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 16px;
}

.pra-main .outcome-title {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #202022;
  margin-bottom: 10px;
}

.pra-main .outcome-text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* ============================================================
   NEXT / PREV PROJECT
   ============================================================ */
.pra-next-prev {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 40px;
  margin-top: 64px;
}

.pra-next-prev a {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #202022;
  text-decoration: none;
  transition: color 0.2s;
}

.pra-next-prev a:hover {
  color: #ff2c1b;
}

/* ============================================================
   SECTION DIVIDER (internal, between sub-sections)
   ============================================================ */
.pra-main .section-divider {
  height: 1px;
  background: rgba(0,0,0,0.06);
  margin: 40px 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 680px) {
  .pra-header {
    padding: 16px 20px;
    background: #F3F3F3;
  }

  .pra-section-nav {
    top: 53px;
    background: #F3F3F3;
  }

  .pra-section-nav-inner {
    padding: 0 12px;
  }

  .pra-section-nav-inner a {
    padding: 9px 10px;
    font-size: 10px;
  }

  .pra-main {
    padding: 130px 20px 100px;
  }

  .pra-title {
    font-size: 28px;
  }

  .pra-meta-grid {
    grid-template-columns: 1fr;
  }

  .pra-meta-item:nth-child(odd) {
    border-right: none;
    padding-right: 0;
  }

  .pra-meta-item:nth-child(even) {
    padding-left: 0;
  }

  .pra-hero-grid {
    grid-template-columns: 1fr;
  }

  .pra-two-col {
    grid-template-columns: 1fr;
  }

  .pra-main .outcomes-grid {
    grid-template-columns: 1fr;
  }

  .pra-main .carousel-item-with-caption {
    width: calc(100vw - 40px);
  }

  .pra-main .component-carousel-item {
    width: calc(100vw - 40px);
  }
}
