/*
Theme Name: J.Will View
Theme URI: https://jwillview.com
Author: J. Will
Author URI: https://jwillview.com
Description: J.Will View — DC-based video production company creating documentary-style brand films for small business owners and entrepreneurs in the DMV. We tell the real story behind your brand so your audience remembers you.
Version: 2.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
Text Domain: jwillview
Tags: video, documentary, dc, dmv, business, dark, editorial
*/

/* =========================================
   GOOGLE FONTS — loaded via functions.php
   for better performance control
   ========================================= */

/* =========================================
   CSS VARIABLES
   ========================================= */
:root {
  --black:       #0A0A0A;
  --dark:        #111111;
  --dark-2:      #1A1A1A;
  --gold:        #C9A84C;
  --gold-light:  #E2C278;
  --white:       #FFFFFF;
  --off-white:   #F5F5F0;
  --gray-light:  #E8E8E4;
  --gray-mid:    #999990;
  --gray-dark:   #444440;
  --font-serif:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition:  all 0.3s ease;
  --max-width:   1400px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--black);
  color: var(--off-white);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-sans); }

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--off-white);
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h4 { font-size: 1.35rem; }
h5 {
  font-size: 1.0rem;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(245, 245, 240, 0.72);
}

p.light { color: var(--gray-mid); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

/* =========================================
   LAYOUT
   ========================================= */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.container--narrow { max-width: 900px; }
.container--wide   { max-width: 1600px; }

section { padding: 6rem 0; }
section.section--dark  { background: var(--dark); }
section.section--black { background: var(--black); }
section.section--off-white {
  background: var(--off-white);
  color: var(--dark);
}
section.section--off-white p    { color: var(--gray-dark); }
section.section--off-white h1,
section.section--off-white h2,
section.section--off-white h3,
section.section--off-white h4   { color: var(--dark); }
section.section--off-white .eyebrow { color: var(--gold-light); filter: brightness(0.75); }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: var(--transition);
  border: 2px solid transparent;
  border-radius: 1px;
}

.btn--gold {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.btn--gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--off-white);
  border-color: rgba(245,245,240,0.4);
}
.btn--outline:hover {
  border-color: var(--off-white);
  color: var(--off-white);
  background: rgba(245,245,240,0.08);
}

.btn--outline-dark {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}
.btn--outline-dark:hover { background: var(--dark); color: var(--white); }

.btn--dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn--dark:hover { background: var(--dark-2); }

.btn--full { display: block; width: 100%; text-align: center; }

/* =========================================
   SECTION HEADERS
   ========================================= */
.section-header { margin-bottom: 4rem; }
.section-header--center { text-align: center; }

.divider {
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin: 1.5rem 0;
}
.divider--center { margin: 1.5rem auto; }

/* =========================================
   GRID UTILITIES
   ========================================= */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* =========================================
   SKIP LINK (ACCESSIBILITY)
   ========================================= */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--gold);
  color: var(--black);
  padding: 0.5rem 1rem;
  font-weight: 700;
  z-index: 9999;
  border-radius: 0 0 4px 4px;
  transition: top 0.2s;
  font-size: 0.875rem;
}
.skip-to-content:focus { top: 0; }

/* =========================================
   SCROLL ANIMATION
   ========================================= */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   RESPONSIVE BASE
   ========================================= */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  section { padding: 4rem 0; }
  .container { padding: 0 1.25rem; }
}
