/* ==========================================================================
   Tokens — change these first
   ========================================================================== */
:root {
  color-scheme: dark;

  --bg: #171717;
  --fg: #e2e2e2;
  --muted: #9a9a9a;
  --panel: #4d4d4d;        /* gray information panel */
  --panel-fg: #f2f2f2;
  --rule: rgba(255, 255, 255, 0.3);

  --font: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --pad: clamp(1rem, 1.6vw, 1.75rem);

  /* Type sizes (mobile first) */
  --name-size: clamp(3.5rem, 18vw, 7rem);
  --title-size: clamp(2rem, 11vw, 4rem);

  /* Caption / info columns: index | title | body */
  --cols: 4.5rem minmax(0, 1fr) minmax(0, 1.25fr);
}

@media (min-width: 900px) {
  :root {
    --name-size: clamp(4rem, 7.6vw, 10rem);
    --title-size: clamp(2.5rem, 4.4vw, 6rem);
  }
}

/* ==========================================================================
   Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Sections receive focus after a jump for screen readers, no visible ring needed */
.project:focus,
.info:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 4px;
}

/* ==========================================================================
   Left page
   ========================================================================== */
.pane--left {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  padding: var(--pad);
}

.name {
  margin: 0;
  font-size: var(--name-size);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.055em;
}

.name span { display: block; }

.role {
  margin: clamp(1.5rem, 1vh, 4.5rem) 0 0;
  font-size: calc(var(--name-size) * 0.27);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
}
.artist-bio{
  font-weight: 100;
  max-width: 600px;
}
.nav-title{
  text-decoration: underline;
}
.nav-list {
  --arrow-w: calc(var(--title-size) * 0.62);
  --row-gap: 0.5rem;

  margin: clamp(3rem, 5vh, 8rem) 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: clamp(2.5rem, 11vh, 7rem);
}

.nav-item {
  display: block;
  color: inherit;
  text-decoration: none;
}

.nav-item__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0.15rem var(--row-gap);
}

.nav-item__label {
  font-size: calc(var(--title-size) * 0.38);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.nav-item__title {
  font-size: calc(var(--title-size) * 0.9);
  font-style: italic;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.nav-item__arrow {
  flex: none;
  align-self: center;
  width: var(--arrow-w);
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  overflow: visible;
}

.nav-item__sub {
  display: block;
  margin-top: 0.25em;
  /* padding-right: calc(var(--arrow-w) + var(--row-gap)); */
  font-size: calc(var(--title-size) * 0.27);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* Variant: all-caps stacked title, no arrow */
.nav-item--caps .nav-item__title {
  display: block;
  line-height: 0.82;
  text-transform: uppercase;
}
.nav-item--caps .nav-item__sub { padding-right: 0; }

/* Variant: boxed tag */
.nav-item__tag {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid currentColor;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
}

/* Variant: small link (Information) */
.nav-item--small { --title-size: clamp(1.75rem, 3vw, 3rem); }
.nav-item--small .nav-item__arrow { width: calc(var(--title-size) * 0.62); }

/* ==========================================================================
   Right page
   ========================================================================== */
.project {
  padding-bottom: clamp(2rem, 8vh, 5rem);
}

.media {
  margin: 0;
  background: #101010;
}

.media img {
  display: block;
  width: 100%;
  height: auto;
}

/* Shown automatically until the real image file exists */
.media.is-missing {
  display: grid;
  place-items: center;
  aspect-ratio: 7 / 5;
  background: repeating-linear-gradient(135deg, #1f1f1f 0 14px, #1a1a1a 14px 28px);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
}
.media.is-missing img { display: none; }
.media.is-missing::after { content: "Add " attr(data-placeholder); }

.caption {
  display: grid;
  grid-template-columns: var(--cols);
  padding: 0.9rem var(--pad) 0;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.caption__num   { grid-column: 1; }
.caption__title { grid-column: 2; }
.caption__body  { grid-column: 3; }

.caption__body p { margin: 0 0 1em; }
.caption__body .muted { color: var(--muted); font-weight: 500; }

.caption__actions {
  grid-column: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 1rem;
}

.btn {
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.btn:hover { background: rgba(255, 255, 255, 0.09); }

/* Information panel */
.info {
  padding: 0 var(--pad);
  background: var(--panel);
  color: var(--panel-fg);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.info a { text-underline-offset: 0.18em; }

.info__row {
  display: grid;
  grid-template-columns: var(--cols);
  padding: 1rem 0 2rem;
  border-top: 1px solid var(--rule);
}
.info__row:first-of-type { border-top: 0; }

.info__label {
  grid-column: 1 / 3;
  margin: 0;
  font: inherit;
}

.info__content { grid-column: 3; }
.info__content p { margin: 0 0 1.25em; }
.info__content p:last-child { margin-bottom: 0; }

.info__row--end { padding-bottom: 2.5rem; }
.info__row--end .btn { width: 100%; border-color: rgba(255, 255, 255, 0.5); }

/* ==========================================================================
   Mobile: pages stack, the whole document scrolls
   ========================================================================== */
@media (max-width: 899.98px) {
  .crease { display: none; }

  .project,
  .info { scroll-margin-top: 0; }

  .caption,
  .info__row {
    --cols: 2.5rem minmax(0, 1fr);
  }
  .caption__title { grid-column: 2; }
  .caption__body,
  .caption__actions { grid-column: 2; }
  .caption__body { margin-top: 0.75rem; }
  .info__label { grid-column: 1 / -1; }
  .info__content { grid-column: 1 / -1; margin-top: 0.75rem; }
  .info__row--end .info__content { margin-top: 0; }

  .pane--left { min-height: 100svh; }
}

/* ==========================================================================
   Desktop: two independently scrolling pages with a fold in the middle
   ========================================================================== */
@media (min-width: 900px) {
  html,
  body { height: 100%; overflow: hidden; }

  .book {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
  }

  .pane {
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;            /* hide scrollbars for the magazine look */
  }
  .pane::-webkit-scrollbar { display: none; }

  .pane:focus-visible {
    outline: 2px solid var(--fg);
    outline-offset: -4px;
  }

  .pane--left {
    padding-right: clamp(2rem, 4vw, 4.5rem);
  }

  /* Dim links that aren't the project currently on the right page */
  .nav-item {
    opacity: 0.5;
    transition: opacity 0.2s ease;
  }
  .nav-item:hover,
  .nav-item:focus-visible,
  .nav-item.is-active { opacity: 1; }

  /* The fold: shadow on each side of the spine with a faint highlight */
  .crease {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    z-index: 2;
    width: clamp(48px, 6vw, 96px);
    transform: translateX(-50%);
    pointer-events: none;
    background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.32) 38%,
      rgba(0, 0, 0, 0.62) 49.2%,
      rgba(255, 255, 255, 0.08) 50%,
      rgba(0, 0, 0, 0.55) 50.8%,
      rgba(0, 0, 0, 0.22) 64%,
      rgba(0, 0, 0, 0) 100%
    );
  }

  .caption,
  .info { padding-left: calc(var(--pad) + 1.25rem); }

  .featurePhoto{
    position: relative;
    display: inline-block; 
      max-width: 100%;
  }
  .featurePhoto img{
    display: block;
  }
  .overlayBtn{
    position: absolute;
    top: 10%;                
    left: 0px;
    padding: 32px 14px;
    background-color: black;
    border: none;
    font: inherit;
    font-weight: bold;
    font-size:  1.5rem;
    writing-mode: vertical-rl;
    text-orientation: mixed;
  }
  .collaborator
  {
    margin-left: 0px;
  }
  .collaborators li{
    list-style-type: none;
    padding-bottom: 0.5rem;
    
  }
  
}