/* ============================================================
   YULIYA KUZINA — ARCHITECTURAL PORTFOLIO
   Block 1 · continued — Credibility chapters
   (engineering-as-art · drafting grid · infrastructure ·
    BIM skills · BIM projects)
   ============================================================ */

/* ---------- SECTION SCAFFOLDING ---------- */
.chapter { padding: var(--space-4) var(--gutter); }
.chapter__head { max-width: 62ch; margin-bottom: var(--space-3); }
.chapter__head .label { color: var(--c-dark-concrete); }
.chapter__head h2 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 0.98;
  margin-top: 0.6rem;
  color: var(--c-ink);
}
.chapter--dark { background: var(--c-ink); }
.chapter--tight-bottom { padding-bottom: 0; }
.chapter--flush { padding-top: 2px; padding-bottom: 0; }
.chapter--dark .chapter__head h2 { color: var(--c-highlight); }
.chapter--dark .chapter__head .label { color: var(--c-shadow); }

/* ============================================================
   ENGINEERING AS ART — three asphalt-run banners
   ============================================================ */
.art-strip { display: flex; flex-direction: column; gap: 2px; }
.art-strip__frame { overflow: hidden; height: clamp(180px, 26svh, 320px); position: relative; }
.art-strip__frame img { width: 100%; height: 100%; object-fit: cover; }
.art-strip__frame--wide  img { object-position: 30% 40%; }
.art-strip__frame--mid   img { object-position: 60% 55%; transform: scale(1.35); }
.art-strip__frame--macro img { object-position: 80% 30%; transform: scale(1.9); }
.art-strip__tag {
  position: absolute; left: var(--gutter); bottom: 0.9rem;
  color: rgba(237,236,232,0.8); z-index: 2;
}

/* ============================================================
   DRAFTING GRID — technical drawing sheets, CSS-drawn
   ============================================================ */
.drawing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(180px, 24vw, 235px);
  grid-auto-flow: dense;
  gap: 2px;
  background: var(--c-shadow);
}
@media (max-width: 760px) { .drawing-grid { grid-template-columns: repeat(2, 1fr); } }

.sheet {
  background: var(--c-highlight);
  height: 100%;
  position: relative;
  padding: 0.9rem;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
}
.sheet--tall { grid-row: span 2; }
.sheet__hatch {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    45deg, rgba(104,106,104,0.16) 0, rgba(104,106,104,0.16) 1px,
    transparent 1px, transparent 13px);
}
.sheet__crop {
  position: absolute; width: 12px; height: 12px;
  border-color: var(--c-dark-concrete); border-style: solid; opacity: 0.7;
}
.sheet__crop--tl { top: 8px; left: 8px; border-width: 1.5px 0 0 1.5px; }
.sheet__crop--br { bottom: 34px; right: 8px; border-width: 0 1.5px 1.5px 0; }
.sheet__title {
  position: relative; z-index: 1;
  font-family: var(--font-mono); font-size: 0.66rem;
  letter-spacing: 0.06em; color: var(--c-ink-soft);
}
.sheet__code {
  position: relative; z-index: 1;
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.05em; color: var(--c-shadow);
  border-top: 1px solid var(--c-shadow); padding-top: 0.4rem;
}
.sheet--dark { background: var(--c-ink-soft); }
.sheet--dark .sheet__title { color: var(--c-highlight); }
.sheet--dark .sheet__code  { color: var(--c-shadow); border-color: var(--c-dark-concrete); }
.sheet--dark .sheet__hatch {
  background-image: repeating-linear-gradient(
    45deg, rgba(237,236,232,0.08) 0, rgba(237,236,232,0.08) 1px,
    transparent 1px, transparent 13px);
}
.sheet--accent .sheet__code { color: var(--c-emerald); border-color: var(--c-emerald); }

/* ============================================================
   INFRASTRUCTURE — tall scrolling corridor diagram
   ============================================================ */
.infra { background: var(--c-concrete); }
.infra__frame { max-width: 900px; margin-inline: auto; }
.infra__frame img { width: 100%; height: auto; }
.infra__caption {
  max-width: 900px; margin: var(--space-2) auto 0; padding: 0 var(--gutter);
  color: var(--c-dark-concrete);
}

/* ============================================================
   BIM SKILLS — line-icon grid
   ============================================================ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--c-shadow);
}
@media (max-width: 900px) { .skills-grid { grid-template-columns: repeat(2, 1fr); } }

.skill-tile {
  background: var(--c-highlight);
  padding: var(--space-2) var(--space-1);
  display: flex; flex-direction: column; gap: 1rem;
  min-height: 190px;
}
.skill-tile svg { width: 34px; height: 34px; color: var(--c-emerald); }
.skill-tile:nth-child(odd) svg { color: var(--c-ocean); }
.skill-tile h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  letter-spacing: -0.01em; color: var(--c-ink);
}
.skill-tile p { font-size: 0.88rem; color: var(--c-dark-concrete); line-height: 1.5; }

/* ============================================================
   BIM PROJECTS
   ============================================================ */
.projects-list { display: grid; gap: var(--space-3); max-width: 1000px; }
.project-entry__header {
  display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap;
  border-bottom: 1px solid var(--c-shadow); padding-bottom: 0.6rem; margin-bottom: 0.9rem;
}
.project-entry__name {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(1.3rem,2.4vw,1.9rem);
  letter-spacing: -0.02em;
}
.project-entry__meta { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--c-dark-concrete); }
.project-entry ul { list-style: none; display: grid; gap: 0.6rem; }
.project-entry li { padding-left: 1.1rem; position: relative; color: var(--c-ink-soft); line-height: 1.55; }
.project-entry li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 1.5px; background: var(--c-emerald);
}
.project-entry strong { color: var(--c-ink); font-weight: 700; }
