/*
Theme Name: Novel Alternative
Theme URI: https://novelalternative.com
Author: Novel Alternative LLC
Author URI: https://novelalternative.com
Description: Official website theme for Novel Alternative — Enterprise IT & Digital Transformation Consulting.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: novel-alternative
Tags: business, consulting, one-page, dark, professional
*/

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --navy: #06091A;
  --navy-mid: #0D1428;
  --navy-light: #121A35;
  --slate: #1E2847;
  --gold: #C49A3C;
  --gold-light: #E0B84A;
  --gold-pale: #F5E6BF;
  --steel: #4A6FA5;
  --steel-light: #7B9EC9;
  --white: #F8F6F0;
  --white-dim: rgba(248,246,240,0.7);
  --white-ghost: rgba(248,246,240,0.15);
  --border: rgba(196,154,60,0.2);
  --border-subtle: rgba(248,246,240,0.08);
}

body {
  background: var(--navy);
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: var(--navy); }

/* ── WORDPRESS CORE ── */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.8rem; color: var(--white-dim); margin-top: 0.5rem; }
.alignnone { float: none; }
.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
img { max-width: 100%; height: auto; }
a { color: var(--gold); }

/* ── NAV ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 4rem;
  background: rgba(6,9,26,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}
#navbar.scrolled {
  padding: 0.85rem 4rem;
  background: rgba(6,9,26,0.97);
  border-bottom-color: var(--border);
}
.site-logo {
  display: flex; flex-direction: column; line-height: 1.1;
  text-decoration: none;
}
.logo-word-1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem; font-weight: 300; letter-spacing: 0.12em;
  color: var(--white); text-transform: uppercase;
}
.logo-word-2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem; font-weight: 600; letter-spacing: 0.12em;
  color: var(--gold); text-transform: uppercase;
}
.logo-rule {
  height: 1px; background: var(--gold); margin: 0.18rem 0; opacity: 0.6;
}

/* WordPress nav menu */
#navbar .nav-menu {
  display: flex; align-items: center; gap: 2.5rem; list-style: none;
  margin: 0; padding: 0;
}
#navbar .nav-menu li { list-style: none; }
#navbar .nav-menu a {
  color: var(--white-dim); text-decoration: none;
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 500; transition: color 0.2s;
}
#navbar .nav-menu a:hover { color: var(--gold-light); }
#navbar .nav-menu li.menu-cta a {
  padding: 0.55rem 1.4rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}
#navbar .nav-menu li.menu-cta a:hover {
  background: var(--gold);
  color: var(--navy);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer; padding: 0.5rem;
  flex-direction: column; gap: 5px;
}
.nav-toggle span {
  display: block; width: 24px; height: 1px; background: var(--white);
  transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
  padding: 8rem 4rem 4rem;
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.04;
  background-image:
    linear-gradient(rgba(196,154,60,0.8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,154,60,0.8) 1px, transparent 1px);
  background-size: 80px 80px;
}
.hero-orb {
  position: absolute; top: -20%; right: -10%;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(74,111,165,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-orb-2 {
  position: absolute; bottom: -30%; left: 20%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,154,60,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 1.8rem;
  display: flex; align-items: center; gap: 1rem;
}
.hero-eyebrow::before { content: ''; width: 40px; height: 1px; background: var(--gold); }
.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.2rem, 6.5vw, 6rem);
  font-weight: 300; line-height: 1.08;
  max-width: 880px; margin-bottom: 0.3rem;
}
.hero-headline em { font-style: italic; font-weight: 300; color: var(--gold-light); }
.hero-headline strong { font-weight: 600; }
.hero-sub {
  font-size: 1.1rem; color: var(--white-dim);
  max-width: 540px; margin: 2rem 0 3rem;
  line-height: 1.75; font-weight: 400;
}
.hero-actions { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; }
.btn-primary {
  padding: 0.9rem 2.2rem;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; text-decoration: none;
  border-radius: 2px; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); color: var(--navy); transform: translateY(-1px); }
.btn-ghost {
  padding: 0.9rem 2.2rem;
  color: var(--white-dim);
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; text-decoration: none;
  border-radius: 2px; border: 1px solid var(--border-subtle);
  cursor: pointer; transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--white-dim); color: var(--white); }
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 4rem;
  display: flex; align-items: center; gap: 0.75rem;
  color: var(--white-dim); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 48px; background: var(--border);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:0.3} 50%{opacity:1} }
.hero-stat-bar {
  position: absolute; right: 4rem; bottom: 3rem;
  display: flex; flex-direction: column; gap: 1.5rem;
}
.hero-stat { text-align: right; }
.hero-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem; font-weight: 300; color: var(--white); line-height: 1;
}
.hero-stat-num span { color: var(--gold); }
.hero-stat-label {
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--white-dim);
}

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 4rem; }
.section-pad { padding: 7rem 0; }
.section-eyebrow {
  font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.section-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 300; line-height: 1.15; margin-bottom: 1.5rem;
}
.section-title em { color: var(--gold-light); font-style: italic; }

/* ── MISSION ── */
#mission {
  background: var(--navy-mid);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 4rem 0;
}
.mission-inner {
  display: grid; grid-template-columns: 1fr 2fr; gap: 5rem; align-items: center;
}
.mission-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 300; font-style: italic;
  color: var(--gold-pale); line-height: 1.4;
}
.mission-text { font-size: 1rem; color: var(--white-dim); line-height: 1.85; }
.mission-pillars { display: flex; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; }
.pillar {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}
.pillar::before { content: '◆'; font-size: 0.45rem; }

/* ── SERVICES ── */
#services { background: var(--navy); }
.services-header {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end;
  margin-bottom: 4rem;
}
.services-desc { font-size: 0.95rem; color: var(--white-dim); line-height: 1.8; align-self: end; }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
}
.service-card {
  background: var(--navy);
  padding: 2.5rem 2rem;
  transition: background 0.3s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--gold);
  transition: width 0.4s ease;
}
.service-card:hover { background: var(--navy-light); }
.service-card:hover::before { width: 100%; }
.service-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 300;
  color: var(--border); line-height: 1; margin-bottom: 1rem;
  transition: color 0.3s;
}
.service-card:hover .service-number { color: var(--gold); opacity: 0.4; }
.service-name {
  font-size: 0.9rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 0.75rem; color: var(--white);
}
.service-desc { font-size: 0.85rem; color: var(--white-dim); line-height: 1.75; }

/* ── APPROACH ── */
#approach {
  background: var(--navy-mid);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.approach-layout {
  display: grid; grid-template-columns: 5fr 4fr; gap: 6rem; align-items: center;
}
.approach-steps { display: flex; flex-direction: column; gap: 0; }
.approach-step {
  display: grid; grid-template-columns: 56px 1fr;
  gap: 1.5rem; padding: 2rem 0;
  border-bottom: 1px solid var(--border-subtle); align-items: start;
}
.approach-step:first-child { border-top: 1px solid var(--border-subtle); }
.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 300; color: var(--gold); opacity: 0.5; line-height: 1;
}
.step-title {
  font-size: 0.88rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 0.5rem; color: var(--white);
}
.step-text { font-size: 0.85rem; color: var(--white-dim); line-height: 1.75; }
.approach-callout {
  background: var(--slate);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3rem 2.5rem;
}
.callout-label {
  font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 1.5rem;
}
.callout-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 300; font-style: italic;
  line-height: 1.4; color: var(--white); margin-bottom: 2rem;
}
.callout-tagline {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-pale); line-height: 1.8;
}
.callout-tagline span {
  display: block; opacity: 0.5; font-size: 0.6rem; margin-top: 0.5rem; letter-spacing: 0.35em;
}

/* ── CAPABILITIES ── */
#capabilities { background: var(--navy); }
.cap-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
  background: var(--border-subtle); margin-top: 4rem;
}
.cap-item { background: var(--navy); padding: 2rem 1.5rem; transition: background 0.25s; }
.cap-item:hover { background: var(--navy-light); }
.cap-icon { width: 36px; height: 36px; margin-bottom: 1.2rem; display: flex; align-items: center; justify-content: center; }
.cap-icon svg { width: 28px; height: 28px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.cap-title {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--white); margin-bottom: 0.5rem;
}
.cap-text { font-size: 0.8rem; color: var(--white-dim); line-height: 1.7; }

/* ── DIFFERENTIATORS ── */
#differentiators {
  background: var(--navy-mid);
  border-top: 1px solid var(--border-subtle);
}
.diff-layout {
  display: grid; grid-template-columns: 1fr 2fr; gap: 6rem; align-items: start;
}
.diff-sticky { position: sticky; top: 8rem; }
.diff-list { display: flex; flex-direction: column; gap: 0; }
.diff-item {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
  display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: start;
}
.diff-item:first-child { border-top: 1px solid var(--border-subtle); }
.diff-bullet {
  width: 8px; height: 8px;
  border: 1px solid var(--gold); border-radius: 50%;
  margin-top: 6px; flex-shrink: 0;
}
.diff-title { font-size: 1rem; font-weight: 600; margin-bottom: 0.6rem; color: var(--white); }
.diff-text { font-size: 0.875rem; color: var(--white-dim); line-height: 1.8; }

/* ── CTA ── */
#cta {
  background: var(--navy); text-align: center;
  padding: 8rem 0; position: relative; overflow: hidden;
}
.cta-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(196,154,60,0.06) 0%, transparent 65%);
}
.cta-inner { position: relative; z-index: 1; }
.cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 300; line-height: 1.15; margin-bottom: 1.5rem;
  max-width: 720px; margin-left: auto; margin-right: auto;
}
.cta-title em { font-style: italic; color: var(--gold-light); }
.cta-sub {
  color: var(--white-dim); font-size: 1rem; max-width: 460px;
  margin: 0 auto 3rem; line-height: 1.75;
}
.cta-actions { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; }
.btn-large { padding: 1.1rem 2.8rem; font-size: 0.82rem; letter-spacing: 0.14em; }

/* ── SITE FOOTER ── */
#site-footer {
  background: var(--navy-mid);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p {
  font-size: 0.85rem; color: var(--white-dim); line-height: 1.75;
  max-width: 280px; margin-top: 1.2rem;
}
.footer-col-title {
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 1.2rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; padding: 0; }
.footer-links li { list-style: none; }
.footer-links a {
  color: var(--white-dim); text-decoration: none;
  font-size: 0.83rem; transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.75rem; color: var(--white-dim); opacity: 0.6;
}
.footer-cert-badges { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.2rem; }
.cert-badge {
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
  font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--white-dim);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 0; animation: fadeUp 0.7s ease forwards; }
.fade-up.d1 { animation-delay: 0.1s; }
.fade-up.d2 { animation-delay: 0.25s; }
.fade-up.d3 { animation-delay: 0.4s; }
.fade-up.d4 { animation-delay: 0.55s; }

/* ── BLOG / INNER PAGES ── */
.page-content, .entry-content {
  max-width: 780px; margin: 0 auto; padding: 8rem 2rem 5rem;
  color: var(--white-dim); font-size: 1rem; line-height: 1.8;
}
.entry-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem; font-weight: 300; color: var(--white);
  margin-bottom: 2rem; line-height: 1.2;
}
.entry-content h2, .entry-content h3 {
  font-family: 'Cormorant Garamond', serif; color: var(--white);
  margin: 2.5rem 0 1rem;
}
.entry-content p { margin-bottom: 1.2rem; }
.entry-content a { color: var(--gold); }
.entry-content ul, .entry-content ol {
  padding-left: 1.5rem; margin-bottom: 1.2rem;
}
.entry-content li { margin-bottom: 0.4rem; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  #navbar, #navbar.scrolled { padding-left: 2rem; padding-right: 2rem; }
  .container { padding: 0 2rem; }
  #hero { padding: 7rem 2rem 3rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero-stat-bar { display: none; }
}
@media (max-width: 768px) {
  #navbar { padding: 1rem 1.5rem; }
  #navbar .nav-menu { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(6,9,26,0.98); padding: 1.5rem; gap: 1rem; border-bottom: 1px solid var(--border); }
  #navbar .nav-menu.open { display: flex; }
  .nav-toggle { display: flex; }
  #hero { padding: 6rem 1.5rem 3rem; }
  .container { padding: 0 1.5rem; }
  .section-pad { padding: 5rem 0; }
  .mission-inner, .approach-layout, .diff-layout, .services-header { grid-template-columns: 1fr; gap: 2rem; }
  .services-grid, .cap-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: 2.6rem; }
  .diff-sticky { position: static; }
}
