/*
Theme Name: CORE Unified
Author: Aaron Burkett
Version: 1.0
*/
:root {
    --ink: #18140f;
    --coal: #26201b;
    --ivory: #f4efe7;
    --stone: #dbd2c3;
    --bronze: #b1844b;
    --bronze-deep: #8b6638;
    --max: 1180px;
    --radius: 18px;

    --hero-image: url('https://coreunified.com/wp-content/uploads/2025/06/IMG_9476-scaled.jpg');
    --hero-blur: 1.8px;
    --service-1-image: url('https://coreunified.com/wp-content/uploads/2025/06/products-mobile.png');
    --service-2-image: url('https://coreunified.com/wp-content/uploads/2025/06/Screen-Shot-2023-03-06-at-6.49.56-PM.png');
    --service-3-image: url('https://coreunified.com/wp-content/uploads/2025/06/Screen-Shot-2023-03-06-at-7.42.03-PM.png');
    --service-4-image: url('https://coreunified.com/wp-content/uploads/2025/06/Screen-Shot-2023-03-06-at-7.43.25-PM.png');
    --service-5-image: url('');
    --service-6-image: url('');
    --service-7-image: url('');
    --service-8-image: url('https://coreunified.com/wp-content/uploads/2026/06/20240323_100827-scaled.jpg');
  }

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

  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: 'Manrope', sans-serif;
    color: var(--ink);
    background:
      radial-gradient(circle at 15% 15%, rgba(177, 132, 75, 0.12), transparent 35%),
      radial-gradient(circle at 90% 4%, rgba(23, 20, 16, 0.08), transparent 30%),
      var(--ivory);
    line-height: 1.6;
  }

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

  .container {
    width: min(var(--max), 92vw);
    margin: 0 auto;
  }

  nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(24, 20, 15, 0.88);
    border-bottom: 1px solid rgba(219, 210, 195, 0.22);
    backdrop-filter: blur(10px);
  }

  .nav-wrap {
    width: min(var(--max), 92vw);
    margin: 0 auto;
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .brand {
    display: inline-flex;
    align-items: center;
    /* gap: 0.8rem; */
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.08em;
  }

  .brand-logo-frame {
    width: 112px;
    height: 56px;
	overflow: hidden;
	filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.35));
    /* object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.35)); */
  }

  /*
  .brand-text {
    font-size: 0.95rem;
    text-transform: uppercase;
  }
  */
   .brand-logo {
	width: 230px;
	max-width: none;
	transform: translate(-56px, -90px);
  }

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

  .nav-links a {
    color: rgba(244, 239, 231, 0.86);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
  }

  .nav-links a:hover {
    color: #fff;
  }

  .quote-btn {
    border: 1px solid var(--bronze);
    background: linear-gradient(120deg, var(--bronze), var(--bronze-deep));
    color: #fff;
    text-decoration: none;
    padding: 0.7rem 1.1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .hero {
    min-height: 100vh;
    padding-top: 82px;
    position: relative;
    color: #fff;
    isolation: isolate;
    overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute;
    inset: -16px;
    background: var(--hero-image) center/cover no-repeat;
    filter: blur(var(--hero-blur));
    transform: scale(1.03);
    z-index: -2;
  }

  .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
      linear-gradient(95deg, rgba(18, 15, 12, 0.82) 0%, rgba(18, 15, 12, 0.45) 46%, rgba(18, 15, 12, 0.65) 100%),
      linear-gradient(to top, rgba(10, 9, 8, 0.5), transparent 45%);
  }

  .hero.use-9481 {
    --hero-image: url('https://coreunified.com/wp-content/uploads/2025/06/IMG_9481-scaled.jpg');
  }

  .hero-content {
    width: min(var(--max), 92vw);
    margin: 0 auto;
    padding: 10rem 0 8rem;
    max-width: 760px;
    animation: rise-in 0.9s ease both;
  }

  .eyebrow {
    display: inline-block;
    border: 1px solid rgba(244, 239, 231, 0.5);
    background: rgba(244, 239, 231, 0.08);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
  }

  h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.05;
  }

  h1 {
    font-size: clamp(2.3rem, 7vw, 4.65rem);
    margin-bottom: 1.2rem;
  }

  .hero p {
    font-size: 1.06rem;
    color: rgba(244, 239, 231, 0.88);
    max-width: 58ch;
    margin-bottom: 2rem;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
  }

  .btn {
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.82rem;
    padding: 0.85rem 1.4rem;
  }

  .btn-gold {
    background: linear-gradient(120deg, var(--bronze), var(--bronze-deep));
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .btn-ghost {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.06);
  }

  section {
    padding: 6.5rem 0;
  }

  .kicker {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #7f6848;
    margin-bottom: 0.65rem;
    font-weight: 700;
  }

  .section-head {
    max-width: 760px;
    margin-bottom: 2.2rem;
  }

  .section-head h2 {
    font-size: clamp(2rem, 5vw, 3.3rem);
    margin-bottom: 0.85rem;
  }

  .section-head p {
    color: #5d5143;
  }

  .about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.5rem;
  }

  .about-copy,
  .about-stats {
    border: 1px solid rgba(80, 63, 45, 0.15);
    background: rgba(255, 255, 255, 0.62);
    border-radius: var(--radius);
    padding: 2rem;
  }

  .about-copy p + p {
    margin-top: 1rem;
  }

  .stat-grid {
    display: grid;
    gap: 1rem;
  }

  .stat-item {
    border-bottom: 1px solid rgba(80, 63, 45, 0.16);
    padding-bottom: 0.9rem;
  }

  .stat-item:last-child {
    border-bottom: 0;
  }

  .stat-number {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-family: 'Cormorant Garamond', serif;
    color: var(--coal);
  }

  .stat-label {
    color: #675746;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.74rem;
    font-weight: 700;
  }

  .services {
    background: linear-gradient(to bottom, rgba(177, 132, 75, 0.08), transparent 45%);
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.05rem;
  }

  .service-card {
    position: relative;
    min-height: 340px;
    border-radius: var(--radius);
    overflow: hidden;
    color: #fff;
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.14);
    transform: translateY(18px);
    opacity: 0;
    animation: rise-in 0.8s ease forwards;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
  }

  .service-card:nth-child(2) { animation-delay: 0.08s; }
  .service-card:nth-child(3) { animation-delay: 0.16s; }
  .service-card:nth-child(4) { animation-delay: 0.24s; }
  .service-card:nth-child(5) { animation-delay: 0.32s; }
  .service-card:nth-child(6) { animation-delay: 0.4s; }
  .service-card:nth-child(7) { animation-delay: 0.48s; }
  .service-card:nth-child(8) { animation-delay: 0.56s; }

  .service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--service-image) center/cover no-repeat;
    transform: scale(1.02);
    transition: transform 0.45s ease;
  }

  .service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.83), rgba(10, 10, 10, 0.28) 55%, rgba(10, 10, 10, 0.08));
  }

  .service-card:hover::before {
    transform: scale(1.09);
  }

  .service-content {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding: 1.45rem;
  }

  .service-content h3 {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
  }

  .service-content p {
    color: rgba(249, 244, 235, 0.9);
    font-size: 0.93rem;
  }

  .service-1 { --service-image: var(--service-1-image); }
  .service-2 { --service-image: var(--service-2-image); }
  .service-3 { --service-image: var(--service-3-image); }
  .service-4 { --service-image: var(--service-4-image); }
  .service-5 { --service-image: var(--service-5-image); }
  .service-6 { --service-image: var(--service-6-image); }
  .service-7 { --service-image: var(--service-7-image); }
  .service-8 { --service-image: var(--service-8-image); }

  .promise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1rem;
  }

  .promise-item {
    background: #fff;
    border: 1px solid rgba(77, 59, 41, 0.14);
    border-radius: 14px;
    padding: 1.4rem;
  }

  .promise-item h4 {
    font-size: 1.45rem;
    margin-bottom: 0.45rem;
    color: var(--coal);
  }

  .testimonials {
    background: #f8f3eb;
  }

  .test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }

  .test-card {
    border-radius: 14px;
    border: 1px solid rgba(80, 63, 45, 0.14);
    background: #fff;
    padding: 1.45rem;
  }

  .stars {
    color: #9e6f36;
    letter-spacing: 0.16em;
    margin-bottom: 0.7rem;
    font-size: 0.86rem;
  }

  .test-card p {
    color: #4a4136;
    margin-bottom: 1.1rem;
    font-size: 0.95rem;
  }

  .client {
    font-size: 0.85rem;
    color: #635547;
    font-weight: 700;
  }

  .cta {
    padding: 7rem 0;
    background:
      linear-gradient(125deg, rgba(20, 16, 12, 0.92), rgba(20, 16, 12, 0.82)),
      url('https://coreunified.com/wp-content/uploads/2025/06/IMG_9481-scaled.jpg') center/cover no-repeat;
    color: #fff;
    text-align: center;
  }

  .cta h2 {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    margin-bottom: 0.8rem;
  }

  .cta p {
    max-width: 640px;
    margin: 0 auto 1.6rem;
    color: rgba(244, 239, 231, 0.84);
  }

  .footer {
    background: #16120d;
    color: rgba(233, 223, 209, 0.78);
    padding: 2.8rem 0 1.5rem;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.4rem;
  }

  .footer h5 {
    font-size: 0.78rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #f4ede3;
    margin-bottom: 0.85rem;
  }

  .footer ul {
    list-style: none;
  }

  .footer li + li {
    margin-top: 0.5rem;
  }

  .footer a {
    color: rgba(233, 223, 209, 0.78);
    text-decoration: none;
  }

  .footer a:hover {
    color: #fff;
  }

  .copyright {
    border-top: 1px solid rgba(233, 223, 209, 0.16);
    padding-top: 1rem;
    font-size: 0.78rem;
  }

  @keyframes rise-in {
    from {
      opacity: 0;
      transform: translateY(22px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @media (max-width: 940px) {
    .nav-links {
      display: none;
    }

    .about-grid,
    .footer-grid {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 620px) {
    .brand-logo-frame {
      width: 96px;
	  height: 48px;
    }
	.brand-logo {
      width: 197px;
	  transform: translate(-48px, -77px);
    }

    .quote-btn {
      padding: 0.64rem 0.9rem;
      font-size: 0.74rem;
    }

    .hero-content {
      padding: 8.3rem 0 6rem;
    }
  }