/* Propaasia — shared stylesheet (Home C + Work C) */

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: rgb(0,0,0);
  color: rgb(230,230,230);
  font-family: 'Plus Jakarta Sans', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* ---- Floating nav pill (shared) ---- */
.pill-nav {
  position: fixed;
  top: 28px;
  right: 28px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 26px);
  background: rgba(45,44,45,0.5);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 12px 22px;
}
.pill-nav a { font-size: 12.5px; font-weight: 500; opacity: 0.85; }
.pill-nav a:hover { opacity: 1; }
.pill-nav a.active { opacity: 1; }

.foot {
  text-align: center;
  padding: 40px 0 64px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(230,230,230,0.35);
}

/* =====================================================
   HOME (Home C) — fixed sidebar + vertical work reel
   ===================================================== */
.page { position: relative; min-height: 100vh; }

.sidebar {
  position: fixed;
  top: 0; left: 0;
  width: 34%;
  min-width: 300px;
  max-width: 460px;
  height: 100vh;
  background: rgb(0,0,0);
  display: flex;
  flex-direction: column;
  padding: 44px clamp(28px, 3.6vw, 52px) 40px;
  z-index: 5;
}
.logo { font-size: 15px; font-weight: 700; letter-spacing: 0.01em; }
.logo-sub {
  display: block;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(230,230,230,0.5);
  margin-top: 4px;
  text-transform: uppercase;
}
.sb-spacer-top { flex: 1 1 auto; min-height: 40px; }
.sb-spacer-bottom { flex: 0 1 56px; min-height: 24px; }

.headline {
  font-size: clamp(28px, 3vw, 37px);
  line-height: 1.14;
  font-weight: 700;
  margin: 0 0 20px;
  max-width: 15ch;
}
.sub {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(230,230,230,0.62);
  max-width: 34ch;
  margin: 0;
}

.contact-block .eyebrow {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(230,230,230,0.5);
  margin-bottom: 10px;
}
.contact-block a.email {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
}
.contact-block a.email:hover { color: rgba(230,230,230,0.7); }
.contact-block .addr {
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(230,230,230,0.5);
}

.content {
  margin-left: 34%;
  padding: clamp(96px, 11vw, 128px) clamp(24px, 4vw, 64px) 40px clamp(28px, 3vw, 48px);
}
@media (min-width: 1400px) { .content { margin-left: 460px; } }

.work-item {
  display: flex;
  flex-direction: column;
  width: 82%;
  margin-bottom: clamp(96px, 11vw, 160px);
}
.work-item:nth-child(odd) { align-self: flex-start; transform: rotate(-1.6deg); }
.work-item:nth-child(even) { align-self: flex-end; width: 68%; transform: rotate(1.8deg); }
.work-item:first-child { margin-top: 0; }

.work-media {
  position: relative;
  aspect-ratio: 16 / 10.5;
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.65);
  background: #111;
}
.work-media iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none;
}
.work-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.work-media.print-only { display: flex; align-items: center; justify-content: center; }
.work-media .print-mark {
  position: absolute; top: 16px; right: 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.92);
  background: rgba(0,0,0,0.35);
  padding: 5px 10px;
  border-radius: 999px;
}

.work-caption { margin-top: 16px; }
.work-client { font-size: 15px; font-weight: 700; color: rgb(230,230,230); }
.work-category { font-size: 12.5px; font-weight: 400; color: rgba(230,230,230,0.5); margin-top: 2px; }

@media (max-width: 880px) {
  .sidebar {
    position: static;
    width: 100%;
    max-width: none;
    height: auto;
    padding: 28px 24px;
  }
  .sb-spacer-top { flex: none; min-height: 40px; }
  .sb-spacer-bottom { flex: none; min-height: 28px; }
  .content { margin-left: 0; padding: 88px 20px 24px; }
  .work-item { margin-bottom: clamp(72px, 15vw, 104px); }
  .work-item:nth-child(odd) { width: 88%; transform: rotate(-1.1deg); }
  .work-item:nth-child(even) { width: 76%; transform: rotate(1.3deg); }
  .pill-nav { padding: 10px 16px; gap: 12px; }
  .pill-nav a { font-size: 11.5px; }
}

/* =====================================================
   WORK (Work C) — 2-column alternating masonry grid
   ===================================================== */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px clamp(20px, 4vw, 56px);
  background: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0));
}

.work-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 24px;
  padding: 24px 24px 80px;
}
.work-card {
  position: relative; border-radius: 15px; overflow: hidden; background: #111;
}
.work-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.work-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work-card.print-only { display: flex; align-items: center; justify-content: center; background: #111; }
.print-mark {
  position: absolute; top: 16px; right: 16px;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.25);
  padding: 5px 10px; border-radius: 999px;
}
.caption { margin-top: 16px; }
.caption .client { font-size: 15px; font-weight: 700; color: rgb(230,230,230); }
.caption .category { font-size: 12.5px; color: rgba(230,230,230,0.5); margin-top: 2px; }

.work-item.grid-item:nth-child(4n+1) { grid-column: span 1; }
.work-item.grid-item:nth-child(4n+1) .work-card { aspect-ratio: 452/578; }
.work-item.grid-item:nth-child(4n+2) { grid-column: span 2; }
.work-item.grid-item:nth-child(4n+2) .work-card { aspect-ratio: 904/578; }
.work-item.grid-item:nth-child(4n+3) { grid-column: span 2; }
.work-item.grid-item:nth-child(4n+3) .work-card { aspect-ratio: 904/578; }
.work-item.grid-item:nth-child(4n+4) { grid-column: span 1; }
.work-item.grid-item:nth-child(4n+4) .work-card { aspect-ratio: 452/578; }

@media (max-width: 900px) {
  .work-list { grid-template-columns: 1fr; padding: 24px 20px 64px; gap: 56px; }
  .work-item.grid-item { grid-column: span 1 !important; }
  .work-item.grid-item:nth-child(odd) { width: 90%; transform: rotate(-1deg); }
  .work-item.grid-item:nth-child(even) { width: 78%; transform: rotate(1.2deg); }
  .work-card { aspect-ratio: 16/10 !important; }
}

/* =====================================================
   ABOUT / CONTACT — simple content pages
   ===================================================== */
.simple-page {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(120px, 14vw, 168px) 24px 96px;
}
.simple-page h1 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.16;
  font-weight: 700;
  margin: 0 0 32px;
  max-width: 18ch;
}
.simple-page p {
  font-size: 15.5px;
  line-height: 1.75;
  color: rgba(230,230,230,0.68);
  margin: 0 0 24px;
  max-width: 62ch;
}
.simple-page p.lead {
  font-size: 18px;
  color: rgba(230,230,230,0.85);
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.contact-info .eyebrow {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(230,230,230,0.5); margin-bottom: 10px;
}
.contact-info a.email { display: block; font-size: 18px; font-weight: 600; margin-bottom: 18px; }
.contact-info a.email:hover { color: rgba(230,230,230,0.7); }
.contact-info .addr { font-size: 14px; line-height: 1.7; color: rgba(230,230,230,0.5); }

form.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form label {
  display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(230,230,230,0.5); margin-bottom: 8px;
}
.contact-form input, .contact-form textarea {
  width: 100%; background: rgba(255,255,255,0.04); border: 1px solid rgba(230,230,230,0.18);
  border-radius: 10px; padding: 13px 16px; color: rgb(230,230,230); font-size: 14.5px;
  font-family: inherit;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: rgba(230,230,230,0.5);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form button {
  align-self: flex-start; margin-top: 8px;
  background: rgb(230,230,230); color: rgb(10,10,10); border: 0; border-radius: 999px;
  padding: 13px 28px; font-size: 14px; font-weight: 700; cursor: pointer;
  font-family: inherit;
}
.contact-form button:hover { background: rgb(255,255,255); }
.contact-form .hp { position: absolute; left: -9999px; }

/* =====================================================
   VIDEO LIGHTBOX — click a work item to watch with sound
   ===================================================== */
.video-lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center; justify-content: center;
  padding: 40px 24px;
}
.video-lightbox.open { display: flex; }
.video-lightbox-frame {
  width: 100%; max-width: 1100px; aspect-ratio: 16 / 9;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 40px 100px -20px rgba(0,0,0,0.8);
}
.video-lightbox-frame iframe { width: 100%; height: 100%; border: 0; }
.video-lightbox-close {
  position: absolute; top: 24px; right: 28px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
  color: rgb(230,230,230); font-size: 26px; line-height: 1; cursor: pointer;
}
.video-lightbox-close:hover { background: rgba(255,255,255,0.16); }
