@font-face { font-family: 'IBM Plex Sans'; src: url('../fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('../fonts/ibm-plex-sans-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('../fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('../fonts/ibm-plex-sans-latin-600-italic.woff2') format('woff2'); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('../fonts/ibm-plex-sans-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ink: #111;
  --paper: #fdfdfc;
  --muted: #6b6b6b;
  --line: #e4e4e2;
  --maxw: 1200px;
  --gutter: 2.5rem;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: clip;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'IBM Plex Sans', -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Header / nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 95;
  background: var(--paper);
}

.site-header__inner {
  padding: 1.25rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* News ticker (home page only) */

.news-ticker {
  background: #ececea;
  overflow: hidden;
  white-space: nowrap;
  padding: 0.6rem 0;
}

.news-ticker__track {
  display: block;
  width: 100%;
  overflow: hidden;
}

.news-ticker__inner {
  display: inline-flex;
  white-space: nowrap;
  animation: news-ticker-scroll 49s linear infinite;
  will-change: transform;
}

.news-ticker__inner:hover {
  animation-play-state: paused;
}

.news-ticker__item {
  display: inline-block;
  color: #1f5eff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
  padding-right: 8rem;
}

.news-ticker__item:hover {
  color: #7aa2ff;
}

@keyframes news-ticker-scroll {
  from { transform: translateX(100vw); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .news-ticker__inner {
    animation: none;
  }
}

/* Home collage */

.home-collage {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.home-section {
  position: relative;
  width: calc(100vw - 2 * var(--gutter));
}

.home-section__canvas {
  position: relative;
  width: 100%;
  height: 0;
}

.home-organic-line-slot {
  position: relative;
  height: 0;
  width: calc(100vw - 2 * var(--gutter));
}

.home-organic-line {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 55;
}

.home-organic-line svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.home-organic-line path {
  fill: none;
  stroke: #111;
  stroke-width: 1.3;
  opacity: 0;
  transition: stroke-dashoffset 1.6s ease, opacity 0.8s ease;
}

.home-organic-line.is-visible path {
  opacity: 0.55;
}

@media (prefers-reduced-motion: no-preference) {
  .home-organic-line.is-visible svg {
    animation: home-organic-sway 10s ease-in-out infinite;
  }
}

@keyframes home-organic-sway {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(5px) rotate(0.25deg); }
}

@media (prefers-reduced-motion: reduce) {
  .home-item {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
  .home-item img {
    animation: none !important;
    transition: none !important;
  }
  .home-section__title span,
  .home-section__title .arrow {
    transition: none !important;
  }
  .home-organic-line path {
    transition: none;
    opacity: 0.55;
    stroke-dashoffset: 0 !important;
  }
}

.home-section__title {
  position: absolute;
  display: block;
  font-weight: 700;
  font-size: 5rem;
  line-height: 0.85;
  letter-spacing: -0.02em;
  z-index: 60;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  transform-origin: center center;
  left: 0;
}

.home-section__title span {
  display: inline-block;
  color: #c4c4c2;
  transition: color 0.3s ease;
}

.home-section__title:hover span {
  color: #000;
}

.home-section__title .arrow {
  display: inline-block;
  font-size: 0.4em;
  margin-top: 0.5em;
  color: #c4c4c2;
  transition: color 0.3s ease;
}

.home-section__title:hover .arrow {
  color: #1f5eff;
}

.home-item {
  position: absolute;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.6s ease;
}

.home-item.is-visible {
  opacity: 1;
}

.home-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.5s ease;
}

.home-item:hover img {
  transform: scale(1.04);
}

.home-item--color {
  z-index: 5;
}

.home-tag {
  position: absolute;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #111;
  background: var(--paper);
  padding: 0.35rem 0.7rem;
  border: 1.5px solid #111;
  z-index: 90;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .home-section__canvas {
    height: auto !important;
    padding-top: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .home-section__title {
    position: static;
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 2.2rem !important;
    margin-bottom: 0.5rem;
    padding-left: 0;
  }

  .home-section__title .arrow {
    margin-top: 0;
    margin-left: 0.4rem;
  }

  .home-item {
    position: static;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: auto;
  }

  .home-item--color {
    display: none;
  }

  .home-item img {
    height: auto;
  }

  .home-tag {
    position: static;
    display: inline-block;
    margin-top: -0.5rem;
  }
}

.site-title {
  font-size: 1.4rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 700;
  color: #000;
  display: inline-block;
  border: 1.5px solid #000;
  padding: 0.25rem 0.6rem;
  transition: border-color 0.3s ease;
}

.site-title span {
  display: inline-block;
  color: #000;
  transition: color 0.3s ease;
}

.site-title:hover {
  border-color: #b0b0ae;
}

.site-title:hover span {
  color: #b0b0ae;
}

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

.site-nav a {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.site-nav a[aria-current="page"] {
  color: #000;
  border-bottom-color: #000;
}

.site-nav a:hover {
  color: var(--muted);
}

/* Main / layout */

main {
  max-width: var(--maxw);
  margin: 0;
  padding: 2.5rem var(--gutter) 5rem;
}

.page-title {
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 2.5rem;
  color: #000;
}

/* Gallery grid */

.gallery {
  display: flex;
  gap: 1.5rem;
  width: calc(100vw - 2 * var(--gutter));
}

.gallery__column {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  flex: 1;
  min-width: 0;
}

.gallery__item {
  cursor: pointer;
  margin: 0;
}

.gallery__item img {
  width: 100%;
  height: auto;
  background: #f0f0ee;
}

.gallery__caption {
  margin-top: 0.6rem;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.4;
}

.gallery__caption strong {
  color: var(--ink);
  font-weight: 500;
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.93);
  z-index: 100;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease;
}

.lightbox__stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 1.25rem;
  transform: scale(0.3);
  opacity: 0;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

.lightbox.is-open .lightbox__stage {
  transform: scale(1);
  opacity: 1;
}

.lightbox img {
  max-width: 96vw;
  max-height: 88vh;
  width: auto;
  margin: 0 auto;
}

.lightbox__zoom-wrap {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 96vw;
  max-height: 88vh;
  cursor: zoom-in;
}

.lightbox__zoom-wrap.is-zoomed {
  display: block;
  overflow: auto;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}

.lightbox__zoom-wrap.is-zoomed.is-dragging {
  cursor: grabbing;
}

.lightbox__zoom-wrap.is-zoomed img {
  max-width: none;
  max-height: none;
  display: block;
  margin: 0;
}

.lightbox__zoom-btn {
  position: absolute;
  bottom: 1.5rem;
  left: 1.75rem;
  color: #222;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__zoom-btn svg {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
}

.lightbox__zoom-btn:hover {
  opacity: 0.6;
}

.lightbox__zoom-btn.is-zoomed .lightbox__zoom-plus {
  display: none;
}

.lightbox__caption {
  color: #222;
  font-size: 0.72rem;
  margin-top: 1rem;
  text-align: center;
  max-width: 640px;
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  color: #222;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__close svg {
  width: 1.7rem;
  height: 1.7rem;
  display: block;
}

.lightbox__close:hover {
  opacity: 0.6;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #222;
  cursor: pointer;
  padding: 0.5rem 1rem;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__nav svg {
  width: 2.3rem;
  height: 2.3rem;
  display: block;
}

.lightbox__nav:hover {
  opacity: 0.6;
}

.lightbox__nav--prev { left: 0.5rem; }
.lightbox__nav--next { right: 0.5rem; }

/* Text-based pages (about, contact, news, texts, portfolio) */

.prose {
  max-width: 640px;
  font-size: 0.85rem;
}

.prose p {
  margin: 0 0 1.2rem;
  text-align: justify;
  hyphens: auto;
}

.prose--bio {
  font-size: 1rem;
}

.prose--bio p {
  line-height: 1.6;
}

/* Instagram fixed icon */

.insta-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
  color: #000;
  transition: background 0.25s ease, color 0.25s ease;
}

.insta-fab svg {
  width: 22px;
  height: 22px;
  display: block;
}

.insta-fab:hover {
  background: rgba(255, 255, 255, 0.95);
  color: #1f5eff;
}

.entry-list {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  max-width: 720px;
}

.entry {
  border-bottom: 1px solid var(--line);
  padding-bottom: 2.25rem;
}

.entry:last-child {
  border-bottom: none;
}

.entry__status {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 0.5rem;
}

.entry__meta {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.entry__title {
  font-size: 1.05rem;
  margin: 0 0 0.6rem;
  font-weight: 600;
}

.entry__text {
  color: #333;
  margin: 0 0 0.8rem;
}

a.entry__text--link {
  display: block;
  text-decoration: none;
  transition: color 0.25s ease;
}

a.entry__text--link:hover {
  color: #1f5eff;
  text-decoration: underline;
}

.entry__link {
  font-size: 0.85rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.25s ease;
}

.entry__link:hover {
  color: #b0b0ae;
}

.expo-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 1.2rem;
}

.expo-links a {
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.25s ease;
}

.expo-links a:hover {
  color: #b0b0ae;
}

.portfolio-cta {
  display: inline-block;
  border: 1px solid var(--ink);
  padding: 0.75rem 1.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 1rem;
  transition: color 0.25s ease;
}

.portfolio-cta:hover {
  color: #b0b0ae;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  font-size: 0.95rem;
}

.contact-list a:hover {
  color: #1f5eff;
  text-decoration: underline;
}

.site-footer {
  padding: 1.5rem var(--gutter);
  text-align: left;
  font-size: 0.75rem;
  color: var(--muted);
  flex-shrink: 0;
}

/* Portfolio — exhibitions */

.expo-separator {
  border: none;
  border-top: 1px solid #000;
  margin: 4rem 0 2.5rem;
  width: calc(100vw - 2 * var(--gutter));
}

.expo-intro {
  max-width: none;
  width: calc(100vw - 2 * var(--gutter));
  margin-bottom: 2.5rem;
}

.expo-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.6;
  color: #000;
  margin: 0 0 0.4rem;
}

.expo-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.expo-heading:hover .expo-title a,
.expo-heading:hover .expo-meta a {
  color: #1f5eff;
  text-decoration: underline;
}

.expo-meta {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #000;
  margin-bottom: 1.1rem;
}

.expo-meta a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.expo-description {
  display: flex;
  gap: 3rem;
}

.expo-description__col {
  flex: 1;
  min-width: 0;
}

.expo-description p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #333;
  text-align: justify;
  hyphens: auto;
  margin: 0 0 1rem;
}

.expo-footnote {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .expo-description {
    flex-direction: column;
    gap: 0;
  }
}

/* About layout */

.about-layout {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.about-main {
  flex: 1;
  min-width: 0;
  max-width: 640px;
}

.about-portrait {
  flex: 0 0 340px;
  min-width: 0;
  margin-left: auto;
  position: sticky;
  top: 6rem;
}

.about-portrait img {
  width: 100%;
  height: auto;
}

.about-portrait__credit {
  margin: 0.6rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .about-layout {
    flex-direction: column;
    align-items: stretch;
  }
  .about-main {
    max-width: none;
  }
  .about-portrait {
    position: static;
    flex: none;
    width: 220px;
    order: -1;
  }
}

/* CV (About page) */

.cv {
  max-width: 640px;
  margin-top: 3rem;
}

.cv-section {
  margin-bottom: 2.5rem;
}

.cv-section-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 1rem;
}

.cv-year {
  font-weight: 700;
  font-size: 1rem;
  margin: 1.1rem 0 0.4rem;
}

.cv-year:first-child {
  margin-top: 0;
}

.cv-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cv-list li {
  font-size: 1rem;
  line-height: 1.6;
  color: #222;
  margin-bottom: 0.4rem;
  padding-left: 1.1em;
  position: relative;
}

.cv-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--muted);
}

.cv-list a {
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.25s ease;
}

.cv-list a:hover {
  color: #1f5eff;
}

/* Contact form */

.contact-form {
  max-width: 480px;
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.4rem;
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 0.7rem 0.8rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: #000;
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #000;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  align-self: flex-start;
  border: 1px solid #000;
  background: #fff;
  padding: 0.75rem 1.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
}

.contact-form button:hover {
  background: #000;
  color: #fff;
}

.placeholder-note {
  font-size: 0.78rem;
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fde68a;
  padding: 0.6rem 0.9rem;
  border-radius: 4px;
  margin-bottom: 2rem;
  max-width: 640px;
}

/* Mobile header/nav: fit the whole menu on one line at the top */

@media (max-width: 900px) {
  .site-header__inner {
    padding: 1.1rem 1rem;
    gap: 0.5rem;
  }

  .site-nav {
    gap: 0.5rem;
    row-gap: 0.4rem;
  }

  .site-nav a {
    font-size: 0.7rem;
    letter-spacing: 0;
  }
}
