:root {
  --bg: #e7def0;
  --surface: rgba(246, 240, 252, 0.72);
  --text: #2c2750;
  --muted: #5f567f;
  --accent: #7e6aa6;
  --accent-soft: rgba(232, 221, 247, 0.82);
  --border: rgba(186, 168, 216, 0.7);
  --heading-font: "Vujahday Script", cursive;
  --body-font: "Montserrat", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--text);
  background-image: url("../pictures/home-background.png");
  background-color: #000;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  line-height: 1.6;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.08) 1px, transparent 1px, transparent 24px),
    linear-gradient(45deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.06) 1px, transparent 1px, transparent 24px);
  background-size: 24px 24px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}


.container {
  width: min(1000px, 92%);
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 10;
  transition: background-color 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(186, 168, 216, 0.7);
  box-shadow: 0 10px 35px rgba(57, 51, 76, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  text-decoration: none;
  color: var(--text);
  font-family: var(--heading-font);
  font-weight: 500;
  letter-spacing: 0.08em;
  font-size: 1.5rem;
  text-transform: none;
}

.bebas-neue-regular {
  font-family: "Vujahday Script", cursive;
  font-weight: 400;
  font-style: normal;
}

.vujahday-script-regular {
  font-family: "Vujahday Script", cursive;
  font-weight: 400;
  font-style: normal;
}

.montserrat-100 {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
}

.montserrat-400 {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.montserrat-700 {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.ibm-plex-mono-thin {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 100;
  font-style: normal;
}

.ibm-plex-mono-extralight {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 200;
  font-style: normal;
}

.ibm-plex-mono-light {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 300;
  font-style: normal;
}

.ibm-plex-mono-regular {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 400;
  font-style: normal;
}

.ibm-plex-mono-medium {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
  font-style: normal;
}

.ibm-plex-mono-semibold {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  font-style: normal;
}

.ibm-plex-mono-bold {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  font-style: normal;
}

.ibm-plex-mono-thin-italic {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 100;
  font-style: italic;
}

.ibm-plex-mono-extralight-italic {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 200;
  font-style: italic;
}

.ibm-plex-mono-light-italic {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 300;
  font-style: italic;
}

.ibm-plex-mono-regular-italic {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 400;
  font-style: italic;
}

.ibm-plex-mono-medium-italic {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
  font-style: italic;
}

.ibm-plex-mono-semibold-italic {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  font-style: italic;
}

.ibm-plex-mono-bold-italic {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  font-style: italic;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  position: relative;
}

.nav {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

#menuToggle {
  display: none;
  position: fixed;
  top: 28px;
  right: 28px;
  z-index: 999;
  user-select: none;
}

#menuToggle a {
  text-decoration: none;
  color: var(--text);
  transition: color 0.3s ease;
}

#menuToggle a:hover {
  color: var(--accent);
}

#menuToggle input {
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  cursor: pointer;
  opacity: 0;
  z-index: 2;
}

#menuToggle span {
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  background: var(--text);
  border-radius: 3px;
  z-index: 1;
  transform-origin: 4px 0px;
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child {
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
  transform-origin: 0% 100%;
}

#menuToggle input:checked ~ span {
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: var(--text);
}

#menuToggle input:checked ~ span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked ~ span:nth-last-child(2) {
  transform: rotate(-45deg) translate(0, -1px);
}

#menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0 24px;
  margin: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  overflow-y: auto;
  overflow-x: hidden;
  background: rgba(255,255,255,0.98);
  list-style-type: none;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li {
  margin: 0;
  padding: 0;
  font-size: 24px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#menu li a {
  color: var(--text);
  text-decoration: none;
  width: 100%;
}

#menu li label {
  cursor: pointer;
  display: inline-block;
  width: 100%;
}

#menuToggle input:checked ~ ul {
  transform: translateX(0);
}

.nav a {
  font-family: var(--body-font);
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.nav a:hover,
.nav a.active {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.nav a.active {
  font-weight: 500;
}

main {
  margin-top: 1.5rem;
  padding: 2rem 0 2.6rem;
  flex: 1;
}

.hero {
  background: linear-gradient(145deg, rgba(248, 241, 255, 0.8), rgba(240, 230, 250, 0.72));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.3rem 1.1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  font-weight: 500;
  letter-spacing: 0.03em;
  margin: 0 0 0.8rem;
  line-height: 1.25;
}

p,
li,
.breadcrumbs,
.footer-inner,
.tab-btn {
  font-family: var(--body-font);
}

p {
  margin: 0 0 1rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.card {
  background: linear-gradient(145deg, rgba(249, 243, 255, 0.8), rgba(239, 231, 249, 0.7));
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
}

.card h3 {
  margin: 0 0 0.5rem;
}

.card ul {
  margin: 0.2rem 0 0;
  padding-left: 1.1rem;
}

.card a {
  color: var(--accent);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(241, 233, 251, 0.45);
  color: var(--muted);
}

.footer-inner {
  padding: 0.5rem 0 0.35rem;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus {
  text-decoration: none;
}

.sitemap {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.sitemap a {
  color: var(--muted);
  text-decoration: none;
}

.sitemap a:hover {
  color: var(--accent);
}

.breadcrumbs {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.breadcrumb-separator {
  margin-inline: 6px;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

body {
  background-image: url("../pictures/home-background.png"), linear-gradient(to bottom, #dfc2d3d1 0%, #ffffff 100%);
  background-color: #dfc2d3;
  background-size: cover, cover;
  background-position: top center, center;
  background-repeat: no-repeat, no-repeat;
}

body .site-header,
body .site-footer {
  background: transparent;
}

body main {
  padding: 0.75rem 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.home-layout {
  padding: 0;
}

.split-shell {
  display: grid;
  /*grid-template-rows: auto auto;*/
  grid-template-rows: auto minmax(0, 1fr); 

  gap: 0.75rem;
  /*flex: 0 1 auto;*/
  flex: 1;
  min-height: 0;
}

.tab-pane * {
  transition: opacity 520ms ease, transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.top-panel {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0.75rem;
}

/* Hero slider */
.hero-slider {
  width: 100%;
  margin-bottom: 0.75rem;
}

.slider {
  position: relative;
  height: 450px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #eee;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 480ms ease, transform 520ms ease;
}

.slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,0.9);
  font-size: 1.75rem;
  z-index: 6;
}

.slider-btn.prev { left: 12px; }
.slider-btn.next { right: 12px; }

.slider-indicators {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 12px;
  display: flex;
  gap: 8px;
  z-index: 6;
}

.slider-description {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 6;
  max-width: min(420px, 75%);
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.08));
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.slider-description p {
  margin: 0;
  font-family: var(--body-font);
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ffffff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.indicator {
  width: 24px;
  height: 12px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.indicator::after {
  content: "";
  display: block;
  width: 5px;
  height: 3px;
  background: rgba(255,255,255,0.6);
  transition: width 220ms ease, background-color 220ms ease;
  border-radius: 2px;
}

.indicator.is-active::after {
  width: 10px;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(126,106,166,0.12);
}

@media (max-width: 760px) {
  .slider {
    height: 200px;
  }

  .slider-description {
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: none;
    padding: 12px 14px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.15));
    border-radius: 14px;
  }

  .slider-description p {
    font-size: 0.9rem;
  }
}

.top-card {
  background: linear-gradient(145deg, rgba(248, 240, 255, 0.2), rgba(239, 229, 250, 0.05));
  border: 1px solid rgba(192, 175, 220, 0.75);
  border-radius: 20px;
  padding: 1rem;
  transition: background-color 220ms ease, border 220ms ease, background-image 220ms ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.top-card:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
}

.top-panel {
  position: relative;
}


.top-card h2 {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.top-card p {
  margin-bottom: 0;
  line-height: 1.6;
}

.bottom-panel {
  background: linear-gradient(160deg, rgba(244, 234, 252, 0.2), rgba(235, 223, 248, 0.1) 50%, rgba(228, 214, 245, 0.05));
  border: none;
  border-radius: 20px;
  padding: 0.5rem;
  color: #3e355f;
}

.page-sub-title {
  display: block;
  text-align: left;
  color: var(--text);
  font-family: var(--heading-font);
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0;
  margin-top: 1rem;
}

.tabs-widget {
  height: auto;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.1rem;
}

.tab-nav {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  background: transparent;

  border-radius: 15px;
  margin-bottom: 1rem;
}

.tab-select-wrap {
  display: none;
  width: 100%;
  position: relative;
}

.tab-select-wrap::after {
  content: "▾";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--pc-ink);
  font-size: 1rem;
  pointer-events: none;
}

.tab-select {
  display: none;
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(166, 98, 134, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--pc-ink);
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  text-align: left;
  padding-right: 2.6rem;
  cursor: pointer;
}

.tab-indicator {
  position: absolute;
  top: 0.0rem;
  left: 0.0rem;
  height: calc(100% - 0.0rem);
  border-radius: 15px;  
  /*background: linear-gradient(145deg, rgba(248, 240, 255, 0.5), rgba(239, 229, 250, 0.05));*/
  /*
  background: linear-gradient(135deg, rgba(246, 230, 180, 1) 0%, rgba(248, 240, 255, 0.25) 7%,
                                      rgba(239, 229, 250, 0.75) 95%, rgba(243, 212, 138, 1) 100%);
  */

  background: transparent;
  border: none;
  box-shadow: none;

  /* inner top light */
  inset 0 1px 2px rgba(255, 255, 255, 0.7),

  /* inner bottom depth */
  inset 0 -2px 6px rgba(212, 169, 79, 0.25);

  width: 0;
  z-index: 0;
  transition: none;
}

.tab-indicator.is-ready {
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1),
              width 600ms cubic-bezier(0.22, 1, 0.36, 1);
}
.tab-btn {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  color: rgba(79, 43, 68, 0.92);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 300;
  border-radius: 999px;
  padding: 0.8rem 0.75rem;
  cursor: pointer;
  transition: color 180ms ease;
  white-space: nowrap;
  width: auto;
  text-align: center;
}

.tab-btn.is-active {
  color: #4a2440;
  font-weight: 500;
  border-bottom: 2px solid currentColor;
  border-radius: 0;
}

.tab-content-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  min-height: 215px;
  overflow: hidden;
  transition: height 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tab-content-main {
  position: relative;
  min-height: 215px;
}

.tab-content-image {
  min-height: 215px;
  min-width: 0;
  border-radius: 16px;
  background-image: url("../pictures/rauschenberg_03.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 1;
  transition: opacity 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tab-pane {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(166, 98, 134, 0.35);
  border-radius: 16px;
  padding: 1.5rem;
  
  /*background: rgba(255, 245, 250, 0.35);*/

  /*
  background: linear-gradient(180deg, rgba(214, 209, 218, 0.95) 0%, rgba(206, 201, 210, 0.75) 100%),
              radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 40%);
  */

  background: linear-gradient(180deg, rgba(244, 239, 255, 0.75) 0%, rgba(246, 240, 230, 0.5) 45%, rgba(243, 230, 234, 0.25) 100%),
              radial-gradient(circle at 85% 20%, rgba(255, 220, 200, 0.35) 0%, rgba(255, 220, 200, 0) 40%),
              radial-gradient(circle at 10% 90%, rgba(200, 210, 255, 0.25) 0%, rgba(200, 210, 255, 0) 50%);

  opacity: 0;
  transform: translateY(18px) scale(0.985);
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 520ms ease,
    transform 1620ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 620ms;
}

.tab-pane h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
}

.tab-pane p {
  margin-bottom: 0;
  max-width: 72ch;
  line-height: 1.65;
}

.tab-pane.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
  pointer-events: auto;

  transition:
    opacity 520ms ease 90ms,
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1) 90ms;
}

@media (max-width: 900px) {
  #menuToggle {
    display: block;
  }

  .nav {
    display: none;
  }

  .site-header {
    padding-bottom: 0.5rem;
  }

  .split-shell {
    grid-template-rows: auto auto;
    min-height: 0;
  }

  body {
    overflow-y: auto;
  }

  .top-panel {
    grid-template-columns: 1fr;
  }

  .tabs-widget {
    height: auto;
  }

  .tab-nav {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .tab-btn {
    width: auto;
  }

  .tab-nav {
    border-radius: 18px;
  }
}

@media (max-width: 760px) {
  .page-sub-title {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .bottom-panel {
    padding: 0.65rem;
  }

  .tabs-widget {
    gap: 0.7rem;
  }

  .tab-nav {
    border-radius: 14px;
    padding: 0.32rem;
    gap: 0.32rem;
    display: block;
  }

  .tab-select-wrap {
    display: block;
  }

  .tab-select {
    display: block;
  }

  .tab-indicator {
    display: none;
  }

  .tab-btn {
    display: none;
  }

  .tab-btn.is-active {
    color: #4a2440;
    background: linear-gradient(120deg, #ffd7ea, #ffc2de);
  }

  .tab-content-wrap {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
    height: auto;
    /*min-height: 120px;*/ /* adjust if needed */
  }

  .tab-content-main {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .tab-content-image {
    min-height: 180px;
    margin: 0;
    margin-bottom: 0.75rem;
    order: -1;
  }
  /* specifically increase gap to 12px when Creative Contributor (tab-2) is active */
  .tab-content-image[data-active="tab-2"] {
    margin-bottom: 12px;
  }

  .tab-pane {
    display: none;
    position: relative;
    border-radius: 12px;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    transition: none;
  }

  .tab-pane.is-active {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   Project Card styles — namespaced under .pc / .pc-lightbox
   so they won't collide with the host project.
   ============================================================ */

.pc,
.pc *,
.pc-lightbox,
.pc-lightbox *{ box-sizing: border-box; }

.pc{
  /* tweak these to taste */
  --pc-bg: #f4f5f6;
  --pc-bg-glow: #ffffff;
  --pc-ink: #12131a;
  --pc-ink-soft: #33353f;
  --pc-muted: #8b8d97;
  --pc-img-w: 290px;
  --pc-img-h: 506px;

  max-width: 1000px;
  margin: 24px auto 0;
  padding: 1.3rem 1.1rem;
  display: grid;
  grid-template-columns: minmax(230px, 300px) 1fr;
  column-gap: clamp(20px, 3vw, 44px);
  align-items: start;

  font-family: "Montserrat", system-ui, sans-serif;
  color: var(--pc-ink);
  background: linear-gradient(145deg, rgba(248, 241, 255, 0.8), rgba(240, 230, 250, 0.72));
  border: 1px solid var(--border);
  border-radius: 14px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Left: intro ---------- */
.pc__eyebrow{
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 0.75rem;            /* 12px */
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--pc-ink);
}
.pc__title{
  margin: clamp(20px, 3vw, 34px) 0 clamp(18px, 2.4vw, 30px);
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.pc__ticket-link{
  display: inline-block;
  margin: 24px 0;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--pc-ink);
  text-decoration: none;
}
.pc__ticket-link:hover,
.pc__ticket-link:focus-visible{
  text-decoration: none;
  background: var(--accent-soft);
}
.pc__desc{
  margin: 0;
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.7;
  color: var(--pc-ink-soft);
  max-width: 40ch;
}

/* ---------- Right: scrolling gallery ---------- */
.pc__gallery{
  position: relative;
  min-width: 0;
  padding: 0 clamp(38px, 4vw, 52px);
}
.pc__track{
  display: flex;
  gap: clamp(24px, 2.6vw, 44px);
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  padding-bottom: 8px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.pc__track::-webkit-scrollbar{ display: none; }

.pc__slide{
  flex: 0 0 var(--pc-img-w);
  max-width: min(78vw, calc(100vw - 96px));
  scroll-snap-align: start;
  opacity: .2;
  transform: translateY(10px);
  transition: opacity .5s ease, transform .5s ease;
}
.pc__slide.is-inview{ opacity: 1; transform: none; }
.pc__slide.is-low{ margin-top: 64px; }   /* staggered rhythm */

.pc__counter{
  margin: 0 0 18px;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--pc-ink-soft);
}

.pc__frame{
  position: relative;
  width: 100%;
  aspect-ratio: 290 / 506;
  /* aspect-ratio: var(--pc-img-w) / var(--pc-img-h); */
  overflow: hidden;
  background: #d9d9dc;
  cursor: zoom-in;
  box-shadow: 0 18px 40px -30px rgba(20,20,30,.55);
  transition: transform .4s cubic-bezier(.2,.7,.3,1), box-shadow .4s ease;
}
.pc__frame:hover{
  transform: translateY(-4px);
  box-shadow: 0 28px 56px -34px rgba(20,20,30,.6);
}
.pc__frame:focus-visible{ outline: 2px solid var(--pc-ink); outline-offset: 4px; }
.pc__frame img{ width: 100%; height: 100%; object-fit: cover; display: block; }

.pc__caption{ margin-top: 8px; width: min(100%, var(--pc-img-w)); }
.pc__artist{ margin: 0; font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 16px; color: var(--pc-ink); }
.pc__work{ margin: 2px 0 0; font-size: 15px; color: var(--pc-ink-soft); }
.pc__kind{ margin: 14px 0 0; font-size: 13px; color: var(--pc-muted); }

@media (max-width: 760px){
  .pc__gallery{
    padding: 0 38px;
  }

  .pc__slide{
    flex-basis: min(100%, calc(100vw - 112px));
    max-width: calc(100vw - 112px);
  }

  .pc__caption{
    width: 100%;
  }
}

/* ---------- Scroll arrows ---------- */
.pc__nav{
  position: absolute;
  top: 44%;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: none; border: none; color: var(--pc-ink);
  cursor: pointer; border-radius: 50%;
  transition: transform .25s ease, opacity .3s ease, visibility .3s ease;
}
.pc__nav svg{ width: 32px; height: 32px; }
.pc__nav:focus-visible{ outline: 2px solid var(--pc-ink); outline-offset: 4px; }
.pc__nav--next{ right: 0; }
.pc__nav--next:hover{ transform: translateX(4px); }
.pc__nav--prev{ left: 0; }
.pc__nav--prev:hover{ transform: translateX(-4px); }
.pc__nav[disabled]{ opacity: .2; cursor: default; pointer-events: none; }
.pc__nav--prev.is-hidden{ opacity: 0; visibility: hidden; pointer-events: none; }

/* ---------- Lightbox / full view ---------- */
.pc-lightbox{
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  padding: clamp(20px, 5vh, 64px);
  background: rgba(18,19,26,.34);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
  opacity: 0; visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}
.pc-lightbox.is-open{ opacity: 1; visibility: visible; }

.pc-lightbox__inner{
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  max-height: 100%;
  transform: scale(.94);
  transition: transform .4s cubic-bezier(.2,.7,.3,1);
}
.pc-lightbox.is-open .pc-lightbox__inner{ transform: scale(1); }

.pc-lightbox__frame{
  width: min(72vh * (338 / 506), 88vw);
  aspect-ratio: 338 / 506;
  border-radius: 4px; overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.6);
}
.pc-lightbox__frame img{ width: 100%; height: 100%; object-fit: cover; display: block; }

.pc-lightbox__caption{ text-align: center; color: #fff; }
.pc-lightbox__artist{ margin: 0; font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 18px; }
.pc-lightbox__work{ margin: 2px 0 0; font-size: 16px; opacity: .85; }

.pc-lightbox__close{
  position: fixed; top: 22px; right: 24px;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.14); border: none; color: #fff; cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background .2s ease, transform .2s ease;
}
.pc-lightbox__close:hover{ background: rgba(255,255,255,.26); transform: rotate(90deg); }
.pc-lightbox__close:focus-visible{ outline: 2px solid #fff; outline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 760px){
  .pc{ grid-template-columns: 1fr; row-gap: clamp(28px, 7vw, 44px); }
  .pc__desc{ max-width: none; }
  .pc__gallery{ padding: 0 40px; }
  .pc__slide.is-low{ margin-top: 0; }
}

@media (prefers-reduced-motion: reduce){
  .pc *,
  .pc-lightbox *{ transition: none !important; }
  .pc__track{ scroll-behavior: auto; }
  .pc__slide{ opacity: 1; transform: none; }
}
