/* ============================================================
   VARIABLES (:root)
   ============================================================ */
:root {
  --color-text-main: #1a1a1a;
  --color-text-muted: #6b6459;
  --color-text-light: #9a9284;
  --color-text-dim: #b3a998;
  --color-bg-main: #ffffff;
  --color-bg-warm: #f2ede4;
  --color-bg-soft: #faf7f2;
  --color-border: #ece6da;
  --color-border-dark: #e3dbca;
  --color-selection: #e8e0d3;

  --font-main: "Helvetica Neue", Arial, sans-serif;

  --max-width-site: 1100px;
  --max-width-content: 900px;
}

/* ============================================================
   BASE / RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  /* Modern Custom Scrollbar */
  scrollbar-width: thin;
  scrollbar-color: var(--color-border-dark) var(--color-bg-main);
}

/* WebKit Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-main);
}

::-webkit-scrollbar-thumb {
  background: var(--color-border-dark);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-light);
}

body {
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text-main);
  background: var(--color-bg-main);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-text-main);
  text-decoration: none;
}

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

p {
  margin-bottom: 1em;
}
p:last-child {
  margin-bottom: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 400;
  color: var(--color-text-main);
  line-height: 1.3;
}

em, .cursive-text { 
  font-style: italic; 
}

::selection {
  background: var(--color-selection);
  color: var(--color-text-main);
}

/* ============================================================
   LAYOUT & HEADER
   ============================================================ */
.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content { flex: 1; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  padding: 18px 24px !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.site-header-inner {
  max-width: var(--max-width-site);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
}

.site-title {
  font-size: 1.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 26px;
  display: inline-block;
}

.site-title a { color: inherit; }

nav.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 6px;
}

.nav-item { position: relative; }

.nav-link {
  display: block;
  padding: 8px 18px;
  color: var(--color-text-muted);
  transition: background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
  border-radius: 2px;
}

.nav-link:hover,
.nav-item.active > .nav-link {
  color: var(--color-text-main);
  background: var(--color-bg-warm);
}

/* Mobile Header & Fullscreen Nav */
.mobile-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: var(--color-bg-main);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mobile-title {
  font-size: 1.1rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.mobile-title a { color: inherit; }

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-text-main);
  transition: 0.2s;
}

.mobile-nav {
  position: fixed !important;
  inset: 0;
  top: 0 !important;
  z-index: 300 !important;
  background: var(--color-bg-main);
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.mobile-nav .nav-list {
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.mobile-nav .nav-link {
  font-size: 1.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 18px 24px;
  color: var(--color-text-main);
  text-align: center;
  display: block;
}

.mobile-nav .nav-link:hover { color: var(--color-text-light); }

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--color-text-main);
}

.mobile-nav-lang {
  margin-top: 36px;
  display: flex;
  border: 1px solid var(--color-border-dark);
  border-radius: 2px;
  overflow: hidden;
}

.mobile-nav-lang button {
  background: none;
  border: none;
  padding: 10px 22px;
  font-family: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--color-text-muted);
}

.mobile-nav-lang button.active {
  background: var(--color-text-main);
  color: #fff;
}

.lang-switcher {
  display: flex;
  border: 1px solid var(--color-border-dark);
  border-radius: 2px;
  overflow: hidden;
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.lang-switcher button {
  background: none;
  border: none;
  padding: 5px 12px;
  font-family: inherit;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--color-text-muted);
}

.lang-switcher button.active {
  background: var(--color-text-main);
  color: #fff;
}

/* Footer & Global Page Section */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 30px 20px;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--color-text-light);
}

.page-section {
  max-width: var(--max-width-site);
  margin: 0 auto;
  padding: 50px 24px 80px;
}

.page-heading {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-text-light);
  text-align: center;
  margin-bottom: 50px;
}

/* ============================================================
   HOME
   ============================================================ */
.home-hero {
  width: 100%;
  height: 78vh;
  min-height: 420px;
  max-height: 760px;
  background: var(--color-bg-warm); 
  position: relative;
  overflow: hidden;
}

.home-hero img,
.home-hero video {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  background-color: var(--color-bg-warm) !important;
}

.home-intro {
  max-width: 640px;
  margin: 70px auto;
  padding: 0 24px;
  text-align: center;
}

.home-intro h2 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 18px;
}

.home-intro p { color: var(--color-text-muted); }

.hero-overlay-btn {
  position: absolute;
  top: 75%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 28px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #ffffff;
  border-radius: 2px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: all 0.3s ease;
  z-index: 2;
  text-align: center;
}

.hero-overlay-btn .btn-main {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
}

.hero-overlay-btn .btn-sub {
  font-size: 0.70rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.hero-overlay-btn:hover {
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.hero-overlay-btn:hover .btn-main { color: var(--color-text-main); }
.hero-overlay-btn:hover .btn-sub { color: var(--color-text-muted); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 70px;
  align-items: start;
  margin-bottom: 90px;
}

.about-text { order: 1; }

.about-photo {
  order: 2;
  position: sticky;
  top: 40px;
  background: var(--color-bg-warm); 
  padding: 16px;       
  border-radius: 3px;
}

.about-photo img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); 
}

.about-text p {
  margin-bottom: 1.3em;
  color: #4a4a4a;
}

.about-text .instagram-link {
  display: inline-flex;
  margin: 10px 16px 30px 0;
  color: var(--color-text-main);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--color-text-main);
  padding-bottom: 2px;
}

.about-text .instagram-link:last-child { margin-right: 0; }

.about-video {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--color-border);
}

.about-video p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.about-video img {
  max-width: 360px;
  margin: 12px 0;
  border-radius: 2px;
}

/* ============================================================
   PORTFOLIO & PORTFOLIO DETAILS
   ============================================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 3px;
  background: var(--color-bg-warm);
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 100%);
  opacity: 0.7;
  transition: opacity 0.4s ease;
}

.portfolio-card-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  z-index: 2;
}

.portfolio-card-title {
  color: #fff;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.portfolio-card-more {
  color: #fff;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255,255,255,0.7);
  padding: 8px 16px;
  border-radius: 2px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.2s ease, color 0.2s ease;
}

.portfolio-card:hover img { transform: scale(1.045); }
.portfolio-card:hover::after { opacity: 0.8; }
.portfolio-card:hover .portfolio-card-more {
  opacity: 1;
  transform: translateY(0);
}
.portfolio-card:hover .portfolio-card-more:hover {
  background: #fff;
  color: var(--color-text-main);
}

/* Subpage Detail Layout */
.portfolio-detail {
  max-width: var(--max-width-content);
  margin: 0 auto;
  padding: 20px 24px 80px;
}

.back-link {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
  margin-bottom: 34px;
  transition: color 0.2s;
}

.back-link:hover { color: var(--color-text-main); }

.portfolio-detail h1 {
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 26px;
}

.portfolio-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 3rem;
}

.portfolio-description {
  position: static;
  max-width: 700px;
  margin: 0 0 50px 0;
  color: #4a4a4a;
}

.portfolio-description p { margin-bottom: 1em; }
.portfolio-description a {
  color: var(--color-text-main);
  border-bottom: 1px solid var(--color-text-main);
}

.artwork-grid {
  column-count: 3;
  column-gap: 24px;
  background: #f2ede4; 
  padding: 24px;
  border-radius: 3px;
}

.artwork-item {
  break-inside: avoid;
  margin-bottom: 24px;
  border-radius: 2px;
  overflow: hidden;
  background: transparent;
}

.artwork-item.wide { column-span: all; }

.artwork-item img,
.artwork-item video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); 
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.artwork-item:hover img,
.artwork-item:hover video {
  transform: scale(1.025);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox-overlay.active { display: flex; }

.lightbox-container {
  display: flex;
  flex-direction: row;
  width: 90vw;
  max-width: 1400px;
  height: 85vh;
  background: #ffffff;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.lightbox-media-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-warm); 
  padding: 24px;
}

.lightbox-media-wrap img, 
.lightbox-media-wrap video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.lightbox-sidebar {
  width: 320px;
  background: #ffffff;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--color-border);
}

.lightbox-title {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}

.lightbox-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.lightbox-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
  border: none;
  color: #1a1a1a;
  font-size: 1.2rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, background 0.2s ease;
  z-index: 1001;
}

.lightbox-btn:hover {
  background: #f2ede4;
  transform: translateY(-50%) scale(1.08);
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #ffffff;
  border: none;
  color: #1a1a1a;
  font-size: 1.2rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, background 0.2s ease;
  z-index: 1001;
}

.lightbox-close:hover {
  background: #f2ede4;
  transform: scale(1.08);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: var(--color-text-main);
  color: #fff;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.85rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible { transform: translateY(0); }

.cookie-banner p {
  margin: 0;
  color: rgba(255,255,255,0.8);
  max-width: 700px;
}

.cookie-banner a { color: #fff; text-decoration: underline; }

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-accept,
.cookie-decline {
  border: none;
  padding: 9px 20px;
  font-family: inherit;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
}

.cookie-accept { background: #fff; color: var(--color-text-main); }
.cookie-accept:hover { background: var(--color-bg-warm); }
.cookie-decline {
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.3);
}
.cookie-decline:hover { color: #fff; border-color: #fff; }

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  max-width: 700px;      
  margin: 0 auto;
  padding: 0 24px 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: calc(24px + 44px);
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--color-border-dark);
  z-index: 0;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 52px;
  position: relative;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-circle {
  flex-shrink: 0;
  width: 88px;
  display: flex;
  justify-content: center;
  padding-top: 2px;
  position: relative;
  z-index: 1;
}

.timeline-circle-img {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1.5px #d5cbbf;
  background: var(--color-bg-warm);
  flex-shrink: 0;
}

.timeline-circle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timeline-content {
  flex: 1;
  padding-top: 4px;
}

.timeline-title {
  font-size: 1.00rem;
  font-weight: 500;
  color: #000000;
  margin-bottom: 8px;
}

.timeline-date {
  font-size: 0.88rem;
  font-weight: 100;
  color: var(--color-text-dim);
  margin-bottom: 8px;
}

.timeline-body {
  font-size: 0.88rem;
  color: #5a5248;
  line-height: 1.75;
}

/* ============================================================
   EXHIBITIONS / CV
   ============================================================ */
.expo-section {
  max-width: 700px;
  margin: 0 auto;
}

.expo-category {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin: 3.5rem 0 1.5rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 10px;
}

.expo-category:first-child { margin-top: 0; }

.expo-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.expo-date {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
  margin-bottom: 4px;
}

.expo-details {
  color: #5a5248;
  line-height: 1.6;
  font-size: 0.95rem;
}

.expo-details strong {
  color: var(--color-text-main);
  font-weight: 500;
}

/* ============================================================
   ENVIRONMENTAL STATEMENT
   ============================================================ */
.statement-container {
  max-width: var(--max-width-content);
  margin: 0 auto;
  color: #4a4a4a;
}

.statement-intro {
  background: var(--color-bg-warm); 
  padding: 28px 22px;
  border-radius: 3px;
  margin-bottom: 70px;
}

.statement-intro p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-main);
  margin-bottom: 1.2rem;
}

.statement-intro .statement-author {
  margin-top: 2rem;
  margin-bottom: 0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

.statement-block {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}

.statement-block h3, 
.statement-grid-3 h3, 
.statement-grid-2 h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.statement-image img {
  width: 100%;
  border-radius: 2px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  background: var(--color-bg-warm); 
  padding: 16px;
}

.image-caption {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-top: 12px;
}

.statement-divider {
  border: 0;
  height: 1px;
  background: var(--color-border);
  margin: 60px 0;
}

.statement-grid-3, .statement-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.statement-gcc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  background: var(--color-bg-soft);
  padding: 40px;
  border: 1px solid var(--color-border);
  border-radius: 3px;
}

.gcc-logo {
  max-width: 150px;
  flex-shrink: 0;
}

.gcc-text p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.gcc-text a {
  border-bottom: 1px solid var(--color-text-main);
}

.gcc-text a:hover {
  color: var(--color-text-muted);
  border-bottom-color: var(--color-text-muted);
}

/* ============================================================
   RESPONSIVE / MEDIA QUERIES
   ============================================================ */
@media (min-width: 600px) {
  .expo-item {
    flex-direction: row;
    gap: 30px;
  }
  .expo-date {
    flex-shrink: 0;
    width: 140px; 
    margin-bottom: 0;
  }
}

@media (min-width: 768px) {
  .statement-block {
    flex-direction: row;
    align-items: flex-start;
  }
  
  .statement-text { flex: 1.3; }
  .statement-image { flex: 0.8; }

  .block-image-left .statement-image { order: 1; }
  .block-image-left .statement-text {
    order: 2;
    padding-left: 30px;
  }

  .statement-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .statement-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .statement-gcc { flex-direction: row; }
}

@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-photo {
    order: -1;
    position: static;
    max-width: 400px;
    margin: 0 auto 20px;
  }

  .about-text { order: 1; }
}

@media (max-width: 800px) {
  .lightbox-container {
    flex-direction: column;
    height: 90vh;
  }
  
  .lightbox-sidebar {
    width: 100%;
    padding: 24px;
    border-left: none;
    border-top: 1px solid var(--color-border);
    overflow-y: auto;
    max-height: 40%;
    justify-content: flex-start;
  }
  
  .lightbox-media-wrap { height: 60%; }
}

@media (max-width: 768px) {
  .site-header { display: none !important; }
  .mobile-header { display: flex !important; }

  /* Stack detail grid on mobile */
  .portfolio-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .portfolio-description {
    position: static;
  }

  /* Force multi-column layout to stack into a single row/column on mobile */
  .artwork-grid {
    column-count: 1 !important;
    column-gap: 0;
    padding: 16px;
  }
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 18px;
  }

  .cookie-banner-actions { width: 100%; }

  .cookie-accept, .cookie-decline {
    flex: 1;
    text-align: center;
  }

  .lang-switcher {
    position: static;
    transform: none;
    margin-top: 4px;
  }
}

@media (max-width: 560px) {
  .portfolio-grid { grid-template-columns: 1fr; }

  .portfolio-card { aspect-ratio: 4 / 3; }

  .lightbox-btn {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }

  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }

  .timeline::before { left: calc(24px + 30px); }
  .timeline-circle { width: 60px; }
  .timeline-circle-img { width: 48px; height: 48px; }
  .timeline-item { gap: 16px; }

  .about-grid { gap: 30px; }
  .about-photo { max-width: 100%; padding: 12px; }
  .about-text p { font-size: 0.95rem; line-height: 1.6; }

  .page-section { padding: 30px 16px 60px; }
  .hero-overlay-btn { width: 88%; padding: 12px 16px; }
  .hero-overlay-btn .btn-main { font-size: 0.72rem; }
}


/* Timeline image link hover effect */
.timeline-link {
  display: block;
  text-decoration: none;
}

.timeline-link:hover .timeline-circle-img {
  transform: scale(1.05);
  box-shadow: 0 0 0 2px var(--color-text-main);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}