/* --------------------------------------------------------------------------
   Work index and case-study styles
   -------------------------------------------------------------------------- */

.portfolio-list { display: flex; flex-direction: column; padding: 0 0 100px; }

.portfolio-project {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 42px;
  align-items: end;
  padding: 54px 0;
  border-top: 1px solid var(--color-line);
}

.portfolio-project:nth-child(even) {
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1.45fr);
}

.portfolio-project:nth-child(even) .portfolio-media { order: 2; }
.portfolio-project-featured { padding-top: 76px; padding-bottom: 76px; }
.portfolio-project-featured .portfolio-copy h2 { font-size: clamp(38px, 5vw, 68px); }
.portfolio-project-featured .portfolio-copy p { font-size: 17px; }
.portfolio-media { overflow: hidden; aspect-ratio: 16 / 9; border-radius: 5px; background: #111; container-type: inline-size; }

.portfolio-media img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 400ms ease;
}

/* Scale the same Crown's mini landing-page preview used on the homepage. */
.work-crowns-cover { width: 100%; height: 100%; border-radius: 0; }
.work-crowns-cover .crowns-preview-nav { gap: 2.7cqw; height: 8.8cqw; padding: 0 3cqw; font-size: 1.2cqw; letter-spacing: .16cqw; }
.work-crowns-cover .crowns-preview-logo { width: 6.7cqw; height: 6.7cqw; font-size: 2.4cqw; }
.work-crowns-cover .crowns-preview-logo small { font-size: .9cqw; }
.work-crowns-cover .crowns-preview-nav b { padding: 1.2cqw 1.8cqw; font-size: 1.2cqw; letter-spacing: .14cqw; }
.work-crowns-cover .crowns-preview-copy { top: 16cqw; left: 3cqw; }
.work-crowns-cover .crowns-preview-copy p { margin-bottom: 1.8cqw; font-size: 1.2cqw; letter-spacing: .27cqw; }
.work-crowns-cover .crowns-preview-copy strong { margin-bottom: 2.4cqw; font-size: 7.3cqw; letter-spacing: -.42cqw; }
.work-crowns-cover .crowns-preview-copy > span { font-size: 1.5cqw; }
.work-crowns-cover .crowns-preview-copy i { margin-top: 2.7cqw; padding: 1.8cqw 3cqw; font-size: 1.5cqw; letter-spacing: .18cqw; }

.portfolio-project:hover .portfolio-media img { transform: scale(1.025); }
.portfolio-copy .project-number { color: var(--color-blue); font-size: 13px; font-weight: 700; }
.portfolio-copy h2 { margin: 12px 0 8px; font-size: clamp(30px, 4vw, 52px); letter-spacing: -0.045em; }
.portfolio-copy p { margin: 0 0 24px; color: var(--color-muted); line-height: 1.6; }
.text-link { color: var(--color-blue); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }

.case-header { padding: 64px 0 40px; border-top: 1px solid #eee; }
.access-note { display: inline-block; margin: 28px 0 0; padding: 12px 16px; color: #003b9e; border: 1px solid #b8d2ff; border-radius: 4px; background: #edf4ff; font-size: 14px; }
.case-title { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.case-title h1 span { display: block; margin-top: 12px; color: #777; font-size: 0.38em; letter-spacing: -0.03em; }
.case-stage { padding-bottom: 78px; }
.case-stage img { display: block; width: 100%; height: auto; max-height: none; border-radius: 7px; background: #111; object-fit: contain; object-position: top; }
.case-stage-image { box-shadow: 0 24px 54px rgba(0, 0, 0, .16); }

.concept-note {
  max-width: 720px;
  margin: 28px 0 0;
  padding: 14px 17px;
  border: 1px solid #d9e5f8;
  border-radius: 6px;
  color: #234a80;
  background: #f4f8ff;
  font-size: 14px;
  line-height: 1.6;
}

/* Crown's case study uses the same complete landing-page preview as the project cards. */
.crowns-case-frame { container-type: inline-size; }
.crowns-case-cover { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 7px; }
.crowns-preview-status {
  position: absolute;
  bottom: 2.2cqw;
  right: 2.5cqw;
  z-index: 2;
  padding: 0.7cqw 1.1cqw;
  border: 1px solid rgba(224, 188, 112, .55);
  border-radius: 999px;
  color: #f3d28f;
  background: rgba(6, 11, 13, .62);
  font-size: 1.05cqw;
  font-weight: 700;
  letter-spacing: .12cqw;
  text-transform: uppercase;
}
.crowns-case-cover .crowns-preview-nav { gap: 2.7cqw; height: 8.8cqw; padding: 0 3cqw; font-size: 1.2cqw; letter-spacing: .16cqw; }
.crowns-case-cover .crowns-preview-logo { width: 6.7cqw; height: 6.7cqw; font-size: 2.4cqw; }
.crowns-case-cover .crowns-preview-nav b { padding: 1.2cqw 1.8cqw; font-size: 1.2cqw; letter-spacing: .14cqw; }
.crowns-case-cover .crowns-preview-copy { top: 16cqw; left: 3cqw; }
.crowns-case-cover .crowns-preview-copy p { margin-bottom: 1.8cqw; font-size: 1.2cqw; letter-spacing: .27cqw; }
.crowns-case-cover .crowns-preview-copy strong { margin-bottom: 2.4cqw; font-size: 7.3cqw; letter-spacing: -.42cqw; }
.crowns-case-cover .crowns-preview-copy > span { font-size: 1.5cqw; }
.crowns-case-cover .crowns-preview-copy i { margin-top: 2.7cqw; padding: 1.8cqw 3cqw; font-size: 1.5cqw; letter-spacing: .18cqw; }

.case-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.5fr);
  gap: 80px;
  padding: 78px 0;
  border-top: 1px solid var(--color-line);
}

.case-overview h2,
.gallery-heading h2,
.content-section h2 { margin: 0 0 22px; font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.04em; }
.case-overview p,
.content-section p { max-width: 720px; color: var(--color-muted); font-size: 18px; line-height: 1.75; }
.deliverables { padding-left: 38px; border-left: 1px solid var(--color-line); }
.deliverables h3 { margin-top: 0; }
.deliverables ul { margin: 20px 0 0; padding: 0; list-style: none; }
.deliverables li { padding: 13px 0; border-bottom: 1px solid #e6e6e6; }

.case-gallery { padding: 80px 0; background: #f6f6f5; }
.gallery-heading { margin-bottom: 38px; }
.gallery-intro { max-width: 600px; margin: 18px 0 0; color: var(--color-muted); font-size: 17px; line-height: 1.65; }
.gallery-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; }
.gallery-column { display: grid; gap: 24px; }
.gallery-shot { overflow: hidden; border-radius: 10px; background: transparent; }
.gallery-shot img { display: block; width: 100%; height: auto; min-height: 0; object-fit: contain; object-position: top; }
.gallery-shot figcaption { display: grid; gap: 5px; padding: 15px 2px 2px; color: var(--color-muted); font-size: 14px; line-height: 1.45; }
.gallery-shot figcaption strong { color: var(--color-ink); font-size: 14px; letter-spacing: .01em; }
.gallery-shot figcaption span { max-width: 44ch; }
.gallery-shot.tall img,
.gallery-shot.wide img { aspect-ratio: auto; }
.gallery-shot.services-crop img { object-position: center 65%; }
.gallery-shot.people-crop img { object-position: center bottom; }
.gallery-shot.detail img { height: auto; min-height: 0; aspect-ratio: auto; object-fit: contain; }
.crowns-detail-shot { align-self: start; height: fit-content; }
.gallery-shot.crowns-detail-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: top;
  border-radius: 8px;
}
.crowns-capture-frame {
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 9;
  place-items: center;
  padding: clamp(6px, .8vw, 10px);
  overflow: hidden;
  border-radius: 8px;
  background: #151311;
  box-sizing: border-box;
}
.gallery-shot.crowns-detail-shot .crowns-capture-frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 5px;
}
.crowns-gallery-grid { grid-template-columns: 1fr 1fr; align-items: start; }
.crowns-gallery-grid > .gallery-shot { grid-column: 1 / -1; }
.crowns-gallery-grid > .gallery-column { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }

.black-chair-case-gallery { color: #161514; background: #f2eee4; }
.black-chair-case-gallery .gallery-heading h2,
.black-chair-case-gallery .gallery-shot figcaption strong { color: #161514; }
.black-chair-case-gallery .gallery-intro,
.black-chair-case-gallery .black-chair-detail-shot figcaption { color: #615d55; }
.black-chair-gallery-grid { display: grid; gap: 38px; }
.black-chair-detail-shot img { aspect-ratio: 3 / 2; object-fit: cover; }
.black-chair-barber-section {
  padding: clamp(30px, 4vw, 54px);
  border-radius: 10px;
  color: #f2eee4;
  background: #11100e;
}
.black-chair-barber-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 28px;
}
.black-chair-barber-heading h3 {
  max-width: 520px;
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1;
}
.black-chair-barber-heading p {
  max-width: 430px;
  margin: 0;
  color: #c8c0b3;
  line-height: 1.65;
}
.black-chair-portrait-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.black-chair-portrait { border: 1px solid rgba(198, 161, 91, .34); border-radius: 6px; background: #171511; }
.black-chair-portrait img { aspect-ratio: 4 / 4.5; object-fit: cover; object-position: center 20%; }
.black-chair-portrait figcaption { padding: 17px 18px 19px; color: #c8c0b3; }
.black-chair-portrait figcaption strong { color: #f2eee4; font-family: Georgia, serif; font-size: 20px; font-weight: 500; }
.black-chair-portrait figcaption span { color: #dfc283; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.responsive-showcase { padding: 90px 0; color: #fff; background: linear-gradient(120deg, #121212, #030303); }
.responsive-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; align-items: center; gap: 70px; }
.responsive-grid h2 { margin: 0 0 18px; font-size: clamp(36px, 5vw, 60px); letter-spacing: -0.05em; line-height: 1; }
.responsive-grid p { color: #cfcfcf; font-size: 17px; line-height: 1.7; }
.responsive-image { overflow: hidden; border: 10px solid #252525; border-radius: 10px; box-shadow: 0 25px 45px #0008; }
.responsive-image img { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; object-position: top; }
.responsive-summary { display: flex; min-height: 310px; flex-direction: column; justify-content: flex-end; padding: 42px; border: 1px solid #383838; background: linear-gradient(145deg, #202020, #080808); box-shadow: 0 25px 45px #0008; }
.responsive-summary span { margin-bottom: auto; color: #8eb7ff; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.responsive-summary strong { display: block; max-width: 430px; margin-top: 18px; color: #fff; font-size: clamp(34px, 5vw, 58px); letter-spacing: -.05em; line-height: .98; }
.responsive-summary p { max-width: 430px; margin: 20px 0 0; color: #cfcfcf; font-size: 16px; line-height: 1.65; }

.mobile-showcase-frame {
  display: grid;
  min-height: 690px;
  place-items: center;
  padding: 42px;
  border: 1px solid #282828;
  border-radius: 8px;
  background: radial-gradient(circle at center, #232323, #080808 68%);
}

.mobile-device {
  position: relative;
  width: min(300px, 70vw);
  padding: 12px;
  border: 2px solid #414141;
  border-radius: 42px;
  background: #050505;
  box-shadow: 0 30px 55px #000b;
}

.mobile-device::before {
  position: absolute;
  top: 19px;
  left: 50%;
  z-index: 1;
  width: 32%;
  height: 18px;
  border-radius: 20px;
  content: "";
  background: #050505;
  transform: translateX(-50%);
}

.mobile-device img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 19;
  border-radius: 31px;
  object-fit: cover;
  object-position: top;
}

.black-chair-mobile-frame {
  background: radial-gradient(circle at center, #30291f, #080706 68%);
}
.black-chair-mobile-screen {
  position: relative;
  aspect-ratio: 9 / 19;
  overflow: hidden;
  border-radius: 31px;
  color: #f2eee4;
  background:
    linear-gradient(180deg, rgba(8, 8, 7, .5), rgba(8, 8, 7, .86)),
    url("Assets/black-chair-society/hero.webp") 61% center / cover no-repeat;
}
.black-chair-mobile-nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 13px 15px;
  border-bottom: 1px solid rgba(242, 238, 228, .16);
}
.black-chair-mobile-device .black-chair-mobile-nav img {
  width: 34px;
  height: 34px;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
}
.black-chair-mobile-nav > span { display: grid; gap: 4px; width: 22px; }
.black-chair-mobile-nav i { display: block; height: 1px; background: #dfc283; }
.black-chair-mobile-copy { position: relative; z-index: 1; padding: 76px 24px 32px; }
.black-chair-mobile-copy p { margin: 0 0 18px; color: #dfc283; font-size: 8px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.black-chair-mobile-copy strong { display: block; font-family: Georgia, serif; font-size: 42px; font-weight: 500; letter-spacing: -.03em; line-height: .92; }
.black-chair-mobile-copy strong em { color: #dfc283; font-weight: 500; }
.black-chair-mobile-copy > span { display: block; margin-top: 22px; color: #e5dfd4; font-size: 12px; line-height: 1.55; }
.black-chair-mobile-copy > b { display: inline-block; margin-top: 24px; padding: 12px 14px; background: #c6a15b; color: #0a0a09; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }

.next-project { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 55px; padding: 75px 0; }
.next-project > a { display: block; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 7px; background: #111; }
.next-project-cover { width: 100%; height: auto; aspect-ratio: 16 / 9; container-type: inline-size; border-radius: 7px; }
.next-project h2 { margin: 8px 0 18px; font-size: clamp(36px, 5vw, 60px); letter-spacing: -0.05em; }
.next-project > a > img { display: block; width: 100%; height: 100%; border-radius: 5px; object-fit: cover; object-position: center; transition: transform 400ms ease; }
.next-project > a:hover > img { transform: scale(1.025); }

.content-section { padding: 80px 0; border-top: 1px solid var(--color-line); }

@media (max-width: 900px) {
  .black-chair-barber-heading {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .black-chair-preview-nav > span:not(.black-chair-preview-brand),
  .black-chair-preview-nav > i {
    display: none;
  }

  .black-chair-preview-copy {
    top: 19cqw;
    left: 7cqw;
    width: 62cqw;
  }

  .black-chair-preview-copy > span { max-width: 54cqw; }
  .black-chair-portrait-grid { grid-template-columns: 1fr; }
  .black-chair-portrait img { aspect-ratio: 4 / 3.5; }
  .black-chair-barber-section { padding: 26px 18px; }
}
