/* ABOUT V2 (computers): the opening photo is shown whole, top to bottom, as you scroll;
   BIO and ARTIST STATEMENT float over it. Phones keep the current layout. */
.ab-photo { display: none; }
.ab-picker { position: fixed; z-index: 80; left: 50%; bottom: 62px; transform: translateX(-50%); display: flex; align-items: center; gap: 2px; padding: 5px 6px; background: rgba(27,21,18,.82); backdrop-filter: blur(6px); border: 1px solid rgba(236,230,218,.18); border-radius: 999px; font: 500 10.5px/1 'Poppins', sans-serif; }
.ab-picker p { margin: 0 8px 0 10px; font-size: 9px; letter-spacing: .16em; color: #d8c9a8; white-space: nowrap; }
.ab-picker button { border: 0; background: transparent; color: #ece6da; padding: 6px 11px; border-radius: 999px; cursor: pointer; font: inherit; white-space: nowrap; }
.ab-picker button.on { background: #ece6da; color: #3b2e25; font-weight: 700; }
@media (max-width: 700px) { .ab-picker { display: none; } }

@media (min-width: 701px) {
  .ab-v2 .ab-stage { position: relative; isolation: isolate; background: #1f1d1c; }
  .ab-v2 .ab-photo { display: block; position: absolute; left: 0; top: 0; width: 100%; height: auto; min-height: 100%; object-fit: cover; object-position: center top; z-index: -1; filter: grayscale(1) brightness(1.02) contrast(1.06); }
  /* a soft shade so text over the photo always reads */
  .ab-v2 .ab-stage::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(20,18,17,.55) 0%, rgba(20,18,17,.28) 40%, rgba(20,18,17,0) 70%); }

  .ab-v2 .about-hero { background: transparent !important; min-height: 100svh; }
  .ab-v2 .about-hero > img, .ab-v2 .about-hero .hero-shade { display: none; }

  /* BIO: a light card over the photo */
  .ab-v2 .bio { display: block !important; width: min(1040px, 84vw); margin: 10vh auto 0; padding: clamp(34px, 4vw, 64px) clamp(30px, 4.4vw, 72px) !important; background: rgba(235,230,221,.9); backdrop-filter: blur(10px); box-shadow: 0 30px 80px rgba(0,0,0,.25); }

  /* ARTIST STATEMENT: a dark card, lower down, on the left */
  .ab-v2 .statement { display: block !important; min-height: 0 !important; width: min(640px, 46vw); margin: 16vh 0 0 6vw; padding: clamp(34px, 3.4vw, 56px) !important; background: rgba(40,33,28,.8) !important; backdrop-filter: blur(10px); box-shadow: 0 30px 80px rgba(0,0,0,.3); overflow: visible; }
  .ab-v2 .statement::before, .ab-v2 .statement::after { display: none !important; }
  .ab-v2 .statement > small { display: block; margin-bottom: 22px; }
  .ab-v2 .statement-copy { background: none !important; padding: 0 !important; }
  /* room under the statement so the end of the photo shows before the CV */
  .ab-v2 .ab-stage { padding-bottom: 18vh; }
}

/* beige side margins (computers only), set in % from the picker */
.ab-picker .ab-margin { display: flex; align-items: center; gap: 6px; margin-left: 4px; padding: 0 8px 0 10px; border-left: 1px solid rgba(236,230,218,.14); color: #d8c9a8; font-size: 9px; letter-spacing: .12em; white-space: nowrap; }
.ab-picker .ab-margin input { width: 110px; accent-color: #d8c9a8; cursor: pointer; }
.ab-picker .ab-margin output { min-width: 30px; color: #ece6da; font-size: 10.5px; letter-spacing: 0; }
@media (min-width: 701px) {
  body { --ab-side: 10%; }
  .ab-stage { margin-left: var(--ab-side); margin-right: var(--ab-side); }
  body:has(.ab-stage) { background: var(--paper); }
  .ab-v2 .about-hero { border: 0 !important; }
}
@media (min-width: 701px) {
  /* V2: no card colours — the text sits straight on the photo */
  .ab-v2 .bio, .ab-v2 .statement { background: transparent !important; backdrop-filter: none !important; box-shadow: none !important; }
  .ab-v2 .bio, .ab-v2 .bio p, .ab-v2 .bio small, .ab-v2 .statement, .ab-v2 .statement p, .ab-v2 .statement small { color: #f3ede3 !important; text-shadow: 0 1px 14px rgba(0,0,0,.55), 0 0 2px rgba(0,0,0,.25); }
  .ab-v2 .bio-copy p:first-of-type { color: #fff !important; }
  .ab-v2 .bio-head::before, .ab-v2 .bio-head::after, .ab-v2 .bio-copy p:not(:first-of-type) { border-color: rgba(243,237,227,.55) !important; }
  .ab-v2 .bio-head { --line: rgba(243,237,227,.55); }
  /* darker shade behind the text areas so white text always reads */
  .ab-v2 .ab-stage::after { background: linear-gradient(180deg, rgba(20,18,17,.05) 0%, rgba(20,18,17,.45) 30%, rgba(20,18,17,.5) 70%, rgba(20,18,17,.2) 100%), linear-gradient(90deg, rgba(20,18,17,.45) 0%, rgba(20,18,17,0) 60%); }
}
@media (min-width: 701px) { .ab-v2 .bio-head::before, .ab-v2 .bio-head::after { background: rgba(243,237,227,.5) !important; } }
@media (min-width: 701px) { .ab-v2 .bio, .ab-v2 .statement, .ab-v2 .about-hero { border: 0 !important; } }

/* 12-01 b ---------------------------------------------------------------- */
/* beige margin: default 6%, and the same margin on 03 / EXHIBITIONS and 04 / PRESS */
@media (min-width: 701px) {
  body { --ab-side: 6%; }
  body:has(.ab-stage) .cv, body:has(.ab-stage) .press { margin-left: var(--ab-side); margin-right: var(--ab-side); }
}
/* ARTIST STATEMENT text the same size as BIO */
.statement .statement-copy p { font-size: 15.5px !important; line-height: 1.7 !important; }
@media (max-width: 700px) { .statement .statement-copy p { font-size: 14px !important; } }

/* V2: the photo stays behind the text while you scroll. The empty wall at the top is cut
   away, so the first screen shows the name and words at the top, Yu Rim's face and the start
   of BIO; on computers the photo then slides down to its end as you scroll. */
.ab-v2 .ab-stage { position: relative; isolation: isolate; background: #1f1d1c; }
.ab-photo-wrap { display: none; }
.ab-v2 .ab-photo-wrap { display: block; position: absolute; inset: 0; z-index: -1; clip-path: inset(0); }
.ab-v2 .ab-photo { display: block; position: sticky; top: 0; left: auto; width: 100%; height: 100vh; height: 100svh; min-height: 0; margin: 0; object-fit: cover; object-position: 50% 62%; z-index: -1; filter: grayscale(1) brightness(1.02) contrast(1.06); transform: none; }
.ab-v2 .about-hero { background: transparent !important; min-height: 0 !important; padding: clamp(36px, 5.5vh, 64px) 0 0 !important; border: 0 !important; }
.ab-v2 .about-hero > img, .ab-v2 .about-hero .hero-shade { display: none !important; }
.ab-v2 .hero-copy { position: relative; left: auto; top: auto; bottom: auto; transform: none; padding: 0 4vw; }
.ab-v2 .hero-copy h1 { margin: .12em 0 .1em; }
.ab-v2 .hero-copy p { margin-top: 1.4rem; }
@media (min-width: 701px) {
  .ab-v2 .bio { margin-top: clamp(110px, 19vh, 230px) !important; }
}
/* phones: the same idea, no side margin */
@media (max-width: 700px) {
  .ab-picker { display: flex; bottom: 58px; max-width: calc(100vw - 16px); }
  .ab-picker p, .ab-picker .ab-margin { display: none; }
  .ab-picker button { padding: 6px 9px; font-size: 9.5px; }
  .ab-v2 .ab-photo { object-position: 82% 0; transform: scale(1.32); transform-origin: 74% 100%; }
  .ab-v2 .about-hero { padding: 34px 0 0 !important; height: auto !important; }
  .ab-v2 .hero-copy { padding: 0 6vw; }
  .ab-v2 .hero-copy h1 { font-size: 15vw !important; }
  .ab-v2 .hero-copy p { margin-top: .9rem; }
  .ab-v2 .bio { margin-top: 34svh !important; padding-top: 0 !important; background: transparent !important; }
  .ab-v2 .statement { background: transparent !important; padding-top: 14vw !important; }
  .ab-v2 .statement::before, .ab-v2 .statement::after { display: none !important; }
  .ab-v2 .statement-copy { background: none !important; padding: 0 !important; }
  .ab-v2 .bio, .ab-v2 .bio p, .ab-v2 .bio small, .ab-v2 .statement, .ab-v2 .statement p, .ab-v2 .statement small { color: #f3ede3 !important; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
  .ab-v2 .bio-copy p:first-of-type { color: #fff !important; }
  .ab-v2 .bio-head::before, .ab-v2 .bio-head::after { background: rgba(243,237,227,.5) !important; }
  .ab-v2 .bio-copy p:not(:first-of-type) { border-color: rgba(243,237,227,.5) !important; }
  .ab-v2 .bio, .ab-v2 .statement, .ab-v2 .about-hero { border: 0 !important; }
  .ab-v2 .ab-stage::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(20,18,17,.35) 0, rgba(20,18,17,.05) 260px, rgba(20,18,17,.1) 50svh, rgba(20,18,17,.55) 80svh, rgba(20,18,17,.6) 100%); }
}

/* 12-02: shade comes in from the left and fades out; the right side is the original photo */
@media (min-width: 701px) {
  .ab-v2 .ab-stage::after { background: linear-gradient(90deg, rgba(20,18,17,.78) 0%, rgba(20,18,17,.6) 22%, rgba(20,18,17,.32) 42%, rgba(20,18,17,.1) 58%, rgba(20,18,17,0) 70%) !important; }
}
.hero-shade { background: linear-gradient(90deg, rgba(59,46,37,.88) 0%, rgba(59,46,37,.6) 34%, rgba(59,46,37,.15) 58%, rgba(59,46,37,0) 72%) !important; }

/* 12-02 b: the shade from the top reaches further down */
@media (min-width: 701px) {
  .ab-v2 .ab-stage::after { background: linear-gradient(180deg, rgba(20,18,17,.5) 0, rgba(20,18,17,.3) 32vh, rgba(20,18,17,.1) 62vh, rgba(20,18,17,0) 85vh), linear-gradient(90deg, rgba(20,18,17,.78) 0%, rgba(20,18,17,.6) 22%, rgba(20,18,17,.32) 42%, rgba(20,18,17,.1) 58%, rgba(20,18,17,0) 70%) !important; }
}
@media (max-width: 700px) {
  .ab-v2 .ab-stage::after { background: linear-gradient(180deg, rgba(20,18,17,.5) 0, rgba(20,18,17,.32) 26svh, rgba(20,18,17,.12) 52svh, rgba(20,18,17,.14) 62svh, rgba(20,18,17,.55) 85svh, rgba(20,18,17,.6) 100%) !important; }
}

/* 12-02 c: BIO first sentences a soft light beige instead of white */
.ab-v2 .bio-copy p:first-of-type, .ab-v2 .bio-copy p:first-of-type .tw { color: #eadcc2 !important; }

/* 12-02 d: phones — the photo is as tall as the screen with the browser bars hidden,
   so no dark strip appears at the bottom while scrolling (Safari / Chrome) */
@media (max-width: 700px) {
  .ab-v2 .ab-photo { height: 100vh !important; height: 100lvh !important; }
  .ab-v2 .ab-stage { background: #2b2724; }
}

/* 12-02 e: Instagram / e-mail icons soft, like on the home page */
.statement .icon-link img, .ab-stage .icon-link img { opacity: .62 !important; filter: invert(1) sepia(.35) brightness(.86) !important; transition: opacity .2s, transform .2s; }
.statement .icon-link:hover img, .statement .icon-link:focus-visible img, .ab-stage .icon-link:hover img { opacity: .95 !important; transform: scale(1.06); }
