/* ==========================================================================
   Projects & Dedicated Case Architecture Styling
   ========================================================================== */

.page-header-section {
  padding: clamp(8rem, 16vh, 12rem) 0 clamp(3rem, 6vh, 5rem);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  background-color: var(--bg-primary);
}

.page-header-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.page-headline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 8.5rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.035em;
  color: var(--text-primary);
}

.page-description {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.6;
  font-weight: 300;
  margin-top: 2rem;
}

/* ==========================================================================
   Project Viewport Stage (Hero Asset Frame)
   ========================================================================== */
.project-viewport-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 780px;
  background-color: #070709;
  border: 1px solid var(--border-subtle);
  margin: var(--space-xl) 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.viewport-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.viewport-placeholder-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1rem, 2.5vw, 2rem);
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(142, 15, 22, 0.08) 0%, transparent 65%);
}

.viewport-telemetry-header,
.viewport-telemetry-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.viewport-center-prompt {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.viewport-prompt-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  letter-spacing: 0.08em;
  color: var(--text-primary);
}

.viewport-prompt-subtitle {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--accent-red-bright);
}

/* ==========================================================================
   Project Technical Specifications Matrix
   ========================================================================== */
.specs-matrix-section {
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--border-subtle);
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.spec-item {
  border-left: 1px solid var(--border-subtle);
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.spec-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--accent-red);
  text-transform: uppercase;
}

.spec-val {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.spec-detail {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Project Editorial Narrative Layout
   ========================================================================== */
.narrative-section {
  padding: var(--space-2xl) 0;
}

.narrative-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-xl);
}

.narrative-col-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.narrative-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
}

.narrative-col-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.narrative-paragraph {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  font-weight: 300;
}

/* Feature Modules Dual Grid */
.modules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  margin: var(--space-xl) 0;
}

.module-card {
  background: var(--bg-primary);
  padding: clamp(2rem, 3.5vw, 3.5rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.module-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.module-index {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-red);
}

.module-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-primary);
  font-weight: 700;
}

.module-desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Navigation between projects */
.project-pagination-section {
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-xl) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pagination-link {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: transform var(--duration-fast) ease;
}

.pagination-link:hover {
  transform: translateX(6px);
}

.pagination-link.prev:hover {
  transform: translateX(-6px);
}

.pagination-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-red);
  letter-spacing: 0.16em;
}

.pagination-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--text-primary);
}

/* Responsive Rules for Projects */
@media (max-width: 1024px) {
  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .narrative-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .modules-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-header-section {
    padding: clamp(5.2rem, 12vh, 7.5rem) 0 clamp(2rem, 4vh, 3.5rem);
  }

  .page-headline {
    font-size: clamp(2rem, 9.2vw, 3.8rem);
    line-height: 0.94;
    letter-spacing: -0.01em;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
  }

  .page-description {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-top: 1.25rem;
  }

  .specs-grid {
    grid-template-columns: 1fr;
  }
  .project-pagination-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
}

/* ==========================================================================
   Architecture Multi-Project Showcase (3-Column Deck Grid with Cascade Peeking)
   ========================================================================== */
.arch-showcase-section {
  position: relative;
  padding: clamp(2rem, 4vh, 3.5rem) 0 clamp(4rem, 8vh, 6.5rem);
  background-color: var(--bg-primary);
}

.arch-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 2.5vw, 3rem);
  align-items: start;
}

.arch-card {
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  background: transparent;
  user-select: none;
}

.arch-card-stack {
  position: relative;
  width: 100%;
  aspect-ratio: 4967 / 7022; /* High precision A4 proportion matching original plates */
  margin-bottom: 4rem;
}

.arch-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #08080c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.45s ease,
              opacity 0.45s ease,
              border-color 0.35s ease,
              box-shadow 0.45s ease;
  will-change: transform, filter, opacity;
}

/* Default Stacking Order & Stepping */
.arch-layer-cover {
  z-index: 10;
  transform: translateY(0);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.85);
  border-color: rgba(255, 255, 255, 0.18);
}

.arch-layer-2 {
  z-index: 9;
  transform: translateY(10px) scale(0.985);
  opacity: 0.85;
  filter: brightness(0.55);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
}

.arch-layer-3 {
  z-index: 8;
  transform: translateY(20px) scale(0.970);
  opacity: 0.70;
  filter: brightness(0.38);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

.arch-layer-4 {
  z-index: 7;
  transform: translateY(30px) scale(0.955);
  opacity: 0.55;
  filter: brightness(0.26);
}

.arch-layer-5 {
  z-index: 6;
  transform: translateY(40px) scale(0.940);
  opacity: 0.40;
  filter: brightness(0.18);
}

/* ==========================================================================
   Hover Cascade Fan-Out Animation ("kalan sayfalar alta doğru kendilerini göstersin")
   ========================================================================== */
.arch-card:hover .arch-layer-cover {
  transform: translateY(-8px);
  border-color: var(--accent-red-bright);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 25px rgba(142, 15, 22, 0.45);
}

.arch-card:hover .arch-layer-2 {
  transform: translateY(32px) scale(0.985);
  opacity: 0.95;
  filter: brightness(0.85);
  border-color: rgba(200, 20, 30, 0.55);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.8);
}

.arch-card:hover .arch-layer-3 {
  transform: translateY(64px) scale(0.970);
  opacity: 0.90;
  filter: brightness(0.72);
  border-color: rgba(200, 20, 30, 0.45);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.7);
}

.arch-card:hover .arch-layer-4 {
  transform: translateY(96px) scale(0.955);
  opacity: 0.85;
  filter: brightness(0.60);
  border-color: rgba(200, 20, 30, 0.35);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.6);
}

.arch-card:hover .arch-layer-5 {
  transform: translateY(128px) scale(0.940);
  opacity: 0.80;
  filter: brightness(0.50);
  border-color: rgba(200, 20, 30, 0.25);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.5);
}

/* Overlay & Telemetry Elements on Cover */
.arch-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(180deg, rgba(0,0,0,0.70) 0%, transparent 22%, transparent 78%, rgba(0,0,0,0.80) 100%);
  pointer-events: none;
  border-radius: 4px;
}

.arch-card-telemetry-top,
.arch-card-telemetry-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.arch-page-count {
  color: var(--accent-red-bright);
  font-weight: 600;
}

.arch-card-center-action {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex;
  justify-content: center;
}

.arch-card:hover .arch-card-center-action {
  opacity: 1;
  transform: translateY(0);
}

.arch-inspect-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  background: rgba(10, 10, 14, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--accent-red-bright);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  border-radius: 2px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

/* Category Header within Design Studio */
.arch-category-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 1.5rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 1rem;
}

.arch-category-meta-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.arch-category-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0;
  line-height: 1;
}

.arch-card-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  margin-top: 0;
}

.arch-card-info-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.arch-card-index {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-red-bright);
  font-weight: 700;
}

.arch-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 2.2rem);
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin: 0;
  transition: color 0.25s ease;
}

.arch-card:hover .arch-card-title {
  color: var(--accent-red-bright);
}

.arch-card-meta {
  font-family: var(--font-mono);
  font-size: 0.70rem;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
}

/* Responsive Rules for 3-Column Deck */
@media (max-width: 1024px) {
  .arch-projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .arch-projects-grid {
    grid-template-columns: 1fr;
    gap: 3.25rem;
  }

  .arch-card-info-header {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  /* Intrinsic stacked card perspective on mobile screens without hover */
  .arch-layer-2 {
    transform: translateY(-8px) scale(0.97);
    opacity: 0.85;
  }

  .arch-layer-3 {
    transform: translateY(-16px) scale(0.94);
    opacity: 0.70;
  }

  .arch-layer-4 {
    transform: translateY(-22px) scale(0.91);
    opacity: 0.55;
  }

  .arch-layer-5 {
    transform: translateY(-28px) scale(0.88);
    opacity: 0.40;
  }

  .arch-card:active .arch-layer-2,
  .arch-card:hover .arch-layer-2 {
    transform: translateY(14px) scale(0.97);
  }

  .arch-card:active .arch-layer-3,
  .arch-card:hover .arch-layer-3 {
    transform: translateY(28px) scale(0.94);
  }

  .arch-card:active .arch-layer-4,
  .arch-card:hover .arch-layer-4 {
    transform: translateY(42px) scale(0.91);
  }

  .arch-card:active .arch-layer-5,
  .arch-card:hover .arch-layer-5 {
    transform: translateY(56px) scale(0.88);
  }

  .arch-card-telemetry-top,
  .arch-card-telemetry-bottom {
    font-size: 0.58rem;
    padding: 0.75rem 1rem;
  }

  .arch-inspect-btn {
    font-size: 0.68rem;
    padding: 0.5rem 1rem;
  }
}

/* ==========================================================================
   Interactive Architecture Full-Screen Inspection Reader Modal
   ========================================================================== */
.arch-modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  background: rgba(4, 4, 6, 0.96);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

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

.arch-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2.5rem;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(10, 10, 14, 0.85);
  z-index: 10;
}

.arch-modal-title-group {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
}

.arch-modal-proj-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text-primary);
  letter-spacing: 0.08em;
}

.arch-modal-page-counter {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--accent-red-bright);
}

.arch-modal-close-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  padding: 0.5rem 1.15rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.arch-modal-close-btn:hover {
  border-color: var(--accent-red-bright);
  color: #fff;
  background: rgba(142, 15, 22, 0.35);
}

.arch-modal-body {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: hidden;
}

.arch-modal-image-wrapper {
  position: relative;
  max-width: 90vw;
  max-height: calc(100vh - 190px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 25px 70px rgba(0,0,0,0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  overflow: hidden;
  background: #08080a;
}

.arch-modal-img {
  max-width: 100%;
  max-height: calc(100vh - 190px);
  object-fit: contain;
  transition: opacity 0.25s ease, transform 0.25s ease;
  user-select: none;
}

.arch-modal-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(10, 10, 14, 0.88);
  border: 1px solid var(--border-subtle);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 20;
}

.arch-modal-nav-btn:hover {
  border-color: var(--accent-red-bright);
  background: var(--accent-red-bright);
  transform: translateY(-50%) scale(1.08);
}

.arch-modal-nav-prev {
  left: 2rem;
}

.arch-modal-nav-next {
  right: 2rem;
}

.arch-modal-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 2rem;
  border-top: 1px solid var(--border-subtle);
  background: rgba(10, 10, 14, 0.85);
  z-index: 10;
  overflow-x: auto;
}

.arch-thumb-btn {
  width: 44px;
  height: 62px;
  border-radius: 2px;
  border: 1px solid var(--border-subtle);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  opacity: 0.45;
  transition: all 0.2s ease;
}

.arch-thumb-btn.is-active,
.arch-thumb-btn:hover {
  opacity: 1;
  border-color: var(--accent-red-bright);
  transform: scale(1.1);
  box-shadow: 0 0 14px rgba(142, 15, 22, 0.7);
}

/* ==========================================================================
   Software Stack & Programs Used Bar
   ========================================================================== */
.software-stack-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.software-stack-label {
  font-family: var(--font-mono);
  font-size: 0.70rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.software-stack-label::before {
  content: '//';
  color: var(--accent-red-bright);
  font-weight: 700;
}

.software-icons-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.software-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  color: #ffffff;
  transition: all 0.25s ease;
  user-select: none;
}

.software-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6), 0 0 14px rgba(255, 255, 255, 0.12);
}

.software-badge-icon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  fill: #ffffff;
}

.software-badge-icon svg {
  width: 100%;
  height: 100%;
  fill: #ffffff;
  display: block;
}

.software-badge-name {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: #ffffff;
  font-weight: 500;
}

/* External Project Link Button */
.project-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  border-radius: 2px;
  text-decoration: none;
  transition: all var(--duration-fast) ease;
}

.project-link-btn:hover {
  background: var(--accent-red-bright);
  border-color: var(--accent-red-bright);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(142, 15, 22, 0.6);
  transform: translateY(-1px);
}

.arch-modal-link-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  padding: 0.5rem 1.15rem;
  text-decoration: none;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.arch-modal-link-btn:hover {
  border-color: var(--accent-red-bright);
  color: #ffffff;
  background: var(--accent-red-bright);
  box-shadow: 0 0 12px rgba(142, 15, 22, 0.6);
}

/* ==========================================================================
   Mobile Responsive Rules for Software Stack & Reader Modal
   ========================================================================== */
@media (max-width: 768px) {
  .software-stack-bar {
    gap: 0.85rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
  }

  .software-stack-label {
    font-size: 0.65rem;
    width: 100%;
  }

  .software-icons-group {
    gap: 0.45rem;
    width: 100%;
  }

  .software-badge {
    padding: 0.38rem 0.65rem;
    gap: 0.45rem;
  }

  .software-badge-icon {
    width: 15px;
    height: 15px;
  }

  .software-badge-name {
    font-size: 0.60rem;
    letter-spacing: 0.10em;
  }

  .arch-modal-header {
    padding: 0.85rem 1.15rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
  }

  .arch-modal-title-group {
    gap: 0.65rem;
  }

  .arch-modal-proj-name {
    font-size: 1.05rem;
  }

  .arch-modal-page-counter {
    font-size: 0.65rem;
  }

  .arch-modal-link-btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.62rem;
  }

  .arch-modal-close-btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.62rem;
  }

  .arch-modal-body {
    padding: 0.75rem;
  }

  .arch-modal-image-wrapper {
    max-width: 96vw;
    max-height: calc(100vh - 165px);
  }

  .arch-modal-img {
    max-height: calc(100vh - 165px);
  }

  .arch-modal-nav-btn {
    width: 42px;
    height: 42px;
    font-size: 1.15rem;
    background: rgba(10, 10, 14, 0.92);
  }

  .arch-modal-nav-prev {
    left: 0.75rem;
  }

  .arch-modal-nav-next {
    right: 0.75rem;
  }

  .arch-modal-footer {
    padding: 0.65rem 1rem;
    gap: 0.5rem;
  }

  .arch-thumb-btn {
    width: 38px;
    height: 52px;
  }
}
