/* ==========================================================================
   PRISKA THESA KURNIASARI · EDITORIAL PROFILE
   Exact Color & Layout DNA:
   - Taupe Charcoal (#524B42 -> #37322C)
   - Deep Burgundy (#4A0E17 / #52101A)
   - Warm Cream / Alabaster (#F2EFEA)
   - Dark Espresso (#28231F / #1B1714)
   ========================================================================== */

:root {
  --taupe-top: #554e45;
  --taupe-mid: #474139;
  --taupe-bot: #342f29;
  --burgundy: #4a0e17;
  --burgundy-deep: #3a0911;
  --burgundy-pill: #54121c;
  --cream: #f2efea;
  --cream-soft: #f5f0eb;
  --espresso: #231f1b;
  --ink-dark: #25201d;
  --ink-muted: #5a524c;
  --line-light: rgba(245, 240, 235, 0.5);
  --line-dark: rgba(74, 14, 23, 0.35);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-script: 'Alex Brush', cursive;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--taupe-bot);
  color: var(--cream-soft);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}

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

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

/* ==========================================================================
   FLOATING MINIMAL NAVIGATION
   ========================================================================== */
.floating-nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 22px;
  background: rgba(35, 31, 27, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(245, 240, 235, 0.16);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--cream-soft);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-brand {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  opacity: 0.72;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  transition: opacity 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
}

.nav-ig {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--burgundy-pill);
  border: 1px solid rgba(245, 240, 235, 0.25);
  font-size: 0.72rem;
  font-weight: 500;
  transition: background 0.25s ease, transform 0.2s ease;
}

.nav-ig:hover {
  background: #661723;
  transform: translateY(-1px);
}

/* ==========================================================================
   SHARED PANEL LAYOUT
   ========================================================================== */
.panel {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 88px 24px 64px;
  overflow: hidden;
}

.panel-inner {
  position: relative;
  width: 100%;
  max-width: 680px;
  min-height: min(760px, 84vh);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.micro-header,
.micro-footer {
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
}

.micro-header strong,
.micro-footer strong {
  font-weight: 600;
}

.micro-footer-dark {
  color: rgba(37, 32, 29, 0.75);
}

.micro-footer-light {
  color: rgba(245, 240, 235, 0.75);
  position: relative;
  z-index: 3;
}

/* ==========================================================================
   WAX SEAL (SHARED + STAMP EFFECT)
   ========================================================================== */
.wax-seal {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  pointer-events: none;
  opacity: 0;
  transform: scale(1.42) rotate(-10deg);
  transform-origin: center;
  will-change: transform, opacity;
}

.wax-seal svg {
  width: 100%;
  height: 100%;
  display: block;
}

.panel.is-drawn .wax-seal {
  animation: waxStamp 1.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.panel-burgundy.is-drawn .wax-seal {
  animation-duration: 1.4s;
  animation-delay: 1.2s;
}

.panel-cream.is-drawn .wax-seal {
  animation-delay: 0.45s;
}

@keyframes waxStamp {
  0% {
    opacity: 0;
    transform: scale(1.32) rotate(-6deg);
  }
  62% {
    opacity: 1;
    transform: scale(0.96) rotate(1deg);
  }
  85% {
    opacity: 1;
    transform: scale(1.015) rotate(-0.5deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

/* ==========================================================================
   PEN-DRAW SVG LINES (SHARED)
   ========================================================================== */
.pen-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.pen-path {
  fill: none;
  stroke: var(--line-light);
  stroke-width: 1px;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  opacity: 0;
  transition:
    stroke-dashoffset 9s cubic-bezier(0.37, 0, 0.63, 1),
    opacity 9s cubic-bezier(0.37, 0, 0.63, 1);
}

.panel.is-drawn .pen-path {
  stroke-dashoffset: 0;
  opacity: 1;
}

/* ==========================================================================
   2x2 ARROW GRID (SHARED BETWEEN PANEL 2 & PANEL 3)
   ========================================================================== */
.arrow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 32px;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.arrow-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  line-height: 1.4;
}

.arrow-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.arrow-grid-wrap {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.arrow-hint-label {
  display: block;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 240, 235, 0.62);
  margin-bottom: 14px;
}

.arrow-grid-light .arrow-circle {
  border: 1px solid rgba(245, 240, 235, 0.85);
  background: rgba(245, 240, 235, 0.14);
  color: var(--cream-soft);
  box-shadow: 0 0 0 0 rgba(245, 240, 235, 0.35);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.panel-burgundy.is-drawn .arrow-trigger .arrow-circle {
  animation: arrowPulse 3.4s ease-out infinite;
}

.panel-burgundy.is-drawn .arrow-trigger:nth-child(2) .arrow-circle { animation-delay: 0.6s; }
.panel-burgundy.is-drawn .arrow-trigger:nth-child(3) .arrow-circle { animation-delay: 1.2s; }
.panel-burgundy.is-drawn .arrow-trigger:nth-child(4) .arrow-circle { animation-delay: 1.8s; }

@keyframes arrowPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 240, 235, 0.36);
  }
  55% {
    box-shadow: 0 0 0 8px rgba(245, 240, 235, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245, 240, 235, 0);
  }
}

.arrow-grid-light .arrow-item {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.panel-burgundy.is-drawn .arrow-grid-light .arrow-item {
  opacity: 1;
  transform: translateY(0);
}

.panel-burgundy.is-drawn .arrow-grid-light .arrow-item:nth-child(1) { transition-delay: 0.9s; }
.panel-burgundy.is-drawn .arrow-grid-light .arrow-item:nth-child(2) { transition-delay: 1.25s; }
.panel-burgundy.is-drawn .arrow-grid-light .arrow-item:nth-child(3) { transition-delay: 1.6s; }
.panel-burgundy.is-drawn .arrow-grid-light .arrow-item:nth-child(4) { transition-delay: 1.95s; }

.arrow-grid-light .arrow-item:hover .arrow-circle,
.arrow-trigger:focus-visible .arrow-circle {
  background: var(--cream-soft);
  border-color: var(--cream-soft);
  color: var(--burgundy);
  transform: translateX(4px) scale(1.06);
  animation: none;
}

.arrow-trigger {
  background: none;
  border: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  padding: 8px 10px;
  margin: -8px -10px;
  border-radius: 4px;
  transition: background 0.25s ease, opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.arrow-trigger:hover {
  background: rgba(245, 240, 235, 0.06);
}

.arrow-trigger:focus-visible {
  outline: 1px solid rgba(245, 240, 235, 0.7);
  outline-offset: 2px;
}

.arrow-grid-light .arrow-item p,
.arrow-grid-light .arrow-item .arrow-text {
  color: rgba(245, 240, 235, 0.9);
  display: block;
}

.arrow-grid-dark .arrow-circle {
  border: 1px solid rgba(74, 14, 23, 0.55);
  color: var(--burgundy);
}

.arrow-grid-dark .arrow-item p {
  color: var(--ink-dark);
}

/* ==========================================================================
   PANEL 1: HERO (FULL-BLEED PHOTO BACKGROUND)
   ========================================================================== */
.panel-hero {
  background-color: #3a3329;
  padding-top: 100px;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  z-index: 0;
  pointer-events: none;
  transform: scale(1.1);
  will-change: transform;
}

.hero-inner {
  justify-content: flex-end;
  padding: 32px 16px 28px;
  z-index: 2;
}

/* Thin architectural frame behind portrait & typography (pen-drawn via SVG) */
.hero-arch-frame {
  position: absolute;
  top: 56px;
  left: 50%;
  transform: translateX(-50%);
  width: 82%;
  height: 76%;
  pointer-events: none;
  z-index: 1;
}

.hero-eyebrow {
  position: absolute;
  top: 34%;
  left: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.4;
  color: var(--cream-soft);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.hero-headline-wrap {
  position: relative;
  z-index: 4;
  margin-top: auto;
  padding-top: 300px;
  text-align: center;
}

.hero-headline {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--cream-soft);
}

.headline-top {
  display: block;
  font-size: clamp(2.8rem, 6.2vw, 4.4rem);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.headline-top em {
  font-style: italic;
  font-weight: 400;
}

.headline-highlight {
  display: inline-block;
  margin-top: 6px;
  padding: 6px 22px 10px;
  background: var(--burgundy-pill);
  font-size: clamp(2.4rem, 5.4vw, 3.8rem);
  font-weight: 400;
  color: var(--cream-soft);
  box-shadow: 0 12px 28px rgba(25, 4, 8, 0.45);
}

.hero-bottom-meta {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 28px;
  padding: 0 12px;
}

.hero-signature {
  display: flex;
  flex-direction: column;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  line-height: 1.35;
  color: rgba(245, 240, 235, 0.88);
}

.hero-signature strong {
  font-weight: 600;
}

.hero-callout {
  text-align: right;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--cream-soft);
}

.callout-underline {
  display: block;
  border-bottom: 1px solid rgba(245, 240, 235, 0.45);
  padding-bottom: 2px;
  margin-bottom: 3px;
}

.callout-sub {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 240, 235, 0.7);
}

.hero-watermark {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-script);
  font-size: clamp(4.2rem, 11vw, 7.5rem);
  white-space: nowrap;
  color: rgba(245, 240, 235, 0.1);
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   PANEL 2: PENDEKATAN (DEEP BURGUNDY)
   ========================================================================== */
.panel-burgundy {
  background: radial-gradient(circle at 50% 45%, #5b121d 0%, var(--burgundy) 55%, var(--burgundy-deep) 100%);
  color: var(--cream-soft);
}

.burgundy-inner {
  padding: 20px 12px;
  justify-content: space-between;
  gap: 36px;
}

.burgundy-frame-box {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 12px auto;
  padding: 28px 28px 36px 42px;
}

.wax-seal-burgundy {
  position: absolute;
  top: 14px;
  left: -36px;
}

.burgundy-copy {
  position: relative;
  z-index: 2;
}

.copy-intro {
  font-size: 0.92rem;
  line-height: 1.38;
  color: rgba(245, 240, 235, 0.88);
  margin-bottom: 10px;
  padding-left: 22px;
}

.copy-display {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.2vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--cream-soft);
}

.copy-display em {
  font-style: italic;
}

.copy-script {
  font-family: var(--font-script);
  font-size: clamp(2.1rem, 4.4vw, 3rem);
  line-height: 1.05;
  color: rgba(245, 240, 235, 0.86);
  text-align: right;
  margin-top: 14px;
  padding-right: 12px;
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  transition:
    clip-path 2.6s cubic-bezier(0.37, 0, 0.63, 1) 1.3s,
    opacity 1.8s ease 1.3s;
}

.panel-burgundy.is-drawn .copy-script {
  clip-path: inset(0 0 0 0);
  opacity: 1;
}

/* ==========================================================================
   PANEL 3: KAPABILITAS (WARM CREAM)
   ========================================================================== */
.panel-cream {
  background: var(--cream);
  color: var(--ink-dark);
}

.cream-inner {
  padding: 20px 12px;
  justify-content: space-between;
  gap: 32px;
}

.cream-headline-wrap {
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}

.cream-headline {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--burgundy);
  line-height: 0.96;
  letter-spacing: -0.02em;
}

.ch-line1 {
  display: block;
  font-size: clamp(2.4rem, 5.2vw, 3.5rem);
}

.ch-line2 {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 2px;
}

.ch-serif {
  font-style: italic;
  font-size: clamp(2.5rem, 5.4vw, 3.6rem);
}

.ch-side {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink-dark);
  letter-spacing: 0;
}

.ch-line3 {
  display: block;
  margin-top: 4px;
  font-size: clamp(2.5rem, 5.4vw, 3.7rem);
  letter-spacing: -0.01em;
}

.cream-strip-wrap {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.cream-strip-img-box {
  width: 100%;
  height: 190px;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 14px 32px rgba(37, 32, 29, 0.14);
}

.cream-strip-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 26%;
  filter: contrast(1.03);
  transform: scale(1.14);
  will-change: transform;
}

.wax-seal-cream {
  position: absolute;
  top: -32px;
  right: -18px;
}

/* ==========================================================================
   PANEL 4: EKSEKUSI & TIMELINE (DARK PORTRAIT)
   ========================================================================== */
.panel-dark {
  background: var(--espresso);
  color: var(--cream-soft);
}

.dark-inner {
  justify-content: flex-end;
  padding: 28px 18px 24px;
  overflow: hidden;
  border-radius: 3px;
}

.dark-portrait-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.dark-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  filter: brightness(0.76) contrast(1.06) saturate(0.88);
  transform: scale(1.12);
  will-change: transform;
}

.dark-portrait-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(24, 20, 17, 0.94) 0%,
    rgba(24, 20, 17, 0.72) 45%,
    rgba(24, 20, 17, 0.25) 100%
  );
}

.dark-content {
  position: relative;
  z-index: 3;
  margin-left: auto;
  width: 100%;
  max-width: 440px;
  margin-bottom: 42px;
}

.dark-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 5.4vw, 3.7rem);
  line-height: 0.94;
  letter-spacing: -0.02em;
  color: var(--cream-soft);
  margin-bottom: 24px;
}

.dark-title span {
  display: block;
}

.branched-list {
  list-style: none;
  position: relative;
  padding-left: 44px;
  margin-left: 14px;
}

.branched-list::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line-light);
  transform: scaleY(0);
  transform-origin: top;
  opacity: 0;
  transition:
    transform 6.6s cubic-bezier(0.37, 0, 0.63, 1),
    opacity 6.6s cubic-bezier(0.37, 0, 0.63, 1);
}

.panel-dark.is-drawn .branched-list::before {
  transform: scaleY(1);
  opacity: 1;
}

.branched-list li {
  position: relative;
  padding: 10px 0;
  font-size: 0.92rem;
  color: rgba(245, 240, 235, 0.92);
}

.branched-list li::before {
  content: '';
  position: absolute;
  left: -44px;
  top: 50%;
  width: 32px;
  height: 1px;
  background: var(--line-light);
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  transition:
    transform 2.4s cubic-bezier(0.37, 0, 0.63, 1),
    opacity 2.4s cubic-bezier(0.37, 0, 0.63, 1);
}

.panel-dark.is-drawn .branched-list li:nth-child(1)::before { transition-delay: 1.8s; transform: scaleX(1); opacity: 1; }
.panel-dark.is-drawn .branched-list li:nth-child(2)::before { transition-delay: 3.4s; transform: scaleX(1); opacity: 1; }
.panel-dark.is-drawn .branched-list li:nth-child(3)::before { transition-delay: 5.0s; transform: scaleX(1); opacity: 1; }
.panel-dark.is-drawn .branched-list li:nth-child(4)::before { transition-delay: 6.6s; transform: scaleX(1); opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .pen-path {
    stroke-dashoffset: 0;
    opacity: 1;
    transition: none;
  }
  .wax-seal {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
  .branched-list::before,
  .branched-list li::before {
    transform: none !important;
    opacity: 1;
    transition: none;
  }
  .copy-script {
    clip-path: none;
    opacity: 1;
    transition: none;
  }
  .arrow-grid-light .arrow-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   SECTION 5: GALERI @PRISTHESA & FOOTER
   ========================================================================== */
.gallery-band {
  background: #1b1815;
  color: var(--cream-soft);
  padding: 88px 24px 56px;
  border-top: 1px solid rgba(245, 240, 235, 0.08);
}

.gallery-container {
  max-width: 1040px;
  margin: 0 auto;
}

.gallery-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 36px;
}

.gallery-kicker {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 240, 235, 0.6);
  margin-bottom: 8px;
}

.gallery-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  line-height: 1;
}

.gallery-title em {
  font-style: italic;
  color: #d6a9ad;
}

.gallery-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.stat-pill {
  padding: 8px 16px;
  border: 1px solid rgba(245, 240, 235, 0.16);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  font-size: 0.78rem;
}

.stat-pill strong {
  font-weight: 600;
  color: var(--cream-soft);
}

.stat-pill span {
  font-size: 0.68rem;
  color: rgba(245, 240, 235, 0.62);
}

.btn-burgundy {
  padding: 12px 22px;
  background: var(--burgundy-pill);
  border: 1px solid rgba(245, 240, 235, 0.24);
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background 0.25s ease, transform 0.2s ease;
}

.btn-burgundy:hover {
  background: #6a1724;
  transform: translateY(-2px);
}

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

.gallery-card {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 3px;
  background: #28231f;
  border: 1px solid rgba(245, 240, 235, 0.1);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.gallery-caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 11px;
  background: rgba(27, 24, 21, 0.76);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(245, 240, 235, 0.16);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
}

.site-footer {
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid rgba(245, 240, 235, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  color: rgba(245, 240, 235, 0.68);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a:hover {
  color: var(--cream-soft);
  text-decoration: underline;
}

/* ==========================================================================
   ROLE DETAIL MODAL (SECTION 2 FULL-SCREEN BLUR OVERLAY)
   ========================================================================== */
.role-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.role-modal[hidden] {
  display: none;
}

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

.role-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(42, 7, 13, 0.34);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
}

.role-modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(56px, 8vw, 96px) 24px 48px;
  overflow-y: auto;
  transform: translateY(16px);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.role-modal.is-open .role-modal-card {
  transform: translateY(0);
}

.role-modal-inner {
  width: 100%;
  max-width: 640px;
  padding: clamp(20px, 3vw, 32px);
  background: transparent;
  border: none;
  box-shadow: none;
  color: var(--cream-soft);
}

.role-modal-close {
  position: fixed;
  top: 22px;
  right: 26px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(245, 240, 235, 0.4);
  background: rgba(58, 9, 17, 0.45);
  color: var(--cream-soft);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.role-modal-close:hover {
  background: var(--cream-soft);
  color: var(--burgundy);
  transform: scale(1.06);
}

.role-modal-kicker {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 240, 235, 0.75);
  font-weight: 500;
  margin-bottom: 12px;
}

.role-modal-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.6vw, 2.9rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--cream-soft);
  margin-bottom: 18px;
}

.role-modal-desc {
  font-size: 0.98rem;
  line-height: 1.68;
  color: rgba(245, 240, 235, 0.92);
  margin-bottom: 24px;
}

.role-modal-points {
  padding-top: 20px;
  border-top: 1px solid rgba(245, 240, 235, 0.22);
  margin-bottom: 28px;
}

.role-modal-points-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 240, 235, 0.65);
  margin-bottom: 12px;
}

.role-modal-points ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.role-modal-points li {
  position: relative;
  padding-left: 22px;
  font-size: 0.92rem;
  color: var(--cream-soft);
}

.role-modal-points li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: rgba(245, 240, 235, 0.8);
}

.role-modal-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(245, 240, 235, 0.2);
}

.role-modal-step {
  background: rgba(245, 240, 235, 0.08);
  border: 1px solid rgba(245, 240, 235, 0.35);
  color: var(--cream-soft);
  padding: 9px 18px;
  border-radius: 2px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.role-modal-step:hover {
  background: var(--cream-soft);
  color: var(--burgundy);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATION
   ========================================================================== */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS (TABLET, MOBILE, SMALL PHONES & SHORT VIEWPORTS)
   ========================================================================== */
@media (max-width: 1024px) {
  .panel {
    padding: 88px 24px 56px;
  }

  .gallery-band {
    padding: 72px 24px 48px;
  }
}

@media (max-width: 820px) {
  .floating-nav {
    max-width: calc(100% - 28px);
    gap: 14px;
    padding: 9px 16px;
  }

  .nav-links {
    gap: 12px;
  }

  .nav-links a {
    font-size: 0.65rem;
  }
}

@media (max-width: 768px) {
  .floating-nav {
    width: calc(100% - 28px);
    justify-content: space-between;
    padding: 9px 16px;
    gap: 12px;
  }

  .nav-links {
    display: none;
  }

  .panel {
    min-height: auto;
    padding: 84px 18px 56px;
  }

  .panel-inner {
    min-height: 580px;
  }

  .hero-inner {
    padding: 24px 8px 20px;
  }

  .hero-arch-frame {
    top: 38px;
    width: 88%;
    height: 72%;
  }

  .hero-portrait-wrap {
    width: 82%;
  }

  .hero-eyebrow {
    top: 14%;
    left: 10px;
    font-size: 0.68rem;
    padding: 4px 8px;
    background: rgba(61, 53, 43, 0.78);
    border-radius: 2px;
  }

  .hero-headline-wrap {
    margin-top: auto;
    padding-top: 250px;
  }

  .hero-bottom-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: 22px;
    padding: 0 24px;
  }

  .hero-callout {
    text-align: left;
  }

  .hero-watermark {
    font-size: clamp(3rem, 12vw, 4.8rem);
    bottom: -10px;
  }

  .burgundy-frame-box {
    margin: 12px 6px 12px 26px;
    padding: 24px 16px 26px 28px;
  }

  .wax-seal {
    width: 56px;
    height: 56px;
  }

  .wax-seal-burgundy {
    left: -28px;
  }

  .wax-seal-cream {
    top: -24px;
    right: 4px;
  }

  .arrow-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .cream-strip-img-box {
    height: 155px;
  }

  .dark-inner {
    min-height: 560px;
    padding: 24px 16px;
  }

  .dark-content {
    margin-bottom: 28px;
  }

  .branched-list {
    padding-left: 32px;
    margin-left: 8px;
  }

  .branched-list li::before {
    left: -32px;
    width: 22px;
  }

  .gallery-band {
    padding: 64px 18px 44px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .panel {
    padding: 76px 14px 48px;
  }

  .panel-inner {
    min-height: 520px;
  }

  .hero-arch-frame {
    top: 28px;
    width: 92%;
    height: 70%;
  }

  .hero-portrait-wrap {
    width: 86%;
  }

  .headline-top {
    font-size: clamp(2.15rem, 9.5vw, 2.8rem);
  }

  .headline-highlight {
    font-size: clamp(1.85rem, 8vw, 2.4rem);
    padding: 6px 16px 8px;
  }

  .hero-bottom-meta {
    padding: 0 18px;
  }

  .copy-intro {
    padding-left: 10px;
    font-size: 0.84rem;
  }

  .copy-display {
    font-size: clamp(1.95rem, 8.2vw, 2.6rem);
  }

  .copy-script {
    font-size: clamp(1.75rem, 7.5vw, 2.3rem);
    padding-right: 4px;
  }

  .ch-line1,
  .ch-serif,
  .ch-line3 {
    font-size: clamp(1.95rem, 8.2vw, 2.6rem);
  }

  .ch-line2 {
    gap: 12px;
  }

  .ch-side {
    font-size: 0.78rem;
  }

  .wax-seal {
    width: 48px;
    height: 48px;
  }

  .wax-seal-burgundy {
    left: -24px;
  }

  .wax-seal-cream {
    top: -20px;
    right: 6px;
  }

  .cream-strip-img-box {
    height: 140px;
  }

  .gallery-stats {
    width: 100%;
  }

  .stat-pill {
    flex: 1 1 auto;
  }

  .btn-burgundy {
    width: 100%;
    text-align: center;
  }

  .gallery-caption {
    left: 8px;
    bottom: 8px;
    padding: 4px 8px;
    font-size: 0.64rem;
  }
}

@media (max-height: 740px) and (min-width: 769px) {
  .panel {
    padding: 76px 24px 42px;
  }

  .panel-inner {
    min-height: 620px;
  }

  .hero-portrait-wrap {
    max-width: 340px;
  }

  .hero-headline-wrap {
    margin-top: auto;
    padding-top: 210px;
  }
}
