/* =========================================
   YUKUGU FOGOLA — MAIN STYLESHEET
   Bento Grid Design System
   ========================================= */


:root {
  
  --color-ink: #1a1a2e;
  --color-ink-light: #2d2d4a;
  --color-ink-muted: #4a4a6a;
  --color-paper: #f8f7f4;
  --color-paper-warm: #f2f0eb;
  --color-paper-mid: #e8e5de;
  --color-accent-primary: #c9a96e;
  --color-accent-secondary: #8b5e3c;
  --color-accent-cool: #3d5a80;
  --color-accent-light: #e8d5b0;
  --color-white: #fdfcfa;
  --color-text-main: #1e1e30;
  --color-text-muted: #5a5a7a;
  --color-text-light: #8a8aaa;

  
  --gradient-hero: linear-gradient(135deg, #1a1a2e 0%, #2d2d4a 50%, #3d5a80 100%);
  --gradient-accent: linear-gradient(135deg, #c9a96e 0%, #8b5e3c 100%);
  --gradient-section: linear-gradient(135deg, #1e1e30 0%, #3d5a80 60%, #c9a96e 100%);
  --gradient-cta: linear-gradient(135deg, #2d2d4a 0%, #3d5a80 100%);

  
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  
  --shadow-card: 0 1px 3px rgba(26,26,46,0.06), 0 4px 12px rgba(26,26,46,0.08), 0 8px 24px rgba(26,26,46,0.04);
  --shadow-card-hover: 0 2px 6px rgba(26,26,46,0.08), 0 8px 24px rgba(26,26,46,0.12), 0 16px 40px rgba(26,26,46,0.08);
  --shadow-nav: 0 1px 0 rgba(26,26,46,0.08), 0 4px 16px rgba(26,26,46,0.12);
  --shadow-float: 0 4px 12px rgba(26,26,46,0.15), 0 12px 32px rgba(26,26,46,0.1);
  --shadow-btn: 0 2px 6px rgba(201,169,110,0.25), 0 4px 12px rgba(201,169,110,0.15);
  --shadow-deep: 0 8px 24px rgba(26,26,46,0.16), 0 24px 64px rgba(26,26,46,0.1);

  
  --transition-fast: 0.15s ease;
  --transition-mid: 0.3s ease;
  --transition-slow: 0.5s ease;

  
  --nav-height: 70px;
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body.canvas {
  font-family: var(--font-body);
  background-color: var(--color-paper);
  color: var(--color-text-main);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; transition: color var(--transition-fast), opacity var(--transition-fast); }

ul { list-style: none; }


h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-ink);
}

h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); letter-spacing: -0.01em; }
h4 { font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 600; }

p { font-size: clamp(0.9rem, 1.2vw, 1.05rem); color: var(--color-text-muted); line-height: 1.8; }


.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-mid);
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
}

.btn--primary {
  background: var(--gradient-accent);
  color: var(--color-white);
  border-color: transparent;
  box-shadow: var(--shadow-btn);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(201,169,110,0.35), 0 8px 24px rgba(201,169,110,0.2);
  opacity: 0.92;
}

.btn--ghost {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.4);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
}

.btn--outline {
  background: transparent;
  color: var(--color-accent-primary);
  border-color: var(--color-accent-primary);
}
.btn--outline:hover {
  background: var(--color-accent-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn--light {
  background: rgba(255,255,255,0.15);
  color: var(--color-white);
  border-color: rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
}
.btn--light:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.6);
}

.btn--sm { padding: 0.625rem 1.25rem; font-size: 0.8rem; }


.drawer--nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--color-ink);
  transition: background var(--transition-mid), box-shadow var(--transition-mid);
}

.drawer--nav.scrolled {
  background: var(--color-ink);
  box-shadow: var(--shadow-nav);
}

.drawer--nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.drawer--nav__logo img { height: 36px; width: auto; }

.drawer--nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent-primary);
  transition: width var(--transition-mid);
}

.nav-link:hover, .nav-link.active { color: var(--color-white); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.drawer--nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.drawer--nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition-mid);
}


.drawer--mobile {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--color-ink);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-mid);
}

.drawer--mobile.open {
  opacity: 1;
  pointer-events: all;
}

.drawer--mobile__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.drawer--mobile__logo img { height: 34px; width: auto; }

.drawer--mobile__close {
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}
.drawer--mobile__close:hover { background: rgba(255,255,255,0.1); }

.drawer--mobile__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  padding: var(--space-lg);
  flex: 1;
  align-content: center;
}

.drawer--mobile__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  transition: all var(--transition-mid);
  min-height: 90px;
}

.drawer--mobile__item i { font-size: 1.5rem; color: var(--color-accent-primary); }

.drawer--mobile__item:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(201,169,110,0.3);
  color: var(--color-white);
}

.drawer--mobile__item--cta {
  background: var(--gradient-accent);
  border-color: transparent;
  color: var(--color-white);
}
.drawer--mobile__item--cta i { color: var(--color-white); }


.stage-curtain {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-mid);
}

.stage-curtain.open {
  opacity: 1;
  pointer-events: all;
}


.stage {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  padding-top: var(--nav-height);
  background: var(--gradient-hero);
  overflow: hidden;
}

.stage__bg-layer {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(61,90,128,0.4) 0%, transparent 70%),
              radial-gradient(ellipse at 10% 80%, rgba(201,169,110,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.stage__content {
  padding: var(--space-3xl) var(--space-xl) var(--space-3xl) clamp(var(--space-lg), 5vw, var(--space-3xl));
  position: relative;
  z-index: 2;
}

.stage__eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-primary);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.stage__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--color-accent-primary);
}

.stage__headline {
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.stage__headline em {
  font-style: italic;
  color: var(--color-accent-primary);
}

.stage__sub {
  color: rgba(255,255,255,0.75);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  max-width: 520px;
  margin-bottom: var(--space-xl);
  line-height: 1.8;
}

.stage__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  align-items: center;
}

.stage__image-frame {
  position: relative;
  height: 100%;
  min-height: 500px;
  overflow: hidden;
}

.stage__image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: opacity var(--transition-slow);
}

.stage__image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--color-ink) 0%, transparent 40%);
  z-index: 1;
}


.stage--inner {
  min-height: 45vh;
  grid-template-columns: 1fr;
  padding: calc(var(--nav-height) + var(--space-2xl)) var(--space-xl) var(--space-2xl);
}

.stage--inner__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.stage--inner__title {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.stage--inner__title em {
  font-style: italic;
  color: var(--color-accent-primary);
}

.stage--inner__sub {
  color: rgba(255,255,255,0.75);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  max-width: 600px;
  margin: 0 auto;
}


.stage--cta {
  min-height: auto;
  grid-template-columns: 1fr;
  padding: var(--space-3xl) var(--space-lg);
  background: var(--gradient-cta);
}

.stage--cta__inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.stage--cta__inner h2 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.stage--cta__inner p {
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-xl);
  font-size: 1.05rem;
}


.stage--thanks {
  min-height: 55vh;
  grid-template-columns: 1fr;
  padding: calc(var(--nav-height) + var(--space-2xl)) var(--space-lg) var(--space-2xl);
  background: var(--gradient-section);
  place-items: center;
}

.stage--thanks__content {
  text-align: center;
  max-width: 600px;
}

.stage--thanks__icon {
  font-size: 4rem;
  color: var(--color-accent-primary);
  margin-bottom: var(--space-md);
}

.stage--thanks__content h1 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.stage--thanks__content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
}


.gallery { padding: var(--space-3xl) var(--space-lg); }

.gallery__container {
  max-width: 1280px;
  margin: 0 auto;
}

.gallery__header {
  max-width: 800px;
  margin: 0 auto var(--space-2xl);
  text-align: center;
}

.gallery__title {
  margin-bottom: var(--space-md);
  color: var(--color-ink);
}

.gallery__title--accent {
  color: var(--color-accent-secondary);
  font-style: italic;
}

.gallery__intro-text {
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.gallery__sub-text {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: var(--space-xl);
  max-width: 600px;
}


.gallery__bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
}

.gallery__cell {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(26,26,46,0.06);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-mid), box-shadow var(--transition-mid);
}

.gallery__cell:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.gallery__cell--2x2 { grid-column: span 2; grid-row: span 2; }
.gallery__cell--2x1 { grid-column: span 2; }
.gallery__cell--1x2 { grid-row: span 2; }
.gallery__cell--1x1 { grid-column: span 1; }


.gallery__cell:has(img) {
  padding: 0;
  justify-content: flex-end;
}

.gallery__cell:has(img) img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery__cell:has(img):hover img { transform: scale(1.04); }

.gallery__cell-overlay {
  position: relative;
  z-index: 2;
  padding: var(--space-lg);
  background: linear-gradient(to top, rgba(26,26,46,0.92) 0%, rgba(26,26,46,0.5) 60%, transparent 100%);
}

.gallery__cell-overlay h3 { color: var(--color-white); margin-bottom: 0.5rem; font-size: 1.4rem; }
.gallery__cell-overlay p { color: rgba(255,255,255,0.8); font-size: 0.9rem; }

.gallery__cell-icon {
  font-size: 2rem;
  color: var(--color-accent-primary);
  margin-bottom: var(--space-sm);
  display: block;
}

.gallery__cell-icon--lg { font-size: 2.5rem; }

.gallery__cell:not(:has(img)) h3 {
  font-size: 1.2rem;
  color: var(--color-ink);
  margin-bottom: 0.5rem;
}

.gallery__cell:not(:has(img)) p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.gallery__cell-wide-content {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.gallery__cell-wide-content h3 { font-size: 1.3rem; color: var(--color-ink); margin-bottom: 0.5rem; }
.gallery__cell-wide-content p { font-size: 0.875rem; }

.gallery__cell-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent-primary);
  margin-top: auto;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: gap var(--transition-fast);
}
.gallery__cell-link:hover { gap: 0.7rem; color: var(--color-accent-secondary); }


.spotlight {
  background: var(--color-ink);
  border-color: transparent;
}

.spotlight:not(:has(img)) h3 { color: var(--color-white); }
.spotlight:not(:has(img)) p { color: rgba(255,255,255,0.7); }
.spotlight:not(:has(img)) .gallery__cell-icon { color: var(--color-accent-primary); }


.gallery--gradient {
  background: var(--gradient-section);
  padding: var(--space-3xl) var(--space-lg);
}

.gallery__gradient-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.gallery__gradient-left h2 { color: var(--color-white); margin-bottom: var(--space-md); }
.gallery__gradient-left p { color: rgba(255,255,255,0.8); margin-bottom: var(--space-md); }
.gallery__gradient-left p:last-of-type { margin-bottom: var(--space-lg); }

.gallery__gradient-right {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.gallery__gradient-right img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  opacity: 0.85;
}

.gallery__gradient-badge {
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-md);
  background: rgba(201,169,110,0.95);
  color: var(--color-ink);
  padding: 0.625rem 1.125rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: blur(8px);
}


.gallery--carousel {
  background: var(--color-paper-warm);
  padding: var(--space-3xl) var(--space-lg);
}

.gallery__swiper {
  margin-top: var(--space-xl);
}

.gallery__slide {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition-mid);
}

.gallery__slide:hover { box-shadow: var(--shadow-card-hover); }

.gallery__slide img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery__slide:hover img { transform: scale(1.03); }

.gallery__slide-content {
  padding: var(--space-md);
}

.gallery__slide-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-primary);
  background: var(--color-accent-light);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.gallery__slide-content h3 {
  font-size: 1.3rem;
  color: var(--color-ink);
  margin-bottom: 0.5rem;
}

.gallery__slide-content p {
  font-size: 0.875rem;
  line-height: 1.6;
}


.gallery--sessions { background: var(--color-paper-warm); }

.gallery__bento--sessions {
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: auto;
}

.gallery__cell--session {
  grid-column: span 1;
  height: auto;
  min-height: 280px;
  justify-content: flex-start;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-xl);
}

.gallery__session-date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.gallery__session-month {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-primary);
}

.gallery__session-day {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-ink);
  line-height: 1;
  margin: 0.25rem 0;
}

.gallery__session-year {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.gallery__session-detail h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.gallery__session-detail p { font-size: 0.875rem; margin-bottom: var(--space-sm); }

.gallery__session-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: var(--space-md);
}

.gallery__session-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  background: var(--color-paper-mid);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.gallery__session-meta i { color: var(--color-accent-primary); font-size: 0.75rem; }


.gallery__bento--audience {
  grid-template-columns: repeat(3, 1fr);
}


.shelf { padding: var(--space-3xl) var(--space-lg); }

.shelf__container {
  max-width: 1280px;
  margin: 0 auto;
}

.shelf__container--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.shelf__container--narrow {
  max-width: 700px;
  text-align: center;
}

.shelf__title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--color-ink);
  margin-bottom: var(--space-md);
}

.shelf__title--center { text-align: center; }

.shelf__desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.shelf__desc--center { text-align: center; max-width: 600px; margin: 0 auto var(--space-xl); }


.shelf--learn { background: var(--color-white); }

.shelf__right {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.shelf__left {
  padding-right: var(--space-lg);
}

.shelf__left .shelf__desc { margin-bottom: var(--space-md); }
.shelf__left .btn { margin-top: var(--space-md); }

.shelf__card {
  background: var(--color-paper);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  border: 1px solid var(--color-paper-mid);
  transition: all var(--transition-mid);
  box-shadow: var(--shadow-card);
}

.shelf__card:hover {
  border-color: var(--color-accent-light);
  box-shadow: var(--shadow-card-hover);
  transform: translateX(4px);
}

.shelf__card-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent-light);
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
}

.shelf__card h4 { color: var(--color-ink); margin-bottom: 0.4rem; }
.shelf__card p { font-size: 0.875rem; }


.shelf--journey { background: var(--color-paper-warm); }

.shelf__journey-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-xl);
  position: relative;
}

.shelf__journey-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(to right, var(--color-accent-primary), var(--color-accent-cool));
  z-index: 0;
}

.shelf__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.shelf__step-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-primary);
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  flex-shrink: 0;
  box-shadow: 0 0 0 6px var(--color-paper-warm), 0 4px 12px rgba(26,26,46,0.2);
  transition: transform var(--transition-mid);
}

.shelf__step:hover .shelf__step-icon { transform: scale(1.1); }

.shelf__step-line { display: none; }

.shelf__step-body { padding: 0 0.5rem; }

.shelf__step-num {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-primary);
  margin-bottom: 0.4rem;
}

.shelf__step-body h4 { font-size: 1rem; color: var(--color-ink); margin-bottom: 0.4rem; }
.shelf__step-body p { font-size: 0.8rem; line-height: 1.6; }


.shelf--curriculum { background: var(--color-white); }

.shelf__module {
  border-radius: var(--radius-xl);
  background: var(--color-paper);
  padding: var(--space-xl);
  margin-bottom: var(--space-lg);
  border: 1px solid var(--color-paper-mid);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition-mid);
}

.shelf__module:hover { box-shadow: var(--shadow-card-hover); }

.shelf__module-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-paper-mid);
  padding-bottom: var(--space-md);
}

.shelf__module-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
  background: var(--color-ink);
  padding: 0.3rem 0.875rem;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.shelf__module-header h2 { font-size: 1.8rem; color: var(--color-ink); }

.shelf__module-body {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: var(--space-xl);
  align-items: start;
}

.shelf__module-text p { margin-bottom: var(--space-md); }
.shelf__module-text h4 { color: var(--color-ink); margin-bottom: 0.75rem; }
.shelf__module-text ul { padding-left: var(--space-md); }
.shelf__module-text ul li { font-size: 0.9rem; color: var(--color-text-muted); margin-bottom: 0.4rem; list-style: disc; }

.shelf__module-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  border: 1px solid var(--color-paper-mid);
}

.shelf__meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.shelf__meta-item i { color: var(--color-accent-primary); width: 16px; }


.shelf--prereqs { background: var(--color-paper-warm); }
.shelf__right--list { padding-left: var(--space-lg); }
.shelf__right--list h3 { font-size: 1.25rem; color: var(--color-ink); margin-bottom: var(--space-md); }

.shelf__checklist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.shelf__checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.shelf__checklist li i { color: var(--color-accent-primary); margin-top: 0.2rem; flex-shrink: 0; }


.shelf--info { background: var(--color-white); }

.shelf__info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.shelf__info-card {
  background: var(--color-paper);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--color-paper-mid);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-mid);
}

.shelf__info-card:hover {
  border-color: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.shelf__info-card i {
  font-size: 1.75rem;
  color: var(--color-accent-primary);
  margin-bottom: var(--space-sm);
  display: block;
}

.shelf__info-card h4 { color: var(--color-ink); margin-bottom: 0.5rem; }
.shelf__info-card p { font-size: 0.875rem; }


.shelf--map { background: var(--color-paper-warm); }
.shelf__map-wrap { margin-top: var(--space-lg); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-deep); }


.shelf--contact { background: var(--color-white); }

.shelf__container--contact {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.shelf__contact-form-wrap h2 { color: var(--color-ink); margin-bottom: 0.5rem; }
.shelf__contact-form-wrap p { margin-bottom: var(--space-lg); }

.shelf__contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.shelf__contact-card {
  background: var(--color-paper);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  border: 1px solid var(--color-paper-mid);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-mid);
}

.shelf__contact-card:hover { border-color: var(--color-accent-light); }

.shelf__contact-card i { font-size: 1.5rem; color: var(--color-accent-primary); margin-bottom: 0.5rem; display: block; }
.shelf__contact-card h4 { color: var(--color-ink); margin-bottom: 0.4rem; font-size: 1rem; }
.shelf__contact-card p { font-size: 0.875rem; }
.shelf__contact-card a { color: var(--color-accent-secondary); }
.shelf__contact-card a:hover { color: var(--color-accent-primary); }

.shelf__contact-card--response {
  background: var(--color-ink);
  border-color: transparent;
}

.shelf__contact-card--response i { color: var(--color-accent-primary); }
.shelf__contact-card--response h4 { color: var(--color-white); }
.shelf__contact-card--response p { color: rgba(255,255,255,0.75); margin-bottom: 0.5rem; }


.shelf--thanks-next {
  background: var(--color-white);
  padding: var(--space-3xl) var(--space-lg);
}

.shelf__thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-xl);
}


.contact-form { display: flex; flex-direction: column; gap: var(--space-md); }

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.contact-form__row--single { grid-template-columns: 1fr; }

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-form__field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-ink);
  letter-spacing: 0.03em;
}

.contact-form__field input,
.contact-form__field textarea {
  padding: 0.875rem 1.125rem;
  border: 2px solid var(--color-paper-mid);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text-main);
  background: var(--color-white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  min-height: 44px;
  width: 100%;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: var(--color-accent-primary);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.15);
}

.contact-form:has(:focus) { border-color: var(--color-accent-primary); }

.contact-form__field textarea { resize: vertical; min-height: 140px; }

.contact-form__privacy {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.contact-form__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.contact-form__checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-height: 20px;
  min-width: 20px;
  flex-shrink: 0;
  accent-color: var(--color-accent-primary);
  margin-top: 0.1rem;
  cursor: pointer;
}

.contact-form__checkbox-label a { color: var(--color-accent-secondary); text-decoration: underline; }

.contact-form__submit { display: flex; }


.shelf--floating {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
}

.shelf--floating__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1rem 0.625rem;
  background: var(--color-accent-primary);
  color: var(--color-ink);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  box-shadow: var(--shadow-float);
  transition: all var(--transition-mid);
  text-decoration: none;
  min-width: 48px;
}

.shelf--floating__btn i { font-size: 1.25rem; }

.shelf--floating__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}

.shelf--floating__btn:hover {
  background: var(--color-accent-secondary);
  color: var(--color-white);
  padding-right: 0.875rem;
  box-shadow: var(--shadow-deep);
}


.canvas--footer {
  background: var(--color-ink);
  color: rgba(255,255,255,0.75);
  margin-top: auto;
}

.canvas--footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
  text-align: center;
}

.canvas--footer__brand img { height: 38px; width: auto; margin: 0 auto var(--space-sm); }
.canvas--footer__brand p { font-size: 0.875rem; color: rgba(255,255,255,0.55); max-width: 400px; }

.canvas--footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  align-items: center;
}

.canvas--footer__nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;
  transition: color var(--transition-fast);
}
.canvas--footer__nav a:hover { color: var(--color-accent-primary); }

.canvas--footer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.canvas--footer__contact p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

.canvas--footer__contact i { color: var(--color-accent-primary); font-size: 0.875rem; }
.canvas--footer__contact a { color: rgba(255,255,255,0.7); transition: color var(--transition-fast); }
.canvas--footer__contact a:hover { color: var(--color-accent-primary); }

.canvas--footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.1);
  width: 100%;
}

.canvas--footer__legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition-fast);
}
.canvas--footer__legal a:hover { color: var(--color-accent-primary); }

.canvas--footer__copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  max-width: 600px;
}


.canvas--legal { background: var(--color-paper); }

.canvas--legal__layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: calc(var(--nav-height) + var(--space-2xl)) var(--space-lg) var(--space-3xl);
  display: grid;
  grid-template-columns: 260px 1fr;
  grid-template-rows: auto 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.canvas--legal__toc-mobile {
  display: none;
  grid-column: 1 / -1;
}

.canvas--legal__toc-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-white);
  border: 1px solid var(--color-paper-mid);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-ink);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.canvas--legal__toc-dropdown {
  background: var(--color-white);
  border: 1px solid var(--color-paper-mid);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.canvas--legal__toc-dropdown a {
  padding: 0.5rem var(--space-sm);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.canvas--legal__toc-dropdown a:hover { background: var(--color-paper); color: var(--color-accent-primary); }

.canvas--legal__sidebar {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-md));
  grid-column: 1;
  grid-row: 1;
}

.canvas--legal__toc-wrap {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  border: 1px solid var(--color-paper-mid);
  box-shadow: var(--shadow-card);
}

.canvas--legal__toc-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-paper-mid);
}

.canvas--legal__toc {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.toc-link {
  display: block;
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  transition: all var(--transition-fast);
  line-height: 1.4;
}

.toc-link:hover { background: var(--color-paper); color: var(--color-accent-primary); border-left-color: var(--color-accent-primary); }
.toc-link.active { background: var(--color-accent-light); color: var(--color-accent-secondary); border-left-color: var(--color-accent-primary); font-weight: 600; }

.canvas--legal__content {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.canvas--legal__header {
  margin-bottom: var(--space-2xl);
}

.canvas--legal__header h1 { color: var(--color-ink); margin-bottom: 0.5rem; }

.canvas--legal__meta {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
  font-style: italic;
}

.canvas--legal__intro {
  font-size: 1rem;
  color: var(--color-text-muted);
  padding: var(--space-md);
  background: var(--color-paper-warm);
  border-left: 4px solid var(--color-accent-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  line-height: 1.8;
}

.canvas--legal__section {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-paper-mid);
}

.canvas--legal__section:last-child { border-bottom: none; }

.canvas--legal__section h2 {
  font-size: 1.6rem;
  color: var(--color-ink);
  margin-bottom: var(--space-md);
}

.canvas--legal__section h3 {
  font-size: 1.1rem;
  color: var(--color-ink);
  margin: var(--space-md) 0 0.5rem;
}

.canvas--legal__section p {
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
  line-height: 1.8;
}

.canvas--legal__section ul {
  padding-left: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.canvas--legal__section ul li {
  list-style: disc;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
  line-height: 1.7;
}

.canvas--legal__section a { color: var(--color-accent-secondary); text-decoration: underline; }
.canvas--legal__section a:hover { color: var(--color-accent-primary); }

.canvas--legal__address-block {
  background: var(--color-paper-warm);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin: var(--space-md) 0;
  border: 1px solid var(--color-paper-mid);
}

.canvas--legal__address-block p { margin: 0; font-size: 0.9rem; line-height: 1.8; }

.canvas--legal__table-wrap { overflow-x: auto; margin: var(--space-md) 0; }

.canvas--legal__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.canvas--legal__table th,
.canvas--legal__table td {
  padding: 0.75rem var(--space-sm);
  text-align: left;
  border-bottom: 1px solid var(--color-paper-mid);
}

.canvas--legal__table th {
  background: var(--color-paper-warm);
  font-weight: 700;
  color: var(--color-ink);
  font-family: var(--font-body);
}

.canvas--legal__table td { color: var(--color-text-muted); }


.cookie-banner {
  position: fixed;
  top: -200px;
  left: 0;
  right: 0;
  z-index: 300;
  background: var(--color-ink-light);
  border-bottom: 1px solid rgba(201,169,110,0.3);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: top 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cookie-banner.visible { top: 0; }

.cookie-banner__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.875rem var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.cookie-banner__text {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  flex: 1;
  min-width: 200px;
}

.cookie-banner__text a { color: var(--color-accent-primary); text-decoration: underline; }

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.5rem 1.125rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--transition-fast);
  min-height: 36px;
  white-space: nowrap;
}

.cookie-btn--settings { background: transparent; color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.3); }
.cookie-btn--settings:hover { background: rgba(255,255,255,0.1); color: var(--color-white); }

.cookie-btn--reject { background: transparent; color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.25); }
.cookie-btn--reject:hover { background: rgba(255,255,255,0.08); color: var(--color-white); }

.cookie-btn--accept { background: var(--color-accent-primary); color: var(--color-ink); border-color: transparent; }
.cookie-btn--accept:hover { background: var(--color-accent-secondary); color: var(--color-white); }


.cookie-modal {
  background: rgba(26,26,46,0.75);
  backdrop-filter: blur(8px);
}

.cookie-modal__box {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  max-width: 520px;
  width: 90%;
  position: relative;
  box-shadow: var(--shadow-deep);
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-modal__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: var(--color-paper);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--color-ink);
  transition: background var(--transition-fast);
}
.cookie-modal__close:hover { background: var(--color-paper-mid); }

.cookie-modal__title { font-size: 1.5rem; color: var(--color-ink); margin-bottom: var(--space-sm); }
.cookie-modal__desc { font-size: 0.875rem; margin-bottom: var(--space-lg); }

.cookie-modal__category {
  border-top: 1px solid var(--color-paper-mid);
  padding: var(--space-md) 0;
}

.cookie-modal__cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-ink);
}

.cookie-modal__category p { font-size: 0.85rem; color: var(--color-text-muted); }

.cookie-toggle--locked {
  font-size: 0.75rem;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.cookie-toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  cursor: pointer;
  flex-shrink: 0;
}

.cookie-toggle-switch input { opacity: 0; width: 0; height: 0; }

.cookie-toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--color-paper-mid);
  border-radius: var(--radius-full);
  transition: background var(--transition-fast);
}

.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: var(--color-white);
  border-radius: 50%;
  transition: transform var(--transition-fast);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.cookie-toggle-switch input:checked + .cookie-toggle-slider { background: var(--color-accent-primary); }
.cookie-toggle-switch input:checked + .cookie-toggle-slider::before { transform: translateX(20px); }

.cookie-modal__actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  justify-content: flex-end;
}


.swiper-pagination-bullet { background: var(--color-accent-primary); opacity: 0.4; }
.swiper-pagination-bullet-active { opacity: 1; background: var(--color-accent-primary); }
.swiper-button-next, .swiper-button-prev { color: var(--color-accent-primary); }
.swiper-button-next::after, .swiper-button-prev::after { font-size: 1.25rem; font-weight: 700; }


@media (max-width: 1100px) {
  .gallery__bento { grid-template-columns: repeat(3, 1fr); }
  .gallery__bento--audience { grid-template-columns: repeat(2, 1fr); }
  .shelf__journey-steps { grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
  .shelf__journey-steps::before { display: none; }
  .shelf__info-grid { grid-template-columns: repeat(2, 1fr); }
  .shelf__module-body { grid-template-columns: 1fr; }
  .shelf__module-meta { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 900px) {
  .drawer--nav__links { display: none; }
  .drawer--nav__hamburger { display: flex; }

  .stage {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .stage__content { padding: calc(var(--nav-height) + var(--space-xl)) var(--space-lg) var(--space-xl); }
  .stage__image-frame { min-height: 300px; }
  .stage__image-frame::before { background: linear-gradient(to bottom, var(--color-ink) 0%, transparent 40%); }

  .gallery__bento { grid-template-columns: repeat(2, 1fr); }
  .gallery__cell--2x2 { grid-column: span 2; }

  .gallery__gradient-content { grid-template-columns: 1fr; }
  .gallery__bento--sessions { grid-template-columns: 1fr; }

  .shelf__container--split { grid-template-columns: 1fr; gap: var(--space-xl); }
  .shelf__right--list { padding-left: 0; }
  .shelf__left { padding-right: 0; }

  .shelf__journey-steps { grid-template-columns: repeat(2, 1fr); }

  .canvas--legal__layout {
    grid-template-columns: 1fr;
    padding-top: calc(var(--nav-height) + var(--space-lg));
  }

  .canvas--legal__toc-mobile { display: block; grid-column: 1; grid-row: 1; }
  .canvas--legal__sidebar { display: none; }
  .canvas--legal__content { grid-column: 1; grid-row: 2; }

  .shelf__container--contact { grid-template-columns: 1fr; }
  .contact-form__row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --space-lg: 1.5rem; --space-xl: 2.5rem; --space-2xl: 4rem; --space-3xl: 5rem; }

  .gallery__bento { grid-template-columns: 1fr; }
  .gallery__cell--2x2 { grid-column: span 1; grid-row: span 1; }
  .gallery__cell--2x1 { grid-column: span 1; }
  .gallery__cell--1x2 { grid-row: span 1; }

  .gallery__bento--audience { grid-template-columns: 1fr; }

  .shelf__journey-steps { grid-template-columns: 1fr; }
  .shelf__info-grid { grid-template-columns: 1fr; }

  .stage__actions { flex-direction: column; align-items: flex-start; }

  .cookie-banner__inner { flex-direction: column; align-items: flex-start; }
  .cookie-banner__actions { width: 100%; justify-content: flex-end; }

  .drawer--mobile__grid { grid-template-columns: 1fr 1fr; }

  .shelf--floating { display: none; }

  .stage--inner { min-height: 35vh; }

  .gallery__bento--sessions { grid-template-columns: 1fr; }

  .stage--thanks { min-height: auto; padding: calc(var(--nav-height) + var(--space-xl)) var(--space-lg) var(--space-xl); }

  .canvas--footer__contact { flex-direction: column; align-items: center; }
}


.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}


.gallery__cell:has(.gallery__cell-icon) {
  background: var(--color-white);
}

.gallery__cell:has(.gallery__cell-icon):hover {
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-paper) 100%);
}

.contact-form:has(:focus) .contact-form__field:has(:focus) label {
  color: var(--color-accent-secondary);
}

.shelf__module:has(.shelf__module-tag) {
  border-left: 4px solid var(--color-accent-primary);
}

.gallery--sessions .gallery__cell:has(.spotlight) {
  background: var(--color-ink);
}