:root {
  --red: rgb(193, 2, 48);
  --red-dark: rgb(145, 1, 36);
  --black: rgb(0, 0, 0);
  --green: rgb(137, 188, 141);
  --green-dark: rgb(90, 140, 95);
  --green-light: rgb(200, 230, 202);
  --off-white: #f5f0e8;
  --bark: #2a1f0e;
  --bark-mid: #3d2e18;
  /* warm accents */
  --amber: rgb(210, 140, 30);
  --amber-light: rgb(240, 185, 80);
  --ember: rgb(185, 80, 20);
  --gold: rgb(195, 155, 55);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--off-white);
  color: var(--bark);
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: 85px;
  border-bottom: 3px solid var(--red);
  overflow: visible;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 0.6rem;
  /* allow logo to overflow nav bar */
  overflow: visible;
  position: relative;
  z-index: 200;
}

.nav-logo img {
  height: 218px;
  width: 218px;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  border: 4px solid var(--red);
  box-shadow:
    0 0 0 3px rgba(193, 2, 48, 0.35),
    0 8px 28px rgba(0, 0, 0, 0.65);
  position: relative;
  /* push logo so it overflows below the nav bar */
  top: 65px;
  z-index: 200;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 201;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--off-white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  nav {
    padding: 0 1.5rem;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 85px;
    left: 0;
    width: 100%;
    background: var(--black);
    flex-direction: column;
    gap: 0;
    border-top: 3px solid var(--red);
    z-index: 99;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    border-bottom: 1px solid #1a1a1a;
  }

  .nav-links a {
    display: block;
    padding: 1.1rem 2rem;
    font-size: 1.1rem;
  }
}

.nav-links a {
  color: #ccc;
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 1.26rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
  cursor: pointer;
}

.nav-links a:hover {
  color: var(--green);
}


/* ─── HERO ─── */
.hero {
  min-height: 56vh;
  height: auto;
  background: var(--black);
  position: relative;
  overflow: visible;
  display: flex;
  align-items: flex-start;
  padding-top: 85px;
  padding-bottom: 3rem;
}

.hero-texture {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 100%;
  background-image: url('../images/hero.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.85) saturate(1.15);
}

.hero-content-right {
  position: relative;
  margin-left: auto;
  margin-right: 1rem;
  margin-top: 90px;
  z-index: 2;
  padding: 30px;
  width: 33%;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  overflow: hidden;
}

.hero-content-right * {
  max-width: 100%;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@media (max-width: 900px) {
  .hero-content-right {
    width: 50%;
  }
}

@media (max-width: 768px) {
  .hero-content-right {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .hero-content-right {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--red);
}

.hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.8rem, 5vw, 7rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--off-white);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.hero h1 span {
  display: block;
  line-height: 1.05;
}

.hero h1 em {
  font-style: normal;
  color: var(--red);
  display: block;
  line-height: 1.05;
}

.hero-sub {
  font-family: 'DM Sans', sans-serif;
  font-style: normal;
  font-size: 1.15rem;
  color: #c8b89a;
  line-height: 1.7;
  max-width: 100%;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--red);
  color: var(--off-white);
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  border: none;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.15s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--off-white);
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  border: 2px solid var(--green);
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-outline:hover {
  background: var(--green);
  color: var(--bark);
}

/* large decorative text */
.hero-deco {
  position: absolute;
  right: -2rem;
  bottom: -1rem;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(8rem, 20vw, 18rem);
  font-weight: 700;
  color: rgba(137, 188, 141, 0.05);
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
}

.hero-badge {
  position: absolute;
  right: 5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 160px;
  height: 160px;
  border: 2px solid var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(210, 140, 30, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
}

.hero-badge-inner {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber-light);
  line-height: 1.6;
}

.hero-badge-num {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--off-white);
  line-height: 1;
}

/* ─── SECTION COMMONS ─── */
section {
  padding: 6rem 5rem;
}

.section-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--red);
  max-width: 48px;
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: var(--bark);
  margin-bottom: 1rem;
}

/* ─── SERVICES ─── */
.services-section {
  background: var(--black);
}

.services-section .section-title {
  color: var(--off-white);
}

.services-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
}

.services-desc {
  font-family: 'Libre Baskerville', serif;
  font-size: 1rem;
  line-height: 1.8;
  color: #999;
  margin-top: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.service-card {
  background: var(--bark-mid);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: background 0.3s;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--red);
  transition: height 0.4s ease;
}

.service-card:hover {
  background: #2e2010;
}
.service-card:hover::before {
  height: 100%;
}

.service-num {
  font-family: 'Oswald', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(137, 188, 141, 0.15);
  line-height: 1;
  margin-bottom: 1rem;
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--off-white);
  margin-bottom: 0.8rem;
}

.service-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #999;
}

.service-tag {
  display: inline-block;
  margin-top: 1.2rem;
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber-light);
  border: 1px solid rgba(210, 140, 30, 0.35);
  padding: 0.25rem 0.75rem;
}

/* ─── WHY US ─── */
.why-section {
  background: var(--green);
  padding: 5rem;
}

.why-section .section-label {
  color: var(--bark);
}
.why-section .section-label::after {
  background: var(--bark);
}
.why-section .section-title {
  color: var(--bark);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.why-item {
  border-top: 3px solid var(--bark);
  padding-top: 1.5rem;
}

.why-item h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bark);
  margin-bottom: 0.7rem;
}

.why-item p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--bark-mid);
}

.why-stat {
  font-family: 'Oswald', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ─── ABOUT PAGE ─── */
.about-hero {
  background: var(--bark);
  padding: 10rem 5rem 5rem;
  position: relative;
  overflow: hidden;
}

.about-hero::after {
  content: 'ABOUT';
  position: absolute;
  right: 3rem;
  bottom: -2rem;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(6rem, 16vw, 14rem);
  font-weight: 700;
  color: rgba(137, 188, 141, 0.06);
  text-transform: uppercase;
  line-height: 1;
  pointer-events: none;
}

.about-hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--off-white);
  line-height: 1;
  max-width: 700px;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.about-hero h1 span {
  color: var(--green);
}

.about-hero p {
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: #aaa;
  max-width: 560px;
  line-height: 1.8;
  position: relative;
  z-index: 2;
}

.about-body {
  padding: 5rem;
  background: var(--off-white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.about-body h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bark);
  margin-bottom: 1.2rem;
}

.about-body p {
  font-size: 1rem;
  line-height: 1.85;
  color: #4a3a28;
  margin-bottom: 1.2rem;
}

.about-values {
  background: var(--black);
  padding: 5rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 3rem;
}

.value-block {
  background: var(--bark-mid);
  padding: 2rem 1.8rem;
  border-top: 4px solid transparent;
  transition: border-color 0.3s;
}

.value-block:nth-child(odd) {
  border-top-color: var(--red);
}
.value-block:nth-child(even) {
  border-top-color: var(--amber);
}

.value-block h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--off-white);
  margin-bottom: 0.7rem;
  letter-spacing: 0.05em;
}

.value-block p {
  font-size: 0.875rem;
  color: #999;
  line-height: 1.65;
}

/* ─── CONTACT PAGE ─── */
.contact-hero {
  background: var(--red);
  padding: 10rem 5rem 5rem;
  position: relative;
  overflow: hidden;
}

.contact-hero::after {
  content: 'CONTACT';
  position: absolute;
  right: -1rem;
  bottom: -2rem;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(5rem, 12vw, 11rem);
  font-weight: 700;
  color: rgba(0, 0, 0, 0.15);
  text-transform: uppercase;
  line-height: 1;
  pointer-events: none;
}

.contact-hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--off-white);
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.contact-hero p {
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(245, 240, 232, 0.75);
  max-width: 480px;
  line-height: 1.8;
  position: relative;
  z-index: 2;
}

.contact-body {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  background: var(--off-white);
}

.contact-info {
  background: var(--bark);
  padding: 4rem 3rem;
  color: var(--off-white);
}

.contact-info h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 2rem;
  color: var(--green);
}

.contact-detail {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(137, 188, 141, 0.2);
}

.contact-detail:last-child {
  border-bottom: none;
}

.contact-detail-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.4rem;
}

.contact-detail-val {
  font-size: 1rem;
  line-height: 1.6;
  color: #ccc;
}

.contact-form-wrap {
  padding: 4rem 3.5rem;
}

.contact-form-wrap h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bark);
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bark);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--black);
  border: 2px solid transparent;
  color: var(--off-white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
}

.form-group select option {
  background: var(--black);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-submit {
  background: var(--red);
  color: var(--off-white);
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: none;
  cursor: pointer;
  width: 100%;
  margin-top: 0.5rem;
  transition: background 0.2s;
}

.form-submit:hover {
  background: var(--red-dark);
}

.form-success {
  display: none;
  background: var(--green);
  color: var(--bark);
  padding: 1.2rem;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-align: center;
  margin-top: 1rem;
}

/* ─── FOOTER ─── */
footer {
  background: var(--black);
  border-top: 4px solid var(--red);
  padding: 3rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.footer-logo {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--off-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}

.footer-logo span {
  color: var(--red);
}

.footer-tagline {
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.6;
}

.footer-heading {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #777;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
  cursor: pointer;
}

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

.footer-contact-item {
  font-size: 0.875rem;
  color: #777;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.footer-contact-item strong {
  color: var(--off-white);
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
}

.footer-bottom {
  background: var(--black);
  padding: 1.2rem 5rem;
  border-top: 1px solid #111;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: #444;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  animation: fadeUp 0.6s ease forwards;
  opacity: 0;
}

.delay-1 {
  animation-delay: 0.1s;
}
.delay-2 {
  animation-delay: 0.25s;
}
.delay-3 {
  animation-delay: 0.4s;
}
.delay-4 {
  animation-delay: 0.55s;
}

/* ─── MOBILE ─── */
@media (max-width: 768px) {
  nav {
    padding: 0 1.5rem;
  }
  .nav-links {
    gap: 1.2rem;
  }
  .hero-content {
    padding: 0 2rem;
  }
  .hero-badge {
    display: none;
  }
  section {
    padding: 4rem 2rem;
  }
  .services-intro {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-body {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-body {
    grid-template-columns: 1fr;
  }
  .contact-form-wrap {
    padding: 2.5rem 2rem;
  }
  footer {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 2rem;
  }
  .footer-bottom {
    padding: 1rem 2rem;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .about-hero,
  .contact-hero {
    padding: 9rem 2rem 4rem;
  }
}

/* EC-BTN-104 + EC-NAV-121: Re-assert hero / CTA text-white on buttons & links.
   Uses class~= (word match) not class*= (substring) to avoid matching hover:text-white etc. */
button[class~='text-white/90'],
a[class~='text-white/90'] {
  color: rgba(255, 255, 255, 0.9);
}
button[class~='text-white/80'],
a[class~='text-white/80'] {
  color: rgba(255, 255, 255, 0.8);
}
button[class~='text-white/70'],
a[class~='text-white/70'] {
  color: rgba(255, 255, 255, 0.7);
}
button[class~='text-white/60'],
a[class~='text-white/60'] {
  color: rgba(255, 255, 255, 0.6);
}
button[class~='text-white/50'],
a[class~='text-white/50'] {
  color: rgba(255, 255, 255, 0.5);
}
button[class~='text-white/40'],
a[class~='text-white/40'] {
  color: rgba(255, 255, 255, 0.4);
}
button[class~='text-white'],
a[class~='text-white'] {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

/* EC-ANIM-008b / EC-ANIM-009: carousel-only override — scroll-reveal elements animate via IO in functions.php */
.scroll-fade-up:has([aria-roledescription='carousel']),
.scroll-fade-up:has([data-wpconvert-blog-filter-bar]),
.scroll-fade-left:has([aria-roledescription='carousel']),
.scroll-fade-right:has([aria-roledescription='carousel']),
.scroll-scale-in:has([aria-roledescription='carousel']) {
  opacity: 1 !important;
  transform: none !important;
}
