/* ==========================================================================
   VERTEX LAB — VISUAL IDENTITY & SOCIAL SYSTEM · V1
   css/components.css — Interactive Service Mockups, Node Diagrams & UI Controls
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. ARCHITECTURAL BUTTONS & EYEBROW LABELS
   -------------------------------------------------------------------------- */
.eyebrow-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.eyebrow-label {
  font-size: var(--text-label);
  font-weight: 500;
  color: var(--color-steel);
  letter-spacing: 0.01em;
}

.surface-authority .eyebrow-label {
  color: var(--color-mist);
}

.mono-badge {
  font-family: var(--font-mono);
  direction: ltr;
  unicode-bidi: isolate;
  font-size: var(--text-mono-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-mono);
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  background-color: var(--color-mist);
  color: var(--color-navy);
  border: 1px solid var(--border-structural);
}

.surface-authority .mono-badge {
  background-color: rgba(227, 240, 248, 0.10);
  color: var(--color-white);
  border-color: rgba(227, 240, 248, 0.22);
}

/* Primary & Secondary CTAs */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  background-color: var(--color-navy);
  color: var(--color-white);
  font-size: var(--text-cta);
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-navy);
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-architectural);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background-color: var(--color-steel);
  border-color: var(--color-cyan);
  transform: translateY(-1px);
}

.btn-primary .cta-arrow,
.btn-secondary .cta-arrow,
.btn-light .cta-arrow {
  font-family: var(--font-mono);
  color: var(--color-cyan);
  transition: transform var(--duration-base) var(--ease-architectural);
  display: inline-block;
}

.btn-secondary .cta-arrow,
.btn-light .cta-arrow {
  color: var(--color-steel);
}

.btn-primary:hover .cta-arrow,
.btn-secondary:hover .cta-arrow,
.btn-light:hover .cta-arrow {
  transform: translateX(-5px);
}

.hero-cta-group .btn-secondary:hover .cta-arrow {
  transform: translateY(3px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  background-color: var(--color-white);
  color: var(--color-navy);
  font-size: var(--text-cta);
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-interactive);
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-architectural);
}

.btn-secondary:hover {
  border-color: var(--color-cyan);
  background-color: var(--color-paper);
}

.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  background-color: var(--color-white);
  color: var(--color-navy);
  font-size: var(--text-cta);
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-white);
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-architectural);
}

.btn-light:hover {
  background-color: var(--color-mist);
  transform: translateY(-1px);
}

/* Strict Headline Formatting: <= 3 lines, <= 4 words per line, right-aligned */
.editorial-headline {
  font-size: var(--text-h2);
  font-weight: 700;
  line-height: var(--lh-headline);
  text-align: right;
  max-width: 20ch;
  margin-bottom: 18px;
}

.hero-headline {
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: var(--lh-headline);
  text-align: right;
  max-width: 18ch;
  margin-bottom: 22px;
}

.support-copy {
  font-size: var(--text-support);
  color: var(--color-slate);
  max-width: 50ch;
  margin-bottom: 28px;
}

/* --------------------------------------------------------------------------
   2. HERO SECTION & INTERACTIVE V-LATTICE NODE CANVAS
   -------------------------------------------------------------------------- */
.hero-section {
  padding-block: clamp(48px, 6vw, 88px);
  position: relative;
}

.hero-content-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 16px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: var(--hairline-1);
}

.metric-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-value {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-navy);
  direction: ltr;
  text-align: right;
}

.metric-label {
  font-size: 0.86rem;
  color: var(--color-slate);
}

/* Interactive Hero V-Lattice Stage */
.hero-lattice-stage {
  background-color: var(--color-white);
  border: 1px solid var(--border-structural);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-panel);
  padding: 24px;
  position: relative;
}

.lattice-stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: var(--hairline-1);
  gap: 12px;
  flex-wrap: wrap;
}

.lattice-canvas-wrapper {
  position: relative;
  background-color: var(--color-paper);
  border: 1px solid var(--border-structural);
  border-radius: var(--radius-md);
  padding: 16px;
  overflow: hidden;
  background-image:
    linear-gradient(to left, rgba(227, 240, 248, 0.85) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(227, 240, 248, 0.85) 1px, transparent 1px);
  background-size: 32px 32px;
}

.v-lattice-svg {
  width: 100%;
  height: auto;
  max-height: 330px;
  display: block;
}

/* Interactive SVG Node States */
.lattice-edge {
  stroke: var(--color-mist);
  stroke-width: 1.5;
  transition: stroke var(--duration-base) var(--ease-architectural),
              stroke-width var(--duration-base) var(--ease-architectural);
}

.lattice-edge.is-cyan {
  stroke: rgba(14, 155, 211, 0.45);
  stroke-width: 1.75;
}

.lattice-edge.is-active {
  stroke: var(--color-cyan);
  stroke-width: 2.5;
}

.lattice-node-group {
  cursor: pointer;
}

.lattice-node-ring {
  fill: var(--color-white);
  stroke: var(--color-navy);
  stroke-width: 2;
  transition: all var(--duration-base) var(--ease-architectural);
}

.lattice-node-core {
  fill: var(--color-navy);
  transition: all var(--duration-base) var(--ease-architectural);
}

.lattice-node-group:hover .lattice-node-ring,
.lattice-node-group.is-active .lattice-node-ring {
  stroke: var(--color-cyan);
  stroke-width: 2.5;
  r: 17px;
}

.lattice-node-group:hover .lattice-node-core,
.lattice-node-group.is-active .lattice-node-core {
  fill: var(--color-cyan);
}

.lattice-node-pill {
  fill: var(--color-white);
  stroke: var(--border-structural);
  stroke-width: 1.2;
  transition: all var(--duration-base) var(--ease-architectural);
}

.lattice-node-group:hover .lattice-node-pill,
.lattice-node-group.is-active .lattice-node-pill {
  fill: var(--color-navy);
  stroke: var(--color-cyan);
}

.lattice-node-text {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  fill: var(--color-navy);
  transition: fill var(--duration-base) var(--ease-architectural);
}

.lattice-node-group:hover .lattice-node-text,
.lattice-node-group.is-active .lattice-node-text {
  fill: var(--color-white);
}

/* Hero Node Quick Selector Strip */
.pillar-selector-bar {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.pillar-chip {
  flex: 1 1 auto;
  padding: 8px 12px;
  background-color: var(--color-paper);
  border: 1px solid var(--border-interactive);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--color-steel);
  cursor: pointer;
  text-align: center;
  transition: all var(--duration-fast) var(--ease-architectural);
}

.pillar-chip:hover,
.pillar-chip.is-active {
  background-color: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-cyan);
}

/* Live Hero Readout Footer Card */
.lattice-readout-card {
  margin-top: 14px;
  padding: 16px 18px;
  background-color: var(--color-paper);
  border-right: 3px solid var(--color-cyan);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.lattice-readout-info h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.lattice-readout-info p {
  font-size: 0.88rem;
  margin: 0;
}

/* Subtle 160ms Readout Micro-Transition (FP-01) */
.readout-micro-swap {
  transition: opacity 160ms var(--ease-architectural),
              transform 160ms var(--ease-architectural);
}

.readout-micro-swap.is-swapping {
  opacity: 0;
  transform: translateY(3px);
}

/* --------------------------------------------------------------------------
   3. SERVICE 01: WEB DESIGN & DEVELOPMENT (Dual-Device Architectural Wireframe)
   -------------------------------------------------------------------------- */
.web-stage-card {
  background-color: var(--color-white);
  border: 1px solid var(--border-structural);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.stage-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 22px;
  border-bottom: var(--hairline-1);
  flex-wrap: wrap;
}

.viewport-switcher {
  display: inline-flex;
  background-color: var(--color-paper);
  border: 1px solid var(--border-structural);
  border-radius: var(--radius-sm);
  padding: 3px;
  gap: 4px;
}

.vp-btn {
  padding: 6px 12px;
  border: none;
  background: transparent;
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--color-steel);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-architectural);
}

.vp-btn.is-active {
  background-color: var(--color-navy);
  color: var(--color-white);
}

/* Dual-Device Mockup Canvas (Exact Card 02 Recreation) */
.dual-device-canvas {
  position: relative;
  min-height: 360px;
  background-color: var(--color-paper);
  border: 1px solid var(--border-structural);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all var(--duration-base) var(--ease-architectural);
}

/* Desktop Browser Frame */
.mock-desktop-window {
  width: 86%;
  max-width: 520px;
  background-color: var(--color-white);
  border: 1.5px solid var(--border-structural);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-panel);
  overflow: hidden;
  transition: all var(--duration-base) var(--ease-architectural);
  margin-left: auto;
  margin-bottom: 18px;
}

.mock-browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background-color: var(--color-paper);
  border-bottom: 1px solid var(--border-structural);
  direction: ltr;
}

.mock-dots {
  display: flex;
  gap: 6px;
}

.mock-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-mist);
}

.mock-dots span:first-child {
  background-color: var(--color-navy);
}

.mock-dots span:nth-child(2) {
  background-color: var(--color-cyan);
}

.mock-url-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--color-steel);
  background-color: var(--color-white);
  padding: 3px 12px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-structural);
}

.mock-desktop-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Navy Hero Block inside Desktop Wireframe */
.mock-hero-block {
  background: var(--color-navy);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: border-color var(--duration-fast) var(--ease-architectural);
}

.mock-hero-block:hover,
.mock-hero-block.is-selected {
  border-color: var(--color-cyan);
}

.mock-line-title {
  width: 68%;
  height: 10px;
  background-color: var(--color-white);
  border-radius: var(--radius-xs);
}

.mock-line-sub {
  width: 46%;
  height: 7px;
  background-color: rgba(227, 240, 248, 0.45);
  border-radius: var(--radius-xs);
}

.mock-cyan-cta-pill {
  margin-top: 6px;
  padding: 5px 14px;
  background-color: var(--color-cyan);
  color: var(--color-navy);
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

/* 3 Mist Grid Cards inside Desktop Wireframe */
.mock-mist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mock-mist-card {
  background-color: var(--color-mist);
  border: 1px solid var(--border-structural);
  border-radius: var(--radius-sm);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-architectural);
}

.mock-mist-card:hover,
.mock-mist-card.is-selected {
  background-color: var(--color-white);
  border-color: var(--color-cyan);
  transform: translateY(-2px);
}

.mock-card-node {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-navy);
}

.mock-mist-card:nth-child(2) .mock-card-node {
  background-color: var(--color-cyan);
}

.mock-card-bar-1 {
  width: 80%;
  height: 6px;
  background-color: var(--color-navy);
  border-radius: var(--radius-xs);
  opacity: 0.75;
}

.mock-card-bar-2 {
  width: 55%;
  height: 5px;
  background-color: var(--color-steel);
  border-radius: var(--radius-xs);
  opacity: 0.4;
}

/* Overlapping Mobile Responsive Frame */
.mock-mobile-window {
  position: absolute;
  left: 14px;
  bottom: 14px;
  width: 148px;
  background-color: var(--color-white);
  border: 2px solid var(--color-navy);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-panel);
  overflow: hidden;
  transition: all var(--duration-base) var(--ease-architectural);
  z-index: 3;
}

.mock-mobile-header {
  background: var(--gradient-authority);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-bottom: 2px solid var(--color-cyan);
}

.mock-mobile-notch {
  width: 36px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-xs);
  margin-inline: auto;
  margin-bottom: 4px;
}

.mock-mobile-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-mobile-card {
  height: 28px;
  background-color: var(--color-mist);
  border-radius: var(--radius-xs);
  padding: 6px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Viewport Switcher Modes */
.dual-device-canvas[data-viewport="desktop"] .mock-mobile-window {
  opacity: 0.18;
  transform: scale(0.88) translateX(-20px);
  pointer-events: none;
}

.dual-device-canvas[data-viewport="desktop"] .mock-desktop-window {
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
}

.dual-device-canvas[data-viewport="mobile"] .mock-desktop-window {
  position: absolute;
  inset: auto;
  width: 78%;
  opacity: 0.14;
  transform: scale(0.9);
  pointer-events: none;
}

.dual-device-canvas[data-viewport="mobile"] .mock-mobile-window {
  position: relative;
  left: auto;
  bottom: auto;
  width: 220px;
  margin-inline: auto;
  transform: scale(1.04);
}

.web-spec-readout {
  margin-top: 16px;
  padding: 12px 16px;
  background-color: var(--color-paper);
  border: 1px solid var(--border-structural);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   4. SERVICE 02: SCIENTIFIC RESEARCH & ACADEMIC REPORTS
   -------------------------------------------------------------------------- */
.research-split-stage {
  display: grid;
  grid-template-columns: 5fr 7fr;
  background-color: var(--color-mist);
  border: 1px solid var(--border-structural);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.research-toc-panel {
  background-color: var(--color-mist);
  padding: clamp(22px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid var(--border-structural);
}

.toc-header {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: var(--tracking-mono);
  color: var(--color-steel);
  padding-bottom: 14px;
  border-bottom: 2px solid var(--color-navy);
  margin-bottom: 18px;
  direction: ltr;
  text-align: left;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toc-item-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background-color: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--border-interactive);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-architectural);
  text-align: right;
}

.toc-item-btn:hover,
.toc-item-btn.is-active {
  background-color: var(--color-white);
  border-color: var(--color-cyan);
  box-shadow: var(--shadow-soft);
  transform: translateX(-3px);
}

.toc-item-title {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--color-navy);
}

.toc-item-index {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-steel);
  letter-spacing: 0.1em;
}

.toc-item-btn.is-active .toc-item-index {
  color: var(--color-navy);
  background-color: var(--color-mist);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
}

/* Live Document Preview Paper Card */
.research-paper-panel {
  background-color: var(--color-white);
  padding: clamp(24px, 3.5vw, 38px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.paper-card {
  background-color: var(--color-white);
  border: 1.5px solid var(--border-structural);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.paper-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 24px;
  left: 24px;
  height: 3px;
  background: var(--color-navy);
}

.paper-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: var(--hairline-1);
  direction: ltr;
}

.paper-abstract-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: var(--tracking-mono);
  color: var(--color-navy);
}

.paper-section-title-ar {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.paper-section-excerpt {
  font-size: 0.92rem;
  color: var(--color-slate);
  margin-bottom: 16px;
  line-height: 1.65;
}

.paper-typo-bars {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 22px;
}

.paper-bar {
  height: 6px;
  border-radius: var(--radius-xs);
  background-color: var(--color-mist);
  transition: width var(--duration-base) var(--ease-architectural);
}

.paper-bar.bar-navy {
  background-color: rgba(4, 25, 57, 0.18);
}

/* Quantitative 5-Bar Chart (Alternating Navy #041939 & Cyan #0E9BD3 + FIG. 1 [1]) */
.paper-chart-box {
  background-color: var(--color-paper);
  border: 1px solid var(--border-structural);
  border-radius: var(--radius-sm);
  padding: 18px 20px 14px;
}

.quant-bars-stage {
  height: 110px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--color-navy);
  direction: ltr;
}

.quant-bar-col {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
}

.quant-bar-fill {
  width: 100%;
  max-width: 36px;
  border-radius: var(--radius-xs) var(--radius-xs) 0 0;
  background-color: var(--color-navy);
  transition: height 420ms var(--ease-architectural);
}

.quant-bar-col.is-cyan .quant-bar-fill {
  background-color: var(--color-cyan);
}

.quant-bar-val {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--color-steel);
}

.paper-fig-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  direction: ltr;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: var(--tracking-mono);
  color: var(--color-navy);
}

/* --------------------------------------------------------------------------
   5. SERVICE 03: PRESENTATION DESIGN (Dark Authority Section & 3-Slide Stack)
   -------------------------------------------------------------------------- */
.deck-stack-wrapper {
  position: relative;
  padding: 28px 16px 20px;
}

.slide-stack-stage {
  position: relative;
  min-height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Translucent Wireframe Back-Cards (1px solid rgba(255,255,255,0.18)) */
.slide-back-card {
  position: absolute;
  width: 88%;
  max-width: 520px;
  height: 270px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  transition: all var(--duration-base) var(--ease-architectural);
  cursor: pointer;
}

.slide-back-card.layer-3 {
  transform: translate(-24px, -22px) scale(0.92);
  opacity: 0.55;
}

.slide-back-card.layer-2 {
  transform: translate(-12px, -11px) scale(0.96);
  opacity: 0.8;
  background: rgba(255, 255, 255, 0.07);
}

/* Foreground Crisp White Slide */
.slide-foreground-card {
  position: relative;
  z-index: 3;
  width: 92%;
  max-width: 520px;
  background-color: var(--color-white);
  color: var(--color-navy);
  border-radius: var(--radius-md);
  padding: clamp(20px, 3vw, 30px);
  box-shadow: var(--shadow-dark-stage);
  border-top: 3px solid var(--color-cyan);
  transition: transform var(--duration-base) var(--ease-architectural);
}

.slide-fg-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: var(--hairline-1);
}

.slide-fg-index {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: 0.14em;
}

.slide-fg-body {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 20px;
  align-items: center;
}

.slide-fg-copy h3 {
  color: var(--color-navy) !important;
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.slide-fg-copy p {
  color: var(--color-slate) !important;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.slide-headline-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.slide-bar-navy {
  height: 8px;
  border-radius: var(--radius-xs);
  background-color: var(--color-navy);
  width: 85%;
}

.slide-bar-steel {
  height: 6px;
  border-radius: var(--radius-xs);
  background-color: var(--color-mist);
  width: 65%;
}

.slide-donut-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.donut-svg {
  width: 136px;
  height: 136px;
  transform: rotate(-90deg);
}

.donut-segment-cyan {
  transition: stroke-dasharray 480ms var(--ease-architectural);
}

.donut-center-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.donut-pct {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-navy);
}

.donut-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--color-steel);
}

/* Slide Deck Controls */
.slide-controls-bar {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.slide-step-pills {
  display: flex;
  gap: 8px;
}

.slide-step-btn {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(227, 240, 248, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-white);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-architectural);
}

.slide-step-btn:hover,
.slide-step-btn.is-active {
  background-color: var(--color-cyan);
  border-color: var(--color-cyan);
  color: var(--color-navy);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   6. SERVICE 04: UNIVERSITY PROJECTS & ARCHITECTURE NODE DIAGRAM
   -------------------------------------------------------------------------- */
.arch-diagram-card {
  background-color: var(--color-white);
  border: 1px solid var(--border-structural);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-soft);
}

.stage-filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.stage-tab-btn {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-interactive);
  background-color: var(--color-paper);
  color: var(--color-navy);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--duration-fast) var(--ease-architectural);
}

.stage-tab-btn .mono-idx {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--color-steel);
}

.stage-tab-btn:hover,
.stage-tab-btn.is-active {
  background-color: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-cyan);
}

.stage-tab-btn.is-active .mono-idx {
  color: var(--color-cyan);
}

/* 5-Node Flowchart Canvas (INTERFACE ── API ── DATABASE + MODEL & DEPLOY) */
.flowchart-canvas {
  margin-block: 20px;
  background-color: var(--color-paper);
  border: 1px solid var(--border-structural);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  background-image:
    linear-gradient(to left, rgba(227, 240, 248, 0.9) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(227, 240, 248, 0.9) 1px, transparent 1px);
  background-size: 28px 28px;
  direction: ltr;
}

.flowchart-svg {
  width: 100%;
  height: auto;
  max-height: 290px;
  display: block;
}

.flow-line {
  stroke: var(--color-mist);
  stroke-width: 2;
  transition: stroke var(--duration-base) var(--ease-architectural);
}

.flow-line.is-active {
  stroke: var(--color-cyan);
  stroke-width: 2.2;
}

.flow-node-box {
  cursor: pointer;
}

.flow-node-rect {
  fill: var(--color-white);
  stroke: var(--color-navy);
  stroke-width: 1.8;
  rx: 10px;
  transition: all var(--duration-base) var(--ease-architectural);
}

.flow-node-box:hover .flow-node-rect,
.flow-node-box.is-active .flow-node-rect {
  fill: var(--color-navy);
  stroke: var(--color-cyan);
  stroke-width: 2.2;
}

.flow-node-label {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  fill: var(--color-navy);
  transition: fill var(--duration-base) var(--ease-architectural);
}

.flow-node-box:hover .flow-node-label,
.flow-node-box.is-active .flow-node-label {
  fill: var(--color-white);
}

.flow-chain-dot {
  fill: var(--color-navy);
  transition: fill var(--duration-base) var(--ease-architectural);
}

.flow-chain-dot.is-cyan,
.flow-chain-dot.is-active {
  fill: var(--color-cyan);
}

/* --------------------------------------------------------------------------
   7. SERVICE 05: UNIVERSITY ASSIGNMENTS (Typographic 3-Tier Statement)
   -------------------------------------------------------------------------- */
.statement-tiers-list {
  border-top: 2px solid var(--color-navy);
  margin-bottom: 28px;
}

.statement-tier-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 24px 16px;
  border-bottom: 1px solid var(--border-structural);
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-architectural);
}

.statement-tier-row:hover,
.statement-tier-row.is-active {
  background-color: var(--color-paper);
}

.tier-mono-num {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: var(--tracking-mono);
  color: var(--color-steel);
  text-align: right;
}

.statement-tier-row.is-active .tier-mono-num {
  color: var(--color-navy);
}

.tier-display-phrase {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.26;
}

.tier-detail-badge {
  font-size: 0.9rem;
  color: var(--color-slate);
  max-width: 34ch;
}

.assignment-blueprint-card {
  background-color: var(--color-paper);
  border: 1px solid var(--border-structural);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow-soft);
}

.rubric-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.rubric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background-color: var(--color-white);
  border: 1px solid var(--border-structural);
  border-radius: var(--radius-sm);
  gap: 12px;
}

.rubric-row.is-highlighted {
  border-color: var(--color-cyan);
  border-right-width: 3px;
}

/* --------------------------------------------------------------------------
   8. SERVICE 06: POST FLOW STUDIO — SMART TEMPLATES & MULTI-SIZING ENGINE
   -------------------------------------------------------------------------- */
.studio-stage-card {
  background-color: var(--color-paper);
  border: 1px solid var(--border-structural);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.5vw, 28px);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.studio-ratio-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.studio-tab-btn {
  padding: 6px 12px;
  background-color: var(--color-white);
  border: 1px solid var(--border-interactive);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-steel);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--duration-fast) var(--ease-architectural);
}

.studio-tab-btn:hover,
.studio-tab-btn.is-active {
  background-color: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-cyan);
}

.studio-workspace {
  display: grid;
  grid-template-columns: 215px 1fr;
  gap: 16px;
  margin-top: 14px;
  min-height: 380px;
}

.studio-tools-sidebar {
  background: var(--color-white);
  border: 1px solid var(--border-structural);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
}

.studio-tools-section-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--color-steel);
  margin-bottom: 8px;
  font-weight: 600;
}

.studio-template-buttons {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.studio-tpl-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: var(--color-paper);
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-navy);
  cursor: pointer;
  text-align: right;
  transition: all var(--duration-fast) var(--ease-architectural);
}

.studio-tpl-btn .tpl-bullet-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-steel);
  font-weight: 600;
}

.studio-tpl-btn:hover {
  background: var(--color-mist);
  border-color: rgba(14, 155, 211, 0.3);
}

.studio-tpl-btn.is-active {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-cyan);
}

.studio-tpl-btn.is-active .tpl-bullet-num {
  color: var(--color-cyan);
}

.studio-layers-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.studio-layer-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background: var(--color-paper);
  border: 1px solid var(--border-interactive);
  border-radius: var(--radius-xs);
  font-size: 0.74rem;
  font-family: var(--font-mono);
  color: var(--color-steel);
  cursor: pointer;
  transition: border-color var(--duration-fast), background-color var(--duration-fast);
}

.studio-layer-chip:hover,
.studio-layer-chip.is-active {
  border-color: var(--color-cyan);
  background: var(--color-white);
}

.studio-layer-chip .layer-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-navy);
}

.studio-layer-chip .layer-dot.is-cyan {
  background-color: var(--color-cyan);
}

.studio-canvas-stage {
  background: radial-gradient(circle at center, var(--color-white) 0%, var(--color-mist) 100%);
  border: 1px solid var(--border-structural);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 444px;
  min-height: 444px;
  overflow: hidden;
}

.studio-canvas-stage[data-active-ratio="9:16"] .post-compare-grid {
  grid-template-columns: 1fr;
  gap: 6px;
}

.studio-canvas-stage[data-active-ratio="16:9"] .artboard-dynamic-content {
  min-height: 118px;
}

.studio-canvas-stage[data-active-ratio="16:9"] .post-code-window {
  padding: 7px 9px;
}

.studio-artboard {
  background: var(--color-white);
  border: 1px solid var(--border-interactive);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-panel);
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: max-width 320ms var(--ease-architectural),
              aspect-ratio 320ms var(--ease-architectural),
              outline-color var(--duration-fast);
}

.studio-artboard.is-layer-highlighted,
.studio-artboard .is-layer-highlighted {
  outline: 2px dashed var(--color-cyan);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

.artboard-mark {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-steel);
  opacity: 0.6;
  user-select: none;
}

.mark-tl { top: 6px; right: 8px; }
.mark-tr { top: 6px; left: 8px; }
.mark-bl { bottom: 6px; right: 8px; }
.mark-br { bottom: 6px; left: 8px; }

.artboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-structural);
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.artboard-brand-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--color-navy);
  letter-spacing: 0.08em;
}

.brand-v-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: var(--color-navy);
  color: var(--color-cyan);
  border-radius: var(--radius-xs);
  font-size: 0.7rem;
  font-weight: 700;
}

.artboard-meta-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--color-slate);
  background: var(--color-paper);
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-structural);
  letter-spacing: 0.05em;
}

.artboard-dynamic-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 170px;
}

.post-eyebrow-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-steel);
  margin-bottom: 6px;
}

.post-stat-hero {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-block: 4px;
}

.post-stat-number {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1;
  font-family: var(--font-mono);
}

.post-stat-unit {
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--color-steel);
  background: rgba(14, 155, 211, 0.12);
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.08em;
}

.post-content-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.35;
  margin-bottom: 8px;
}

.post-metric-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 6px;
}

.post-bar-track {
  height: 6px;
  background: var(--color-mist);
  border-radius: var(--radius-xs);
  overflow: hidden;
}

.post-bar-fill {
  height: 100%;
  background: var(--color-navy);
  border-radius: var(--radius-xs);
}

.post-bar-fill.is-cyan {
  background: var(--color-cyan);
}

/* Compare Template */
.post-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}

.post-compare-card {
  padding: 8px 10px;
  border-radius: var(--radius-xs);
  font-size: 0.72rem;
  line-height: 1.35;
}

.post-compare-card.is-bad {
  background: var(--color-paper);
  border: 1px solid var(--border-structural);
  color: var(--color-slate);
}

.post-compare-card.is-good {
  background: var(--color-mist);
  border: 1px solid rgba(14, 155, 211, 0.45);
  color: var(--color-navy);
}

.post-compare-pill {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.post-compare-status {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
}

.post-compare-pill.is-cyan,
.post-compare-status.is-cyan {
  color: var(--color-steel);
}

/* Workflow Template */
.post-wf-chain {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.post-wf-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  background: var(--color-paper);
  border: 1px solid var(--border-structural);
  border-radius: var(--radius-xs);
  font-size: 0.78rem;
}

.post-wf-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-steel);
}

.post-wf-line {
  width: 2px;
  height: 6px;
  background: var(--color-cyan);
  margin-inline-start: 14px;
}

/* Code Template */
.post-code-window {
  background: var(--color-navy);
  border-radius: var(--radius-xs);
  padding: 10px;
  color: var(--color-mist);
  direction: ltr;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 1.45;
}

.post-code-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(227, 240, 248, 0.12);
  padding-bottom: 5px;
  margin-bottom: 6px;
}

.post-code-dots {
  display: flex;
  gap: 4px;
}

.post-code-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(227, 240, 248, 0.3);
}

.post-code-title {
  font-size: 0.62rem;
  color: rgba(227, 240, 248, 0.6);
}

.post-code-body code .kw { color: var(--color-cyan); }
.post-code-body code .str { color: var(--color-cyan-light); }

/* Quote Template */
.post-quote-mark {
  font-family: Georgia, serif;
  font-size: 2.6rem;
  line-height: 0.7;
  color: var(--color-cyan);
}

.post-quote-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.45;
  margin-block: 6px;
  border-right: 2px solid var(--color-cyan);
  padding-right: 8px;
}

.post-quote-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-name {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--color-steel);
}

.author-sub {
  font-size: 0.7rem;
  color: var(--color-slate);
}

.artboard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-structural);
  padding-top: 8px;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--color-steel);
}

.studio-engine-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-structural);
  flex-wrap: wrap;
}

.studio-engine-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.contrast-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  background: rgba(14, 155, 211, 0.10);
  color: var(--color-navy);
  border: 1px solid rgba(14, 155, 211, 0.35);
}

.status-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-cyan);
  box-shadow: 0 0 0 2px rgba(14, 155, 211, 0.22);
}

.engine-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  background: var(--color-mist);
  color: var(--color-steel);
  border: 1px solid var(--border-structural);
}

.studio-export-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.studio-action-btn {
  padding: 6px 12px;
  background: var(--color-white);
  border: 1px solid var(--border-interactive);
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-navy);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-architectural);
}

.studio-action-btn:hover {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-cyan);
}

.studio-toast-bar {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-cyan);
  margin-top: 10px;
  font-size: 0.85rem;
}

.studio-toast-bar.is-visible {
  display: flex;
}

.studio-toast-bar .toast-icon {
  color: var(--color-cyan);
  font-weight: bold;
}

/* --------------------------------------------------------------------------
   9. METHODOLOGY NODE CHAIN & DELIVERABLE SYSTEM MATRIX
   -------------------------------------------------------------------------- */
.node-chain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}

.method-node-card {
  background-color: var(--color-white);
  border: 1px solid var(--border-interactive);
  border-radius: var(--radius-md);
  padding: 22px;
  position: relative;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-architectural);
}

.method-node-card:hover,
.method-node-card.is-active {
  border-color: var(--color-cyan);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.method-node-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.node-chain-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.node-dot-navy {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-navy);
}

.node-line-cyan {
  width: 24px;
  height: 2px;
  background-color: var(--color-cyan);
}

.node-dot-cyan {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-cyan);
}

/* Architectural Footer */
.site-footer {
  background-color: var(--color-white);
  border-top: 2px solid var(--color-cyan);
  padding-block: 48px 36px;
}

.footer-bottom-bar {
  margin-top: 32px;
  padding-top: 20px;
  border-top: var(--hairline-1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

/* Direct Contact Channels Group (WhatsApp, Email, Instagram) */
.contact-channels-group {
  display: flex;
  align-items: stretch;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-channel-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-interactive);
  background-color: var(--color-paper);
  color: var(--color-navy);
  text-decoration: none;
  transition: all var(--duration-base) var(--ease-architectural);
  box-shadow: var(--shadow-soft);
}

.contact-channel-btn:hover {
  border-color: var(--color-cyan);
  background-color: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-panel);
}

.contact-channel-btn.channel-whatsapp {
  background-color: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}

.contact-channel-btn.channel-whatsapp:hover {
  background-color: var(--color-steel);
  border-color: var(--color-cyan);
}

.contact-channel-btn .channel-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-xs);
  background-color: var(--color-white);
  color: var(--color-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border-structural);
  transition: all var(--duration-base) var(--ease-architectural);
}

.contact-channel-btn.channel-whatsapp .channel-icon {
  background-color: rgba(14, 155, 211, 0.18);
  color: var(--color-cyan);
  border-color: rgba(14, 155, 211, 0.35);
}

.contact-channel-btn:hover .channel-icon {
  background-color: var(--color-cyan);
  color: var(--color-navy);
  border-color: var(--color-cyan);
}

.contact-channel-btn .channel-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
}

.contact-channel-btn .channel-label {
  font-weight: 700;
  font-size: 0.92rem;
}

.contact-channel-btn .channel-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--color-steel);
  transition: color var(--duration-base) var(--ease-architectural);
}

.contact-channel-btn.channel-whatsapp .channel-meta,
.contact-channel-btn:hover .channel-meta {
  color: var(--color-mist);
}

/* Unified Responsive Component Breakpoints (360px–960px) */
@media (max-width: 960px) {
  .research-split-stage {
    grid-template-columns: 1fr;
  }

  .research-toc-panel {
    border-left: none;
    border-bottom: 1px solid var(--border-structural);
  }

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

@media (max-width: 640px) {
  .arch-section {
    padding-block: 44px;
  }

  .section-coord-strip {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 14px;
    margin-bottom: 24px;
    gap: 4px;
  }

  .mono-tag,
  .mono-index,
  .mono-coord {
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    flex-wrap: wrap;
    word-break: break-word;
  }

  .brand-logo-pill {
    padding: 6px 12px;
  }

  .brand-logo-img {
    height: 34px;
  }

  .header-inner {
    gap: 10px;
  }

  .site-header .btn-primary {
    padding: 9px 14px;
    font-size: 0.88rem;
  }

  .hero-headline,
  .editorial-headline {
    max-width: 100%;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-secondary {
    width: 100%;
  }

  .hero-metrics-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .metric-value {
    font-size: 0.95rem;
  }

  .metric-label {
    font-size: 0.74rem;
    line-height: 1.35;
  }

  .pillar-selector-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  #heroReadoutJumpBtn {
    width: 100%;
    justify-content: center;
  }

  .hero-lattice-stage,
  .web-stage-card,
  .arch-diagram-card,
  .assignment-blueprint-card,
  .studio-stage-card,
  .research-paper-panel,
  .research-toc-panel {
    padding: 16px;
  }

  .toc-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .toc-item-btn {
    flex-direction: column-reverse;
    align-items: flex-start;
    padding: 10px;
    gap: 4px;
  }

  .toc-item-title {
    font-size: 0.84rem;
  }

  .stage-filter-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .stage-tab-btn {
    justify-content: center;
    font-size: 0.82rem;
    padding: 8px 10px;
  }

  .studio-workspace {
    grid-template-columns: 1fr;
  }

  .studio-template-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .studio-tpl-btn:last-child {
    grid-column: 1 / -1;
  }

  .studio-layers-stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .studio-layer-chip {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 6px 8px;
    font-size: 0.66rem;
  }

  .studio-layer-chip .layer-title {
    line-height: 1.25;
  }

  .studio-canvas-stage {
    height: auto;
    min-height: 380px;
  }

  .studio-artboard {
    max-width: 100%;
  }

  .studio-ratio-tabs {
    width: 100%;
    justify-content: space-between;
  }

  .studio-tab-btn {
    flex: 1;
    padding: 6px 4px;
    font-size: 0.65rem;
    justify-content: center;
  }

  .studio-export-group {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .studio-action-btn {
    text-align: center;
  }

  .dual-device-canvas {
    padding: 14px;
    min-height: 270px;
  }

  .mock-desktop-window {
    width: 100%;
  }

  .mock-mist-grid {
    gap: 8px;
  }

  .mock-mobile-window {
    width: 124px;
    left: 12px;
    bottom: 12px;
    border-radius: var(--radius-md);
  }

  .viewport-switcher {
    width: 100%;
    justify-content: space-between;
  }

  .vp-btn {
    flex: 1;
    padding: 6px 6px;
    font-size: 0.65rem;
    text-align: center;
  }

  .slide-stack-stage {
    min-height: 360px;
  }

  .slide-fg-body,
  .node-chain-grid {
    grid-template-columns: 1fr;
  }

  .slide-back-card {
    width: 92%;
    height: 92%;
  }

  .slide-back-card.layer-3 {
    transform: translate(-10px, -14px) scale(0.94);
  }

  .slide-back-card.layer-2 {
    transform: translate(-5px, -7px) scale(0.97);
  }

  .slide-foreground-card {
    width: 96%;
    padding: 18px;
  }

  .tier-display-phrase {
    font-size: 1.55rem;
  }

  .statement-tier-row {
    grid-template-columns: 42px 1fr;
    padding: 16px 10px;
    gap: 8px 12px;
  }

  .tier-detail-badge {
    grid-column: 1 / -1;
    font-size: 0.84rem;
  }

  .contact-channels-group {
    width: 100%;
    flex-direction: column;
  }

  .contact-channel-btn {
    width: 100%;
    justify-content: flex-start;
  }
}

/* --------------------------------------------------------------------------
   10. BIDIRECTIONAL ARCHITECTURAL SCROLL ANIMATIONS (UP & DOWN)
   -------------------------------------------------------------------------- */
.scroll-reveal {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  transition:
    opacity 560ms var(--ease-architectural),
    transform 560ms var(--ease-architectural);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.scroll-reveal.is-below {
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(0.985);
  transition-delay: 0ms;
}

.scroll-reveal.is-above {
  opacity: 0;
  transform: translate3d(0, -28px, 0) scale(0.985);
  transition-delay: 0ms;
}

.scroll-reveal.is-inview {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal,
  .scroll-reveal.is-below,
  .scroll-reveal.is-above,
  .scroll-reveal.is-inview {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
