/* Theme B: Painterly */
.theme-b {
  --bg: #f4efe5; --ink: #2f3b36; --forest: #2c473f; --sage: #5f6f64; --sage-band: #e1e4d4;
  --teal: #4c7a86; --mustard: #e1bd66; --blush: #eec5b7; --blush-band: #f0dccf; --terra: #c4705a;
  --max: 1240px; --reel-radius: 2px; --shot-radius: 0; --poster-radius: 2px; --play-bg: rgba(30,30,30,.35);
  --imdb-text: var(--forest);
  background: var(--bg); color: var(--ink);
}

/* hero */
.b-hero { position: relative; display: grid; grid-template-columns: 58% 42%; min-height: 560px; background: var(--bg); overflow: hidden; }
.b-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; background: var(--sage-band); -webkit-mask: url(../assets/svg/wave.svg) center / 100% 100% no-repeat; mask: url(../assets/svg/wave.svg) center / 100% 100% no-repeat; z-index: 3; }
.b-nav { position: absolute; left: 88px; top: 26px; display: flex; gap: 46px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; z-index: 4; }
.b-nav a { text-decoration: none; color: var(--ink); }
.b-nav a[aria-current] { font-weight: 600; }
.b-hero__text { position: relative; padding: 70px 0 90px 100px; z-index: 2; }
.b-name { position: relative; line-height: 1; color: var(--forest); }
.b-name__swash { position: absolute; left: -30px; top: 50px; width: 360px; height: 96px; background: var(--mustard); rotate: -6deg; opacity: .9; }
.b-name__first { position: relative; display: block; font: 400 170px/1 "Kaushan Script", cursive; transform: rotate(-6deg); margin-left: 40px; }
.b-name__last { position: relative; display: block; font: 600 118px/.9 "Oswald", sans-serif; color: var(--sage); letter-spacing: .01em; text-transform: uppercase; margin: -6px 0 0 170px; }
.b-sub { margin-top: 20px; font-size: 14px; letter-spacing: .26em; text-transform: uppercase; display: flex; gap: 14px; flex-wrap: wrap; }
.b-sub i { font-style: normal; opacity: .6; }
.b-tag { position: relative; display: inline-block; margin: 26px 0 0 0; padding: 14px 40px; }
.b-tag__paint { position: absolute; inset: 0; background: var(--blush); }
.b-tag__text { position: relative; display: block; font-size: 15px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--forest); text-align: center; }
.b-hero__photo { position: relative; margin: 0; }
.b-hero__frame { position: absolute; inset: -20px -20px 10px 0; background: var(--teal); }
.b-hero__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; }

/* drama band */
.b-drama { background: var(--sage-band); padding: 16px 0 40px; position: relative; }
.b-drama::after { content: ""; position: absolute; left: 0; right: 0; bottom: -20px; height: 24px; background: var(--sage-band); -webkit-mask: url(../assets/svg/rough.svg) center / 100% 100%; mask: url(../assets/svg/rough.svg) center / 100% 100%; rotate: 180deg; z-index: 2; }
.b-drama__in { display: grid; grid-template-columns: 300px 1fr; gap: 50px; align-items: center; }
.b-serif { font: 400 58px/1.05 "DM Serif Display", serif; color: var(--ink); }
.b-serif--sm { font-size: 30px; margin-bottom: 10px; }
.b-bar { display: block; width: 54px; height: 3px; background: var(--mustard); margin: 18px 0 24px; border-radius: 2px; }
.b-caps { font-size: 16px; line-height: 1.75; letter-spacing: .2em; text-transform: uppercase; }
.b-caps--sm { font-size: 12px; margin-top: 10px; }
.b-drama .reel { box-shadow: 0 10px 30px rgba(0,0,0,.18); }

/* credits */
.b-credits { padding: 50px 0 34px; }
.b-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.b-label { font-size: 16px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; }
.b-label--big { font-size: 26px; font-weight: 400; letter-spacing: .2em; margin-bottom: 26px; }
.b-link { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.b-link svg { width: 16px; }
.b-posters { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.b-posters .poster__img { aspect-ratio: 1; }
.b-posters .poster__img img { object-position: 50% 0; }

/* highlights */
.b-hl { position: relative; background: var(--mustard); padding: 26px 0 30px; margin: 12px 0; }
.b-hl::before, .b-hl::after { content: ""; position: absolute; left: 0; right: 0; height: 20px; background: var(--mustard); -webkit-mask: url(../assets/svg/rough.svg) center / 100% 100%; mask: url(../assets/svg/rough.svg) center / 100% 100%; }
.b-hl::before { top: -19px; }
.b-hl::after { bottom: -19px; rotate: 180deg; }
.b-hl .b-label { color: var(--ink); }
.b-hl__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.b-hl__item { display: grid; grid-template-columns: 40px 1fr; gap: 18px; }
.b-hl__icon svg { width: 38px; color: var(--ink); }
.b-hl__icon { padding-top: 2px; }
.b-hl__item h3 { font-size: 15px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.b-hl__item p { margin-top: 8px; font-size: 15px; line-height: 1.45; color: #4a463c; }
.b-hl .b-hl__icon svg[viewBox] path[fill="currentColor"] { fill: none; stroke: currentColor; stroke-width: 1.5; }

/* media */
.b-media { display: grid; grid-template-columns: 1fr 450px; gap: 70px; padding: 36px 0 34px; align-items: end; }
.b-shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.b-shots .shot { aspect-ratio: .68; }
.b-comedy .reel { --play-size: 52px; }
.b-comedy .reel__soon { font-size: 10px; }

/* about */
.b-about { background: var(--blush-band); padding: 34px 0 36px; position: relative; }
.b-about::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 20px; background: var(--blush-band); -webkit-mask: url(../assets/svg/wave.svg) center / 100% 100%; mask: url(../assets/svg/wave.svg) center / 100% 100%; }
.b-about__in { display: grid; grid-template-columns: 250px 1fr 300px; gap: 36px; align-items: center; }
.b-polaroid { background: #fff; padding: 12px 12px 34px; rotate: -5deg; box-shadow: 0 10px 26px rgba(0,0,0,.18); margin-top: -40px; }
.b-polaroid img { aspect-ratio: .95; object-fit: cover; object-position: 50% 15%; width: 100%; }
.b-about__copy .b-serif { font-size: 44px; }
.b-rep .b-serif { font-size: 38px; }
.b-about__copy p { font-size: 16px; line-height: 1.6; color: #4b4540; max-width: 520px; }
.b-about__copy p + p { margin-top: 10px; }
.b-btn { display: inline-flex; gap: 10px; align-items: center; margin-top: 22px; padding: 13px 38px; background: var(--terra); color: #fff; text-decoration: none; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; border-radius: 2px; }
.b-btn svg { width: 18px; }
.b-rep { border-left: 1px solid rgba(47,59,54,.25); padding-left: 44px; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.b-rep .rep { font-size: 16px; color: #4b4540; }

/* footer */
.b-foot { background: var(--forest); color: #f3efe5; position: relative; }
.b-foot::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 18px; background: var(--forest); -webkit-mask: url(../assets/svg/wave.svg) center / 100% 100%; mask: url(../assets/svg/wave.svg) center / 100% 100%; }
.b-foot__in { display: grid; grid-template-columns: auto 1fr auto; gap: 48px; align-items: center; padding: 24px 0; }
.b-foot__name { font-size: 20px; letter-spacing: .24em; text-transform: uppercase; }
.b-foot__links { display: flex; gap: 40px; justify-content: center; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
.b-foot__links a { text-decoration: none; }

@media (max-width: 1100px) {
  .b-hero { grid-template-columns: 1fr; }
  .b-hero__text { padding: 80px 24px 30px; }
  .b-hero__photo { height: 520px; }
  .b-nav { left: 24px; gap: 22px; }
  .b-drama__in, .b-media, .b-about__in { grid-template-columns: 1fr; }
  .b-posters { grid-template-columns: repeat(3, 1fr); }
  .b-hl__grid { grid-template-columns: repeat(2, 1fr); }
  .b-rep { border-left: 0; padding-left: 0; }
  .b-foot__in { grid-template-columns: 1fr; justify-items: center; gap: 16px; }
}
@media (max-width: 640px) {
  .b-nav { font-size: 11px; gap: 14px; }
  .b-name__first { font-size: 110px; margin-left: 0; }
  .b-name__last { font-size: 76px; margin: -24px 0 0 70px; }
  .b-name__swash { width: 240px; height: 70px; top: 30px; }
  .b-serif { font-size: 42px; }
  .b-shots, .b-posters, .b-hl__grid { grid-template-columns: repeat(2, 1fr); }
  .b-foot__links { flex-wrap: wrap; gap: 18px; }
}
@media (max-width: 640px) {
  .b-hl__grid { grid-template-columns: 1fr; gap: 22px; }
  .b-name__first { font-size: 100px; }
  .b-name__last { font-size: 68px; margin: -4px 0 0 60px; }
}
