/* shared styles + nav/footer/buttons for WOW88 Media subpages */

:root {
  --brand-blue:      #2a3f95;
  --brand-blue-deep: #1f2f78;
  --brand-blue-soft: #eef0fa;
  --brand-red:       #e2202b;
  --brand-red-soft:  #fdecee;

  --bg:    #ffffff;
  --bg-2:  #f6f7fb;
  --paper: #ffffff;
  --ink:   #0e1228;
  --ink-2: #4a5070;
  --ink-3: #8d92a8;
  --line:  rgba(14, 18, 40, 0.10);
  --line-2: rgba(14, 18, 40, 0.18);

  --max: 1240px;
  --pad: clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  text-align: center;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; background: transparent; border: 0; color: inherit; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

::selection { background: var(--brand-blue); color: #fff; }

.nav { display: none; }

/* ---------------------------------------------------- NAV (hidden) */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--brand-blue);
  font-weight: 800;
}
.brand .mark {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 999px;
  background: var(--brand-red);
}
.brand .meta {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-left: 6px;
  font-weight: 500;
}
.nav-links {
  display: flex; align-items: center; gap: 28px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}
.nav-links a { padding: 6px 0; transition: color 0.15s ease; }
.nav-links a:hover { color: var(--brand-blue); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  color: #fff !important;
  background: var(--brand-blue);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.18s ease, transform 0.18s ease;
}
.nav-cta:hover { background: var(--brand-blue-deep); transform: translateY(-1px); }
.nav-cta .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--brand-red); }
@media (max-width: 820px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .brand .meta { display: none; }
}

/* ---------------------------------------------------- BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.btn-primary { background: var(--brand-blue); color: #fff; }
.btn-primary:hover { background: var(--brand-blue-deep); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.btn-white { background: #fff; color: var(--brand-blue); }
.btn-white:hover { background: var(--bg-2); color: var(--brand-blue); }
.btn .arrow {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  transition: transform 0.2s ease;
}
.btn-ghost .arrow { background: rgba(14, 18, 40, 0.06); }
.btn-white .arrow { background: var(--brand-blue-soft); color: var(--brand-blue); }
.btn:hover .arrow { transform: translate(2px, -2px); }

/* ---------------------------------------------------- FOOTER */
.footer {
  background: var(--brand-blue);
  color: #fff;
  padding: clamp(72px, 9vw, 120px) 0 32px;
  text-align: center;
}
.footer-big {
  font-size: clamp(64px, 12vw, 160px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 0 auto clamp(40px, 6vw, 72px);
  display: flex; align-items: baseline; justify-content: center; gap: 0.05em;
  flex-wrap: wrap;
  font-weight: 900;
}
.footer-big .italic { color: rgba(255,255,255,0.55); font-style: italic; font-weight: 500; }
.footer-big .red    { color: var(--brand-red); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.18);
  text-align: left;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h6 {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin: 0 0 16px;
  font-weight: 600;
}
.footer-col p {
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  max-width: 36ch;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: rgba(255,255,255,0.88); font-size: 14px; transition: color 0.15s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.18);
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: 6px 16px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.footer-bottom .sep { margin: 0 8px; opacity: 0.5; }

/* ---------------------------------------------------- BG UPLOAD COMPONENT */
.bg-upload {
  position: relative;
  cursor: pointer;
  background-color: var(--bg-2);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.bg-upload.is-dragover { outline: 2px dashed var(--brand-blue); outline-offset: -8px; }
.bg-upload .bg-upload-input { display: none; }
.bg-upload .bg-upload-empty {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px;
  pointer-events: none;
  text-align: center;
  padding: 24px;
  background:
    repeating-linear-gradient(135deg,
      rgba(14, 18, 40, 0.04) 0 14px,
      rgba(14, 18, 40, 0.02) 14px 28px);
}
.bg-upload .bg-upload-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--brand-blue);
  margin-bottom: 4px;
  box-shadow: 0 2px 8px rgba(14, 18, 40, 0.08);
}
.bg-upload .bg-upload-label {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}
.bg-upload .bg-upload-hint {
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}
.bg-upload .bg-upload-change {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.15s ease, color 0.15s ease;
  opacity: 0;
}
.bg-upload:hover .bg-upload-change { opacity: 1; }
.bg-upload .bg-upload-change:hover { background: var(--brand-blue); color: #fff; }
.bg-upload .bg-upload-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ---------------------------------------------------- PROJECT PAGE (evo-style) */
.project-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex; flex-direction: column;
  text-align: center;
  background: var(--bg);
  padding: clamp(48px, 8vw, 96px) 49px clamp(40px, 6vw, 72px) 49px;
}
.hero-top {
  position: relative;
  z-index: 4;
  margin: 24px auto 24px;
  max-width: 1100px;
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.hero-eyebrow .ddot {
  width: 6px; height: 6px; border-radius: 999px; background: var(--brand-red);
}
.hero-top h1 {
  font-weight: 900;
  font-size: clamp(56px, 10vw, 168px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  margin: 0 auto;
  text-wrap: balance;
  max-width: 14ch;
  color: var(--ink);
}
.hero-top h1 .accent { color: var(--brand-red); }
.hero-meta-row {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin: clamp(24px, 3vw, 36px) 0 clamp(36px, 5vw, 56px);
  flex-wrap: wrap;
}
.meta-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line-2);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}
.meta-chip .ddot {
  width: 6px; height: 6px; border-radius: 999px; background: var(--brand-red);
}

.hero-canvas {
  position: relative;
  flex: 1;
  width: 100%;
  max-width: 1920px;
  aspect-ratio: 1920 / 1080;
  margin: 0 auto;
  border-radius: clamp(16px, 2vw, 28px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.hero-canvas .bg-upload {
  position: absolute; inset: 0;
  border-radius: 0;
  border: 0;
}
.hero-canvas .scrim {
  position: absolute; inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(14, 18, 40, 0) 0%, rgba(14, 18, 40, 0.10) 60%, rgba(14, 18, 40, 0.32) 100%);
  pointer-events: none;
}
.hero-canvas .canvas-eyebrow {
  position: absolute;
  left: clamp(20px, 3vw, 36px);
  bottom: clamp(20px, 3vw, 36px);
  z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
}
.hero-canvas .canvas-eyebrow .ddot {
  width: 6px; height: 6px; border-radius: 999px; background: var(--brand-red);
}

/* ---- 3-block content row ---- */
.proj-blocks {
  padding: clamp(56px, 8vw, 96px) 0;
  background: var(--bg);
}
.proj-blocks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
  max-width: 1240px;
  margin: 0 auto;
  text-align: left;
}
@media (max-width: 880px) {
  .proj-blocks-grid { grid-template-columns: 1fr; }
}
.proj-block {
  position: relative;
  padding: clamp(28px, 3vw, 40px);
  border-radius: 20px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  min-height: 320px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.proj-block .block-num {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 700;
  margin-bottom: 18px;
}
.proj-block h3 {
  font-weight: 800;
  font-size: clamp(22px, 1.8vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--ink);
}
.proj-block h3 .accent { color: var(--brand-blue); }
.proj-block p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}
.proj-block .block-foot {
  margin-top: auto;
  padding-top: 24px;
  display: flex; align-items: center; gap: 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
}
.proj-block .block-foot .sep {
  width: 4px; height: 4px; border-radius: 999px; background: var(--line-2);
}

/* clickable variant */
a.proj-block {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
}
a.proj-block h3 { color: #fff; }
a.proj-block h3 .accent { color: var(--brand-red); }
a.proj-block p { color: rgba(255, 255, 255, 0.82); }
a.proj-block .block-num { color: rgba(255, 255, 255, 0.6); }
a.proj-block .block-foot { color: rgba(255, 255, 255, 0.78); }
a.proj-block .block-foot .sep { background: rgba(255, 255, 255, 0.3); }
a.proj-block:hover {
  transform: translateY(-4px);
  background: var(--brand-blue-deep);
  border-color: var(--brand-blue-deep);
  box-shadow: 0 24px 48px rgba(42, 63, 149, 0.28);
}
a.proj-block .block-arrow {
  position: absolute;
  top: clamp(24px, 3vw, 36px);
  right: clamp(24px, 3vw, 36px);
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  transition: transform 0.22s ease, background 0.22s ease;
}
a.proj-block:hover .block-arrow {
  background: #fff;
  color: var(--brand-blue);
  transform: translate(3px, -3px);
}

/* feed block (full-width below 3-block row) */
.proj-feed-section {
  padding: clamp(40px, 6vw, 72px) 0 clamp(72px, 9vw, 120px);
  background: var(--bg);
}
.proj-feed-head {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.proj-feed-head .section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.proj-feed-head .section-eyebrow .num {
  display: inline-grid; place-items: center;
  width: 20px; height: 20px;
  border-radius: 999px;
  background: var(--brand-blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.proj-feed-head h2 {
  font-weight: 800;
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 auto;
  max-width: 24ch;
  color: var(--ink);
  text-wrap: balance;
}
.proj-feed-head h2 .accent { color: var(--brand-blue); }

/* about / intro */
.project-intro {
  padding: clamp(72px, 10vw, 120px) 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.project-intro .lead {
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 auto 28px;
  max-width: 26ch;
  text-wrap: balance;
}
.project-intro .lead .em-blue { color: var(--brand-blue); font-weight: 700; }
.project-intro .lead .em-red  { color: var(--brand-red); font-weight: 700; }
.project-intro .body {
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.7;
  max-width: 62ch;
  margin: 0 auto 36px;
}
.project-intro .cta-row {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-top: 12px;
}

/* fact strip */
.facts {
  background: var(--bg-2);
  padding: clamp(56px, 8vw, 96px) 0;
  border-bottom: 1px solid var(--line);
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 640px) {
  .facts-grid { grid-template-columns: 1fr; }
  .facts-grid .fact { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .facts-grid .fact:last-child { border-bottom: 0; }
}
.fact {
  padding: 32px 16px;
  border-right: 1px solid var(--line);
}
.fact:last-child { border-right: 0; }
.fact .num {
  font-weight: 800;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--brand-blue);
}
.fact .num .accent { color: var(--brand-red); }
.fact .label {
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 12px;
}

/* gallery: 3 upload tiles */
.gallery {
  padding: clamp(72px, 10vw, 120px) 0;
}
.gallery-head {
  margin-bottom: clamp(40px, 6vw, 64px);
}
.gallery-head .section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.gallery-head .section-eyebrow .num {
  display: inline-grid; place-items: center;
  width: 20px; height: 20px;
  border-radius: 999px;
  background: var(--brand-blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.gallery-head h2 {
  font-weight: 800;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 auto;
  max-width: 22ch;
  color: var(--ink);
  text-wrap: balance;
}
.gallery-head h2 .accent { color: var(--brand-blue); }
.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 760px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-tile {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.gallery-tile.tall { aspect-ratio: 3 / 4; }
@media (max-width: 760px) { .gallery-tile.tall { aspect-ratio: 4 / 3; } }

/* CTA strip */
.cta-strip {
  background: var(--brand-blue);
  color: #fff;
  padding: clamp(80px, 10vw, 140px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 20% 20%, rgba(226, 32, 43, 0.20), transparent 70%),
    radial-gradient(ellipse 40% 40% at 90% 80%, rgba(255, 255, 255, 0.06), transparent 70%);
  pointer-events: none;
}
.cta-strip .container { position: relative; z-index: 1; }
.cta-strip h3 {
  font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 auto 28px;
  max-width: 22ch;
  color: #fff;
  text-wrap: balance;
}
.cta-strip h3 .italic { color: rgba(255, 255, 255, 0.7); font-weight: 500; }
.cta-strip p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.7;
  max-width: 56ch;
  margin: 0 auto 36px;
}

/* next project nav */
.next-project {
  padding: clamp(60px, 8vw, 96px) 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.next-project a {
  display: inline-flex; align-items: center; gap: 16px;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.03em;
  color: var(--ink);
  transition: color 0.18s ease, gap 0.18s ease;
  line-height: 1.1;
}
.next-project a:hover { color: var(--brand-blue); gap: 24px; }
.next-project .label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.next-project .arrow {
  display: inline-grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 999px;
  background: var(--brand-blue);
  color: #fff;
  transition: transform 0.2s ease;
}
/* footer logo upload slot */
.footer-logo-slot {
  display: flex; justify-content: center;
  margin: 0 auto clamp(40px, 6vw, 72px);
  max-width: 320px;
}
.footer-logo-slot .bg-upload {
  width: 100%;
  aspect-ratio: 3 / 1;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background-color: rgba(255, 255, 255, 0.06);
}
.footer-logo-slot .bg-upload-empty {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
}
.footer-logo-slot .bg-upload-empty .bg-upload-label { color: #fff; }
.footer-logo-slot .bg-upload-empty .bg-upload-hint  { color: rgba(255, 255, 255, 0.55); }
.footer-logo-slot .bg-upload-empty .bg-upload-icon {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  box-shadow: none;
}
.footer-logo-slot .bg-upload-img { object-fit: contain; padding: 12px; background: transparent; }

/* TikTok feed wrapper */
.tt-feed {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
}
