/*
Theme Name: First Artists Ventures
Theme URI: https://firstartists.co.ke
Author: First Artists Ventures
Author URI: https://firstartists.co.ke
Description: A premium, architectural WordPress theme built for First Artists Ventures - a project planning, management and construction advisory firm in East Africa. Features a cinematic hero slideshow, rich services section, portfolio showcase, animated statistics, and elegant contact experience.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: first-artists
Tags: business, architecture, construction, portfolio, one-column, two-columns, custom-menu, custom-logo, featured-images, full-width-template, theme-options, translation-ready
*/

/* =====================================================
   FIRST ARTISTS VENTURES - PREMIUM THEME STYLESHEET
   -----------------------------------------------------
   Palette:
      --primary:   #c9a24b (warm architectural gold)
      --dark:      #0f1620 (deep night blue)
      --mid:       #1b2634
      --muted:     #6b7585
      --light:     #f6f3ec (warm cream)
      --white:     #ffffff
   Typography:
      Headings: 'Playfair Display' serif
      Body:     'Inter' sans-serif
   ===================================================== */

:root {
  --primary: #c9a24b;
  --primary-dark: #a78030;
  --primary-light: #e3c583;
  --dark: #0f1620;
  --mid: #1b2634;
  --muted: #6b7585;
  --light: #f6f3ec;
  --cream: #faf7ef;
  --white: #ffffff;
  --border: #ececec;
  --shadow: 0 10px 40px rgba(15, 22, 32, 0.08);
  --shadow-lg: 0 30px 60px rgba(15, 22, 32, 0.15);
  --radius: 4px;
  --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --container: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #2a323d;
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.25;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.3rem; }

p { margin: 0 0 1rem; color: #4a5260; }

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; position: relative; }
.section-sm { padding: 60px 0; }
.section-dark { background: var(--dark); color: #d7dce3; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: #a9b0bb; }
.section-light { background: var(--cream); }

/* --------- Buttons --------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 2px solid var(--primary);
  background: var(--primary);
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn:hover { background: transparent; color: var(--primary); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-light { border-color: var(--white); background: var(--white); color: var(--dark); }
.btn-light:hover { background: transparent; color: var(--white); }
.btn-arrow::after { content: '\2192'; margin-left: 6px; transition: var(--transition); }
.btn-arrow:hover::after { transform: translateX(4px); }

/* --------- Section headings --------- */
.section-head { text-align: center; margin-bottom: 70px; }
.section-head.left { text-align: left; }
.section-subtitle {
  display: inline-block;
  color: var(--primary);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 14px;
}
.section-subtitle::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 2px;
  background: var(--primary);
}
.section-head.left .section-subtitle::after { left: 0; transform: none; }
.section-title { margin-bottom: 18px; }
.section-desc { max-width: 680px; margin: 0 auto; color: var(--muted); }
.section-head.left .section-desc { margin: 0; }

/* --------- Top Bar --------- */
.topbar {
  background: var(--dark);
  color: #cfd3da;
  font-size: 0.82rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-info { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 8px; }
.topbar-info span::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
}
.topbar-socials a {
  color: #cfd3da;
  margin-left: 16px;
  font-size: 0.9rem;
}
.topbar-socials a:hover { color: var(--primary); }

/* --------- Header / Navigation --------- */
.site-header {
  background: var(--white);
  position: sticky; top: 0;
  z-index: 999;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  transition: var(--transition);
}
.header-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0;
}
.site-logo { display: flex; align-items: center; gap: 12px; }
.site-logo .brand-mark {
  width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 700;
  letter-spacing: -1px;
}
.site-logo .brand-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem; font-weight: 700;
  color: var(--dark);
  line-height: 1;
}
.site-logo .brand-text small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 3px;
  color: var(--primary);
  margin-top: 4px;
  text-transform: uppercase;
}

.main-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 6px;
}
.main-nav li { position: relative; }
.main-nav a {
  display: inline-block;
  padding: 12px 18px;
  color: var(--dark);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.3px;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 6px; left: 18px; right: 18px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.main-nav a:hover::after,
.main-nav li.current-menu-item > a::after,
.main-nav .current_page_item > a::after { transform: scaleX(1); }

.header-cta .btn { padding: 12px 22px; font-size: 0.75rem; }

.nav-toggle {
  display: none;
  background: none; border: 0;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--dark);
  margin: 5px 0;
  transition: var(--transition);
}

/* --------- Hero Slideshow --------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: var(--dark);
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,22,32,0.82) 0%, rgba(15,22,32,0.45) 60%, rgba(15,22,32,0.7) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  color: var(--white);
}
.hero-text { max-width: 760px; }
.hero-text .section-subtitle { color: var(--primary); animation: slideUp 0.8s ease 0.2s both; }
.hero-text .section-subtitle::after { background: var(--primary); left: 0; transform: none; }
.hero-text h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 20px;
  animation: slideUp 0.8s ease 0.4s both;
}
.hero-text p {
  color: #e2e5eb;
  font-size: 1.15rem;
  max-width: 580px;
  margin-bottom: 36px;
  animation: slideUp 0.8s ease 0.6s both;
}
.hero-text .btn { animation: slideUp 0.8s ease 0.8s both; }

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-nav {
  position: absolute; bottom: 36px; right: 36px;
  z-index: 3;
  display: flex; gap: 8px;
}
.hero-nav button {
  width: 50px; height: 4px;
  background: rgba(255,255,255,0.3);
  border: 0; cursor: pointer;
  transition: var(--transition);
}
.hero-nav button.active { background: var(--primary); width: 80px; }

.hero-scroll {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero-scroll::after {
  content: '';
  width: 1px; height: 40px;
  background: var(--primary);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.3); opacity: 0.4; }
}

/* --------- Mission / Values --------- */
.mission-intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 70px;
}
.mission-intro p {
  font-size: 1.1rem;
  color: #3a4250;
  line-height: 1.9;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}
.value-card {
  padding: 40px 30px;
  background: var(--white);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.value-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.value-card:hover::before { transform: scaleX(1); }
.value-icon {
  width: 72px; height: 72px;
  margin: 0 auto 22px;
  background: linear-gradient(135deg, rgba(201, 162, 75, 0.1), rgba(201, 162, 75, 0.2));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 2rem;
}
.value-card h4 { font-size: 1.25rem; margin-bottom: 14px; }
.value-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* --------- Stats --------- */
.stats-section {
  background: var(--dark) url('assets/images/features/bg-cta.jpg') center/cover no-repeat;
  background-blend-mode: multiply;
  background-color: rgba(15, 22, 32, 0.85);
  padding: 90px 0;
  color: var(--white);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  text-align: center;
}
.stat-item { position: relative; padding: 20px; }
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,0.12);
}
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 4rem; font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.stat-number::after { content: '+'; margin-left: 4px; }
.stat-label {
  color: #d7dce3;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-top: 10px;
}

/* --------- Services --------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.service-card {
  background: var(--white);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
  position: relative;
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.service-img {
  height: 240px;
  overflow: hidden;
  position: relative;
}
.service-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s ease;
}
.service-card:hover .service-img img { transform: scale(1.08); }
.service-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(15,22,32,0.6));
}
.service-body { padding: 36px 30px; position: relative; }
.service-icon {
  position: absolute;
  top: -32px; left: 30px;
  width: 64px; height: 64px;
  background: var(--primary);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 10px 30px rgba(201, 162, 75, 0.4);
}
.service-body h3 { font-size: 1.4rem; margin: 20px 0 16px; }
.service-body p { color: var(--muted); font-size: 0.95rem; }
.service-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--dark); font-weight: 600;
  margin-top: 16px;
  text-transform: uppercase;
  font-size: 0.78rem; letter-spacing: 2px;
}
.service-link:hover { color: var(--primary); }

/* --------- Services List (full page) --------- */
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}
.service-list-card {
  display: flex;
  gap: 24px;
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.service-list-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.service-list-card .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem; font-weight: 700;
  color: var(--primary);
  line-height: 1;
  min-width: 60px;
}
.service-list-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.service-list-card p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* --------- Portfolio --------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.portfolio-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.portfolio-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s ease;
}
.portfolio-item:hover img { transform: scale(1.1); }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,22,32,0.95) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 30px;
  color: var(--white);
  opacity: 0;
  transition: var(--transition);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay .cat {
  color: var(--primary);
  font-size: 0.75rem; letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.portfolio-overlay h4 { color: var(--white); font-size: 1.3rem; margin: 0; }

/* Large portfolio tall item */
.portfolio-grid.masonry { grid-auto-rows: 240px; }
.portfolio-grid.masonry .portfolio-item.tall { grid-row: span 2; aspect-ratio: auto; }
.portfolio-grid.masonry .portfolio-item.wide { grid-column: span 2; }

/* --------- Process Steps --------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 50px 30px 36px;
  text-align: center;
}
.process-step::before {
  counter-increment: step;
  content: '0' counter(step);
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem; font-weight: 700;
  color: rgba(201, 162, 75, 0.15);
  line-height: 1;
}
.process-step h4 { font-size: 1.2rem; margin-bottom: 14px; }
.process-step p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* --------- Team --------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}
.team-card {
  text-align: center;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.team-img {
  overflow: hidden;
  aspect-ratio: 1/1;
}
.team-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease;
}
.team-card:hover .team-img img { transform: scale(1.08); }
.team-body { padding: 24px; }
.team-body h4 { margin-bottom: 4px; font-size: 1.2rem; }
.team-body span { color: var(--primary); font-size: 0.85rem; letter-spacing: 1.5px; text-transform: uppercase; }

/* --------- Clients Bar --------- */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  align-items: center;
  gap: 40px;
}
.clients-grid img {
  max-height: 60px;
  width: auto;
  margin: 0 auto;
  opacity: 0.55;
  filter: grayscale(100%);
  transition: var(--transition);
}
.clients-grid img:hover {
  opacity: 1;
  filter: grayscale(0);
}

/* --------- Testimonials --------- */
.testimonial {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 20px;
}
.testimonial .quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 5rem; line-height: 1;
  color: var(--primary);
  margin-bottom: -20px;
  display: block;
}
.testimonial blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; line-height: 1.6;
  font-style: italic;
  color: #f1f3f6;
  margin: 0 0 30px;
}
.testimonial-author {
  display: flex; flex-direction: column; align-items: center;
}
.testimonial-author img { width: 64px; height: 64px; border-radius: 50%; margin-bottom: 10px; object-fit: cover; }
.testimonial-author strong { color: #ffffff; font-size: 1rem; }
.testimonial-author span { color: var(--primary); font-size: 0.8rem; letter-spacing: 1.5px; text-transform: uppercase; }

/* If the testimonial lands on a light section instead, keep it readable */
.section-light .testimonial blockquote { color: var(--dark); }
.section-light .testimonial-author strong { color: var(--dark); }

/* --------- CTA Banner --------- */
.cta-banner {
  background: var(--dark) url('assets/images/features/bg-cta.jpg') center/cover no-repeat;
  background-blend-mode: multiply;
  background-color: rgba(15, 22, 32, 0.78);
  padding: 90px 0;
  color: var(--white);
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 20px; }
.cta-banner p { color: #d7dce3; max-width: 600px; margin: 0 auto 30px; }

/* --------- Page Banner (inner hero) --------- */
.page-banner {
  min-height: 420px;
  background: var(--dark) center/cover no-repeat;
  background-blend-mode: multiply;
  background-color: rgba(15, 22, 32, 0.6);
  display: flex; align-items: center;
  position: relative;
  color: var(--white);
  text-align: center;
}
.page-banner h1 { color: var(--white); margin-bottom: 14px; }
.page-banner .breadcrumbs {
  color: var(--primary);
  font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase;
}
.page-banner .breadcrumbs a { color: #d7dce3; margin: 0 6px; }
.page-banner .breadcrumbs a:hover { color: var(--primary); }

/* --------- Contact --------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 20px; }
.contact-info-list { list-style: none; padding: 0; margin: 30px 0 0; }
.contact-info-list li {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-list li:last-child { border-bottom: 0; }
.contact-info-list .ico {
  width: 46px; height: 46px;
  min-width: 46px;
  background: rgba(201,162,75,0.1);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.contact-info-list strong { display: block; color: var(--dark); margin-bottom: 4px; font-size: 1rem; }
.contact-info-list a { color: var(--muted); }
.contact-info-list a:hover { color: var(--primary); }

.contact-form {
  background: var(--white);
  padding: 44px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--primary);
}
.contact-form h3 { margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.78rem; letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dark); font-weight: 600;
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: var(--cream);
  font-family: inherit; font-size: 0.95rem;
  color: var(--dark);
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: 0;
  border-color: var(--primary);
  background: var(--white);
}
.form-group textarea { min-height: 140px; resize: vertical; }

/* --------- Blog / Article --------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 36px;
}
.post-card {
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-img { aspect-ratio: 16/10; overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.post-card:hover .post-img img { transform: scale(1.08); }
.post-body { padding: 30px; }
.post-meta {
  font-size: 0.78rem; letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.post-body h3 { font-size: 1.3rem; margin-bottom: 12px; }
.post-body h3 a { color: var(--dark); }
.post-body h3 a:hover { color: var(--primary); }
.post-body p { color: var(--muted); font-size: 0.95rem; }

.single-article {
  max-width: 820px;
  margin: 0 auto;
}
.single-article .post-img { margin-bottom: 36px; aspect-ratio: 21/9; }
.single-article h1 { margin-bottom: 20px; }
.single-article .post-meta { margin-bottom: 20px; }
.single-article blockquote {
  border-left: 4px solid var(--primary);
  padding: 20px 30px;
  margin: 30px 0;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--dark);
  background: var(--cream);
}

/* --------- Footer --------- */
.site-footer {
  background: var(--dark);
  color: #a9b0bb;
  padding: 80px 0 0;
}
.footer-top {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 50px 0;
  color: var(--white);
  text-align: center;
  margin-top: -80px;
  margin-bottom: 70px;
}
.footer-top h2 { color: var(--white); margin-bottom: 20px; }
.footer-top .btn-light { background: var(--white); color: var(--dark); border-color: var(--white); }
.footer-top .btn-light:hover { background: transparent; color: var(--white); border-color: var(--white); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 60px;
}
.footer-widget h4 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: 1.15rem;
  position: relative;
  padding-bottom: 14px;
}
.footer-widget h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 36px; height: 2px;
  background: var(--primary);
}
.footer-widget p { color: #a9b0bb; font-size: 0.92rem; }
.footer-widget ul { list-style: none; padding: 0; margin: 0; }
.footer-widget ul li { margin-bottom: 12px; }
.footer-widget ul a { color: #a9b0bb; font-size: 0.92rem; }
.footer-widget ul a:hover { color: var(--primary); padding-left: 6px; }

.footer-contact li {
  display: flex; gap: 12px;
  margin-bottom: 16px;
  color: #a9b0bb;
  font-size: 0.92rem;
}
.footer-contact li .ico { color: var(--primary); }

.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-socials a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.05);
  color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.footer-socials a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #6b7585;
}
.footer-bottom a { color: var(--primary); }

/* --------- Utility --------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 2rem; }

/* --------- Reveal on scroll --------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* --------- Responsive --------- */
@media (max-width: 991px) {
  .section { padding: 70px 0; }
  .hero { min-height: 560px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-top { margin-top: -70px; }
}

@media (max-width: 767px) {
  .nav-toggle { display: inline-block; }
  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; max-width: 320px;
    height: 100vh;
    background: var(--white);
    padding: 90px 30px 30px;
    box-shadow: var(--shadow-lg);
    transition: right 0.4s ease;
    overflow-y: auto;
  }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--border); display: block; }
  .main-nav a::after { display: none; }
  .header-cta { display: none; }
  body.menu-open { overflow: hidden; }
  body.menu-open::after {
    content: '';
    position: fixed; inset: 0;
    background: rgba(15,22,32,0.5);
    z-index: 998;
  }

  .topbar { display: none; }
  .hero-text h1 { font-size: 2.2rem; }
  .hero-text p { font-size: 1rem; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }

  .portfolio-grid.masonry { grid-auto-rows: auto; }
  .portfolio-grid.masonry .portfolio-item.tall,
  .portfolio-grid.masonry .portfolio-item.wide { grid-row: auto; grid-column: auto; aspect-ratio: 4/3; }

  .stat-item:not(:last-child)::after { display: none; }
}

/* WordPress required/alignment classes */
.alignleft { float: left; margin: 0 24px 24px 0; }
.alignright { float: right; margin: 0 0 24px 24px; }
.aligncenter { display: block; margin: 0 auto 24px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: var(--muted); text-align: center; }
.screen-reader-text { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
