/*
Theme Name: Willi Signature Creative Agency
Theme URI: https://willisignature.com
Author: Willi Signature Creative Agency
Author URI: https://willisignature.com
Description: AI-Powered Creative Agency theme for Willi Signature Creative Agency — Leesburg, VA. Features warm editorial aesthetic with Cormorant Garamond and Jost typography.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: Private
Text Domain: willi-signature
*/

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

:root {
  --cream:    #FAF8F4;
  --cream2:   #F3EFE8;
  --cream3:   #EDE7DC;
  --bark:     #2C2927;
  --bark-mid: #6B6560;
  --bark-dim: #A09890;
  --rose:     #B87B6A;
  --rose-lt:  rgba(184, 123, 106, 0.12);
  --sage:     #8A9E89;
  --serif:    'Cormorant Garamond', Georgia, serif;
  --sans:     'Jost', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--bark);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Subtle paper grain */
body::before {
  content: '';
  position: fixed; inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999;
}

a { color: var(--rose); text-decoration: none; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

/* ========== NAV ========== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(44, 41, 39, 0.07);
}

nav .container {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 32px;
}

.logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--bark);
}
.logo span { color: var(--rose); font-style: italic; }

.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  font-family: var(--sans); font-size: 0.78rem;
  color: var(--bark-mid); letter-spacing: 0.12em;
  text-transform: uppercase; font-weight: 400;
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--bark); }

.nav-cta {
  background: transparent !important;
  color: var(--rose) !important;
  border: 1px solid var(--rose) !important;
  padding: 9px 22px !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em !important;
  transition: background 0.3s, color 0.3s !important;
}
.nav-cta:hover {
  background: var(--rose) !important;
  color: #fff !important;
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  position: relative;
  background:
    radial-gradient(ellipse at 75% 40%, rgba(138,158,137,0.13) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 70%, rgba(184,123,106,0.09) 0%, transparent 50%),
    var(--cream);
}

/* Decorative line art overlay */
.hero::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 45%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 600'%3E%3Cellipse cx='300' cy='180' rx='90' ry='130' fill='none' stroke='%23B87B6A' stroke-width='0.8' opacity='0.18'/%3E%3Cellipse cx='250' cy='350' rx='70' ry='110' fill='none' stroke='%238A9E89' stroke-width='0.8' opacity='0.18'/%3E%3Ccircle cx='320' cy='420' r='60' fill='none' stroke='%23B87B6A' stroke-width='0.5' opacity='0.12'/%3E%3Cline x1='200' y1='80' x2='200' y2='520' stroke='%232C2927' stroke-width='0.5' opacity='0.06'/%3E%3Cline x1='100' y1='150' x2='380' y2='150' stroke='%232C2927' stroke-width='0.5' opacity='0.06'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--sage);
  font-weight: 500;
  margin-bottom: 28px;
  animation: fadeUp 0.9s ease-out both;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 4.5vw, 4.8rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  animation: fadeUp 0.9s ease-out 0.12s both;
}

.hero h1 em {
  font-style: italic;
  color: var(--rose);
}

.hero-sub {
  font-size: 1rem;
  color: var(--bark-mid);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 44px;
  font-weight: 300;
  animation: fadeUp 0.9s ease-out 0.24s both;
}

.hero-ctas {
  display: flex; gap: 20px; flex-wrap: wrap;
  animation: fadeUp 0.9s ease-out 0.36s both;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--rose); color: #fff;
  font-family: var(--sans); font-weight: 500; font-size: 0.82rem;
  padding: 15px 36px; letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.3s, transform 0.2s;
}
.btn-primary:hover { background: #a66a5a; transform: translateY(-2px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--bark);
  font-family: var(--sans); font-weight: 400; font-size: 0.82rem;
  padding: 15px 36px; letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(44,41,39,0.2);
  transition: border-color 0.3s, color 0.3s;
}
.btn-ghost:hover { border-color: var(--bark); color: var(--bark); }

/* Hero visual */
.hero-visual {
  position: relative; z-index: 1;
  animation: fadeUp 1.1s ease-out 0.4s both;
}

.hero-mockup {
  width: 100%; aspect-ratio: 4/3;
  background: var(--cream2);
  border: 1px solid rgba(44,41,39,0.1);
  box-shadow: 0 24px 60px rgba(44,41,39,0.08), 0 4px 16px rgba(44,41,39,0.04);
  overflow: hidden;
}

.mockup-bar {
  height: 36px; background: var(--cream3);
  display: flex; align-items: center; gap: 6px; padding: 0 14px;
  border-bottom: 1px solid rgba(44,41,39,0.07);
}

.mockup-dot { width: 9px; height: 9px; border-radius: 50%; }
.mockup-dot:nth-child(1) { background: #e0a9a0; }
.mockup-dot:nth-child(2) { background: #d4c49a; }
.mockup-dot:nth-child(3) { background: #9ab8a0; }

.mockup-content {
  padding: 28px;
  height: calc(100% - 36px);
  display: grid; grid-template-rows: auto auto 1fr; gap: 18px;
}

.mockup-nav-strip {
  height: 12px;
  display: flex; gap: 8px; align-items: center;
}
.mockup-nav-strip span {
  height: 8px; border-radius: 4px;
  background: var(--cream3);
  animation: shimmer 2.8s ease-in-out infinite;
}
.mockup-nav-strip span:nth-child(1) { width: 50px; }
.mockup-nav-strip span:nth-child(2) { width: 36px; animation-delay: 0.3s; }
.mockup-nav-strip span:nth-child(3) { width: 36px; animation-delay: 0.6s; }
.mockup-nav-strip span:nth-child(4) { width: 28px; animation-delay: 0.9s; }
.mockup-nav-strip span:nth-child(5) { width: 44px; background: rgba(184,123,106,0.35); animation-delay: 1.2s; }

.mockup-hero-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.mockup-headline-lines { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.mockup-line {
  height: 10px; border-radius: 4px;
  background: var(--cream3);
  animation: shimmer 3s ease-in-out infinite;
}
.mockup-line.wide { width: 90%; }
.mockup-line.mid { width: 70%; animation-delay: 0.4s; }
.mockup-line.short { width: 50%; animation-delay: 0.8s; }
.mockup-line.accent-btn { width: 42px; height: 28px; background: rgba(184,123,106,0.2); border-radius: 2px; margin-top: 8px; }
.mockup-img-placeholder {
  background: linear-gradient(135deg, var(--cream3) 0%, rgba(138,158,137,0.2) 100%);
  border-radius: 2px;
  animation: shimmer 3s ease-in-out 0.5s infinite;
}

.mockup-blocks { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.mockup-block {
  background: var(--cream3); border-radius: 2px;
  animation: shimmer 3s ease-in-out infinite;
}
.mockup-block:nth-child(2) { animation-delay: 0.5s; }
.mockup-block:nth-child(3) { animation-delay: 1s; }

.hero-stat-bar {
  display: flex; gap: 36px; margin-top: 28px;
  padding-top: 24px; border-top: 1px solid rgba(44,41,39,0.08);
}
.hero-stat { text-align: center; }
.hero-stat .number {
  font-family: var(--serif); font-weight: 500; font-size: 2rem;
  color: var(--rose); line-height: 1; letter-spacing: -0.02em;
}
.hero-stat .label {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--bark-dim); margin-top: 5px; font-weight: 400;
}

/* ========== SECTIONS ========== */
section { padding: 110px 0; position: relative; }
section:nth-child(even) { background: var(--cream2); }

.section-eyebrow {
  font-family: var(--sans); font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.22em; color: var(--sage); font-weight: 500;
  margin-bottom: 18px; display: block;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.section-title em { font-style: italic; color: var(--rose); }

.section-sub {
  font-size: 0.98rem; color: var(--bark-mid); max-width: 560px;
  line-height: 1.85; margin-bottom: 64px; font-weight: 300;
}

/* ========== SERVICES ========== */
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: rgba(44,41,39,0.07);
}

.service-card {
  background: var(--cream);
  padding: 52px 44px;
  position: relative; overflow: hidden;
  transition: background 0.4s;
}
section:nth-child(even) .service-card { background: var(--cream2); }
.service-card:hover { background: var(--cream3); }

.service-card::after {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--rose);
  transition: width 0.4s ease;
}
.service-card:hover::after { width: 100%; }

.service-number {
  font-family: var(--serif); font-weight: 300; font-size: 4rem;
  color: rgba(184,123,106,0.12); line-height: 1;
  margin-bottom: 18px; letter-spacing: -0.02em;
}

.service-card h3 {
  font-family: var(--serif); font-weight: 500; font-size: 1.45rem;
  margin-bottom: 14px; letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.93rem; color: var(--bark-mid); line-height: 1.8;
  margin-bottom: 24px; font-weight: 300;
}

.service-tag {
  display: inline-block; font-family: var(--sans); font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.15em; color: var(--rose);
  padding: 7px 16px; border: 1px solid rgba(184,123,106,0.35);
  font-weight: 500;
}

/* ========== PRICING ========== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.pricing-card {
  background: var(--cream); border: 1px solid rgba(44,41,39,0.09);
  padding: 44px 36px; position: relative;
  transition: transform 0.35s, box-shadow 0.35s;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(44,41,39,0.08);
}

.pricing-card.featured {
  border-color: var(--rose);
  background: linear-gradient(170deg, rgba(184,123,106,0.05) 0%, var(--cream) 35%);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute; top: -1px; right: 28px;
  background: var(--rose); color: #fff;
  font-family: var(--sans); font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 7px 16px;
}

.pricing-tier {
  font-family: var(--sans); font-weight: 500; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.2em; color: var(--rose);
  margin-bottom: 14px;
}

.pricing-price {
  font-family: var(--serif); font-weight: 400;
  font-size: 2.6rem; letter-spacing: -0.02em;
  margin-bottom: 8px; line-height: 1;
}

.pricing-timeline {
  font-size: 0.82rem; color: var(--bark-dim); margin-bottom: 30px;
  padding-bottom: 30px; border-bottom: 1px solid rgba(44,41,39,0.07);
  font-weight: 300;
}

.pricing-features { list-style: none; }
.pricing-features li {
  font-size: 0.88rem; color: var(--bark-mid);
  padding: 9px 0 9px 22px; position: relative; font-weight: 300;
  border-bottom: 1px solid rgba(44,41,39,0.04);
}
.pricing-features li::before {
  content: '—'; position: absolute; left: 0; color: var(--rose);
  font-weight: 400; font-size: 0.8rem;
}

/* ========== VIDEO ========== */
.video-showcase {
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
}

.video-examples { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.video-thumb {
  aspect-ratio: 9/16;
  background: var(--cream3);
  border: 1px solid rgba(44,41,39,0.08);
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 14px;
  font-family: var(--sans); font-size: 0.66rem; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--bark-dim);
  position: relative; overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
  font-weight: 400;
}
.video-thumb:hover {
  border-color: rgba(184,123,106,0.5);
  box-shadow: 0 8px 28px rgba(184,123,106,0.12);
}
.video-thumb::before {
  content: '▶';
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-size: 1.6rem; color: var(--rose); opacity: 0.25;
  transition: opacity 0.3s;
}
.video-thumb:hover::before { opacity: 0.7; }

.video-price-tag {
  display: inline-flex; align-items: baseline; gap: 10px;
  margin-top: 26px;
}
.video-price-tag .price {
  font-family: var(--serif); font-weight: 400; font-size: 2.2rem;
  color: var(--rose); letter-spacing: -0.02em;
}
.video-price-tag .per { font-size: 0.82rem; color: var(--bark-dim); font-weight: 300; }
.video-turnaround { font-size: 0.82rem; color: var(--bark-dim); margin-top: 10px; font-weight: 300; }

/* ========== NICHES ========== */
.niche-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.niche-tag {
  font-family: var(--sans); font-size: 0.78rem; color: var(--bark-mid);
  padding: 10px 22px; border: 1px solid rgba(44,41,39,0.1);
  font-weight: 300; letter-spacing: 0.04em;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.niche-tag:hover {
  border-color: var(--rose); color: var(--rose);
  background: rgba(184,123,106,0.05);
}

/* ========== PROCESS ========== */
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(44,41,39,0.07);
}

.process-step {
  background: var(--cream); padding: 44px 32px;
  position: relative;
  transition: background 0.35s;
}
section:nth-child(even) .process-step { background: var(--cream2); }
.process-step:hover { background: var(--cream3); }
.process-step::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--rose);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.process-step:hover::before { transform: scaleX(1); }

.step-number {
  font-family: var(--serif); font-weight: 300; font-size: 3rem;
  color: rgba(184,123,106,0.18); margin-bottom: 18px; line-height: 1;
  letter-spacing: -0.02em;
}

.process-step h4 {
  font-family: var(--serif); font-weight: 500; font-size: 1.15rem;
  margin-bottom: 12px; letter-spacing: -0.01em;
}
.process-step p { font-size: 0.87rem; color: var(--bark-mid); line-height: 1.75; font-weight: 300; }

/* ========== RETAINER ========== */
.retainer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; text-align: left; }

.retainer-card {
  background: var(--cream);
  padding: 40px 36px;
  border: 1px solid rgba(44,41,39,0.09);
  transition: box-shadow 0.3s, transform 0.3s;
}
.retainer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(44,41,39,0.07);
}

/* ========== CTA ========== */
.cta-section {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(184,123,106,0.1) 0%, transparent 65%),
    var(--cream2);
  text-align: center;
  padding: 130px 0;
}
.cta-section .section-title { margin: 0 auto 16px; max-width: 680px; }
.cta-section .section-sub { margin: 0 auto 48px; }

.cta-details {
  display: flex; gap: 56px; justify-content: center; margin-top: 56px;
}
.cta-detail {
  font-size: 0.75rem; color: var(--bark-dim);
  text-transform: uppercase; letter-spacing: 0.15em; font-weight: 400;
}
.cta-detail strong { color: var(--bark); display: block; margin-bottom: 4px; font-weight: 500; }

/* ========== FOOTER ========== */
footer {
  padding: 56px 0;
  border-top: 1px solid rgba(44,41,39,0.07);
  text-align: center;
  background: var(--cream);
}
footer .logo { font-size: 1.25rem; margin-bottom: 16px; display: block; }
footer p { font-size: 0.78rem; color: var(--bark-dim); font-weight: 300; letter-spacing: 0.04em; }

/* ========== ANIMATIONS ========== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0%, 100% { opacity: 0.55; }
  50%       { opacity: 0.9; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 960px) {
  .hero-grid         { grid-template-columns: 1fr; text-align: center; }
  .hero-sub          { margin: 0 auto 44px; }
  .hero-ctas         { justify-content: center; }
  .hero-visual       { display: none; }
  .hero::after       { display: none; }
  .services-grid     { grid-template-columns: 1fr; }
  .pricing-grid      { grid-template-columns: 1fr; }
  .video-showcase    { grid-template-columns: 1fr; gap: 40px; }
  .process-steps     { grid-template-columns: 1fr 1fr; }
  .retainer-grid     { grid-template-columns: 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
  .cta-details       { flex-direction: column; gap: 20px; }
}