/* ═══════════════════════════════════════════════════════════════════════
   STYLES.CSS — Portfolio page (index.html)
   Requires: base.css loaded first
   ═══════════════════════════════════════════════════════════════════════ */

/* ── PAGE-SPECIFIC OVERRIDES ── */
:root {
  /* Portfolio uses the blue-black bg and vibrant orange */
  --iron: var(--bg-dark);
  --orange: var(--brand-orange);
  --amber: var(--brand-amber-light);
  --light: var(--text-main);
  --muted: var(--text-muted);
  --card-bg: rgba(var(--white-rgb), 0.03);
  --card-border: var(--border-color);

  /* ── TYPE SCALE ── */
  --fs-xs: 0.6875rem;
  --fs-sm: 0.75rem;
  --fs-base: 0.875rem;
  --fs-md: 0.9375rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.375rem;
  --fs-3xl: 1.5625rem;
  --fs-4xl: 1.6875rem;
  --fs-5xl: 2rem;
  --fs-hero: clamp(52px, 8vw, 80px);
}

/* ── LIGHT / BLUEPRINT MODE ── */
body.light-mode {
  --iron: #f0ece2;
  --light: #1a1a1a;
  --muted: #5a5a4a;
  --card-bg: rgba(var(--black-rgb), 0.04);
  --card-border: rgba(var(--brand-orange-rgb), 0.35);
  --grid-color: rgba(var(--brand-orange-rgb), 0.1);
}

body {
  background: var(--iron);
  color: var(--light);
  font-family: var(--font-body);
  transition:
    background 0.3s,
    color 0.3s;
}

/* ── LAYOUT ── */
.page-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px;
}

.flyer {
  position: relative;
  overflow: hidden;
  padding: 48px 52px 44px;
}

/* Lift all non-decorative children above .bg-grid (z-index: 0) in one rule */
.flyer > *:not(.bg-grid):not(.accent-bar):not(.corner) {
  position: relative;
  z-index: var(--z-content);
}

/* ── BACKGROUND & DECORATION ── */
/* bg-grid: base.css provides defaults; portfolio uses --grid-color */
.bg-grid {
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
}

.accent-bar {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(var(--brand-orange-rgb), 0.05));
  border-left: 1px solid rgba(var(--brand-orange-rgb), 0.15);
  clip-path: polygon(60px 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

/* Portfolio overrides corners to use local --orange alias */
.corner.tl {
  border-color: var(--orange);
}
.corner.tr {
  border-color: var(--orange);
}
.corner.bl {
  border-color: var(--orange);
}
.corner.br {
  border-color: var(--orange);
}

.ref-tag {
  font-size: var(--fs-xs);
}

/* ── HEADER ── */
.header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 24px;
  margin-bottom: 36px;
  position: relative;
  animation: revealUp 0.7s ease-out both;
}

.name-block h1 {
  font-family: var(--font-title);
  font-size: var(--fs-hero);
  line-height: 0.9;
  letter-spacing: 2px;
  color: var(--light);
}
.name-block h1 span {
  color: var(--orange);
  text-shadow: 0 0 40px rgba(var(--brand-orange-rgb), 0.2);
}

.tagline {
  font-family: var(--font-mono);
  font-size: var(--fs-base);
  color: var(--orange);
  letter-spacing: 4px;
  margin-top: 50px;
}

.badge {
  background: var(--orange);
  color: var(--bg-dark);
  font-family: var(--font-title);
  font-size: var(--fs-lg);
  letter-spacing: 2px;
  padding: 6px 14px;
  bo21rder-radius: var(--radius);
  white-space: nowrap;
  flex-shrink: 0;
}

.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  text-align: right;
}

.header-contact h4 {
  font-family: var(--font-title);
  font-size: var(--fs-xl);
  letter-spacing: 2px;
  color: var(--orange);
}

.header-location {
  font-family: var(--font-title);
  font-size: var(--fs-5xl);
  color: rgba(var(--brand-orange-rgb), 0.18);
  letter-spacing: 3px;
  line-height: 1;
}

/* ── SECTION LABELS ── */
/* section-label base in base.css; portfolio overrides font-size + color */
.section-label {
  font-size: var(--fs-sm);
  color: var(--orange);
}

/* ── PROCESS + PORTFOLIO ── */
.process-portfolio-section {
  margin-bottom: 36px;
  position: relative;
  animation: revealUp 0.7s 0.15s ease-out both;
}

.timeline {
  position: relative;
  display: grid;
  gap: 12px;
  padding-left: 18px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(var(--brand-orange-rgb), 0.25);
}

.timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.timeline-step:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--brand-orange-rgb), 0.4);
  box-shadow: 0 4px 24px rgba(var(--brand-orange-rgb), 0.06);
}
.timeline-step::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 22px;
  width: 8px;
  height: 8px;
  border-radius: 0;
  background: var(--iron);
  border: 1px solid var(--orange);
  box-shadow: 0 0 0 3px rgba(var(--brand-orange-rgb), 0.08);
}

.timeline-content .step-num {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--muted);
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.timeline-content .step-title {
  font-family: var(--font-title);
  font-size: var(--fs-4xl);
  color: var(--amber);
  line-height: 1;
  margin-bottom: 6px;
}
.timeline-content .step-desc {
  font-size: var(--fs-lg);
  color: var(--muted);
  line-height: 1.6;
  font-weight: 300;
}
.timeline-content .inline-link {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px dashed var(--orange);
  transition:
    color 0.15s,
    border-color 0.15s;
}
.timeline-content .inline-link:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}
.timeline-content .step-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--orange);
  letter-spacing: 1px;
}

.thumb {
  aspect-ratio: 4/3;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}
.thumb:hover {
  border-color: var(--orange);
}
.thumb:hover .thumb-overlay {
  opacity: 1;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.thumb:hover img {
  transform: scale(1.03);
}

.thumb-placeholder {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--muted);
  letter-spacing: 2px;
  text-align: center;
  padding: 8px;
  line-height: 2;
}

.thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(var(--brand-orange-rgb), 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--orange);
  letter-spacing: 2px;
}

/* ── LIGHTBOX ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(var(--black-rgb), 0.92);
  z-index: var(--z-lightbox);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
}
.lightbox.open {
  display: flex;
}
/* Row container: arrow ← image → arrow */
.lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  max-width: 100vw;
  padding: 0 1rem;
  box-sizing: border-box;
}
.lightbox img {
  max-width: min(80vw, 1200px);
  max-height: 80vh;
  object-fit: contain;
  border: 1px solid var(--orange);
  flex: 0 1 auto;
  min-width: 0;
}
.lightbox-close {
  font-family: var(--font-mono);
  font-size: var(--fs-base);
  color: var(--orange);
  letter-spacing: 3px;
  cursor: pointer;
  background: none;
  border: 1px solid var(--orange);
  padding: 8px 20px;
}
.lightbox-close:focus {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.lightbox-label {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--muted);
  letter-spacing: 2px;
}

.lightbox-card-nav {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--orange);
  letter-spacing: 2px;
  background: none;
  border: 1px solid rgba(var(--brand-orange-rgb), 0.45);
  padding: 6px 10px;
  cursor: pointer;
}

.lightbox-card-nav:hover {
  border-color: var(--orange);
  background: rgba(var(--brand-orange-rgb), 0.12);
}

/* Lightbox prev / next arrows — flex siblings of img */
.lightbox-arrow {
  flex: 0 0 auto;
  background: rgba(var(--brand-orange-rgb), 0.08);
  border: 1px solid rgba(var(--brand-orange-rgb), 0.3);
  color: var(--orange);
  font-size: 2.5rem;
  line-height: 1;
  padding: 12px 16px;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.lightbox-arrow:hover {
  background: rgba(var(--brand-orange-rgb), 0.18);
  border-color: var(--orange);
}
.lightbox-arrow:focus {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .lightbox-stage {
    gap: 0.5rem;
    padding: 0 0.5rem;
  }
  .lightbox img {
    max-width: calc(100vw - 100px);
  }
  .lightbox-arrow {
    font-size: 1.8rem;
    padding: 8px 10px;
  }
}

/* ── CAPABILITIES GRID ── */
.caps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.caps-card {
  border: 1px solid rgba(var(--white-rgb), 0.1);
  padding: 14px 16px;
  background: rgba(var(--white-rgb), 0.03);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.caps-card:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--brand-orange-rgb), 0.35);
}
.caps-card--featured {
  border-color: var(--orange);
  background: rgba(var(--brand-orange-rgb), 0.06);
}
.caps-card-label {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 2px;
  color: var(--orange);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.caps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.caps-item {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--muted);
  letter-spacing: 0.5px;
  padding-left: 10px;
  position: relative;
}
.caps-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 1px;
  background: var(--muted);
}
.caps-item--primary {
  color: var(--light);
  font-weight: 600;
}
.caps-item--primary::before {
  background: var(--orange);
  width: 5px;
}
.caps-portfolio-link {
  text-align: right;
}
.caps-view-btn {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 2px;
  color: var(--orange);
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 0.2s;
}
.caps-view-btn:hover { opacity: 0.7; }

/* ── VALUE PROPOSITION ── */
.value-prop-section {
  margin-bottom: 36px;
  position: relative;
  animation: revealUp 0.7s 0.3s ease-out both;
}

/* Collapsible toggle label */
.section-label--toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
  user-select: none;
}
.section-chevron {
  transition: transform 0.25s ease;
  opacity: 0.5;
  flex-shrink: 0;
}
.section-label--toggle[aria-expanded="false"] .section-chevron {
  transform: rotate(-90deg);
}

.value-prop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  /* Collapse animation */
  max-height: 800px;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease;
  opacity: 1;
}
.value-prop-grid.collapsed {
  max-height: 0;
  opacity: 0;
}
.value-prop-card {
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  padding: 28px 24px 24px;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.value-prop-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(var(--brand-orange-rgb), 0.06);
}
.value-prop-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
}
.value-prop-card--do::before   { background: var(--orange); }
.value-prop-card--floor::before { background: var(--orange); opacity: 0.6; }
.value-prop-card--do    { border-color: rgba(var(--brand-orange-rgb), 0.25); }
.value-prop-card--floor { border-color: rgba(var(--brand-orange-rgb), 0.15); }

.value-prop-icon {
  font-size: var(--fs-xl);
  color: var(--orange);
  margin-bottom: 10px;
  line-height: 1;
}
.value-prop-card--floor .value-prop-icon {
  color: var(--orange);
  opacity: 0.7;
}

/* Credential tags row */
.value-prop-creds {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.cred-tag {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid rgba(var(--brand-orange-rgb), 0.3);
  padding: 4px 10px;
  white-space: nowrap;
  transition: border-color 0.2s, background 0.2s;
}
.cred-tag:hover {
  border-color: var(--orange);
  background: rgba(var(--brand-orange-rgb), 0.06);
}
.value-prop-title {
  font-family: var(--font-title);
  font-size: var(--fs-3xl);
  letter-spacing: 1px;
  color: var(--light);
  line-height: 1.1;
  margin-bottom: 10px;
}
.value-prop-desc {
  font-size: var(--fs-md);
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 14px;
}
.value-prop-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.value-prop-list li {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--muted);
  letter-spacing: 0.5px;
  padding-left: 14px;
  position: relative;
}
.value-prop-list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: var(--fs-xs);
}

/* Flow diagram (Your Idea → My CAD Files → Their Machine) */
.value-prop-flow {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.flow-step {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  letter-spacing: 1px;
  color: var(--muted);
  padding: 6px 14px;
  border: 1px solid rgba(var(--white-rgb), 0.1);
  background: rgba(var(--white-rgb), 0.02);
  white-space: nowrap;
}
.flow-step--me {
  color: var(--orange);
  border-color: rgba(var(--brand-orange-rgb), 0.4);
  background: rgba(var(--brand-orange-rgb), 0.06);
  font-weight: 600;
}
.flow-arrow {
  font-size: var(--fs-lg);
  color: rgba(var(--brand-orange-rgb), 0.35);
  line-height: 1;
}

/* ── 3D VIEWER ── */
.viewer-3d-wrap {
  margin-bottom: 20px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  overflow: hidden;
}
.viewer-3d-wrap--full {
  margin-bottom: 28px;
}
.viewer-3d-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--card-border);
}
.viewer-3d-tag {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bg-dark);
  background: var(--orange);
  padding: 2px 8px;
  font-weight: 600;
}
.viewer-3d-title {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--light);
  letter-spacing: 0.5px;
}
.viewer-3d-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--black);
}
.viewer-3d-container--large {
  aspect-ratio: 16 / 10;
}
.viewer-3d-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.viewer-3d-hint {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 1px;
  color: var(--muted);
  opacity: 0.5;
  text-align: center;
  padding: 8px 16px;
  margin: 0;
}

/* ── PORTFOLIO SHOWCASE (homepage) ── */
.portfolio-showcase-section {
  margin-bottom: 36px;
  position: relative;
  animation: revealUp 0.7s 0.45s ease-out both;
}

/* ── FILTER BAR (portfolio page, shown by JS when 2+ tags exist) ── */
.port-filter-bar {
  display: none;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.port-filter-btn {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 2px;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid rgba(var(--white-rgb), 0.1);
  color: var(--muted);
  padding: 6px 14px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.port-filter-btn:hover {
  border-color: rgba(var(--brand-orange-rgb), 0.4);
  color: var(--light);
}
.port-filter-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--bg-dark);
  font-weight: 600;
}

/* ── FULL PORTFOLIO GRID (portfolio page) ── */
.port-grid--full {
  grid-template-columns: repeat(3, 1fr);
}

/* ── INLINE 3D MODEL CARD ── */
.port-thumb--model {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-dark);
  border: 1px solid rgba(var(--white-rgb), 0.08);
  position: relative;
}
/* OV embedded viewer host */
.model-viewer-host {
  width: 100%;
  height: 100%;
  position: relative;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.port-thumb--model.is-model-open .model-viewer-host {
  opacity: 1;
  pointer-events: auto;
}
.model-render-curtain {
  position: absolute;
  inset: 0;
  z-index: var(--z-content);
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: opacity 0.2s ease;
}
.port-thumb--model.is-model-open .model-render-curtain {
  opacity: 0;
  pointer-events: none;
}
.model-render-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.model-toggle-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: var(--z-float);
  border: 1px solid rgba(var(--white-rgb), 0.35);
  background: rgba(var(--bg-dark-rgb), 0.78);
  color: var(--light);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 1.5px;
  padding: 6px 12px;
  cursor: pointer;
  text-transform: none;
  opacity: 1;
  transition: opacity 0.25s ease, border-color 0.2s ease, color 0.2s ease;
}
.model-toggle-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.model-fullscreen-btn {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: var(--z-corner);
  border: 1px solid rgba(var(--white-rgb), 0.25);
  background: rgba(var(--bg-dark-rgb), 0.72);
  color: var(--light);
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 1.5px;
  padding: 3px 7px;
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.25s ease, border-color 0.2s ease, color 0.2s ease;
}
.model-fullscreen-btn:hover,
.model-fullscreen-btn.is-active {
  border-color: var(--orange);
  color: var(--orange);
}
.port-thumb--model.model-controls-idle .model-toggle-btn,
.port-thumb--model.model-controls-idle .model-fullscreen-btn {
  opacity: 0;
}
.model-orbit-toast {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%) translateY(6px);
  opacity: 0;
  pointer-events: none;
  z-index: var(--z-float);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 1px;
  color: var(--light);
  background: rgba(var(--bg-dark-rgb), 0.9);
  border: 1px solid rgba(var(--white-rgb), 0.2);
  padding: 4px 10px;
  white-space: nowrap;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.model-orbit-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.port-thumb--model:fullscreen {
  width: 100vw;
  height: 100vh;
  aspect-ratio: auto;
}

.port-thumb--model:fullscreen .model-render-curtain,
.port-thumb--model.is-pseudo-fullscreen .model-render-curtain {
  display: flex;
  align-items: center;
  justify-content: center;
}

.port-thumb--model:fullscreen .model-render-thumb,
.port-thumb--model.is-pseudo-fullscreen .model-render-thumb {
  object-fit: contain;
}

/* iOS / mobile fallback: CSS pseudo-fullscreen */
.port-thumb--model.is-pseudo-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  width: 100vw;
  height: 100dvh;
  min-height: 100vh;
  max-width: none;
  max-height: none;
  aspect-ratio: auto;
  border: none;
  border-radius: 0;
  background: var(--bg-deep);
}
html.has-pseudo-fullscreen,
body.has-pseudo-fullscreen {
  overflow: hidden;
  overscroll-behavior: none;
}

/* Fix iOS stacking context issue by elevating the parent card during pseudo-fullscreen */
.has-pseudo-fullscreen-wrapper {
  z-index: 9999;
  position: relative;
}

/* Admin grid card: native fullscreen — centre and fill children */
.port-admin-card-img:fullscreen {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-deep);
}
.port-admin-card-img:fullscreen img,
.port-admin-card-img:fullscreen iframe {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* Admin grid card: iOS Safari pseudo-fullscreen fallback */
.port-admin-card-img.is-pseudo-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  width: 100vw;
  height: 100dvh;
  min-height: 100vh;
  max-width: none;
  max-height: none;
  aspect-ratio: auto;
  border: none;
  border-radius: 0;
  background: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}
.port-admin-card-img.is-pseudo-fullscreen img,
.port-admin-card-img.is-pseudo-fullscreen iframe {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Focus state — single-click highlight ring */
.port-thumb--model.is-card-focused {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(var(--orange-rgb, 232, 121, 36), 0.18);
}
.model-viewer-host canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}
.model-embed-frame {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
/* OV progress/loading text inherits site styling */
.model-viewer-host > div:not(:has(canvas)) {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 1px;
  color: var(--muted);
  text-align: center;
  padding-top: 35%;
}
.model-viewer-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 2px;
  color: var(--muted);
}
.port-model-frame {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.port-model-badge {
  display: none;
  position: absolute;
  top: 8px;
  right: 98px;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 1.5px;
  background: var(--orange);
  color: var(--bg-dark);
  padding: 2px 7px;
  font-weight: 600;
  pointer-events: none;
  z-index: var(--z-sticky);
}
/* Orbit-centre XYZ gizmo overlay (Fusion 360-style) */
.ov-pivot-gizmo {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: var(--z-corner);
  opacity: 0;
  transition: opacity 0.1s ease;
}
.ov-pivot-gizmo.visible {
  opacity: 1;
}
/* 3D cards don't lift - the canvas needs stable pointer events */
.port-item--model:hover { transform: none; }

/* ── EMPTY STATE ── */
.port-empty {
  padding: 3rem 1rem;
  text-align: center;
}
.port-empty-label {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  letter-spacing: 1px;
  color: var(--muted);
  text-transform: none;
}
.port-empty-actions {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.port-empty-btn,
.port-empty-link {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 1px;
  color: var(--light);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 14px;
  text-decoration: none;
}
.port-empty-btn {
  cursor: pointer;
}
.port-empty-btn:hover,
.port-empty-link:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* ── LOADING STATE ── */
.port-loading {
  text-align: center;
  padding: 3rem 1rem;
}
.port-loading-text {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  letter-spacing: 3px;
  color: var(--muted);
  text-transform: uppercase;
  animation: revealFade 0.8s ease-out infinite alternate;
}

/* ── FOOTER ── */
.footer {
  border-top: 2px solid var(--orange);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
  animation: revealFade 0.8s 0.6s ease-out both;
}

.footer-sig {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-initials {
  font-family: var(--font-title);
  font-size: var(--fs-3xl);
  color: var(--orange);
  letter-spacing: 2px;
  line-height: 1;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--muted);
  letter-spacing: 1px;
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 107, 43, 0.4);
}

.contact-block h4 {
  font-family: var(--font-title);
  font-size: var(--fs-3xl);
  letter-spacing: 2px;
  color: var(--orange);
  margin-bottom: 8px;
}
.contact-line {
  font-family: var(--font-mono);
  font-size: var(--fs-base);
  color: var(--muted);
  letter-spacing: 2px;
  line-height: 2.2;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-line a {
  color: var(--light);
  text-decoration: none;
  transition: color 0.2s;
}
.contact-line a:hover {
  color: var(--orange);
}

.footer-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.btn-print {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  letter-spacing: 2px;
  background: var(--orange);
  color: var(--bg-dark);
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  text-transform: uppercase;
  transition: opacity 0.2s;
}
.btn-print:hover {
  opacity: 0.85;
}
.btn-print:focus {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* ── CONTACT FORM ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 280px;
}

.cf-row {
  display: flex;
  gap: 8px;
}
.cf-row--split {
  display: flex;
  gap: 8px;
  align-items: center;
}

.cf-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 107, 43, 0.25);
  border-radius: var(--radius);
  color: var(--light);
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  letter-spacing: 1px;
  padding: 8px 10px;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.cf-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 2px rgba(255, 107, 43, 0.12);
}
.cf-input::placeholder {
  color: var(--muted);
  font-size: var(--fs-xs);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.cf-textarea {
  resize: vertical;
  min-height: 52px;
  line-height: 1.5;
}

.cf-file-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 1px;
  color: var(--muted);
  cursor: pointer;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  transition:
    border-color 0.2s,
    color 0.2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
  flex-shrink: 1;
}
.cf-file-label:hover {
  border-color: var(--orange);
  color: var(--light);
}
.cf-file-label.has-file {
  color: var(--orange);
  border-color: rgba(255, 107, 43, 0.4);
}

.cf-submit {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  letter-spacing: 3px;
  background: var(--orange);
  color: var(--iron);
  border: none;
  border-radius: var(--radius);
  padding: 8px 20px;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 600;
  transition:
    opacity 0.2s,
    background 0.2s;
  flex-shrink: 0;
  margin-left: auto;
}
.cf-submit:hover {
  opacity: 0.85;
}
.cf-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cf-feedback {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 1px;
  min-height: 1.4em;
  transition: opacity 0.3s;
}
.cf-feedback.success {
  color: #00b894;
}
.cf-feedback.error {
  color: #d63031;
}

/* ── QUOTE CONFIRMATION (post-submit) ── */
.quote-confirmation {
  width: 280px;
  text-align: left;
}
.quote-msg {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 1px;
  color: #00b894;
  margin-bottom: 12px;
  line-height: 1.6;
}
.quote-deposit-note {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: var(--muted);
  font-weight: 300;
  line-height: 1.55;
  margin-bottom: 14px;
}
.quote-paypal-btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  letter-spacing: 3px;
  text-transform: uppercase;
  background: var(--orange);
  color: var(--iron);
  text-decoration: none;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: opacity 0.2s;
  margin-bottom: 10px;
  display: block;
}
.quote-paypal-btn:hover { opacity: 0.85; }
.quote-reset-btn {
  display: block;
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 1px;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 0;
  transition: color 0.2s;
}
.quote-reset-btn:hover { color: var(--orange); }

/* ── ENTRANCE STAGGER ── */
.timeline-step:nth-child(1) { animation: revealUp 0.5s 0.2s ease-out both; }
.timeline-step:nth-child(2) { animation: revealUp 0.5s 0.3s ease-out both; }
.timeline-step:nth-child(3) { animation: revealUp 0.5s 0.4s ease-out both; }

.caps-card:nth-child(1) { animation: revealUp 0.44s 0.35s ease-out both; }
.caps-card:nth-child(2) { animation: revealUp 0.44s 0.42s ease-out both; }
.caps-card:nth-child(3) { animation: revealUp 0.44s 0.49s ease-out both; }
.caps-card:nth-child(4) { animation: revealUp 0.44s 0.56s ease-out both; }

.value-prop-card:nth-child(1) { animation: revealUp 0.5s 0.35s ease-out both; }
.value-prop-card:nth-child(2) { animation: revealUp 0.5s 0.45s ease-out both; }

.port-item:nth-child(1) { animation: revealUp 0.5s 0.15s ease-out both; }
.port-item:nth-child(2) { animation: revealUp 0.5s 0.25s ease-out both; }
.port-item:nth-child(3) { animation: revealUp 0.5s 0.35s ease-out both; }
.port-item:nth-child(4) { animation: revealUp 0.5s 0.45s ease-out both; }

.pricing-card:nth-child(1) { animation: revealUp 0.5s 0.15s ease-out both; }
.pricing-card:nth-child(2) { animation: revealUp 0.5s 0.25s ease-out both; }
.pricing-card:nth-child(3) { animation: revealUp 0.5s 0.35s ease-out both; }

.pricing-page-nav { animation: revealFade 0.4s ease-out both; }

/* ── RESPONSIVE ── */
@media (max-width: 680px) {
  .flyer {
    padding: 32px 24px;
  }
  .header {
    flex-direction: column;
    gap: 12px;
  }
  .header-contact {
    align-items: flex-start;
    text-align: left;
  }
  .contact-form,
  .quote-confirmation {
    width: 100%;
  }
  .caps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .value-prop-grid {
    grid-template-columns: 1fr;
  }
  .value-prop-card {
    padding: 22px 18px 18px;
  }
  .viewer-3d-container {
    aspect-ratio: 4 / 3;
  }
  .port-grid--full {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline {
    padding-left: 0;
  }
  .timeline::before {
    display: none;
  }
  .timeline-step {
    grid-template-columns: 1fr;
  }
  .timeline-step::before {
    display: none;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-actions {
    align-items: flex-start;
  }
}

/* ── PRINT ── */
@media print {
  :root {
    --iron: var(--white);
    --light: var(--black);
    --muted: var(--text-print-muted);
    --card-bg: transparent;
    --card-border: rgba(var(--black-rgb), 0.15);
    --grid-color: rgba(var(--black-rgb), 0.04);
  }

  body {
    background: var(--white);
    color: var(--black);
  }
  body.light-mode {
    background: var(--white);
  }

  .toggle-wrap,
  .footer-actions,
  .lightbox {
    display: none !important;
  }

  .page-wrap {
    padding: 0;
  }
  .flyer {
    padding: 24px 28px;
  }
  .market-tag.filled {
    background: var(--neutral-strong);
    color: var(--white);
    border-color: var(--neutral-strong);
  }
  .badge {
    background: var(--neutral-strong);
    color: var(--white);
  }
  .accent-bar {
    display: none;
  }

  @page {
    size: letter;
    margin: 0.5in;
  }
}

/* ── PRICING PAGE NAV BAR ── */
.pricing-page-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0 24px;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.pricing-page-title {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.5;
  flex: 1;
}

.pricing-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--card-border);
  border-radius: 0;
  padding: 5px 12px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.pricing-back-btn:hover {
  color: var(--orange);
  border-color: var(--orange);
}

.pricing-back-footer {
  padding: 32px 0 8px;
  border-top: 1px solid var(--card-border);
  margin-top: 28px;
}

/* ── HEADER NAV LINK GROUP (homepage) ── */
.header-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

/* ── PRICING NAV LINK (header entry point + inner-page nav) ── */
.pricing-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  border: 1px solid var(--border-neutral);
  padding: 6px 14px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.pricing-nav-link:hover {
  color: var(--brand-orange);
  border-color: var(--brand-orange);
}

/* Featured variant — directory CTA stands out */
.pricing-nav-link--featured {
  color: var(--brand-orange);
  border-color: var(--brand-orange-dim);
}
.pricing-nav-link--featured:hover {
  background: rgba(var(--brand-orange-rgb), 0.1);
  border-color: var(--brand-orange);
}

/* ── PRICING SUBTEXT ── */
.pricing-subtext {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--muted);
  letter-spacing: 0.05em;
  opacity: 0.6;
  margin-bottom: 12px;
  margin-top: -8px;
}

/* ── PRICING SECTION ─────────────────────────────────────────────────── */
.pricing-section {
  margin-bottom: 36px;
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 0;
}

/* ── PRICING CARD ── */
.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 24px 20px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, background 0.2s, transform 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 24px rgba(var(--brand-orange-rgb), 0.06);
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--card-border);
  transition: background 0.2s;
}

.pricing-card:hover::before,
.pricing-card--featured::before {
  background: var(--orange);
}

.pricing-card--featured {
  background: rgba(var(--brand-orange-rgb), 0.04);
  border-color: rgba(var(--brand-orange-rgb), 0.35);
}

/* ── BADGE ── */
.pricing-badge {
  position: absolute;
  top: -1px;
  right: -1px;
  background: var(--orange);
  color: var(--bg-dark);
  font-family: var(--font-title);
  font-size: var(--fs-sm);
  letter-spacing: 2px;
  padding: 3px 10px;
  line-height: 1.6;
}

/* ── TIER NUMBER ── */
.pricing-tier-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--muted);
  letter-spacing: 3px;
  margin-bottom: 8px;
}

/* ── TITLE ── */
.pricing-title {
  font-family: var(--font-title);
  font-size: var(--fs-3xl);
  letter-spacing: 1px;
  color: var(--light);
  line-height: 1;
  margin-bottom: 10px;
}

/* ── PRICE ── */
.pricing-price {
  font-family: var(--font-mono);
  font-size: var(--fs-xl);
  color: var(--orange);
  letter-spacing: 1px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--card-border);
}
.pricing-sep {
  color: var(--muted);
  margin: 0 2px;
}
.pricing-plus {
  font-size: var(--fs-base);
  color: var(--muted);
}

/* ── FEATURE LIST ── */
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  flex-grow: 1;
}

.pricing-features li {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
  padding: 5px 0 5px 18px;
  border-bottom: 1px solid rgba(var(--brand-orange-rgb), 0.06);
  position: relative;
}
.pricing-features li:last-child {
  border-bottom: none;
}
.pricing-features li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  top: 6px;
  opacity: 0.7;
}

/* ── IDEAL FOR label ── */
.pricing-ideal {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--orange);
  letter-spacing: 1px;
  opacity: 0.6;
  margin-top: auto;
}

/* ── POLICY PANEL ── */
.pricing-proof {
  margin-top: 2px;
  border: 1px solid var(--card-border);
  border-left: 3px solid rgba(var(--brand-orange-rgb), 0.35);
  background: var(--card-bg);
  padding: 18px 20px;
}

.pricing-proof .port-grid {
  margin-top: 14px;
}

.pricing-proof .caps-portfolio-link {
  margin-top: 14px;
  text-align: center;
}

.pricing-policy {
  margin-top: 2px;
  border: 1px solid var(--card-border);
  border-left: 3px solid rgba(var(--brand-orange-rgb), 0.35);
  background: var(--card-bg);
  padding: 18px 20px;
}

.pricing-policy-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 4px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.pricing-policy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 24px;
}

.policy-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.policy-key {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--orange);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.policy-val {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 300;
  color: var(--muted);
  line-height: 1.55;
}

/* ── RESPONSIVE ── */
@media (max-width: 680px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .pricing-card + .pricing-card {
    border-top: none;
  }
  .pricing-policy-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 681px) and (max-width: 860px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pricing-card:last-child {
    grid-column: 1 / -1;
  }
  .pricing-card:last-child .pricing-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── PAYMENT BLOCK ── */
.pricing-payment-existing {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-top: 10px;
}
.pricing-payment-existing-link {
  color: var(--orange);
  text-decoration: none;
}
.pricing-payment-existing-link:hover { text-decoration: underline; }

.pricing-payment-block {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(var(--brand-orange-rgb), 0.3);
  text-align: center;
}

.pricing-payment-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 4px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.pricing-payment-note {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 300;
  color: var(--muted);
  opacity: 0.7;
  margin-bottom: 1rem;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

.pricing-payment-btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  background: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 0;
  padding: 0.65rem 2rem;
  transition: background 0.2s, border-color 0.2s;
}
.pricing-payment-btn:hover {
  background: var(--brand-orange-strong);
  border-color: var(--brand-orange-strong);
}

/* ── PORTFOLIO PAGE ── */
.port-section {
  margin-bottom: 40px;
}
.port-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.port-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.25s ease;
}
@media (hover: hover) {
  .port-item:hover {
    transform: translateY(-3px);
  }
}
.port-thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: rgba(var(--white-rgb), 0.03);
  border: 1px solid rgba(var(--white-rgb), 0.08);
  cursor: pointer;
}
.port-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.port-thumb:hover img { transform: scale(1.03); }
.port-caption {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.port-tag {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 2px;
  color: var(--orange);
  text-transform: uppercase;
}
.port-title {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--light);
  letter-spacing: 0.5px;
}
.port-meta {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  color: var(--muted);
  font-weight: 300;
}
.port-item--placeholder .port-placeholder {
  aspect-ratio: 4/3;
  border: 1px dashed rgba(var(--white-rgb), 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--white-rgb), 0.02);
}
.port-placeholder-label {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 3px;
  color: rgba(var(--white-rgb), 0.2);
  text-transform: uppercase;
}
@media (max-width: 680px) {
  .port-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 480px) {
  .port-grid { grid-template-columns: 1fr; }
}

/* ── PRINT (pricing) ── */
@media print {
  .pricing-policy { break-inside: avoid; }
  .pricing-grid   { break-inside: avoid; }
  .pricing-badge  { background: var(--neutral-strong); color: var(--white); }
}
