/* VISUALS — original branded asset system (SVG + CSS, no stock, no fake proof).
   Extension layer. Palette-only: ivory / paper / navy / muted blue / terracotta / blue-gray. */

.vfig { width: 100%; height: auto; display: block; }
.vfig text { font-family: "IBM Plex Mono", Menlo, Consolas, monospace; }
.vcap { margin-top: 0.9rem; }

/* Subtle motion for conceptual visuals */
.v-draw { stroke-dasharray: 6 5; animation: vdash 2.6s linear infinite; }
@keyframes vdash { to { stroke-dashoffset: -22; } }
.v-pulse { animation: vpulse 2.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes vpulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.v-bar { transform-box: fill-box; transform-origin: center; animation: vwave 1.7s ease-in-out infinite; }
@keyframes vwave { 0%, 100% { transform: scaleY(0.35); } 50% { transform: scaleY(1); } }
.v-rise { animation: vrise 0.9s var(--ease-out) both; }
@keyframes vrise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .v-draw, .v-pulse, .v-bar, .v-rise { animation: none; }
}

/* ---------- Social links: refined text + mark, brand-native ---------- */
.soc-list { display: flex; gap: 8px 22px; flex-wrap: wrap; margin-top: 1rem; }
.soc {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: var(--fs-mono);
  letter-spacing: var(--ls-mono); text-transform: uppercase;
  text-decoration: none; color: var(--text-secondary);
  padding: 7px 0; border-bottom: 1px solid transparent;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.soc svg { width: 15px; height: 15px; flex: none; }
.soc:hover { color: var(--accent-strong); border-color: var(--accent); }
.soc .soc__arrow { transition: transform var(--dur-fast) var(--ease-out); }
.soc:hover .soc__arrow { transform: translateX(3px); }
.footer .soc, .section--dark .soc { color: var(--text-on-dark-muted); }
.footer .soc:hover, .section--dark .soc:hover { color: var(--text-on-dark); border-color: var(--color-terracotta-soft); }

/* ---------- Brand plate (V6): editorial frame for the real portrait ---------- */
.brand-plate {
  position: relative; border: var(--border-thin); border-radius: var(--radius-sm);
  background:
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(23,37,54,0.06) 31px 32px),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(23,37,54,0.06) 31px 32px),
    var(--color-ivory);
  aspect-ratio: 4/5; padding: clamp(1.25rem, 3vw, 2rem);
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
}
.brand-plate::before, .brand-plate::after,
.brand-plate .tick::before, .brand-plate .tick::after {
  content: ""; position: absolute; width: 14px; height: 14px; border-color: var(--accent); border-style: solid;
}
.brand-plate::before { top: 8px; left: 8px; border-width: 1.5px 0 0 1.5px; }
.brand-plate::after { top: 8px; right: 8px; border-width: 1.5px 1.5px 0 0; }
.brand-plate .tick::before { bottom: 8px; left: 8px; border-width: 0 0 1.5px 1.5px; }
.brand-plate .tick::after { bottom: 8px; right: 8px; border-width: 0 1.5px 1.5px 0; }
.brand-plate__mono { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); display: flex; justify-content: space-between; gap: 8px; }
.brand-plate__name { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.02; letter-spacing: -0.02em; }
.brand-plate__name em { color: var(--accent-strong); font-style: italic; }
.brand-plate__slot {
  border: 1px solid var(--line-default); border-radius: var(--radius-sm);
  background: rgba(252,251,248,0.7); overflow: hidden;
}
.brand-plate__slot img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top center; display: block; }
.brand-plate__slot figcaption { padding: 0.6rem 0.9rem; border-top: var(--border-soft); }
/* Photo-dominant variant: the portrait fills the frame, no overlay text. */
.brand-plate--photo { padding: clamp(1rem, 2.5vw, 1.5rem); }
.brand-plate__photo { margin: 1rem 0 0; border: var(--border-thin); border-radius: var(--radius-sm); overflow: hidden; }
.brand-plate__photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top center; display: block; }

/* ---------- Real build screenshots (actual project assets) ---------- */
.shot { border: var(--border-thin); border-radius: var(--radius-sm); background: #fff; overflow: hidden; box-shadow: var(--shadow-xs); margin: 0; }
.shot img { width: 100%; height: auto; display: block; }
.shot figcaption { padding: 10px 14px; border-top: var(--border-soft); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.05em; color: var(--text-muted); }
.shot-grid { display: grid; gap: var(--grid-gap); grid-template-columns: 1fr; margin-top: 1.75rem; }
/* Cropped thumbnails for index/listing use — full captures live on case pages. Never distorted. */
.shot--thumb img { aspect-ratio: 4/3; object-fit: cover; object-position: top center; }
.shot--wide img { aspect-ratio: 16/9; object-fit: cover; object-position: top center; }
@media (min-width: 900px) {
  .shot-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .shot-grid--3 { grid-template-columns: repeat(3, 1fr); }
}
