/*
Theme Name: New Roots Dynamic
Theme URI: https://newrootsdynamic.arshem.com
Author: New Roots
Description: Custom WordPress theme for New Roots Dynamic
Version: 1.0
*/

:root {
  --walnut-gray: #4B443D;
  --true-black: #121212;
  --stainless: #D1D5DB;
  --gallery-white: #F9F9F9;
  --steel-20: rgba(209, 213, 219, 0.2);
  --steel-35: rgba(209, 213, 219, 0.35);
  --steel-60: rgba(209, 213, 219, 0.6);
  --dark-gray: #2a2a2a;
  --black-50: rgba(18, 18, 18, 0.5);
  --black-60: rgba(18, 18, 18, 0.6);
  --black-75: rgba(18, 18, 18, 0.75);
  --font-heading: "Playfair Display", ui-serif, Georgia, "Times New Roman", Times, serif;
  --font-body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

html, body {
  height: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--true-black);
  color: var(--gallery-white);
  letter-spacing: 0.2px;
  padding-top: 84px;
}

@media (max-width: 991.98px) {
  body {
    padding-top: 76px;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: 0.6px;
}

.navbar-brand {
  font-family: var(--font-body);
  letter-spacing: 0.08em;
  font-weight: 700;
}

.section-pad {
  padding: 6rem 0;
}

.section-divider {
  border-top: 1px solid var(--steel-20);
}

.border-steel {
  border-color: var(--steel-20) !important;
}

.link-quiet {
  color: var(--stainless);
  opacity: 0.9;
}

.link-quiet:hover {
  color: var(--gallery-white);
  opacity: 1;
}

.nav-minimal {
  background: rgba(18, 18, 18, 0.55);
  border-bottom: 1px solid var(--steel-20);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* WordPress mockup-style header */

.nav-wp {
  background: var(--true-black);
  border-bottom: 1px solid rgba(209, 213, 219, 0.14);
  transition: background 180ms ease, border-color 180ms ease;
  z-index: 1100;
}

.nav-wp .navbar-toggler {
  border-radius: 0;
  border: 1px solid rgba(209, 213, 219, 0.35);
}

.nav-wp .navbar-toggler:focus {
  box-shadow: none;
}

.nav-wp.nav-solid {
  background: var(--true-black);
  border-bottom: 1px solid rgba(209, 213, 219, 0.22);
}

.brand-logo-sans {
  text-transform: uppercase;
  font-size: 0.95rem;
}

.nav-center-menu .nav-link {
  color: var(--gallery-white);
  opacity: 0.92;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  padding: 0.5rem 1rem;
  position: relative;
}

.nav-center-menu .nav-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.2rem;
  height: 1px;
  background: rgba(209, 213, 219, 0.6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.nav-center-menu .nav-link:hover::after, .nav-center-menu .nav-link:focus::after {
  transform: scaleX(1);
}

/* Target the WordPress list items - fix UL element */
.nav-center-menu {
    display: flex !important;
    flex-direction: row !important;
    list-style: none !important;
    padding: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    gap: 1.5rem !important; /* This creates the space between links */
    align-items: center !important;
}

.nav-center-menu .menu-item {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-center-menu .menu-item a {
    color: var(--gallery-white);
    opacity: 0.92;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    padding: 0.5rem 0;
    text-decoration: none;
    display: block;
    position: relative;
    white-space: nowrap;
}

.nav-center-menu .menu-item a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.2rem;
    height: 1px;
    background: rgba(209, 213, 219, 0.6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 160ms ease;
}

.nav-center-menu .menu-item a:hover::after,
.nav-center-menu .menu-item a:focus::after {
    transform: scaleX(1);
}

.nav-center-menu .menu-item a:hover,
.nav-center-menu .menu-item a:focus {
    opacity: 1;
}

@media (max-width: 991.98px) {
    .nav-center-menu {
        flex-direction: column !important;
        gap: 0 !important;
    }
    
    .nav-center-menu .menu-item a {
        padding: 0.5rem 1rem;
    }
    
    .nav-center-menu .menu-item a::after {
        display: none;
    }
    .nav-center-menu .nav-link::after {
        display: none;
    }
/* 1. Set up the container */
    .navbar > .container {
        display: flex;
        justify-content: space-between;
        /* align-items: center; <--- REMOVED this so it doesn't float down */
        position: relative; /* Anchor point for the logo */
    }

    /* 2. Pin the Logo to the Top Center */
    .navbar-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 16px; /* Adjust this number to align with your hamburger button */
        margin: 0 !important;
        z-index: 10;
    }

    /* 3. Keep the Toggler on the Right */
    .navbar-toggler {
        margin-left: auto; /* Pushes it to the right */
        z-index: 10;
    }
    
    /* 4. Push the menu content down so it starts AFTER the logo */
    .navbar-collapse {
        margin-top: 3.5rem; /* Creates safe space for the menu links */
        width: 100%;
    }
}

/* Target standard WP menu links inside your navbar */
#navcol-1 .nav-center-menu li {
    padding: 0 1rem;
    list-style: none; /* Removes bullet points if any */
}

#navcol-1 .nav-center-menu li a {
    color: rgba(255, 255, 255, 0.55); /* Standard Bootstrap dark navbar muted text */
    text-decoration: none; /* Removes the underline */
    transition: color 0.15s ease-in-out;
}

#navcol-1 .nav-center-menu li a:hover {
    color: rgba(255, 255, 255, 1); /* White on hover */
}

.nav-center-menu .nav-link:hover, .nav-center-menu .nav-link:focus {
  color: var(--gallery-white);
  opacity: 1;
}

.brand-mark {
  text-transform: uppercase;
  font-size: 0.95rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  color: var(--stainless);
}

.btn-sharp {
  border-radius: 0 !important;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  padding: 0.85rem 1.2rem;
}

.btn-outline-steel {
  color: var(--gallery-white);
  border: 1px solid var(--stainless);
  background: transparent;
}

.btn-walnut {
  background: var(--walnut-gray);
  border: 1px solid var(--walnut-gray);
  color: var(--gallery-white);
}

.btn-walnut:hover, .btn-walnut:focus {
  background: #5a524a;
  border-color: #5a524a;
  color: var(--gallery-white);
}

.btn-outline-steel:hover, .btn-outline-steel:focus {
  color: var(--true-black);
  background: var(--stainless);
  border-color: var(--stainless);
}

.btn-ghost {
  color: var(--stainless);
  border: 1px solid var(--steel-35);
  background: transparent;
}

.btn-ghost:hover, .btn-ghost:focus {
  color: var(--gallery-white);
  border-color: var(--stainless);
}

.frame-steel {
  border: 1px solid var(--steel-35);
  background: rgba(0, 0, 0, 0.25);
}

.hero-cinematic {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--steel-20);
}

.hero-wp {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(209, 213, 219, 0.18);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.6) contrast(1.15) brightness(0.62);
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--black-75) 0%, rgba(18, 18, 18, 0.45) 40%, var(--black-75) 100%);
}

.hero-overlay-50 {
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 18, 0.52);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 7.5rem 0 6rem;
}

.hero-title {
  text-transform: uppercase;
}

.hero-h1 {
  font-family: var(--font-heading);
  color: var(--gallery-white);
  text-transform: uppercase;
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  letter-spacing: 0.04em;
  line-height: 1.05;
}

.hero-sub-wp {
  font-family: var(--font-body);
  color: var(--stainless);
  font-size: 1.25rem;
}

.hero-sub {
  color: var(--stainless);
}

.hero-scroll-hint {
  opacity: 0.85;
}

.split-card {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--steel-20);
  background-image: var(--bg-url);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* Philosophy section (light, high-contrast) */

.section-philosophy-light {
  background: var(--gallery-white);
  color: var(--true-black);
}

.section-philosophy-light .text-muted {
  color: rgba(18, 18, 18, 0.72) !important;
}

.philo-card {
  position: relative;
  border: 1px solid rgba(18, 18, 18, 0.12);
  background: #ffffff;
  overflow: hidden;
  min-height: 560px;
}

.philo-img {
  position: absolute;
  inset: 0;
  background-image: var(--philo-img);
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.05);
  transform: scale(1.02);
}

.philo-img.bw {
  filter: grayscale(1) contrast(1.1);
}

.philo-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.5rem;
  background: linear-gradient(180deg, rgba(249, 249, 249, 0) 0%, rgba(249, 249, 249, 0.88) 55%, rgba(249, 249, 249, 0.96) 100%);
}

.philo-h3 {
  font-family: var(--font-heading);
  color: var(--true-black);
  font-size: 2rem;
}

.philo-text {
  font-family: var(--font-body);
  color: rgba(18, 18, 18, 0.78);
  max-width: 36rem;
}

.philo-link {
  display: block;
  position: relative;
  min-height: 560px;
  color: inherit;
  text-decoration: none;
}

.philo-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(18, 18, 18, 0.55);
  font-size: 4rem;
  transition: transform 200ms ease, color 200ms ease;
}

.philo-card:hover .philo-play {
  transform: scale(1.05);
  color: rgba(18, 18, 18, 0.75);
}

.philo-cta {
  font-family: var(--font-body);
  color: rgba(18, 18, 18, 0.9);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.split-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 18, 0.65);
}

.split-overlay.warm {
  background: rgba(75, 68, 61, 0.55);
}

.split-inner {
  position: relative;
  z-index: 2;
  padding: 2.5rem;
  max-width: 520px;
}

.text-muted {
  color: rgba(249, 249, 249, 0.72) !important;
}

.bg-trueblack {
  background: var(--true-black);
}

.section-title-caps {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.project-kicker {
  font-family: var(--font-body);
  color: var(--stainless);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
}

/* Portfolio / project page */

.project-hero {
  position: relative;
  min-height: 80vh;
  background-image: var(--project-hero);
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(209, 213, 219, 0.18);
}

.project-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.15) 0%, rgba(18, 18, 18, 0.55) 55%, rgba(18, 18, 18, 0.85) 100%);
}

.project-hero-content {
  position: relative;
  z-index: 2;
  max-width: 56rem;
}

.project-hero-h1 {
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  text-transform: none;
  letter-spacing: 0.02em;
}

.project-hero-sub {
  font-family: var(--font-body);
  color: var(--stainless);
  font-size: 1.05rem;
}

.project-editorial {
  border-bottom: 1px solid rgba(18, 18, 18, 0.12);
}

.spec-sticky {
  position: sticky;
  top: 6.25rem;
  border: 1px solid rgba(18, 18, 18, 0.12);
  padding: 1.75rem;
  background: #ffffff;
}

.spec-h4 {
  font-family: var(--font-heading);
  color: var(--true-black);
}

.spec-item {
  padding: 0.85rem 0;
  border-top: 1px solid rgba(209, 213, 219, 0.85);
}

.spec-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.spec-k {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: rgba(75, 68, 61, 0.92);
}

.spec-v {
  font-family: var(--font-body);
  color: rgba(75, 68, 61, 0.95);
  margin-top: 0.25rem;
}

.narr-h3 {
  font-family: var(--font-heading);
  color: var(--true-black);
  font-size: 2.25rem;
}

.narr-p {
  font-family: var(--font-body);
  color: rgba(75, 68, 61, 0.95);
  font-size: 1.06rem;
  line-height: 1.85;
}

.project-film-sub {
  font-family: var(--font-body);
  color: var(--stainless);
  max-width: 52rem;
  margin: 0 auto;
}

.detail-grid {
  column-count: 3;
  column-gap: 1rem;
}

.detail-tile {
  display: inline-block;
  width: 100%;
  height: 320px;
  margin: 0 0 1rem;
  border: 1px solid rgba(18, 18, 18, 0.12);
  background-image: var(--img);
  background-size: cover;
  background-position: center;
}

.detail-tile:nth-child(2), .detail-tile:nth-child(5) {
  height: 420px;
}

.detail-tile:nth-child(3) {
  height: 380px;
}

@media (max-width: 991.98px) {
  .detail-grid {
    column-count: 2;
  }
}

@media (max-width: 575.98px) {
  .detail-grid {
    column-count: 1;
  }
}

.project-cta-band {
  background: var(--walnut-gray);
  border-top: 1px solid rgba(209, 213, 219, 0.18);
}

.project-cta-h3 {
  font-family: var(--font-heading);
  color: var(--gallery-white);
  letter-spacing: 0.05em;
}

.project-cta-p {
  font-family: var(--font-body);
  color: rgba(209, 213, 219, 0.92);
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.spec-list {
  color: var(--stainless);
}

.spec-label {
  color: rgba(209, 213, 219, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  margin-right: 0.35rem;
}

.manifesto-band {
  background: var(--walnut-gray);
  padding: 6.5rem 0;
}

.manifesto-h2 {
  font-family: var(--font-heading);
  color: var(--gallery-white);
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.manifesto-p {
  font-family: var(--font-body);
  color: rgba(209, 213, 219, 0.92);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.06rem;
  line-height: 1.7;
}

.manifesto-link {
  color: var(--gallery-white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.parallax-lite {
  transform: translateZ(0);
  background-attachment: fixed;
}

@media (max-width: 991.98px) {
  .parallax-lite {
    background-attachment: scroll;
  }
}

.masonry-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.tile {
  position: relative;
  display: block;
  height: 320px;
  grid-column: span 4;
  border: 1px solid var(--steel-20);
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  text-decoration: none;
}

.tile-lg {
  grid-column: span 8;
  height: 420px;
}

.tile-wide {
  grid-column: span 8;
  height: 320px;
}

.tile-tall {
  grid-column: span 4;
  height: 520px;
}

.tile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 18, 0.15);
  transition: background 220ms ease, transform 220ms ease;
}

.tile-meta {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 1rem 1rem;
  border-top: 1px solid rgba(209, 213, 219, 0.25);
  background: linear-gradient(180deg, rgba(18, 18, 18, 0) 0%, rgba(18, 18, 18, 0.85) 100%);
  transform: translateY(6px);
  transition: transform 220ms ease;
}

.tile-title {
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
  color: var(--gallery-white);
}

.tile-sub {
  color: var(--stainless);
  font-size: 0.9rem;
}

.tile:hover .tile-overlay {
  background: rgba(18, 18, 18, 0.45);
}

.tile:hover .tile-meta {
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  .tile, .tile-lg, .tile-wide, .tile-tall {
    grid-column: span 12;
    height: 320px;
  }
}

.form-steel {
  border: 1px solid var(--steel-20);
  padding: 2rem;
  background: rgba(0, 0, 0, 0.25);
}

.process-card {
  border: 1px solid var(--steel-20);
  padding: 1.75rem;
  background: rgba(0, 0, 0, 0.18);
  min-height: 220px;
}

.process-step {
  font-family: var(--font-body);
  color: rgba(209, 213, 219, 0.65);
  letter-spacing: 0.18em;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.process-title {
  color: var(--gallery-white);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
}

.process-text {
  color: rgba(249, 249, 249, 0.72);
  margin: 0;
}

.merch-card {
  border: 1px solid var(--steel-20);
  background: rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.merch-img {
  height: 240px;
  background-image: var(--merch-img);
  background-size: cover;
  background-position: center;
  filter: saturate(0.9) contrast(1.05);
}

.merch-body {
  padding: 1rem 1.25rem 1.25rem;
}

.merch-title {
  font-family: var(--font-heading);
  color: var(--gallery-white);
  letter-spacing: 0.02em;
}

.merch-sub {
  color: var(--stainless);
  font-size: 0.95rem;
}

.footer-wp {
  background: var(--true-black);
  border-top: 1px solid rgba(209, 213, 219, 0.18);
}

.footer-brand {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gallery-white);
}

.footer-tagline {
  color: rgba(209, 213, 219, 0.75);
  margin-top: 0.5rem;
  max-width: 22rem;
}

.footer-col-title {
  color: var(--gallery-white);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  margin-bottom: 0.75rem;
}

.footer-links a {
  display: block;
  color: rgba(209, 213, 219, 0.8);
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.footer-links a:hover {
  color: var(--gallery-white);
}

.footer-bottom {
  border-top: 1px solid rgba(209, 213, 219, 0.14);
}

.footer-muted {
  color: rgba(209, 213, 219, 0.65);
}

.form-control-steel {
  border-radius: 0 !important;
  border: 1px solid var(--steel-35) !important;
  background: rgba(18, 18, 18, 0.65) !important;
  color: var(--gallery-white) !important;
}

.form-control-steel:focus {
  box-shadow: none !important;
  border-color: var(--stainless) !important;
}

.form-check-input {
  border-radius: 0 !important;
  border: 1px solid var(--steel-35) !important;
  background-color: transparent !important;
}

.form-check-input:focus {
  box-shadow: none !important;
}

.form-check-input:checked {
  background-color: var(--stainless) !important;
  border-color: var(--stainless) !important;
}

.meta-list i {
  color: var(--stainless);
}

