/* ─────────────────────────────────────────────
   Crea8ive Bench — Main Stylesheet
   WordPress FSE Theme
───────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:       #0a0a0a;
  --white:       #f5f3ee;
  --accent:      #C8F04A;
  --accent-dark: #a8cc30;
  --mid:         #1a1a1a;
  --muted:       #888;
  --border:      rgba(255,255,255,0.08);
  --font-display: 'Bebas Neue', sans-serif;
  --font-serif:   'DM Serif Display', serif;
  --font-body:    'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ──────────────────────────────────── */
nav,
.site-header nav,
header.wp-block-template-part nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 5vw;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem; letter-spacing: 0.05em;
  color: var(--white); text-decoration: none;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--accent); color: var(--black);
  padding: 0.6rem 1.4rem; border-radius: 2rem;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 1.5px; background: var(--white); transition: 0.3s; }

/* WordPress nav block compatibility */
.wp-block-navigation { display: flex; align-items: center; gap: 2.5rem; }
.wp-block-navigation-item a {
  color: var(--muted); text-decoration: none;
  font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
  transition: color 0.2s;
}
.wp-block-navigation-item a:hover { color: var(--white); }

/* ── HERO ─────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 5vw 8vh;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(200,240,74,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(200,240,74,0.04) 0%, transparent 70%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0; opacity: 0.04;
  background-image: linear-gradient(var(--white) 1px, transparent 1px),
                    linear-gradient(90deg, var(--white) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.5rem; position: relative; z-index: 1;
}
.hero-tag::before {
  content: ''; display: inline-block;
  width: 24px; height: 1px; background: var(--accent);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 10rem);
  line-height: 0.92; letter-spacing: -0.01em;
  position: relative; z-index: 1;
  max-width: 14ch;
}
.hero h1 em {
  font-family: var(--font-serif); font-style: italic;
  color: var(--accent); font-size: 0.9em;
}
.hero-sub {
  margin-top: 2.5rem;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; position: relative; z-index: 1;
  flex-wrap: wrap;
}
.hero-sub p { max-width: 36ch; font-size: 1.05rem; color: #bbb; line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent); color: var(--black);
  padding: 0.85rem 2rem; border-radius: 2rem;
  font-weight: 500; font-size: 0.9rem; letter-spacing: 0.05em;
  text-decoration: none; transition: 0.2s;
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); color: var(--black); }
.btn-ghost {
  border: 1px solid var(--border); color: var(--white);
  padding: 0.85rem 2rem; border-radius: 2rem;
  font-size: 0.9rem; letter-spacing: 0.05em;
  text-decoration: none; transition: 0.2s; background: transparent; cursor: pointer;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.04); color: var(--white); }
.hero-scroll {
  position: absolute; bottom: 3rem; right: 5vw; z-index: 1;
  writing-mode: vertical-rl; font-size: 0.7rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 0.75rem;
}
.hero-scroll::after {
  content: ''; display: block;
  width: 1px; height: 60px; background: linear-gradient(to bottom, var(--muted), transparent);
}

/* ── TICKER ───────────────────────────────── */
.ticker {
  overflow: hidden; border-bottom: 1px solid var(--border);
  padding: 1rem 0; background: var(--mid);
}
.ticker-inner {
  display: flex; gap: 0; width: max-content;
  animation: ticker 20s linear infinite;
}
.ticker-item {
  display: flex; align-items: center; gap: 2rem;
  padding: 0 2.5rem; white-space: nowrap;
  font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted);
}
.ticker-item span { color: var(--accent); font-size: 1rem; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── SECTIONS ─────────────────────────────── */
section { padding: 8rem 5vw; }
.section-label {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 1rem;
}
.section-label::before { content: ''; width: 32px; height: 1px; background: var(--accent); }
h2.display {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 0.95; letter-spacing: -0.01em; max-width: 18ch;
}
h2.display em { font-family: var(--font-serif); font-style: italic; color: var(--muted); }

/* ── SERVICES ─────────────────────────────── */
#services { border-bottom: 1px solid var(--border); }
.services-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 5rem; gap: 2rem; flex-wrap: wrap;
}
.services-header p { max-width: 32ch; color: #aaa; line-height: 1.8; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px; background: var(--border);
}
.service-card {
  background: var(--black); padding: 2.5rem 2rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: background 0.3s; cursor: default;
}
.service-card:hover { background: var(--mid); }
.service-num {
  font-family: var(--font-display); font-size: 3.5rem;
  color: rgba(255,255,255,0.06); line-height: 1;
}
.service-icon {
  width: 44px; height: 44px; border-radius: 0.5rem;
  background: rgba(200,240,74,0.1); display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.5rem;
}
.service-icon svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.5; }
.service-card h3 {
  font-family: var(--font-serif); font-size: 1.35rem;
  line-height: 1.2; font-weight: 400;
}
.service-card p { font-size: 0.9rem; color: #888; line-height: 1.7; flex: 1; }
.service-link {
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); text-decoration: none; margin-top: auto;
  display: inline-flex; align-items: center; gap: 0.4rem; transition: gap 0.2s;
}
.service-card:hover .service-link { gap: 0.7rem; }

/* ── ABOUT ────────────────────────────────── */
#about {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center;
  border-bottom: 1px solid var(--border);
}
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }
.stat { padding: 1.5rem; border: 1px solid var(--border); border-radius: 0.75rem; }
.stat-num { font-family: var(--font-display); font-size: 3rem; color: var(--accent); line-height: 1; }
.stat-label { font-size: 0.8rem; color: var(--muted); margin-top: 0.3rem; letter-spacing: 0.05em; }
.about-visual {
  position: relative; aspect-ratio: 1;
  background: var(--mid); border-radius: 1.5rem; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.about-circle {
  width: 70%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid var(--border); position: absolute;
  animation: spin 18s linear infinite;
}
.about-circle::before {
  content: ''; position: absolute; top: -4px; left: 50%;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); transform: translateX(-50%);
}
.about-circle-2 {
  width: 45%; animation-duration: 11s; animation-direction: reverse;
  border-color: rgba(200,240,74,0.15);
}
@keyframes spin { to { transform: rotate(360deg); } }
.about-center { text-align: center; z-index: 1; }
.about-center p { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: 0.1em; color: var(--white); }
.about-center span { display: block; color: var(--accent); font-size: 2.5rem; }

/* ── CLIENTS ──────────────────────────────── */
#clients { border-bottom: 1px solid var(--border); padding-top: 5rem; padding-bottom: 5rem; }
.clients-label { text-align: center; margin-bottom: 3rem; }
.clients-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1px; background: var(--border);
}
.client-item {
  background: var(--black); padding: 1.5rem 2.5rem;
  font-family: var(--font-display); font-size: 1.1rem;
  letter-spacing: 0.05em; color: #555;
  transition: color 0.2s, background 0.2s;
  flex: 1; min-width: 120px; text-align: center;
}
.client-item:hover { color: var(--white); background: var(--mid); }
.client-logo { max-height: 40px; width: auto; filter: grayscale(1) brightness(0.5); transition: filter 0.2s; }
.client-item:hover .client-logo { filter: grayscale(0) brightness(1); }

/* ── TEAM ─────────────────────────────────── */
#team { border-bottom: 1px solid var(--border); }
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem; margin-top: 4rem;
}
.team-card {
  border: 1px solid var(--border); border-radius: 1rem;
  overflow: hidden; transition: border-color 0.2s, transform 0.2s;
}
.team-card:hover { border-color: rgba(200,240,74,0.3); transform: translateY(-4px); }
.team-avatar {
  height: 220px; background: var(--mid);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.team-photo { width: 100%; height: 100%; object-fit: cover; }
.team-initials {
  font-family: var(--font-display); font-size: 4rem;
  color: rgba(255,255,255,0.08);
}
.team-accent { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--accent); }
.team-info { padding: 1.25rem 1.5rem; }
.team-info h3 { font-size: 1rem; font-weight: 500; }
.team-info p { font-size: 0.8rem; color: var(--accent); margin-top: 0.2rem; letter-spacing: 0.05em; }

/* ── BLOG ─────────────────────────────────── */
#blog { border-bottom: 1px solid var(--border); }
.blog-grid {
  display: grid; grid-template-columns: 2fr 1fr; gap: 1px;
  background: var(--border); margin-top: 4rem;
}
.blog-card {
  background: var(--black); padding: 2.5rem 2rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: background 0.2s;
}
.blog-card:hover { background: var(--mid); }
.blog-tag {
  font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.blog-tag::before { content: ''; width: 16px; height: 1px; background: var(--accent); }
.blog-card h3 {
  font-family: var(--font-serif); font-size: 1.4rem;
  line-height: 1.25; font-weight: 400;
}
.blog-card h3 a { color: var(--white); text-decoration: none; }
.blog-card h3 a:hover { color: var(--accent); }
.blog-card.secondary h3 { font-size: 1.1rem; }
.blog-card p { font-size: 0.9rem; color: #888; line-height: 1.7; }
.blog-date { font-size: 0.75rem; color: var(--muted); margin-top: auto; }
.blog-read {
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.4rem;
}

/* ── CONTACT ──────────────────────────────── */
#contact { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.form-group input,
.form-group textarea {
  background: var(--mid); border: 1px solid var(--border);
  color: var(--white); padding: 0.85rem 1rem; border-radius: 0.5rem;
  font-family: var(--font-body); font-size: 0.95rem; outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-info { margin-top: 3rem; display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item-icon {
  width: 40px; height: 40px; border-radius: 0.5rem;
  background: rgba(200,240,74,0.1); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 1.5; }
.contact-item p { font-size: 0.85rem; color: #aaa; }
.contact-item strong { display: block; font-size: 0.95rem; color: var(--white); font-weight: 400; margin-bottom: 0.2rem; }
.contact-item strong a { color: var(--white); text-decoration: none; }
.contact-item strong a:hover { color: var(--accent); }

/* Form feedback */
.cb-form-success { color: var(--accent); font-size: 0.9rem; padding: 0.75rem; border: 1px solid var(--accent); border-radius: 0.5rem; margin-top: 0.5rem; display: none; }
.cb-form-error   { color: #ff6b6b;      font-size: 0.9rem; padding: 0.75rem; border: 1px solid #ff6b6b; border-radius: 0.5rem; margin-top: 0.5rem; display: none; }

/* ── FOOTER ───────────────────────────────── */
footer,
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 5vw;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1.5rem;
}
.footer-logo { font-family: var(--font-display); font-size: 1.4rem; color: var(--white); text-decoration: none; letter-spacing: 0.05em; }
.footer-logo span { color: var(--accent); }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.8rem; color: var(--muted); text-decoration: none; letter-spacing: 0.05em; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 0.75rem; color: #555; letter-spacing: 0.05em; }

/* ── ANIMATIONS ───────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s, transform 0.7s; }
.reveal.visible { opacity: 1; transform: none; }

/* ── SINGLE POST / ARCHIVE ────────────────── */
.cb-single { padding: 8rem 5vw 5rem; max-width: 800px; margin: 0 auto; }
.cb-single h1 { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.2; margin-bottom: 1rem; }
.cb-single .entry-meta { font-size: 0.8rem; color: var(--muted); margin-bottom: 2rem; }
.cb-single .entry-content { color: #ccc; line-height: 1.8; }
.cb-single .entry-content p { margin-bottom: 1rem; }
.cb-single .entry-content h2, .cb-single .entry-content h3 { font-family: var(--font-display); margin: 2rem 0 0.75rem; }
.cb-single .entry-content a { color: var(--accent); }

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  #about, #contact { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { display: none; }
  .blog-grid { grid-template-columns: 1fr; }
  .services-header { flex-direction: column; }
  .hero h1 { font-size: clamp(3rem, 16vw, 5rem); }
  section { padding: 5rem 5vw; }
  footer, .site-footer { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 70px; left: 0; right: 0; background: var(--black); padding: 2rem 5vw; border-bottom: 1px solid var(--border); }
}
