body { color:#263b50; background:#f5f8fc; font-family:Arial,sans-serif; }
.demo-header { background:#0b2345; color:white; padding:24px 0; }
.demo-header a { color:white; font-weight:700; font-size:1.3rem; }
.demo-main { padding:50px 0; }
.demo-main h1,.demo-main h2 { color:#0b2345; }
.demo-main h1 { font-size:clamp(2rem,4vw,3rem); line-height:1.15; }
.demo-main p { line-height:1.7; }
.demo-page-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:12px; }
.demo-page-heading h1 { margin:0; }
.demo-page-heading .button { flex-shrink:0; margin:0; background:#e05c1a; border-radius:4px; }
.demo-page-heading .button:hover,.demo-page-heading .button:focus { background:#bd4910; }
.demo-profile-link { width:48%; }
.portf_flip{
  --on:#032943;          /* your brand navy */
  --off:#cfd8e3;         /* track off */
  --border:#b8c3d1;
  --thumb:#ffffff;

  width:44px; height:24px; padding:0; border:1px solid var(--border);
  border-radius:999px; background:var(--off); position:relative;
  display:inline-block; cursor:pointer; vertical-align:middle;
  transition:background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.portf_flip.is-on{ background:var(--on); border-color:var(--on); }

.portf_flip__thumb{
  position:absolute; top:2px; left:2px; width:20px; height:20px;
  background:var(--thumb); border-radius:50%;
  box-shadow:0 1px 2px rgba(0,0,0,.18);
  transition:transform .15s ease;
}
.portf_flip.is-on .portf_flip__thumb{ transform:translateX(20px); }

.portf_flip:focus-visible{ outline:0; box-shadow:0 0 0 3px rgba(3,41,67,.3); }
.portf_flip:disabled { opacity:.6; cursor:wait; }
.demo-invitation-controls { display:flex; gap:10px; align-items:stretch; margin-bottom:12px; }
.demo-invitation-controls input { flex:1; min-width:0; margin:0; }
.demo-invitation-controls .button { flex-shrink:0; margin:0; }
@media (max-width:640px) { .demo-page-heading { align-items:flex-start; } .demo-page-heading h1 { font-size:1.8rem; } .demo-invitation-controls { flex-wrap:wrap; } .demo-invitation-controls input { flex-basis:100%; } .demo-profile-link { width:auto; } }
.demo-panel { background:white; border:1px solid #d9e3ee; border-radius:10px; padding:26px; margin-bottom:24px; }
.demo-panel label { color:#263b50; font-weight:600; }
.demo-panel .button { background:#e05c1a; border-radius:4px; }
.demo-panel .button:hover,.demo-panel .button:focus { background:#bd4910; }
.demo-note { color:#5a6a7a; font-size:.9rem; }
.demo-honeypot { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
.demo-preview-image { display:block; max-height:650px; margin:0 auto 24px; }
.demo-gallery figure { margin:0 0 24px; }
.demo-gallery img { width:100%; height:260px; object-fit:contain; background:#f5f8fc; }
textarea.demo-prompt { min-height:240px; }
.demo-project-prose { white-space:pre-line; line-height:1.7; }
.demo-project-location { color:#5a6a7a; font-size:1.1rem; margin:8px 0 16px; }
.demo-image-link { display:block; cursor:zoom-in; }
.demo-image-link:focus-visible { outline:3px solid #e05c1a; outline-offset:4px; }
.demo-lightbox-open { overflow:hidden; }
.demo-lightbox { background:#101b2b; color:white; border:0; border-radius:10px; width:96vw; max-width:1500px; max-height:94vh; padding:52px 64px 24px; }
.demo-lightbox::backdrop { background:rgba(0,0,0,.85); }
.demo-lightbox figure { margin:0; text-align:center; }
.demo-lightbox img { display:block; margin:auto; max-width:100%; max-height:72vh; object-fit:contain; }
.demo-lightbox figcaption { margin-top:14px; }
.demo-lightbox button { position:absolute; color:white; background:#263b50; border-radius:6px; width:44px; height:44px; font-size:26px; cursor:pointer; }
.demo-lightbox button:hover,.demo-lightbox button:focus-visible { background:#486580; outline:2px solid white; }
.demo-lightbox-close { right:10px; top:6px; }
.demo-lightbox-prev { left:8px; top:45%; }
.demo-lightbox-next { right:8px; top:45%; }
@media (max-width:640px) { .demo-lightbox { padding:54px 52px 16px; } }
