/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink:          #1a1208;
  --cream:        #f5f0e8;
  --ochre:        #b8832a;
  --ochre-light:  #e8c878;
  --rust:         #8b3a1a;
  --mid:          #5c4a2a;
  --surface:      #ede8de;
}

html { scroll-behavior: smooth; }
body { background: var(--cream); color: var(--ink); font-family: 'Inter', sans-serif; font-size: 16px; line-height: 1.7; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
iframe { display: block; border: 0; }

/* =====================
   NAVIGATION
   ===================== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 4rem;
  background: rgba(26,18,8,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(184,131,42,0.15);
}
.nav-logo { height: 36px; filter: brightness(0) invert(1); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.7);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--ochre-light); }

/* Mobile menu toggle (hamburger) — hidden on desktop */
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 30px; height: 22px; position: relative; padding: 0; z-index: 101;
}
.nav-toggle span {
  display: block; position: absolute; left: 0; width: 100%; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle span:nth-child(1) { top: 2px; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 18px; }
nav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
nav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =====================
   PAGE HEADER (inner pages)
   ===================== */
.page-header {
  background: var(--ink);
  padding: 8rem 4rem 4rem;
  position: relative; overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(to right, var(--ochre), var(--rust), var(--ochre));
}
.page-header-label {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ochre); font-weight: 500; margin-bottom: 1rem;
  display: flex; align-items: center; gap: 12px;
}
.page-header-label::before {
  content: ''; display: block; width: 28px; height: 1px; background: var(--ochre);
}
.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 700; line-height: 1.0; color: #fff;
}
.page-header h1 span { font-style: italic; font-weight: 400; color: var(--ochre-light); }
.page-header-desc {
  font-size: 15px; color: rgba(255,255,255,0.5);
  font-weight: 300; max-width: 560px; margin-top: 1.25rem; line-height: 1.7;
}

/* =====================
   CONTAINERS
   ===================== */
.container { padding: 5rem 4rem; }
.container-surface { background: var(--surface); padding: 5rem 4rem; }

/* =====================
   SECTION TITLES
   ===================== */
.section-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 3rem; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(28px,3vw,42px); font-weight: 700; color: var(--ink); }
.section-title span { font-style: italic; font-weight: 400; color: var(--rust); }
.section-label { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ochre); font-weight: 500; margin-bottom: 1rem; }
.section-link {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ochre); font-weight: 500;
  border-bottom: 1px solid var(--ochre); padding-bottom: 1px; transition: opacity 0.2s;
}
.section-link:hover { opacity: 0.65; }

/* =====================
   BUTTONS & CTAS
   ===================== */
.btn-primary {
  background: var(--ochre); color: #fff;
  padding: 13px 30px; font-size: 13px; font-weight: 500;
  letter-spacing: 0.07em; text-transform: uppercase;
  border: 1px solid var(--ochre); transition: all 0.2s; display: inline-block;
}
.btn-primary:hover { background: transparent; color: var(--ochre-light); border-color: var(--ochre-light); }
.btn-ghost {
  background: transparent; color: rgba(255,255,255,0.72);
  padding: 13px 30px; font-size: 13px; font-weight: 500;
  letter-spacing: 0.07em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.28); transition: all 0.2s; display: inline-block;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.65); color: #fff; }
.back-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ochre); font-weight: 500; margin-bottom: 3rem; transition: opacity 0.2s;
}
.back-link::before { content: '←'; font-size: 14px; }
.back-link:hover { opacity: 0.7; }

/* =====================
   CAMPAIGN / WORK CARDS
   ===================== */
.work-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.work-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.work-card {
  background: var(--cream); border: 1px solid rgba(26,18,8,0.08);
  transition: transform 0.2s, box-shadow 0.2s; cursor: pointer;
  display: flex; flex-direction: column;
}
.work-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(26,18,8,0.08); }
.work-card-visual {
  aspect-ratio: 4/3; overflow: hidden;
  display: flex; align-items: center; justify-content: center; position: relative;
}
.work-card-visual img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity 0.2s; }
.work-card:hover .work-card-visual img { opacity: 1; }
.work-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--ochre); color: #fff;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; font-weight: 500;
}
.work-card-body { padding: 1.25rem 1.25rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.work-card-category { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ochre); font-weight: 500; margin-bottom: 6px; }
.work-card-title { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.3; margin-bottom: 8px; }
.work-card-desc { font-size: 13px; color: var(--mid); line-height: 1.6; flex: 1; }

/* =====================
   CAMPAIGN DETAIL
   ===================== */
.campaign-body { max-width: 800px; }
.campaign-body p { font-size: 15px; color: var(--mid); line-height: 1.85; margin-bottom: 1.25rem; }
.campaign-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px,2.5vw,32px); font-weight: 700; color: var(--ink);
  margin-top: 3rem; margin-bottom: 1rem;
}
.campaign-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700; color: var(--ink);
  margin-top: 2.5rem; margin-bottom: 0.75rem; font-style: italic;
}
.award-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--ochre-light);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 14px; font-weight: 500; margin-bottom: 2rem;
}
.award-badge::before { content: '★'; font-size: 12px; }
.video-embed {
  position: relative; width: 100%; padding-bottom: 56.25%; margin: 2rem 0;
  background: var(--ink);
}
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.image-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin: 2rem 0; }
.image-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.image-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; margin: 2rem 0; }
.image-grid-2 img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.image-full { width: 100%; margin: 2rem 0; }
.image-full img { width: 100%; max-height: 520px; object-fit: cover; }
.campaign-nav {
  display: flex; gap: 1rem; margin-top: 4rem; padding-top: 2rem;
  border-top: 1px solid rgba(26,18,8,0.1);
}

/* =====================
   JURY LOGOS
   ===================== */
.jury-section { background: var(--ink); padding: 3rem 4rem; }
.jury-label { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ochre); font-weight: 500; margin-bottom: 1.5rem; }
.jury-logos { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.jury-logos img { height: 66px; width: auto; background: #fff; padding: 10px 18px; border-radius: 8px; opacity: 0.92; transition: opacity 0.2s, transform 0.2s; }
.jury-logos img:hover { opacity: 1; transform: translateY(-2px); }

/* =====================
   FILTER BAR
   ===================== */
.filter-bar { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.filter-btn {
  background: transparent; color: var(--mid); border: 1px solid rgba(26,18,8,0.15);
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 18px; font-weight: 500; cursor: pointer; transition: all 0.2s; font-family: 'Inter',sans-serif;
}
.filter-btn:hover, .filter-btn.active { background: var(--ink); color: var(--ochre-light); border-color: var(--ink); }

/* =====================
   FOOTER
   ===================== */
footer {
  background: var(--ink); padding: 3rem 4rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2rem;
}
.footer-logo { height: 32px; filter: brightness(0) invert(1); opacity: 0.5; }
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a {
  color: rgba(245,240,232,0.38); font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.2s;
}
.footer-links a:hover { color: var(--ochre-light); }
.footer-copy { font-size: 12px; color: rgba(245,240,232,0.28); }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
  nav { padding: 1.25rem 2rem; }
  .nav-toggle { display: block; }
  .nav-links {
    flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(26,18,8,0.98); backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(184,131,42,0.15);
    padding: 0 2rem; max-height: 0; overflow: hidden;
    opacity: 0; pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
  }
  nav.nav-open .nav-links { max-height: 80vh; opacity: 1; pointer-events: auto; padding: 0.5rem 2rem 1rem; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.9rem 0; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .nav-links li:last-child a { border-bottom: 0; }
  .page-header { padding: 7rem 2rem 3rem; }
  .container, .container-surface, .jury-section { padding: 4rem 2rem; }
  .work-grid { grid-template-columns: 1fr; }
  .work-grid-2 { grid-template-columns: 1fr; }
  .image-grid { grid-template-columns: 1fr 1fr; }
  footer { padding: 2.5rem 2rem; flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .image-grid { grid-template-columns: 1fr; }
  .image-grid-2 { grid-template-columns: 1fr; }
}
