/* ==========================================================================
   ARC (Art & Reverie Creations) — Museum-Grade White Gallery Stylesheet
   Structural wireframe inspired by Leica Camera (leica-camera.com/en-int)
   Clean White Museum Canvas with High-Contrast Violet Ink & Magenta Accents
   ========================================================================== */

:root {
  /* ARC Light Museum Canvas & High-Contrast Brand Tokens */
  --arc-bg: #FFFFFF;
  --arc-bg-soft: #FAF9FC;
  --arc-surface: rgba(84, 63, 153, 0.05);
  --arc-surface-hover: rgba(84, 63, 153, 0.09);

  --arc-ink: #160F29;          /* Primary high-contrast Obsidian Violet */
  --arc-midnight: #3E2A71;     /* Deep Midnight Violet */
  --arc-body: rgba(22, 15, 41, 0.78);
  --arc-muted: rgba(22, 15, 41, 0.56);

  --arc-hairline: rgba(62, 42, 113, 0.14);
  --arc-hairline-strong: rgba(62, 42, 113, 0.28);

  --arc-magenta: #EF539E;
  --arc-magenta-hover: #D93B87;
  --arc-cat-exhibitions: #EF539E;
  --arc-cat-projects: #543F99;
  --arc-cat-events: #0E9AA7;
  --arc-white: #FFFFFF;

  /* Leica-Inspired Structural Proportions */
  --header-h: 77px;
  --header-h-sticky: 64px;
  --container-max: 1440px;
  --gutter-desktop: 56px;
  --gutter-wide: 88px;
  --gutter-tablet: 40px;
  --gutter-mobile: 20px;

  /* Typography */
  --font-serif: 'Cormorant Garamond', 'Noto Serif Thai', Georgia, serif;
  --font-sans: 'Outfit', 'Noto Sans Thai', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Motion */
  --ease-editorial: cubic-bezier(0.22, 1, 0.36, 1);

  /* ARC 4-Pointed Star Bullet Mask */
  --arc-star-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C12 8.4 15.6 12 24 12C15.6 12 12 15.6 12 24C12 15.6 8.4 12 0 12C8.4 12 12 8.4 12 0Z'/%3E%3C/svg%3E");
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--arc-bg);
  color: var(--arc-ink);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  position: relative;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.65;
  color: var(--arc-body);
  background-color: var(--arc-bg);
  overflow-x: hidden;
}

html[data-lang="th"] body {
  line-height: 1.8;
}

html[data-lang="th"] .section-heading,
html[data-lang="th"] .modal-title {
  font-family: 'Noto Serif Thai', 'Cormorant Garamond', serif;
  font-weight: 500;
  letter-spacing: 0.01em;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* Ultra-Subtle Gallery Light Veil */
.ambient-mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 65% 48% at 12% 8%, rgba(139, 95, 168, 0.045) 0%, transparent 65%),
    radial-gradient(ellipse 55% 45% at 88% 24%, rgba(239, 83, 158, 0.03) 0%, transparent 64%);
}

main,
header,
footer {
  position: relative;
  z-index: 1;
}

/* Container (Leica margin cadence) */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter-desktop);
}

/* ==========================================================================
   1. Top Navigation Bar (Transparent over Hero → Solid White on Scroll — Leica)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: linear-gradient(180deg, rgba(22, 15, 41, 0.42) 0%, rgba(22, 15, 41, 0) 100%);
  border-bottom: 1px solid transparent;
  transition: height 0.35s var(--ease-editorial),
              background-color 0.35s var(--ease-editorial),
              border-color 0.35s var(--ease-editorial),
              box-shadow 0.35s var(--ease-editorial);
}

.site-header.is-scrolled {
  height: var(--header-h-sticky);
  background: var(--arc-white);
  border-bottom-color: var(--arc-hairline);
  box-shadow: 0 4px 24px rgba(22, 15, 41, 0.06);
}

.header-inner {
  width: 100%;
  max-width: 1920px;
  height: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter-desktop);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand-logo {
  position: relative;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  height: 38px;
  transition: opacity 0.25s ease, height 0.3s var(--ease-editorial);
}

.site-header.is-scrolled .brand-logo {
  height: 32px;
}

.brand-logo:hover {
  opacity: 0.88;
}

.brand-logo-img {
  height: 100%;
  width: auto;
  object-fit: contain;
  transition: opacity 0.3s var(--ease-editorial);
}

.brand-logo-white {
  opacity: 1;
}

.brand-logo-color {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.site-header.is-scrolled .brand-logo-white {
  opacity: 0;
}

.site-header.is-scrolled .brand-logo-color {
  opacity: 1;
}

/* Center Nav: 4 Links Only */
.primary-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 44px;
}

.nav-link {
  position: relative;
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  padding-block: 6px;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background-color: var(--arc-magenta);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-editorial);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--arc-white);
}

.site-header.is-scrolled .nav-link {
  color: rgba(22, 15, 41, 0.78);
}

.site-header.is-scrolled .nav-link:hover,
.site-header.is-scrolled .nav-link.is-active {
  color: var(--arc-ink);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Right Actions: EN | ไทย */
.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(22, 15, 41, 0.24);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled .lang-toggle {
  border-color: var(--arc-hairline);
  background: var(--arc-surface);
}

.lang-btn {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.76);
  padding: 2px 3px;
  transition: color 0.2s ease;
}

.lang-btn:hover {
  color: var(--arc-white);
}

.site-header.is-scrolled .lang-btn {
  color: rgba(22, 15, 41, 0.56);
}

.site-header.is-scrolled .lang-btn:hover {
  color: var(--arc-ink);
}

.lang-btn.is-active,
.site-header.is-scrolled .lang-btn.is-active {
  color: var(--arc-magenta);
  font-weight: 600;
}

.lang-divider {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  user-select: none;
  transition: color 0.3s ease;
}

.site-header.is-scrolled .lang-divider {
  color: rgba(22, 15, 41, 0.24);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  transition: border-color 0.3s ease;
}

.site-header.is-scrolled .mobile-menu-btn {
  border-color: var(--arc-hairline-strong);
}

.menu-line {
  width: 16px;
  height: 1.5px;
  background-color: var(--arc-white);
  transition: transform 0.3s var(--ease-editorial), opacity 0.2s ease, background-color 0.3s ease;
}

.site-header.is-scrolled .menu-line,
.mobile-menu-btn.is-open .menu-line {
  background-color: var(--arc-ink);
}

.mobile-menu-btn.is-open {
  border-color: var(--arc-hairline-strong);
}

.mobile-menu-btn.is-open .menu-line:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.mobile-menu-btn.is-open .menu-line:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* Mobile Drawer (Solid White) */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--arc-bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-editorial);
}

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

.mobile-drawer-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 112px 28px 44px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
}

.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 500;
  color: var(--arc-ink);
  padding-block: 18px;
  border-bottom: 1px solid var(--arc-hairline);
  transition: color 0.2s ease, padding-left 0.25s var(--ease-editorial);
}

.mobile-nav-link:hover {
  color: var(--arc-magenta);
  padding-left: 8px;
}

.mobile-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--arc-muted);
  font-size: 0.9rem;
}

.mobile-drawer-email {
  color: var(--arc-magenta);
  font-weight: 500;
}

/* ==========================================================================
   2. Hero Showcase (Full-Viewport Leica Height · Interlocking Trapezoid Strip)
   ========================================================================== */
.hero-showcase {
  --hero-h: 100vh;
  --hero-h: 100svh;
  position: relative;
  width: 100%;
  height: var(--hero-h);
  min-height: 0;
  max-height: none;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  background: var(--arc-ink);
  border-bottom: 1px solid var(--arc-hairline);
  overflow: hidden;
}

.hero-marquee {
  position: relative;
  flex: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding-block: 0;
}

.hero-marquee-track {
  display: flex;
  align-items: stretch;
  gap: 0;
  height: 100%;
  width: max-content;
  will-change: transform;
}

/* Slanted Trapezoid Frames — Locked to Exact Admin Crop Aspect Ratios Across All Screen Sizes */
.hero-frame {
  --slant: calc(var(--hero-h) * 0.1067);
  --seam: 4px;
  position: relative;
  flex: 0 0 auto;
  width: calc(var(--hero-h) * 0.8644);
  height: 100%;
  margin-left: calc((var(--slant) - var(--seam)) * -1);
  clip-path: polygon(var(--slant) 0%, 100% 0%, calc(100% - var(--slant)) 100%, 0% 100%);
  overflow: hidden;
  background: var(--arc-ink);
  border: none;
  z-index: 1;
  transition: filter 0.4s ease;
}

.hero-frame--wide {
  width: calc(var(--hero-h) * 1.2478);
}

.hero-frame--wide .hero-video {
  object-position: center 45%;
}

.hero-frame--duo {
  width: calc(var(--hero-h) * 1.3444);
}

.hero-frame--duo .hero-video {
  object-position: 62% center;
}

.hero-frame--squad {
  width: calc(var(--hero-h) * 1.7778);
}

.hero-frame--squad .hero-video {
  object-position: center center;
}

.hero-frame:hover {
  z-index: 3;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.03);
  transition: transform 0.9s var(--ease-editorial), filter 0.5s ease;
}

.hero-video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.45s ease;
}

.hero-frame.is-yt-playing .hero-video-poster {
  opacity: 0;
}

.hero-yt-shield {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: auto;
  background: transparent;
}

.hero-frame::after {
  z-index: 4;
}

.hero-frame-tag {
  z-index: 5;
}

/* YouTube Hero Embed (yt.html technique: edge-to-edge, pointer-events: none, Admin crop-synced) */
.hero-yt-iframe {
  position: absolute;
  left: var(--crop-x, 50%);
  top: var(--crop-y, 50%);
  width: calc(var(--hero-h) * 1.7778);
  height: var(--hero-h);
  min-width: 100%;
  min-height: 100%;
  border: 0;
  z-index: 1;
  pointer-events: none;
  filter: saturate(1.05) contrast(1.03);
  transform: translate(calc(-1 * var(--crop-x, 50%)), calc(-1 * var(--crop-y, 50%)))
    scale(calc(1.16 * var(--crop-scale, 1)));
}

/* Vertical 9:16 YouTube Shorts (e.g. AOD Sunna): scale height so 9:16 fills full trapezoid width with zero black bars */
.hero-frame.is-yt-vertical .hero-yt-iframe {
  width: calc(var(--hero-h) * 1.65);
  height: calc(var(--hero-h) * 1.65);
  transform: translate(calc(-1 * var(--crop-x, 50%)), calc(-1 * var(--crop-y, 50%)))
    scale(calc(1.08 * var(--crop-scale, 1)));
}

.hero-frame:hover .hero-video {
  transform: scale(1.04);
}

.hero-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(22, 15, 41, 0.22) 0%,
    rgba(22, 15, 41, 0.02) 34%,
    rgba(22, 15, 41, 0.28) 62%,
    rgba(16, 10, 32, 0.86) 100%
  );
  pointer-events: none;
}

/* Crisp Editorial Caption Plaque (Magenta Date / White Title / Location) */
.hero-frame-tag {
  position: absolute;
  left: 38px;
  right: calc(var(--slant) + 28px);
  bottom: 92px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  color: var(--arc-white);
  text-shadow: 0 2px 14px rgba(10, 6, 22, 0.78);
  pointer-events: none;
}

.frame-date {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--arc-magenta);
}

.frame-title {
  font-family: var(--font-sans);
  font-size: clamp(1.18rem, 1.55vw, 1.58rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--arc-white);
}

.frame-loc {
  font-size: 0.875rem;
  font-weight: 300;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.84);
}

/* Ultra-Minimal Gallery Projection Bar Overlaid on Bottom of Full-Bleed Hero */
.hero-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  width: 100%;
  padding-block: 24px 28px;
  background: linear-gradient(180deg, rgba(22, 15, 41, 0) 0%, rgba(22, 15, 41, 0.72) 100%);
  pointer-events: none;
}

.hero-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.hero-whisper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-whisper-eyebrow {
  color: var(--arc-white);
  font-weight: 600;
}

.hero-whisper-sep {
  color: var(--arc-magenta);
}

.hero-whisper-sub {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 300;
}

/* Leica-Inspired Prominent Pill CTA with ARC Magenta Dot */
.hero-pill-btn {
  pointer-events: auto;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 48px;
  padding: 0 22px 0 28px;
  border-radius: 999px;
  white-space: nowrap;
  background: rgba(22, 15, 41, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--arc-white);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 30px rgba(10, 6, 22, 0.38);
  transition: background-color 0.25s ease,
              border-color 0.25s ease,
              transform 0.3s var(--ease-editorial),
              box-shadow 0.3s ease;
}

.hero-pill-btn:hover {
  background: rgba(34, 22, 66, 0.96);
  border-color: rgba(239, 83, 158, 0.65);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(239, 83, 158, 0.24);
}

.hero-pill-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--arc-magenta);
  box-shadow: 0 0 10px rgba(239, 83, 158, 0.7);
  transition: transform 0.25s var(--ease-editorial);
}

.hero-pill-btn:hover .hero-pill-dot {
  transform: scale(1.25);
}

/* ==========================================================================
   3. Main Gallery Body (4 Alternating 50/50 Split Rows)
   ========================================================================== */
.gallery-section {
  padding-block: clamp(72px, 8.5vw, 124px);
  border-bottom: 1px solid var(--arc-hairline);
  scroll-margin-top: var(--header-h-sticky);
  background-color: var(--arc-bg);
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(40px, 5.5vw, 88px);
}

/* Media Column & Carousel (4:5 Portrait — 1080×1350 Facebook Single Post Ratio) */
.split-media {
  width: 100%;
  display: flex;
  justify-content: center;
}

.carousel {
  width: 100%;
  max-width: 520px;
}

.carousel--wide {
  max-width: none;
}

.carousel--hero-scale {
  max-width: none;
}

.carousel-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--arc-bg-soft);
  border: 1px solid var(--arc-hairline);
}

.carousel--wide .carousel-viewport {
  aspect-ratio: 3 / 2;
}

.carousel--hero-scale .carousel-viewport {
  aspect-ratio: 16 / 10;
}

/* Large Full-Width Projects Showcase */
.projects-showcase {
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 4.5vw, 56px);
}

.projects-media-large {
  width: 100%;
}

.projects-caption-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.projects-caption-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.projects-caption-details .section-meta-list {
  margin-bottom: 0;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.85s var(--ease-editorial);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-editorial);
}

.carousel-viewport:hover .carousel-slide img {
  transform: scale(1.025);
}

/* Subtle Carousel Controls */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--arc-hairline);
  color: var(--arc-ink);
  font-size: 1rem;
  opacity: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity 0.28s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.carousel-viewport:hover .carousel-arrow,
.carousel-viewport:focus-within .carousel-arrow {
  opacity: 1;
}

.carousel-arrow:hover {
  background: var(--arc-magenta);
  border-color: var(--arc-magenta);
  color: var(--arc-white);
}

.carousel-prev {
  left: 16px;
}

.carousel-next {
  right: 16px;
}

/* Minimal Pagination Indicators */
.carousel-footer {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.carousel-dot {
  width: 28px;
  height: 14px;
  background: rgba(22, 15, 41, 0.24);
  padding: 6px 0;
  background-clip: content-box;
  transition: background-color 0.3s ease, width 0.35s var(--ease-editorial);
}

.carousel-dot:hover {
  background-color: rgba(22, 15, 41, 0.5);
}

.carousel-dot.is-active {
  width: 44px;
  background-color: var(--arc-magenta);
}

.carousel-counter {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--arc-muted);
  font-variant-numeric: tabular-nums;
}

/* Caption Column Typography (Leica Hierarchy — Dark Ink on White) */
.split-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 560px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--arc-muted);
  margin-bottom: 18px;
}

.eyebrow-num {
  color: var(--arc-magenta);
  font-weight: 600;
}

.eyebrow-slash {
  opacity: 0.4;
}

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 3.6vw, 3.375rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--arc-ink);
  margin-bottom: 24px;
}

.section-lead {
  font-size: clamp(1.0625rem, 1.25vw, 1.1875rem);
  font-weight: 400;
  line-height: 1.68;
  color: var(--arc-ink);
  margin-bottom: 18px;
}

.section-lead em {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.12em;
  color: var(--arc-midnight);
}

.section-body {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.72;
  color: var(--arc-body);
  margin-bottom: 28px;
}

/* Projects Meta Highlights & Store Specs */
.section-meta-list,
.edition-specs {
  width: 100%;
  border-top: 1px solid var(--arc-hairline);
  margin-bottom: 32px;
}

.meta-item,
.spec-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-block: 14px;
  border-bottom: 1px solid var(--arc-hairline);
}

.meta-label,
.spec-key {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--arc-muted);
  font-weight: 500;
}

.meta-value,
.spec-val {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--arc-ink);
}

.meta-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}

.meta-bullets li {
  position: relative;
  padding-left: 20px;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--arc-ink);
}

.meta-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.38em;
  width: 11px;
  height: 11px;
  background-color: var(--arc-magenta);
  -webkit-mask: var(--arc-star-mask) no-repeat center / contain;
  mask: var(--arc-star-mask) no-repeat center / contain;
}

/* About Regional Pillars */
.pillars-row {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 6px;
}

.pillar-chip {
  padding: 16px 14px;
  background: var(--arc-surface);
  border: 1px solid var(--arc-hairline);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pillar-region {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--arc-midnight);
  line-height: 1.2;
}

.pillar-role {
  font-size: 0.75rem;
  color: var(--arc-muted);
  letter-spacing: 0.04em;
}

/* Service List */
.service-list {
  list-style: none;
  width: 100%;
  border-top: 1px solid var(--arc-hairline);
}

.service-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  padding-block: 16px;
  border-bottom: 1px solid var(--arc-hairline);
  align-items: start;
}

.service-index {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--arc-magenta);
  padding-top: 4px;
  font-weight: 600;
}

.service-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--arc-ink);
  margin-bottom: 4px;
}

.service-desc {
  font-size: 0.92rem;
  line-height: 1.62;
  color: var(--arc-body);
}

/* Editorial Links & Magenta CTAs */
.section-cta-wrap {
  display: flex;
  align-items: center;
}

.editorial-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--arc-ink);
  padding-bottom: 6px;
  border-bottom: 1.5px solid var(--arc-magenta);
  transition: color 0.25s ease, gap 0.3s var(--ease-editorial);
}

.editorial-link:hover {
  color: var(--arc-magenta);
  gap: 18px;
}

.btn-outline-magenta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 30px;
  border-radius: 999px;
  border: 1.5px solid var(--arc-magenta);
  color: var(--arc-magenta);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  transition: background-color 0.3s var(--ease-editorial),
              color 0.25s ease,
              transform 0.3s var(--ease-editorial),
              box-shadow 0.3s ease;
}

.btn-outline-magenta:hover {
  background-color: var(--arc-magenta);
  color: var(--arc-white);
  box-shadow: 0 10px 28px rgba(239, 83, 158, 0.28);
  transform: translateY(-1px);
}

.btn-solid-magenta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 34px;
  border-radius: 999px;
  background-color: var(--arc-magenta);
  color: var(--arc-white);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 0.25s ease, transform 0.3s var(--ease-editorial), box-shadow 0.3s ease;
}

.btn-solid-magenta:hover {
  background-color: var(--arc-magenta-hover);
  box-shadow: 0 10px 30px rgba(239, 83, 158, 0.32);
  transform: translateY(-1px);
}

.cta-arrow {
  transition: transform 0.3s var(--ease-editorial);
}

.btn-outline-magenta:hover .cta-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   3B. Leica "The World of..." 2-Up Showcase (About & Service)
   ========================================================================== */
.world-section {
  padding-bottom: clamp(72px, 7.5vw, 112px);
}

.world-intro {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(44px, 5vw, 68px);
}

.world-heading {
  margin-bottom: 20px;
}

.world-lead {
  font-size: clamp(0.95rem, 1.1vw, 1.0625rem);
  font-weight: 300;
  line-height: 1.72;
  color: var(--arc-body);
}

.world-grid-wrap {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

.world-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  background: var(--arc-bg);
}

.world-tile {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--arc-ink);
  scroll-margin-top: var(--header-h-sticky);
}

.world-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--arc-ink);
}

.world-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 1.1s var(--ease-editorial);
}

.world-frame--about img {
  object-position: center center;
}

.world-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(22, 15, 41, 0.02) 52%,
    rgba(22, 15, 41, 0.76) 100%
  );
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.35s ease;
}

.world-tile:hover .world-frame img {
  transform: scale(1.03);
}

.world-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: clamp(22px, 2.8vw, 36px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  pointer-events: none;
}

.world-overlay-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.world-tile-title {
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 1.9vw, 1.75rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--arc-white);
}

.world-tile-sub {
  font-size: clamp(0.875rem, 1vw, 0.95rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.86);
}

.world-pill {
  flex: 0 0 auto;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--arc-ink);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.world-tile:hover .world-pill {
  background: var(--arc-magenta);
  color: var(--arc-white);
}

/* ==========================================================================
   3C. Store Section (Centered 4:5 Photo + Visit Store Button Only)
   ========================================================================== */
.store-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.store-eyebrow {
  margin-bottom: 0;
}

.store-single-frame {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--arc-hairline-strong);
  background: var(--arc-bg-soft);
  box-shadow: 0 18px 48px rgba(22, 15, 41, 0.08);
}

.store-single-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-editorial);
}

.store-single-frame:hover img {
  transform: scale(1.025);
}

.store-cta-wrap {
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   4. Institutional Footer (Clean White Museum Surface)
   ========================================================================== */
.site-footer {
  background-color: var(--arc-bg-soft);
  padding-top: clamp(64px, 7vw, 96px);
  padding-bottom: 44px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--arc-hairline);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Circular Vibrant ARC Emblem Seal */
.footer-seal {
  position: relative;
  flex: 0 0 auto;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  border: 1.5px solid var(--arc-hairline-strong);
  background: var(--arc-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-shadow: 0 6px 24px rgba(62, 42, 113, 0.08);
}

.footer-seal::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px solid var(--arc-hairline);
  pointer-events: none;
}

.footer-seal-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-identity {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-studio-name {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--arc-midnight);
}

.footer-location {
  font-size: 0.95rem;
  color: var(--arc-body);
}

.footer-domain {
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  color: var(--arc-muted);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.footer-contact-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--arc-muted);
  font-weight: 500;
}

.footer-contact-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-email-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--arc-ink);
  border-bottom: 1px solid var(--arc-hairline-strong);
  padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.footer-email-link:hover {
  color: var(--arc-magenta);
  border-color: var(--arc-magenta);
}

/* Social Media Horizontal Bar (7 Channels) */
.footer-social-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: 30px;
  border-bottom: 1px solid var(--arc-hairline);
}

.social-bar-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--arc-muted);
  font-weight: 500;
  white-space: nowrap;
}

.social-list {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.social-icon-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--arc-hairline-strong);
  background: var(--arc-white);
  color: var(--arc-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s ease,
              background-color 0.25s ease,
              color 0.25s ease,
              transform 0.25s var(--ease-editorial),
              box-shadow 0.25s ease;
}

.social-icon-link svg {
  width: 18px;
  height: 18px;
  display: block;
}

.social-icon-pill {
  width: auto;
  padding-inline: 12px;
  border-radius: 999px;
}

.social-mask {
  display: block;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.social-mask-xhs {
  width: 36px;
  height: 15px;
  -webkit-mask-image: url('assets/icons/xhs.png');
  mask-image: url('assets/icons/xhs.png');
}

.social-mask-bilibili {
  width: 20px;
  height: 19px;
  -webkit-mask-image: url('assets/icons/bilibili.png');
  mask-image: url('assets/icons/bilibili.png');
}

.social-mask-douyin {
  width: 30px;
  height: 15px;
  -webkit-mask-image: url('assets/icons/douyin.png');
  mask-image: url('assets/icons/douyin.png');
}

.social-icon-link:hover {
  border-color: var(--arc-magenta);
  background-color: var(--arc-magenta);
  color: var(--arc-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(239, 83, 158, 0.25);
}

/* Footer Bottom */
.footer-bottom {
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-admin-link {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--arc-muted);
  transition: color 0.2s ease;
}

.footer-admin-link:hover {
  color: var(--arc-magenta);
}

/* ==========================================================================
   5. BACC-Inspired Archive Blog Pages (projects.html, about.html, service.html)
   ========================================================================== */
.site-header.header-solid {
  height: var(--header-h-sticky);
  background: var(--arc-white);
  border-bottom: 1px solid var(--arc-hairline);
}

.site-header.header-solid .brand-logo {
  height: 32px;
}

.site-header.header-solid .brand-logo-white {
  opacity: 0;
}

.site-header.header-solid .brand-logo-color {
  opacity: 1;
}

.site-header.header-solid .nav-link {
  color: rgba(22, 15, 41, 0.78);
}

.site-header.header-solid .nav-link:hover,
.site-header.header-solid .nav-link.is-active {
  color: var(--arc-ink);
}

.site-header.header-solid .lang-toggle {
  border-color: var(--arc-hairline);
  background: var(--arc-surface);
}

.site-header.header-solid .lang-btn {
  color: rgba(22, 15, 41, 0.56);
}

.site-header.header-solid .lang-btn.is-active {
  color: var(--arc-magenta);
}

.site-header.header-solid .lang-divider {
  color: rgba(22, 15, 41, 0.24);
}

.site-header.header-solid .mobile-menu-btn {
  border-color: var(--arc-hairline-strong);
}

.site-header.header-solid .menu-line {
  background-color: var(--arc-ink);
}

.blog-main {
  padding-top: calc(var(--header-h-sticky) + clamp(44px, 5vw, 72px));
  padding-bottom: clamp(64px, 7vw, 104px);
  background: var(--arc-bg);
}

.archive-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.archive-header-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.archive-title {
  font-family: var(--font-sans);
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--arc-ink);
  letter-spacing: -0.015em;
}

.archive-subtitle {
  font-size: 0.98rem;
  color: var(--arc-muted);
  max-width: 640px;
}

.archive-search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.archive-search-input {
  width: 260px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--arc-hairline-strong);
  background: var(--arc-white);
  font: inherit;
  font-size: 0.875rem;
  color: var(--arc-ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.archive-search-input::placeholder {
  color: var(--arc-muted);
}

.archive-search-input:focus {
  border-color: var(--arc-magenta);
  box-shadow: 0 0 0 3px rgba(239, 83, 158, 0.12);
}

/* Category Filter Bar (Projects / Exhibitions / Events) */
.archive-filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: -12px;
  margin-bottom: clamp(24px, 3vw, 34px);
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--arc-hairline-strong);
  background: var(--arc-white);
  color: var(--arc-ink);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.filter-pill:hover {
  border-color: var(--pill-accent, var(--arc-ink));
  color: var(--pill-accent, var(--arc-ink));
}

.filter-pill-star {
  width: 10px;
  height: 10px;
  background-color: var(--pill-accent, var(--arc-ink));
  -webkit-mask: var(--arc-star-mask) no-repeat center / contain;
  mask: var(--arc-star-mask) no-repeat center / contain;
  flex: 0 0 auto;
  transition: background-color 0.2s ease;
}

.filter-pill.is-active {
  background: var(--pill-accent, var(--arc-ink));
  border-color: var(--pill-accent, var(--arc-ink));
  color: var(--arc-white);
}

.filter-pill.is-active .filter-pill-star {
  background-color: var(--arc-white);
}

.filter-pill[data-cat-filter="exhibitions"] {
  --pill-accent: var(--arc-cat-exhibitions);
}

.filter-pill[data-cat-filter="projects"] {
  --pill-accent: var(--arc-cat-projects);
}

.filter-pill[data-cat-filter="events"] {
  --pill-accent: var(--arc-cat-events);
}

.archive-card-cat--exhibitions {
  color: var(--arc-cat-exhibitions);
}

.archive-card-cat--projects {
  color: var(--arc-cat-projects);
}

.archive-card-cat--events {
  color: var(--arc-cat-events);
}

.archive-pill-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--arc-hairline-strong);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--arc-ink);
  background: var(--arc-white);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.archive-pill-link:hover {
  border-color: var(--arc-magenta);
  color: var(--arc-magenta);
}

/* BACC-Inspired 3-Column Card Grid */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 28px;
}

.archive-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  group: true;
}

.archive-card-media {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--arc-bg-soft);
  border: 1px solid var(--arc-hairline);
  margin-bottom: 14px;
}

.archive-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease-editorial);
}

.archive-card:hover .archive-card-media img {
  transform: scale(1.04);
}

.archive-card-cat {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--arc-magenta);
  margin-bottom: 4px;
  line-height: 1.35;
}

.archive-card-cat.archive-card-cat--exhibitions {
  color: var(--arc-cat-exhibitions);
}

.archive-card-cat.archive-card-cat--projects {
  color: var(--arc-cat-projects);
}

.archive-card-cat.archive-card-cat--events {
  color: var(--arc-cat-events);
}

.archive-card-date {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--arc-muted);
  margin-bottom: 8px;
  line-height: 1.35;
}

.archive-card-title {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.38;
  color: var(--arc-ink);
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.archive-card:hover .archive-card-title {
  color: var(--arc-magenta);
}

.archive-card-summary {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--arc-body);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* BACC Pagination Bar */
.archive-pagination {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 44px;
}

.page-btn {
  min-width: 34px;
  height: 34px;
  padding-inline: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--arc-ink);
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page-btn:hover {
  border-color: var(--arc-hairline-strong);
}

.page-btn.is-active {
  background: var(--arc-ink);
  color: var(--arc-white);
}

/* Bottom Upcoming Highlights Band (Appears on Every Blog Page — BACC Screenshot 2) */
.upcoming-highlights-band {
  margin-top: clamp(64px, 7vw, 96px);
  padding-top: clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--arc-hairline);
  scroll-margin-top: calc(var(--header-h-sticky) + 24px);
}

.archive-empty {
  grid-column: 1 / -1;
  padding: 56px 24px;
  text-align: center;
  border: 1px dashed var(--arc-hairline-strong);
  color: var(--arc-muted);
  font-size: 0.95rem;
}

@media (max-width: 1024px) {
  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .archive-search-input {
    width: 100%;
  }
}

/* ==========================================================================
   5B. Compact Editorial Service Page — Leica 2×2 Full-Bleed Overlay Grid
   ========================================================================== */
.service-editorial-main {
  padding-top: calc(var(--header-h-sticky) + 16px);
  padding-bottom: clamp(56px, 6vw, 88px);
}

.service-editorial-container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(16px, 2vw, 24px);
}

.service-breadcrumb {
  margin-bottom: 10px;
}

.service-editorial-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 32px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--arc-hairline);
}

.service-editorial-title {
  font-family: var(--font-sans);
  font-size: clamp(1.65rem, 2.3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--arc-ink);
  flex: 0 0 auto;
}

.service-editorial-subtitle {
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--arc-muted);
  text-align: right;
  max-width: 680px;
}

.service-editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
}

.service-tile {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 0;
  background: var(--arc-ink);
  color: var(--arc-white);
  text-decoration: none;
  isolation: isolate;
}

.service-tile-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.service-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.service-tile:hover .service-tile-media img,
.service-tile:focus-visible .service-tile-media img {
  transform: scale(1.03);
}

.service-tile-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.28) 45%,
    transparent 100%
  );
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-tile:hover .service-tile-scrim {
  opacity: 0.95;
}

.service-tile-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: clamp(20px, 2.4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 90%;
}

.service-tile-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 224, 238, 0.92);
  line-height: 1.3;
}

.service-tile-title {
  font-family: var(--font-sans);
  font-size: clamp(1.2rem, 1.65vw, 1.6rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}

.service-tile-desc {
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.84);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 560px;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) {
  .service-tile-desc {
    opacity: 0.82;
    transform: translateY(3px);
  }

  .service-tile:hover .service-tile-desc,
  .service-tile:focus-visible .service-tile-desc {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .service-editorial-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .service-editorial-subtitle {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .service-editorial-grid {
    grid-template-columns: 1fr;
  }

  .service-tile {
    aspect-ratio: 4 / 3;
  }

  .service-tile-content {
    max-width: 100%;
  }
}

/* ==========================================================================
   6. BACC-Style Entry Detail Page, Lightbox & Optional Leica Editorial Gallery
   ========================================================================== */
.entry-main {
  padding-top: calc(var(--header-h-sticky) + clamp(32px, 4vw, 52px));
  padding-bottom: clamp(72px, 8vw, 112px);
  background: var(--arc-bg);
}

.entry-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: clamp(32px, 4vw, 52px);
}

.entry-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--arc-muted);
}

.entry-breadcrumb a {
  color: var(--arc-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease;
}

.entry-breadcrumb a:hover {
  color: var(--arc-magenta);
}

.blog-breadcrumb {
  margin-bottom: 24px;
}

.bc-sep {
  opacity: 0.5;
}

.bc-current {
  color: var(--arc-ink);
  font-weight: 400;
}

.entry-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 8px;
  border: 1px solid var(--arc-hairline-strong);
  background: var(--arc-white);
  color: var(--arc-ink);
  font-size: 0.875rem;
  font-weight: 500;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.entry-share-btn svg {
  width: 16px;
  height: 16px;
}

.entry-share-btn:hover {
  border-color: var(--arc-magenta);
  color: var(--arc-magenta);
}

/* BACC 2-Column Split */
.entry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.entry-cat-row {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
}

.entry-cat-dot {
  width: 14px;
  height: 14px;
  background: var(--arc-magenta);
  -webkit-mask: var(--arc-star-mask) no-repeat center / contain;
  mask: var(--arc-star-mask) no-repeat center / contain;
  flex: 0 0 auto;
}

.entry-cat-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--arc-magenta);
}

.entry-title {
  font-family: var(--font-sans);
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  font-weight: 600;
  line-height: 1.22;
  color: var(--arc-ink);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.entry-presenter {
  font-size: 0.95rem;
  color: var(--arc-muted);
  padding-bottom: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--arc-hairline);
}

.entry-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 1rem;
  line-height: 1.78;
  color: var(--arc-body);
}

.entry-body-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 2px;
}

.entry-body-list li {
  position: relative;
  padding-left: 22px;
}

.entry-body-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.44em;
  width: 11px;
  height: 11px;
  background-color: var(--arc-magenta);
  -webkit-mask: var(--arc-star-mask) no-repeat center / contain;
  mask: var(--arc-star-mask) no-repeat center / contain;
}

/* Right Column: When / Where + Interactive Photo Viewer */
.entry-right {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.entry-meta-stack {
  --arc-entry-meta-color: #543F99;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.entry-meta-stack[hidden],
.entry-meta-row[hidden] {
  display: none !important;
}

.entry-meta-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.entry-meta-icon {
  width: 22px;
  height: 22px;
  color: var(--arc-entry-meta-color, #543F99);
  flex: 0 0 auto;
  margin-top: 2px;
}

.entry-meta-icon svg {
  width: 100%;
  height: 100%;
}

.entry-meta-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.entry-meta-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--arc-entry-meta-color, #543F99);
}

.entry-meta-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--arc-ink);
  line-height: 1.45;
}

/* Yellow-Highlighted Image Box Area */
.entry-media-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.entry-stage-btn {
  position: relative;
  width: 100%;
  display: block;
  overflow: hidden;
  border: 1px solid var(--arc-hairline);
  background: var(--arc-bg-soft);
  cursor: zoom-in;
  padding: 0;
}

.entry-stage-btn img {
  width: 100%;
  height: auto;
  max-height: 680px;
  object-fit: contain;
  display: block;
  margin-inline: auto;
  transition: transform 0.6s var(--ease-editorial);
}

.entry-stage-btn:hover img {
  transform: scale(1.015);
}

.entry-zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(22, 15, 41, 0.72);
  color: var(--arc-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.entry-stage-btn:hover .entry-zoom-hint {
  opacity: 1;
}

/* Small Clickable Thumbnail Boxes Under Main Image (Manual Switch) */
.entry-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.entry-thumb-btn {
  width: 78px;
  height: 78px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--arc-bg-soft);
  opacity: 0.68;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.entry-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.entry-thumb-btn:hover {
  opacity: 0.95;
}

.entry-thumb-btn.is-active {
  opacity: 1;
  border-color: var(--arc-magenta);
}

/* ==========================================================================
   Fullscreen Big Photo Preview Lightbox (BACC Screenshot 2)
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease-editorial);
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 12, 26, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox-close {
  position: fixed;
  top: 22px;
  right: 26px;
  z-index: 4;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: var(--arc-white);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.lightbox-close:hover {
  border-color: var(--arc-magenta);
  background: var(--arc-magenta);
}

.lightbox-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.82);
  font-size: 2.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.lightbox-arrow:hover {
  color: var(--arc-white);
  background: rgba(255, 255, 255, 0.1);
}

.lightbox-prev {
  left: 22px;
}

.lightbox-next {
  right: 22px;
}

.lightbox-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 86vw;
  max-height: 92vh;
}

.lightbox-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image-wrap img {
  max-width: 82vw;
  max-height: 74vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.55);
}

.lightbox-caption {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.78);
  min-height: 1.2em;
}

.lightbox-thumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.lb-thumb {
  width: 58px;
  height: 58px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.52;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.lb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lb-thumb:hover {
  opacity: 0.9;
}

.lb-thumb.is-active {
  opacity: 1;
  border-color: var(--arc-white);
}

.entry-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 350;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--arc-ink);
  color: var(--arc-white);
  font-size: 0.85rem;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.entry-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .entry-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .entry-right {
    order: -1;
  }
}

/* ==========================================================================
   6B. Leica 100 Years / Exhibitions Inspired Full-Bleed Entry Template
   ========================================================================== */
.entry-leica-main {
  padding-top: 0;
  padding-bottom: clamp(72px, 8vw, 112px);
  background: var(--arc-bg);
}

/* Full-Bleed Top-Edge Hero (100vw, overlapping behind transparent header) */
.entry-leica-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 0;
  height: clamp(440px, 74vh, 780px);
  overflow: hidden;
  background: var(--arc-ink);
  border-radius: 0;
}

.entry-leica-hero-btn {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}

.entry-leica-hero-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.entry-leica-hero-btn:hover img {
  transform: scale(1.02);
}

/* Subtle top gradient scrim so transparent white nav is always crisp */
.entry-leica-hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(16, 10, 32, 0.56) 0%,
    rgba(16, 10, 32, 0.22) 22%,
    transparent 44%,
    rgba(16, 10, 32, 0.14) 100%
  );
}

.entry-leica-hero-btn:hover .entry-zoom-hint {
  opacity: 1;
}

.entry-leica-topbar {
  padding-top: clamp(22px, 2.8vw, 34px);
  padding-bottom: clamp(18px, 2.2vw, 26px);
  margin-bottom: clamp(32px, 4vw, 52px);
  border-bottom: 1px solid var(--arc-hairline);
}

.entry-leica-article {
  width: 100%;
}

.entry-leica-header {
  max-width: 980px;
  padding-bottom: clamp(24px, 3vw, 36px);
  margin-bottom: clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--arc-hairline);
}

/* Understated Editorial Metadata Spec Row (Category · Date · Venue) */
.entry-leica-meta-bar {
  --arc-entry-meta-color: #543F99;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-bottom: 18px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.entry-leica-meta-bar .entry-cat-row {
  margin-bottom: 0;
  gap: 7px;
}

.entry-leica-meta-bar .entry-cat-dot {
  width: 12px;
  height: 12px;
}

.entry-leica-meta-bar .entry-cat-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.entry-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--arc-body);
}

.entry-meta-pill[hidden] {
  display: none !important;
}

.entry-meta-dot {
  color: var(--arc-hairline-strong);
  font-weight: 600;
  margin-right: 4px;
}

.entry-meta-pill .entry-meta-icon {
  width: 15px;
  height: 15px;
  margin-top: 0;
  color: var(--arc-entry-meta-color, #543F99);
}

.entry-meta-pill .entry-meta-label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--arc-entry-meta-color, #543F99);
}

.entry-meta-pill .entry-meta-value {
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--arc-ink);
}

.entry-leica-title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 3.8vw, 3.35rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--arc-ink);
  margin-bottom: 14px;
}

.entry-leica-presenter {
  font-size: 0.95rem;
  color: var(--arc-muted);
}

.entry-leica-editorial {
  max-width: 780px;
}

.entry-leica-editorial .entry-body {
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.84;
  gap: 20px;
}

/* Curated Leica Alternating Multi-Photo Gallery Rows (1, 2, 3, 4 per line) */
.entry-leica-gallery-wrap {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: clamp(36px, 4.5vw, 56px);
  border-top: 1px solid var(--arc-hairline);
}

.entry-leica-gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.leica-gallery-row {
  display: grid;
  gap: 2px;
}

.leica-gallery-row[data-cols="1"] {
  grid-template-columns: 1fr;
}

.leica-gallery-row[data-cols="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.leica-gallery-row[data-cols="3"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.leica-gallery-row[data-cols="4"] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.leica-grid-item {
  margin: 0;
}

.leica-grid-photo-btn {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: none;
  overflow: hidden;
  background: var(--arc-bg-soft);
  cursor: zoom-in;
}

.leica-gallery-row[data-cols="1"] .leica-grid-photo-btn {
  aspect-ratio: 16 / 9;
}

.leica-gallery-row[data-cols="3"] .leica-grid-photo-btn {
  aspect-ratio: 4 / 3;
}

.leica-gallery-row[data-cols="4"] .leica-grid-photo-btn {
  aspect-ratio: 1 / 1;
}

.leica-grid-photo-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.leica-grid-photo-btn:hover img {
  transform: scale(1.025);
}

/* Entry Embedded Video Showcase (e.g. Exclusive Interview + Sneak Peek Reel) */
.entry-videos-section {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--arc-hairline);
}

.entry-videos-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.75fr);
  gap: 24px;
  align-items: start;
}

.entry-videos-grid.is-single {
  grid-template-columns: 1fr;
}

.entry-video-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.entry-video-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--arc-midnight);
}

.entry-video-player {
  width: 100%;
  max-height: 620px;
  background: var(--arc-ink);
  display: block;
}

.entry-video-iframe-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  user-select: none;
}

.entry-video-iframe-wrap.is-vertical {
  aspect-ratio: 9 / 16;
  max-height: 540px;
  width: min(100%, 304px);
}

.entry-yt-stage {
  position: absolute;
  inset: 0;
  cursor: pointer;
  overflow: hidden;
}

/* Letterbox-overhang technique: pushes YouTube's top title/channel bar & bottom logo into
   overflow-clipped black bars while keeping 100% of the 16:9 video frame completely uncropped */
.entry-yt-stage iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: calc(100% + 200px);
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}

/* Clean poster veil hides YouTube channel/title & paused overlays when not playing */
.entry-yt-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.entry-video-iframe-wrap.is-playing .entry-yt-poster {
  opacity: 0;
}

.entry-yt-bigplay {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.72);
  background: rgba(22, 15, 41, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.2s ease;
}

.entry-yt-bigplay:hover {
  background: var(--arc-violet);
  border-color: #fff;
  transform: scale(1.06);
}

.entry-video-iframe-wrap.is-playing .entry-yt-bigplay {
  opacity: 0;
  pointer-events: none;
}

.entry-yt-play-tri {
  display: block;
  width: 0;
  height: 0;
  margin-left: 4px;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #ffffff;
}

.entry-yt-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 14px 10px;
  background: linear-gradient(180deg, rgba(16, 10, 32, 0) 0%, rgba(16, 10, 32, 0.88) 100%);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.entry-video-iframe-wrap:hover .entry-yt-controls,
.entry-video-iframe-wrap:not(.is-playing) .entry-yt-controls {
  opacity: 1;
}

.entry-yt-btn {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.15s ease;
}

.entry-yt-btn:hover {
  background: var(--arc-magenta);
}

.entry-yt-seek {
  flex: 1;
  min-width: 0;
  accent-color: var(--arc-magenta);
  cursor: pointer;
}

.entry-yt-time {
  font-size: 0.74rem;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}

.entry-yt-vol-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.entry-yt-vol {
  width: 68px;
  accent-color: var(--arc-magenta);
  cursor: pointer;
}

@media (max-width: 520px) {
  .entry-yt-vol {
    width: 48px;
  }
}

@media (max-width: 900px) {
  .entry-videos-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .entry-leica-hero {
    height: clamp(320px, 56vh, 480px);
  }

  .entry-meta-dot {
    display: none;
  }
}

/* ==========================================================================
   7. BACC-Inspired Institutional About Page (about.html)
   ========================================================================== */
.about-page-main {
  padding-top: var(--header-h-sticky);
  padding-bottom: clamp(72px, 8vw, 112px);
  background: var(--arc-bg);
}

.about-hero-banner {
  width: 100%;
  height: clamp(280px, 44vw, 540px);
  overflow: hidden;
  background: var(--arc-bg-soft);
}

.about-hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-topbar {
  margin-top: clamp(24px, 3vw, 36px);
  margin-bottom: clamp(28px, 3.5vw, 44px);
}

.about-intro-block {
  max-width: 780px;
  margin-bottom: clamp(56px, 7vw, 92px);
}

.about-intro-lead {
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  font-weight: 500;
  line-height: 1.78;
  color: var(--arc-ink);
}

/* Mission 2-Column Split */
.about-mission-section {
  margin-bottom: clamp(64px, 8vw, 108px);
}

.about-mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: start;
}

.about-section-title {
  font-family: var(--font-sans);
  font-size: clamp(1.65rem, 2.5vw, 2.15rem);
  font-weight: 600;
  color: var(--arc-ink);
  margin-bottom: 22px;
  line-height: 1.2;
}

.about-mission-list {
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.98rem;
  line-height: 1.72;
  color: var(--arc-body);
}

.about-mission-list li::marker {
  color: var(--arc-ink);
  font-weight: 500;
}

.about-mission-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--arc-hairline);
  background: var(--arc-bg-soft);
}

.about-mission-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* History Accordion (BACC Screenshot 2) */
.about-history-section {
  margin-bottom: clamp(48px, 6vw, 80px);
}

.about-history-title {
  padding-bottom: 18px;
  margin-bottom: 0;
  border-bottom: 1.5px solid var(--arc-ink);
}

.about-accordion {
  display: flex;
  flex-direction: column;
}

.accordion-item {
  border-bottom: 1px solid var(--arc-hairline-strong);
}

.accordion-trigger {
  width: 100%;
  padding-block: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  cursor: pointer;
}

.accordion-title {
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  font-weight: 500;
  color: var(--arc-ink);
  transition: color 0.2s ease;
}

.accordion-trigger:hover .accordion-title {
  color: var(--arc-magenta);
}

.accordion-plus {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--arc-ink);
  color: var(--arc-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.3s var(--ease-editorial), border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.accordion-trigger:hover .accordion-plus {
  border-color: var(--arc-magenta);
  color: var(--arc-magenta);
}

.accordion-item.is-open .accordion-plus {
  transform: rotate(45deg);
  border-color: var(--arc-magenta);
  background: var(--arc-magenta);
  color: var(--arc-white);
}

.accordion-panel-inner {
  padding-bottom: 26px;
  max-width: 820px;
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--arc-body);
}

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

.footer-copyright {
  font-size: 0.8125rem;
  color: var(--arc-muted);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--arc-ink);
  font-weight: 400;
  transition: color 0.25s ease;
}

.back-to-top-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--arc-hairline-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--arc-ink);
  transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.back-to-top:hover {
  color: var(--arc-magenta);
}

.back-to-top:hover .back-to-top-circle {
  border-color: var(--arc-magenta);
  background-color: var(--arc-magenta);
  color: var(--arc-white);
  transform: translateY(-2px);
}

/* ==========================================================================
   Editorial Modal (Explore Projects & Visit Store — Light Theme)
   ========================================================================== */
.editorial-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-editorial);
}

.editorial-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 15, 41, 0.54);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 820px;
  max-height: 86vh;
  overflow-y: auto;
  background: var(--arc-white);
  border: 1px solid var(--arc-hairline-strong);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 28px 80px rgba(22, 15, 41, 0.22);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.modal-header .section-eyebrow {
  margin-bottom: 0;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--arc-hairline-strong);
  color: var(--arc-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
  border-color: var(--arc-magenta);
  color: var(--arc-magenta);
}

.modal-title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 500;
  color: var(--arc-ink);
  line-height: 1.15;
  margin-bottom: 10px;
}

.modal-subtitle {
  font-size: 0.95rem;
  color: var(--arc-body);
  margin-bottom: 28px;
}

.modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.modal-card {
  background: var(--arc-bg-soft);
  border: 1px solid var(--arc-hairline);
  overflow: hidden;
}

.modal-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.modal-card-body {
  padding: 16px 18px 18px;
}

.modal-card-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--arc-magenta);
  font-weight: 600;
  margin-bottom: 6px;
}

.modal-card-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--arc-ink);
  margin-bottom: 6px;
}

.modal-card-desc {
  font-size: 0.875rem;
  color: var(--arc-body);
  line-height: 1.55;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--arc-hairline);
  padding-top: 22px;
}

/* ==========================================================================
   Responsive Adaptation (Leica Tablet & Mobile Breakpoints)
   ========================================================================== */
@media (max-width: 1024px) {
  .container,
  .header-inner {
    padding-inline: var(--gutter-tablet);
  }

  .primary-nav {
    gap: 28px;
  }

  .split-grid {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .primary-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    padding-inline: var(--gutter-mobile);
  }

  .container {
    padding-inline: var(--gutter-mobile);
  }

  .site-header {
    height: 70px;
  }

  .brand-logo {
    height: 30px;
  }

  .hero-frame {
    --seam: 3px;
  }

  .hero-frame-tag {
    left: 24px;
    right: calc(var(--slant) + 20px);
    bottom: 162px;
    gap: 4px;
  }

  .frame-date {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
  }

  .frame-title {
    font-size: 1.12rem;
    line-height: 1.24;
  }

  .frame-loc {
    font-size: 0.78rem;
  }

  .hero-bar {
    padding-block: 22px 20px;
    background: linear-gradient(
      180deg,
      rgba(16, 10, 32, 0) 0%,
      rgba(16, 10, 32, 0.78) 32%,
      rgba(16, 10, 32, 0.94) 100%
    );
  }

  .hero-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .hero-whisper {
    font-size: 0.68rem;
    letter-spacing: 0.11em;
    line-height: 1.5;
    gap: 4px 8px;
  }

  .hero-pill-btn {
    align-self: center;
    height: 40px;
    padding: 0 16px 0 20px;
    gap: 14px;
    font-size: 0.84rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.34);
    box-shadow: 0 6px 20px rgba(10, 6, 22, 0.32);
  }

  .hero-pill-dot {
    width: 7px;
    height: 7px;
  }

  .gallery-section {
    padding-block: 56px;
  }

  /* Stack cleanly: Media always above Captions on mobile (Leica pattern) */
  .split-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .projects-caption-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .split-media-right .split-media {
    order: -1;
  }

  .world-grid-wrap {
    padding-inline: var(--gutter-mobile);
  }

  .world-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .split-content {
    max-width: none;
  }

  .carousel-arrow {
    opacity: 1;
    width: 36px;
    height: 36px;
  }

  .pillars-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .footer-contact {
    align-items: flex-start;
  }

  .footer-contact-actions {
    justify-content: flex-start;
  }

  .footer-social-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-bottom {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 18px;
  }

  .modal-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-marquee-track {
    animation: none;
  }
  .carousel-track {
    transition: none;
  }
}
