/* About page, laid out after eunjeongyoo.com/about: a large bio beside a grey portrait panel, a
   "What I do" line of big serif words with little project thumbnails between them, Client / Press /
   Exhibitions columns, and a giant "Contact" with rolling links. Sizes are in vw so it scales like
   the reference (measured at 1280px wide). */
@font-face { font-family: "Neue Montreal"; src: url("assets/NeueMontreal-Regular.otf"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Neue Montreal"; src: url("assets/NeueMontreal-Medium.otf"); font-weight: 500; font-display: swap; }
@font-face { font-family: Parceh; src: url("assets/home-nov19/Parceh.otf"); font-display: swap; }

* { box-sizing: border-box; }
html, body { margin: 0; background: #f8f8f8; color: #000; }
body { font-family: "Neue Montreal", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.about-page .portfolio-header { position: absolute; inset: 0 0 auto; background: transparent; }

.about {
  --pad: max(16px, 1.48vw);
  --serif: Parceh, serif;   /* the site's display serif (the homepage name) */
  /* Starts below the site menu, which runs down the top-right corner. */
  padding: max(190px, 13vw) var(--pad) max(80px, 9vw);
}
.about p, .about h2, .about figure { margin: 0; }
.about a { color: inherit; }

/* Bio on the left, portrait panel on the right, inside the page margins. */
.about-hero { display: grid; grid-template-columns: 56.7% 1fr; column-gap: 10%; align-items: start; }
.about-bio { font-size: max(18px, calc(1.6vw + 1px)); line-height: 1.5; letter-spacing: -.01em; text-wrap: pretty; }
.about-bio p + p { margin-top: .6em; }
/* Names in the bio (awards, press, exhibitions, talks): always underlined; on hover the text and
   underline turn blue and, where there's a picture, it pops up and follows the cursor (accolades.js). */
.about-bio .accolade {
  text-decoration: underline;
  text-decoration-color: #0000004d;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
  transition: color .2s, text-decoration-color .2s;
}
.about-bio .accolade:hover { color: #d3241b; text-decoration-color: #d3241b; }
.about-bio .accolade[data-preview] { cursor: default; }
.accolade-preview {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: clamp(80px, 6.5vw, 110px);
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
}
.accolade-preview img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 2px 2px #0000000f) drop-shadow(0 4px 3px #0000001a) drop-shadow(0 18px 28px #00000024);
  transform-origin: 50% 100%;
  transform: scale(.4) rotate(-14deg) translateY(18px);
  /* A spring: reaches full size in about 0.14s, overshoots a touch and settles by 0.5s. */
  transition: transform .5s cubic-bezier(.3, 1.4, .5, 1);
  transition: transform .5s linear(0, 0.047, 0.162, 0.313, 0.476, 0.632, 0.769, 0.882, 0.969, 1.03, 1.069, 1.089, 1.095, 1.09, 1.079, 1.065, 1.05, 1.035, 1.022, 1.011, 1.003, 0.997, 0.993, 0.992, 0.991, 0.991, 0.992, 0.994, 0.995, 0.997, 0.998, 0.999, 1);
}
/* A photo rather than a cut-out sticker: a bit bigger, with rounded corners. */
.accolade-preview.is-photo { width: clamp(110px, 9vw, 150px); }
.accolade-preview.is-photo img { border-radius: 10px; }
.accolade-preview.is-on { opacity: 1; transition: opacity .12s; }
.accolade-preview.is-on img { transform: none; }
.accolade-preview:not(.is-on) { transition: opacity .18s; }
.accolade-preview:not(.is-on) img { transition: transform .2s cubic-bezier(.4, 0, 1, 1); }
@media (hover: none) { .accolade-preview { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .accolade-preview img, .accolade-preview:not(.is-on) img { transform: none; transition: none; }
}
/* The box Anushka drew (542 × 490 at 1710 wide), filled edge to edge by the lift mirror selfie. */
.about-portrait {
  aspect-ratio: 542 / 490;
  background: #ebebeb;
  overflow: hidden;
}
.about-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Capabilities: big serif words separated by chrome magnets, running the full width. */
.about-do { margin-top: max(48px, 6.6vw); }
.about-eyebrow { font-size: max(9px, .78vw); font-weight: 400; letter-spacing: .02em; text-transform: uppercase; }
.about-services {
  margin-top: .3vw !important;
  font: 400 max(36px, 5.2vw) / .98 var(--serif);
  letter-spacing: -.035em;
}
.about-service { white-space: nowrap; }   /* a service never breaks across lines */
/* The chrome magnets from the homepage board sit between the services. */
.about-pin { display: inline-block; height: .62em; width: auto; margin: 0 .06em 0 .02em; vertical-align: .02em; transform: rotate(var(--tilt, 0deg)); filter: drop-shadow(.5px 1px .5px #00000026) drop-shadow(1px 2px 2px #00000014); }   /* a light lift, softer than on the homepage board */
.about-pin-pencil { margin-left: .14em; }   /* the tilted pencil leans left, so it needs a little more room */

/* For/with / Press / Exhibitions / Talks. */
.about-credits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));   /* For/with, Press, Exhibitions, Talks */
  column-gap: 4.4%;
  margin-top: max(56px, 10.6vw);
  font-size: max(15px, 1.56vw);
  line-height: 1.1;
}
.about-credits h2 { font-size: inherit; font-weight: 400; margin-bottom: .55em; color: #999; }   /* same grey as the footer labels */
.about-credits ul { margin: 0; padding: 0; list-style: none; }   /* one name per line */
/* Names a touch smaller than the headings (18px at 1280 wide, was 20) with a pixel more between lines (23px, was 22). */
.about-credits li { font-size: max(14px, 1.41vw); line-height: 1.28; }


@media (max-width: 760px) {
  .about { padding-top: 190px; }
  .about-hero { grid-template-columns: 1fr; row-gap: 32px; }
  .about-bio { font-size: 20px; }
  .about-services { font-size: 11vw; }
  .about-service { white-space: normal; }
  .about-credits { grid-template-columns: 1fr; row-gap: 28px; }
}
