/* CW Exhibition Services: design from "Company Website_v2.html" (Jack, 2026), rebuilt as a static site. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --grey-light: #f4f4f4;
  --grey-mid: #6f6f6f;
  --orange: #FD712A;
  --accent: #e8ff00;
  --nav-height: 72px;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', Arial, sans-serif;
  --transition: 0.3s ease;
}
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body { font-family: var(--font-body); color: var(--black); background: var(--white); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hl { color: var(--orange); }

/* ===== NAVIGATION ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-height);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  background: transparent;
  transition: background var(--transition);
}
nav.scrolled { background: rgba(10,10,10,0.92); backdrop-filter: blur(8px); }
nav .logo { height: 47px; width: auto; object-fit: contain; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  color: var(--white); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  opacity: 0.85; transition: opacity var(--transition);
}
.nav-links a:hover, .nav-links a:focus-visible { opacity: 1; }
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav-burger span { display: block; width: 26px; height: 2px; background: var(--white); }

/* ===== MOBILE MENU ===== */
.mobile-overlay {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: var(--black);
  flex-direction: column; align-items: center; justify-content: center; gap: 32px;
}
.mobile-overlay.open { display: flex; }
.mobile-overlay a { color: var(--white); font-family: var(--font-display); font-size: 3rem; letter-spacing: 0.05em; }
.mobile-overlay .close-btn {
  position: absolute; top: 24px; right: 32px;
  background: none; border: none; color: var(--white); font-size: 2rem; cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 600px;
  display: flex; align-items: flex-end;
  padding: 0 60px 80px; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { object-position: center; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.1) 60%);
}
.hero-content { position: relative; z-index: 2; max-width: 860px; }
.hero-content h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(4rem, 11vw, 10rem);
  color: var(--white); line-height: 0.88; letter-spacing: 0.01em;
}
.scroll-cue {
  position: absolute; bottom: 30px; right: 50px; z-index: 2;
  writing-mode: vertical-rl;
  font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  display: flex; align-items: center; gap: 10px;
}
.scroll-cue::before {
  content: ''; display: block; width: 1px; height: 50px;
  background: rgba(255,255,255,0.3);
  animation: scrollLine 1.6s ease-in-out infinite;
}
@keyframes scrollLine { 0%,100% { transform: scaleY(1); opacity: 1; } 50% { transform: scaleY(0.4); opacity: 0.3; } }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block; padding: 14px 36px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  border: 2px solid var(--white); color: var(--white);
  transition: background var(--transition), color var(--transition);
}
.btn:hover, .btn:focus-visible { background: var(--white); color: var(--black); }

/* ===== SECTIONS ===== */
section { padding: 100px 60px; }
.section-label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--grey-mid); margin-bottom: 18px;
}
.section-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1; letter-spacing: 0.02em; margin-bottom: 24px;
}
.section-body { font-size: 1rem; line-height: 1.75; color: #444; max-width: 560px; margin-bottom: 36px; }

/* Fade in on scroll (only when JavaScript runs and motion is allowed) */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-image { height: 540px; overflow: hidden; }

/* ===== WHAT WE DO ===== */
.portfolio { background: var(--grey-light); }
.portfolio-header { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 60px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.portfolio-card { position: relative; overflow: hidden; }
.portfolio-card-media { height: 320px; position: relative; overflow: hidden; }
.portfolio-card-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 55%);
}
.portfolio-card-label {
  position: absolute; bottom: 20px; left: 20px; z-index: 2;
  font-family: var(--font-display); font-size: 1.4rem; color: var(--white); letter-spacing: 0.04em;
}

/* ===== OUR BRANDS ===== */
.brands { background: var(--black); color: var(--white); }
.brands .section-label { color: rgba(255,255,255,0.55); }
.brands .section-title { color: var(--white); margin-bottom: 48px; }
.brands-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.brand-card { position: relative; overflow: hidden; height: 480px; display: block; }
.brand-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 55%);
  transition: opacity var(--transition);
}
.brand-card:hover::after { opacity: 0.95; }
.brand-card-footer { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; padding: 28px; }
.brand-card-btn {
  display: inline-block; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em;
  color: var(--white); border-bottom: 2px solid var(--orange); padding-bottom: 4px;
  transition: color var(--transition);
}
.brand-card:hover .brand-card-btn, .brand-card:focus-visible .brand-card-btn { color: var(--orange); }

/* ===== OUR PARTNERS ===== */
.partners { background: var(--white); }
/* Layout follows the agency's polished version on the live site: 5 per row, each logo within 200 x 100 */
.partners-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 50px; max-width: 1200px; margin: 56px auto 0; }
.partner-logo { display: flex; align-items: center; justify-content: center; height: 110px; }
.partner-logo img { width: auto; height: auto; max-width: min(200px, 100%); max-height: 100px; object-fit: contain; }
.partner-logo.banyan img { max-width: min(256px, 100%); max-height: 118px; }

/* ===== CONTACT ===== */
footer { background: var(--black); color: rgba(255,255,255,0.65); padding: 80px 60px 40px; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-bottom: 60px; }
footer h3 {
  font-family: var(--font-display); font-weight: 400; font-size: 2.2rem;
  color: var(--white); letter-spacing: 0.04em; margin-bottom: 28px;
}
footer address { font-style: normal; font-size: 0.95rem; line-height: 2.2; }
footer address a { color: rgba(255,255,255,0.85); transition: color var(--transition); }
footer address a:hover { color: var(--white); }
.footer-cta-col p { font-size: 0.95rem; line-height: 1.7; margin-bottom: 28px; max-width: 420px; }
.footer-buttons { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
}
@media (max-width: 768px) {
  nav { padding: 0 24px; }
  section { padding: 70px 24px; }
  .hero { padding: 0 24px 60px; }
  .about-grid, .portfolio-header, .brands-grid, .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .about-image { height: 360px; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .partners-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; margin-top: 40px; }
  .partner-logo { height: 80px; }
  .partner-logo img, .partner-logo.banyan img { max-width: 100%; max-height: 64px; }
  .brand-card { height: 340px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .scroll-cue { display: none; }
  footer { padding: 50px 24px 30px; }
}
@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-cue::before { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
