/* ==========================================================================
   MAKS ART — DRAWING PROCESS (MODERN EDITORIAL REDESIGN)
   ========================================================================== */

:root {
  --ink: #1a1918;
  --charcoal: #2f2e2e;
  --warm-white: #FAFAFA;
  --paper: #F2F2F2;
  --paper-card: #FFFFFF;
  --line: #E5E5E5;
  --line-light: rgba(0, 0, 0, 0.05);
  --muted: #7E7C78;
  --accent-gold: #053b05;
  --graphite: #3a3938;
  --fn-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fn-serif: "Cormorant Garamond", "Cormorant Garant", Georgia, serif;
}

/* ── PAGE HERO / HEADER ───────────────────────────────────────────────── */
.page-header {
  padding: 130px 48px 60px;
  text-align: center;
  background: radial-gradient(circle at 50% 30%, #FFFFFF 0%, var(--warm-white) 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.02) 0%, transparent 70%);
  pointer-events: none;
}

.page-header-frame {
  display: inline-block;
  border: 1px solid var(--ink);
  padding: 18px 48px 16px;
  margin-bottom: 24px;
  background: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-header-frame:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.page-header-frame h1 {
  font-family: var(--fn-sans);
  font-size: 11.5px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.page-header-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  font-weight: 500;
}

.page-header-eyebrow::before,
.page-header-eyebrow::after {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: var(--line);
}

.page-header-frame {
  display: inline-block;
  border: 1px solid var(--ink);
  padding: 14px 44px 12px;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.page-header-frame h1 {
  font-family: var(--fn-sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
}

.page-header-subtitle {
  font-family: var(--fn-serif);
  font-size: clamp(20px, 2.2vw, 26px);
  font-style: italic;
  font-weight: 300;
  color: var(--charcoal);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ── STICKY PROCESS PHASE BAR ─────────────────────────────────────────── */
.process-prog-wrapper {
  position: sticky;
  top: 76px;
  z-index: 150;
  padding: 12px 24px;
  display: flex;
  justify-content: center;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.process-prog-bar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(250, 250, 250, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(26, 25, 24, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  border-radius: 9999px;
  padding: 6px 12px;
  max-width: 95vw;
  overflow-x: auto;
  scrollbar-width: none;
}

.process-prog-bar::-webkit-scrollbar {
  display: none;
}

.phase-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 9999px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
}

.phase-chip-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line);
  transition: all 0.25s ease;
}

.phase-chip:hover {
  color: var(--ink);
  background: rgba(26, 25, 24, 0.04);
}

.phase-chip:hover .phase-chip-dot {
  background: var(--ink);
  transform: scale(1.3);
}

.phase-chip.is-active {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 3px 12px rgba(26, 25, 24, 0.2);
}

.phase-chip.is-active .phase-chip-dot {
  background: var(--accent-gold);
  transform: scale(1.4);
  box-shadow: 0 0 6px rgba(5, 59, 5, 0.8);
}

/* ── PHASE 01: INTRO (CONCEPT & SUBCONSCIOUS FLOW) ────────────────────── */
.section-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  max-width: 1240px;
  margin: 40px auto 100px;
  padding: 0 48px;
  align-items: center;
}

.intro-text-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #ffffff;
  padding: 48px;
  border-radius: 12px;
  border: 1px solid var(--line-light);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.03);
}

.intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 600;
}

.intro-heading {
  font-family: var(--fn-serif);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 300;
  font-style: italic;
  color: var(--ink);
  line-height: 1.25;
}

.intro-body {
  font-size: 14px;
  line-height: 1.9;
  color: var(--charcoal);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.intro-media-frame {
  position: relative;
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.intro-media-inner {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 3;
  background: var(--paper);
}

.intro-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) contrast(1.05) !important;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.intro-media-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
  border-color: rgba(5, 59, 5, 0.5);
}

.intro-media-frame:hover img {
  transform: scale(1.03);
}

/* ── PULL QUOTE BANNER ───────────────────────────────────────────────── */
.section-quote {
  background: #141312;
  color: #ffffff;
  padding: 80px 48px;
  text-align: center;
  margin-bottom: 100px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-quote::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 250px;
  background: radial-gradient(ellipse, rgba(5, 59, 5, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.quote-text {
  font-family: var(--fn-serif);
  font-size: clamp(22px, 2.8vw, 36px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.55;
  max-width: 820px;
  margin: 0 auto 20px;
  color: rgba(255, 255, 255, 0.95);
}

.quote-attr {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 600;
}

/* ── PHASE 02: METHOD (TOWN OUTLINE & STRUCTURE) ──────────────────────── */
.section-method {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  max-width: 1240px;
  margin: 0 auto 100px;
  padding: 0 48px;
  align-items: center;
}

.method-media-frame {
  position: relative;
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.method-media-inner {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 3;
  background: var(--paper);
}

.method-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) contrast(1.05) !important;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.method-media-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
  border-color: rgba(5, 59, 5, 0.5);
}

.method-media-frame:hover img {
  transform: scale(1.03);
}

.method-text-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #ffffff;
  padding: 48px;
  border-radius: 12px;
  border: 1px solid var(--line-light);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.03);
}

.method-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 600;
}

.method-heading {
  font-family: var(--fn-serif);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 300;
  font-style: italic;
  color: var(--ink);
  line-height: 1.3;
}

.method-body {
  font-size: 14px;
  line-height: 1.85;
  color: var(--charcoal);
}

/* ── PHASE 03: 8-STAGE PROGRESSIVE ANATOMY GRID ───────────────────────── */
.section-steps {
  max-width: 1240px;
  margin: 0 auto 110px;
  padding: 0 48px;
}

.steps-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.steps-eyebrow {
  display: inline-block;
  font-size: 9.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 10px;
}

.steps-title {
  font-family: var(--fn-serif);
  font-size: clamp(32px, 3.6vw, 46px);
  font-weight: 300;
  font-style: italic;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 10px;
}

.steps-subtitle {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.step-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 18px;
  border: 1px solid var(--line-light);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.07);
  border-color: rgba(5, 59, 5, 0.4);
}

.step-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}

.step-num-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--fn-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--paper);
  padding: 4px 12px;
  border-radius: 9999px;
  border: 1px solid var(--line-light);
}

.step-tag {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.step-media-inner {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 3;
  background: var(--paper);
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.step-media-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) contrast(1.05) !important;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-card:hover .step-media-inner img {
  transform: scale(1.03);
}

/* ── PHASE 04: CINEMA THEATER VIDEO ──────────────────────────────────── */
.section-video {
  background: #141312;
  color: #ffffff;
  padding: 100px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 100px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-video::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 450px;
  background: radial-gradient(ellipse, rgba(5, 59, 5, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.video-eyebrow {
  display: inline-block;
  font-size: 9.5px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 14px;
}

.video-title {
  font-family: var(--fn-serif);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 300;
  font-style: italic;
  color: #ffffff;
  margin-bottom: 48px;
}

.video-theater-frame {
  max-width: 900px;
  margin: 0 auto 36px;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.video-theater-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.video-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.video-link:hover {
  color: #ffffff;
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* ── PHASE 05: ARCHIVAL PRESERVATION & SEALS ─────────────────────────── */
.section-closing {
  max-width: 900px;
  margin: 0 auto 120px;
  padding: 0 48px;
  text-align: center;
}

.closing-card {
  background: linear-gradient(135deg, #ffffff 0%, var(--paper) 100%);
  border: 1px solid var(--line);
  padding: 56px 48px;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.closing-badge {
  font-size: 9.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 600;
}

.closing-body {
  font-family: var(--fn-serif);
  font-size: clamp(24px, 2.8vw, 34px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.45;
  color: var(--ink);
  max-width: 580px;
}

.closing-note-box {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
}

.closing-note-line {
  width: 32px;
  height: 1px;
  background: var(--line);
}

/* ── RESPONSIVE ADAPTATIONS ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .page-header {
    padding: 86px 20px 32px;
  }

  .process-prog-wrapper {
    top: 66px;
    padding: 6px 12px;
  }

  .section-intro,
  .section-method {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0 20px;
    margin-bottom: 50px;
  }

  .intro-text-card,
  .method-text-card {
    padding: 28px 20px;
  }

  .section-steps {
    padding: 0 20px;
    margin-bottom: 60px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-video {
    padding: 60px 20px;
    margin-bottom: 60px;
  }

  .section-closing {
    padding: 0 20px;
    margin-bottom: 60px;
  }

  .closing-card {
    padding: 32px 20px;
  }
}

@media (max-width: 600px) {
  .page-header { padding: 74px 14px 22px; }
  .page-header-frame { padding: 10px 24px 8px; margin-bottom: 14px; }
  .page-header-subtitle { font-size: 15px; }
  .process-prog-wrapper { top: 62px; padding: 4px 8px; }
  .phase-chip { padding: 5px 12px; font-size: 9px; gap: 6px; }
  .section-intro,
  .section-method { padding: 0 12px; margin-bottom: 36px; gap: 16px; }
  .intro-text-card,
  .method-text-card { padding: 20px 16px; }
  .intro-heading,
  .method-heading { font-size: 22px; }
  .intro-body,
  .method-body { font-size: 13.5px; line-height: 1.7; }
  .intro-media-frame,
  .method-media-frame { padding: 8px; }
  .section-quote { padding: 40px 16px; margin-bottom: 40px; }
  .quote-text { font-size: 18px; line-height: 1.45; }
  .section-steps { padding: 0 12px; margin-bottom: 40px; }
  .steps-header { margin-bottom: 28px; }
  .steps-title { font-size: 26px; }
  .steps-grid { gap: 14px; }
  .step-card { padding: 12px; }
  .section-video { padding: 44px 14px; margin-bottom: 40px; }
  .video-title { font-size: 24px; margin-bottom: 24px; }
  .section-closing { padding: 0 12px; margin-bottom: 44px; }
  .closing-card { padding: 24px 16px; }
  .closing-body { font-size: 20px; }
}
