/* ==========================================================================
   ROARINK portfolio — Artist Portfolio & Illustration Showcase Stylesheet (12 Pages)
   File:        portfolio/portfolio.css
   Author:      Mixing Theme
   Version:     1.0.0
   Description: Styles for artist hero, filterable artwork gallery, lightbox
                inspector, process stage switcher, commission calculator,
                sketchbook workbench, and artist CV / resume pages.

   TABLE OF CONTENTS:
   01. Artist Portfolio Hero & Principal Artist Dossier Card (.roar-portfolio-hero)
   02. Artwork Gallery Cards, Cutout Stages & Hover Actions (.roar-art-card)
   03. Interactive 4-Stage Process Layer Breakdown (.roar-process-stage)
   04. Commission Rate Tiers, Live Estimator & Booking Table (.roar-commission-tier)
   05. Artist CV Timeline & Lightbox Artwork Inspector Modal (.roar-cv-timeline)
   06. Page 08: Before/After Ink & Color Wipe Slider Lab (.roar-wipe-*)
   07. Page 09: 360° Character Turnaround & Expression Sheets (.roar-turnaround-*)
   08. Page 10: Studio Brush Pack & Halftone Assets Vault (.roar-brush-*)
   09. Page 11: Publisher Storyboard & Series Pitch Deck (.roar-pitch-*)
   10. Page 12: 1-on-1 Portfolio Critique & Mentorship Booking (.roar-mentor-*)
   ========================================================================== */

/* 1. Portfolio Hero & Studio Spotlight */
.roar-portfolio-hero {
  position: relative;
  background-color: var(--roar-navy);
  background-image:
    radial-gradient(rgba(199, 240, 0, 0.14) 1.5px, transparent 1.5px),
    linear-gradient(135deg, rgba(11, 19, 32, 0.95) 0%, rgba(20, 34, 56, 0.88) 52%, rgba(0, 107, 120, 0.86) 100%),
    url("../assets/images/11-editorial-artist-workshop.webp");
  background-size: 18px 18px, 100% 100%, cover;
  background-position: 0 0, center center, center center;
  color: #ffffff;
  padding: 3.75rem 0 4.25rem;
  border-bottom: var(--roar-border-thick);
  overflow: hidden;
}

.roar-portfolio-hero .roar-hero-title,
.roar-portfolio-hero .roar-h1,
.roar-portfolio-hero h1 {
  color: #faf7f0;
  text-shadow: 4px 4px 0 #050911;
}

.roar-portfolio-hero .roar-kicker {
  color: var(--roar-lime);
}

.roar-portfolio-hero .text-muted {
  color: rgba(250, 247, 240, 0.82) !important;
}

.roar-portfolio-artist-card {
  background-color: var(--roar-ivory);
  color: var(--roar-ink);
  border: 3.5px solid var(--roar-navy);
  border-radius: var(--roar-radius-md);
  box-shadow: 10px 10px 0 #050911;
  overflow: hidden;
}

.roar-portfolio-artist-banner {
  position: relative;
  height: 250px;
  background-color: #102238;
  background-image:
    radial-gradient(rgba(0, 184, 200, 0.2) 1.5px, transparent 1.5px),
    linear-gradient(145deg, #0b1320 0%, #006b78 100%);
  background-size: 14px 14px, 100% 100%;
  border-bottom: 3px solid var(--roar-navy);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.roar-portfolio-artist-banner img {
  max-height: 235px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(6px 6px 0 #050911);
  transition: transform 280ms var(--roar-ease);
}

.roar-portfolio-artist-card:hover .roar-portfolio-artist-banner img {
  transform: translateY(-4px) scale(1.03);
}

.roar-portfolio-artist-body {
  padding: 1.35rem 1.5rem;
}

.roar-portfolio-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--roar-ink-muted);
}

/* 2. Artwork Showcase Cards & Aspect Frames */
.roar-art-card {
  background-color: var(--roar-ivory);
  color: var(--roar-ink);
  border: var(--roar-border-thick);
  border-radius: var(--roar-radius-md);
  box-shadow: var(--roar-shadow-md);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 180ms var(--roar-ease), box-shadow 180ms var(--roar-ease);
}

.roar-art-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--roar-shadow-lg);
}

.roar-art-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background-color: #0b1320;
  border-bottom: var(--roar-border-medium);
  overflow: hidden;
}

.roar-art-thumb.is-cutout-stage {
  background-image:
    radial-gradient(rgba(199, 240, 0, 0.16) 1.5px, transparent 1.5px),
    linear-gradient(135deg, #0b1320 0%, #162b44 100%);
  background-size: 14px 14px, 100% 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.roar-art-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 320ms var(--roar-ease);
}

.roar-art-thumb.is-cutout-stage img {
  object-fit: contain;
  filter: drop-shadow(5px 5px 0 #050911);
}

.roar-art-card:hover .roar-art-thumb img {
  transform: scale(1.04);
}

.roar-art-overlay-actions {
  position: absolute;
  bottom: 0.65rem;
  right: 0.65rem;
  display: flex;
  gap: 0.4rem;
  z-index: 2;
}

.roar-art-body {
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.roar-art-save-btn.is-active {
  background-color: var(--roar-lime);
  color: var(--roar-navy);
}

/* 3. Interactive Process Breakdown Stage */
.roar-process-stage {
  background-color: var(--roar-navy);
  color: #ffffff;
  border: var(--roar-border-thick);
  border-radius: var(--roar-radius-md);
  box-shadow: var(--roar-shadow-lg);
  overflow: hidden;
}

.roar-process-preview {
  position: relative;
  aspect-ratio: 16 / 10;
  background-color: #070d17;
  border-bottom: 3px solid var(--roar-navy);
  overflow: hidden;
}

.roar-process-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 240ms var(--roar-ease), transform 240ms var(--roar-ease);
}

.roar-process-preview.is-stage-pencils img {
  filter: grayscale(100%) contrast(135%) brightness(1.08);
}

.roar-process-preview.is-stage-inks img {
  filter: grayscale(100%) contrast(185%);
}

.roar-process-preview.is-stage-flats img {
  filter: saturate(75%) contrast(110%);
}

.roar-process-preview.is-stage-final img {
  filter: none;
}

.roar-process-step-btn {
  width: 100%;
  text-align: left;
  background-color: var(--roar-ivory);
  color: var(--roar-ink);
  border: 2.5px solid var(--roar-navy);
  border-radius: var(--roar-radius-sm);
  padding: 0.9rem 1.1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--roar-navy);
  transition: transform 140ms var(--roar-ease), background-color 140ms var(--roar-ease);
}

.roar-process-step-btn:hover {
  transform: translate(-2px, -2px);
}

.roar-process-step-btn.is-active {
  background-color: var(--roar-lime);
  color: var(--roar-navy);
  box-shadow: 4px 4px 0 var(--roar-navy);
}

/* 4. Lightbox Artwork Inspector Modal */
.roar-art-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(7, 13, 23, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.roar-art-lightbox.is-open {
  display: flex;
}

.roar-art-lightbox-dialog {
  background-color: var(--roar-ivory);
  color: var(--roar-ink);
  border: 4px solid var(--roar-navy);
  border-radius: var(--roar-radius-md);
  box-shadow: 12px 12px 0 #050911;
  max-width: 1040px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.roar-art-lightbox-media {
  background-color: #0b1320;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  max-height: 540px;
  overflow: hidden;
  border-bottom: 3px solid var(--roar-navy);
}

.roar-art-lightbox-media img {
  max-width: 100%;
  max-height: 520px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* 5. Commission Tiers, Calculator & Swatches */
.roar-commission-tier {
  background-color: var(--roar-ivory);
  color: var(--roar-ink);
  border: var(--roar-border-thick);
  border-radius: var(--roar-radius-md);
  box-shadow: var(--roar-shadow-md);
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.roar-commission-tier.is-featured {
  background-color: #ffffff;
  border-width: 4px;
  box-shadow: var(--roar-shadow-lg);
}

.roar-commission-calc-box {
  background-color: var(--roar-navy);
  color: #ffffff;
  border: var(--roar-border-thick);
  border-radius: var(--roar-radius-md);
  box-shadow: var(--roar-shadow-lg);
  padding: 1.75rem;
}

.roar-swatch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.roar-swatch-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #ffffff;
  border: 2px solid var(--roar-navy);
  border-radius: var(--roar-radius-xs);
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 800;
  font-family: var(--roar-font-condensed);
}

.roar-swatch-dot {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  border: 1.5px solid var(--roar-navy);
  display: inline-block;
}

.roar-swatch-teal { background-color: #00b8c8; }
.roar-swatch-lime { background-color: #c7f000; }
.roar-swatch-navy { background-color: #0b1320; }
.roar-swatch-orange { background-color: #ff6b2b; }
.roar-swatch-ivory { background-color: #f6f1e6; }

/* 6. Artist CV Timeline & Exhibition Table */
.roar-cv-item {
  background-color: var(--roar-ivory);
  border: 2.5px solid var(--roar-navy);
  border-radius: var(--roar-radius-sm);
  padding: 1.15rem 1.35rem;
  box-shadow: 4px 4px 0 var(--roar-navy);
}

.roar-cv-year {
  font-family: var(--roar-font-display);
  font-size: 1.35rem;
  color: var(--roar-navy);
  letter-spacing: 0.03em;
}


/* Subpage Hero Headings & Responsive Adjustments */
.roar-portfolio-hero h1,
.roar-portfolio-hero .roar-h1 {
  color: #ffffff;
  text-shadow: 3px 3px 0 #050911;
}

.roar-portfolio-hero .text-muted {
  color: rgba(255, 255, 255, 0.82) !important;
}

.roar-portfolio-hero .roar-kicker {
  color: var(--roar-lime);
}

@media (max-width: 991.98px) {
  .roar-portfolio-hero {
    padding: 2.5rem 0 3rem;
  }
  .roar-art-lightbox-media {
    min-height: 240px;
  }
}

/* ==========================================================================
   7. Specialty Portfolio Pages (08–12): Ink Slider, Turnarounds, Brushes & Pitch
   ========================================================================== */

/* 08. Before/After Ink Slider Stage */
.roar-ink-compare-stage {
  position: relative;
  width: 100%;
  height: 460px;
  background-color: #0b1320;
  border: 3px solid var(--roar-navy);
  border-radius: var(--roar-radius-sm);
  box-shadow: 6px 6px 0 var(--roar-navy);
  overflow: hidden;
  user-select: none;
}

.roar-ink-layer-after,
.roar-ink-layer-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.roar-ink-layer-after img,
.roar-ink-layer-before img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 240ms ease, filter 200ms ease;
}

.roar-ink-compare-stage.is-zoomed .roar-ink-layer-after img,
.roar-ink-compare-stage.is-zoomed .roar-ink-layer-before img {
  transform: scale(1.65);
}

.roar-ink-layer-before {
  clip-path: inset(0 calc(100% - var(--ink-split, 50%)) 0 0);
}

.roar-ink-layer-before img.is-mode-ink {
  filter: grayscale(1) contrast(2.35) brightness(1.08);
}

.roar-ink-layer-before img.is-mode-blueprint {
  filter: grayscale(1) sepia(1) hue-rotate(175deg) saturate(3.5) contrast(1.55) brightness(1.05);
}

.roar-ink-layer-before img.is-mode-halftone {
  filter: sepia(0.85) contrast(1.65) brightness(0.96);
}

.roar-ink-divider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ink-split, 50%);
  width: 4px;
  background-color: var(--roar-lime);
  box-shadow: 0 0 0 2px var(--roar-navy);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 4;
}

.roar-ink-divider-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  background-color: var(--roar-lime);
  color: var(--roar-navy);
  border: 3px solid var(--roar-navy);
  border-radius: 50%;
  box-shadow: 3px 3px 0 var(--roar-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transform: translate(-50%, -50%);
}

.roar-ink-range-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
  margin: 0;
}

.roar-ink-corner-badge {
  position: absolute;
  bottom: 14px;
  padding: 0.3rem 0.65rem;
  background-color: rgba(11, 19, 32, 0.9);
  color: #ffffff;
  border: 2px solid var(--roar-lime);
  border-radius: 4px;
  font-family: var(--roar-font-condensed);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  z-index: 3;
}

.roar-ink-corner-badge.is-left {
  left: 14px;
}

.roar-ink-corner-badge.is-right {
  right: 14px;
  border-color: var(--roar-turquoise);
}

/* 09. Character Turnaround Orthographic Stage */
.roar-char-turnaround-stage {
  position: relative;
  min-height: 420px;
  background-color: #ffffff;
  background-image:
    linear-gradient(rgba(0, 184, 200, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 184, 200, 0.16) 1px, transparent 1px);
  background-size: 28px 28px;
  border: 3px solid var(--roar-navy);
  border-radius: var(--roar-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: hidden;
}

.roar-char-scale-grid {
  position: absolute;
  left: 12px;
  top: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: var(--roar-font-condensed);
  font-weight: 800;
  font-size: 0.72rem;
  color: #0e7490;
  letter-spacing: 0.06em;
  pointer-events: none;
}

.roar-char-sheet-figure {
  max-height: 360px;
  width: auto;
  object-fit: contain;
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1), filter 220ms ease;
}

.roar-char-sheet-figure.is-angle-quarter {
  transform: perspective(700px) rotateY(-18deg) scale(1.03);
}

.roar-char-sheet-figure.is-angle-side {
  transform: scaleX(-1) rotate(-3deg);
}

.roar-char-sheet-figure.is-angle-back {
  filter: contrast(1.35) brightness(0.82) drop-shadow(0 0 12px rgba(199, 240, 0, 0.55));
  transform: scaleX(-1);
}

.roar-char-expression-callout {
  position: absolute;
  right: 14px;
  bottom: 14px;
  max-width: 250px;
  background-color: var(--roar-navy);
  color: #ffffff;
  border: 2.5px solid var(--roar-lime);
  border-radius: var(--roar-radius-xs);
  padding: 0.65rem 0.85rem;
  box-shadow: 4px 4px 0 #050911;
}

.roar-char-expr-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  padding: 0.65rem 0.9rem;
  background-color: #ffffff;
  color: var(--roar-ink);
  border: 2.5px solid var(--roar-navy);
  border-radius: var(--roar-radius-xs);
  box-shadow: 3px 3px 0 var(--roar-navy);
  font-size: 0.88rem;
  cursor: pointer;
  transition: transform 140ms ease, background-color 140ms ease;
}

.roar-char-expr-btn:hover,
.roar-char-expr-btn.is-active {
  background-color: var(--roar-lime);
  color: var(--roar-navy);
  transform: translate(-2px, -2px);
}

/* 10. Brush Scratchpad Canvas */
.roar-brush-canvas-wrap {
  border: 3px solid var(--roar-navy);
  border-radius: var(--roar-radius-sm);
  box-shadow: 6px 6px 0 var(--roar-navy);
  background-color: #faf7f0;
  overflow: hidden;
}

.roar-brush-canvas {
  display: block;
  width: 100%;
  height: 300px;
  cursor: crosshair;
  background-image: radial-gradient(rgba(11, 19, 32, 0.08) 1px, transparent 1px);
  background-size: 14px 14px;
}

/* 11. Storyboard Pitch Deck Frame */
.roar-pitch-slide-frame {
  background-color: #ffffff;
  border: 3px solid var(--roar-navy);
  border-radius: var(--roar-radius-sm);
  box-shadow: 6px 6px 0 var(--roar-navy);
  padding: 1.5rem;
}

