/** 
 * Theme Name: River City
 * Author: Central States Marketing
 * Author URI: https://www.centralstatesmarketing.com/
 * Description: This site was built by Central States Marketing. For more information about the site or this custom WordPress theme, you can contact Central States Marketing at: info@csm.marketing or call us at: 309-693-2345.
 * Version: 1.0.4
 *
 * @package rivercity
 * @charset "UTF-8"
 */

/* === TABLE OF CONTENTS ===
 * 1. Reset
 * 2. CSS Custom Properties (:root)
 * 3. Globals (h1-h6, p, a, etc.)
 * 4. Utils
 *    4.1 Accessibility
 *    4.2 Layout (.container, .wrapper)
 *    4.3 Buttons
 * 5. Components
 *    5.1 Gravity Forms
 * 6. Page Layout (top → bottom)
 *    6.1 Header & Navigation
 *         - Quick Links Topbar
 *         - Primary Menu
 *         - Submenus
 *         - Mobile Menu Toggle
 *    6.2 Drawer
 *    6.3 Hero
 *    6.4 Testimonials
 *    6.5 Inner Pages & Content
 *         - Featured Image
 *    6.6 Footer
 *    6.7 Admin Buttons
 *    6.8 About Us
 *    6.9 Our Services
 *    6.10 Delivery
 *    6.11 Markets We Serve
 *    6.12 Featured Project
 *    6.13 Global News
 *    6.14 Contact Us
 * 7. Animations & Keyframes
 * 8. Inside Pages (Kadence)
 *    8.1 Meet the Team
 * 9. Responsive Styles
 *    9.1 1160px
 *    9.2 1024px
 *    9.3 950px
 *    9.4 800–768px
 *    9.5 768px
 *    9.6 Mobile (550px)
 *    9.7 Mobile (450px)
 */

 @font-face {
  font-family: "Limerick";
  src: url("assets/fonts/Limerick Regular 2.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Limerick";
  src: url("assets/fonts/Limerick DemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ===================================== */
/* 1. RESET */
/* ===================================== */

/* Box sizing reset */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: var(--fs-base);
}

body.no-scroll {
  overflow: hidden;
}

embed,
iframe,
object,
img {
  display: block;
  max-width: 100%;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1;
  margin: 0;
}

b,
strong {
  font-weight: bolder;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===================================== */
/* 2. CSS CUSTOM PROPERTIES */
/* ===================================== */

:root {
  /* Colors */
  --blue: oklch(0.4562 0.1419 254.2);
  --lightgray:rgba(178, 179, 182, 0.15);
  --gray: oklch(80.8% 0 0);
  --dark-gray: oklch(0.5486 0 0);
  --charcoal: oklch(39.4% 0 0);
  --white: oklch(100% 0 0);
  --black: oklch(0% 0 0);

  /* Shadows */
  --shadow-color: oklch(0% 0 0 / 9%);
  --shadow-color-hover: oklch(0% 0 0 / 40%);
  --shadow: 0 0 9px var(--shadow-color);
  --shadow-hover: 0 0 10px var(--shadow-color-hover);
  --shadow-alt: 0 5px 10px var(--shadow-color);

  /* Layout */
  --gutter: 2rem;
  --max-w-max: 95rem;
  --max-w-content: 74rem;
  --max-w-text: 50rem;
  --border-radius: 10px;

  /* Typography */
  --ff-heading: "Limerick", sans-serif;
  --ff-body: "Limerick", sans-serif;

  --fs-xs: clamp(0.7rem, 0.12vi + 0.67rem, 0.78rem);
  --fs-sm: clamp(0.8rem, 0.15vi + 0.77rem, 0.9rem);
  --fs-base: clamp(0.94rem, 0.34vi + 0.86rem, 1.12rem);
  --fs-md: clamp(1.18rem, 0.61vi + 1.03rem, 1.49rem);
  --fs-lg: clamp(1.47rem, 1vi + 1.24rem, 1.99rem);
  --fs-xl: clamp(1.84rem, 1.56vi + 1.47rem, 2.65rem);
  --fs-xxl: clamp(2.3rem, 2.38vi + 1.74rem, 3.53rem);
  --fs-xxxl: clamp(2.87rem, 3.54vi + 2.04rem, 4.7rem);
}

/* ===================================== */
/* 3. GLOBALS */
/* ===================================== */

/* Headings */
:where(h1, h2, h3, h4, h5, h6) {
  font-family: var(--ff-heading);
  line-height: 1;
}

h1 {
  font-size: var(--fs-xxl);
  font-weight: 700;
  margin: 0 0 1.5rem 0;
  letter-spacing: normal;
  line-height: 1.1;
}

h2 {
  font-size: var(--fs-xxl);
  font-weight: 500;
  margin: 0 0 1rem 0;
}

h3 {
  font-size: var(--fs-xl);
  font-weight: 400;
  text-transform: uppercase;
  margin: 0 0 1rem 0;
}

h4 {
  font-size: var(--fs-lg);
  font-weight: 600;
  margin: 0 0 0.75rem 0;
  font-family: var(--ff-body);
}

.heading,
.heading-text {
  max-width: 50ch;
}

.title {
  font-size: var(--fs-xl);
  font-weight: 600;
}

.title span {
  color: var(--blue);
}

.eyebrow {
  font-size: var(--fs-md);
  font-weight: 300;
  font-style: normal;
  margin-bottom: 0.5rem;
  letter-spacing: normal;
}

/* Paragraphs */
p {
  font-size: var(--fs-base);
  font-weight: 300;
  line-height: 1.6;
  margin: 0 0 1rem 0;
}

/* Lists */
ul li {
  font-weight: 500;
  letter-spacing: 1px;
}

/* Links */
a {
  text-decoration: none;
  font-size: var(--fs-base);
  letter-spacing: normal;
}

a:has(svg) {
  display: block;
}

span {
  display: block;
}

/* ===================================== */
/* 4. UTILS */
/* ===================================== */

/* --- 4.1 Accessibility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* --- 4.2 Layout --- */
.container {
  max-width: var(--max-w-content);
  width: 100%;
  margin-inline: auto;
  padding-block: 7rem;
  padding-inline: var(--gutter);
}

.wrapper {
  width: 100%;
  position: relative;
}

/* --- 4.3 Buttons --- */
.btn,
.btn a {
  display: inline-block;
  background-color: inherit;
  padding: 0.5rem 1.25rem;
  color: inherit;
  font-size: var(--fs-base);
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  max-width: max-content;
  transition: 0.3s ease-in-out;
  letter-spacing: 2px;
}

.btn-white {
  background-color: var(--white);
  color: var(--black);
}

.btn-white:hover {
  background-color: var(--black);
  color: var(--white);
}

.btn-black {
  background-color: var(--black);
  color: var(--white);
}

.btn-black:hover {
  background-color: var(--white);
  color: var(--black);
}

.btn-blue {
  background-color: var(--blue);
  color: var(--white);
}

.btn-blue:hover {
  background-color: var(--white);
  box-shadow: var(--shadow-hover);
  color: var(--blue);
}

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

.btn-outline:hover {
  background-color: var(--white);
  color: var(--blue);
}

.btn-cta {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  color: var(--blue);
  transition: color 0.2s ease;
}

.btn-cta:hover {
  color: var(--blue);
}

.buttons {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
}

/* ===================================== */
/* 5. COMPONENTS */
/* ===================================== */

/* --- 5.1 Gravity Forms --- */

/* ===================================== */
/* 6. PAGE LAYOUT */
/* ===================================== */

/* --- 6.1 Header & Navigation --- */

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1003;
  background-color: transparent;
  transition: background-color 0.3s ease-in-out;
}

.site-header.is-scrolled {
  background-color: var(--blue);
}

.site-header.is-scrolled::before {
  opacity: 0;
}

.site-header::before {
  content: "";
  position: absolute;
  height: 8rem;
  width: 100%;
  inset: 0;
  left: 0;
  top: 0;
  background: linear-gradient(to bottom, var(--black) 25%, transparent);
}

/* Site Header Wrapper */

.site-header-wrapper {
  position: relative;
  z-index: 10001;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  max-width: var(--max-w-max);
  margin-inline: auto;
  padding-inline: 3rem;
  align-items: center;
  width: 100%;
  background-color: transparent;
}

.site-branding {
  padding-inline: var(--gutter);
  padding-block: 1rem;
}

.site-header .main-navigation {
  width: 100%;
}

.site-header .site-logo img {
  display: block;
  max-width: 16rem;
  width: 100%;
  transition: max-width 0.3s ease;
}

/* Primary Menu */

.site-header #primary-menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 0;
}

#primary-menu li {
  list-style: none;
}

.site-header #primary-menu li a {
  padding: 1rem 1.5rem;
  color: white;
  font-weight: 500;
  transition: 0.3s ease-in-out;
  text-transform: uppercase;
  display: block;
}

#primary-menu li a:hover {
  color: rgba(255, 255, 255, 0.65);
}

.site-header #primary-menu li:last-child a {
  display: inline-block;
  background-color: var(--white);
  color: var(--black);
  padding: 0.5rem 1.25rem;
  text-align: center;
  max-width: max-content;
}

.site-header #primary-menu li:last-child a:hover {
  background-color: var(--black);
  color: var(--white);
}

/* Quick Links Topbar */

.site-header-topbar {
  position: relative;
  z-index: 10001;
  width: 100%;
  background-color: var(--black);
}

.site-header-topbar-wrapper {
  display: flex;
  justify-content: flex-end;
  max-width: var(--max-w-max);
  margin-inline: auto;
  padding-inline: 3rem;
}

.quick-links-navigation ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.quick-links-navigation li {
  list-style: none;
}

.site-header .quick-links-navigation li a {
  display: block;
  padding: 0.5rem 1.25rem;
  color: var(--white);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.3s ease-in-out;
}

.site-header .quick-links-navigation li:last-child a {
  padding-right: 0;
}

.quick-links-navigation li a:hover {
  color: var(--white);
}

/* Submenus */
.menu-item-has-children ul {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: 0.3s ease;
  background-color: var(--white);
  box-shadow: var(--shadow-alt);
}

.menu-item-has-children:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Mobile Menu Toggle */
.hamburger {
  cursor: pointer;
  display: none;
  background-color: transparent;
  /* padding: 1rem; */
  border-radius: var(--border-radius);
  border: none;
  width: fit-content;
}

.hamburger svg line {
  color: var(--white);
}

.hamburger .icon-close {
  display: none;
}

.hamburger.on .icon-hamburger {
  display: none;
}

.hamburger.on .icon-close {
  display: block;
}

/* --- 6.2 Drawer --- */

.drawer-overlay {
  position: fixed;
  top: var(--header-height, 0px);
  left: 0;
  right: 0;
  bottom: 0;
  background: oklch(0% 0 0 / 30%);
  backdrop-filter: blur(4px);
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: var(--header-height, 0px);
  right: 0;
  width: min(420px, 100vw);
  height: calc(100dvh - var(--header-height, 0px));
  background-color: var(--white);
  transform: translateX(100%);
  transition: transform 0.4s ease;
  z-index: 1002;
  overflow-y: auto;
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer-wrapper {
  display: flex;
  flex-direction: column;
  padding: var(--gutter) 3rem;
  height: 100%;
}

.drawer ul {
  padding: 0;
  margin: 0;
}

.drawer .menu-item {
  width: 100%;
  border-bottom: 1px solid #0000000d;
}

.drawer .menu-item a {
    color: var(--black);
    display: block;
    text-transform: uppercase;
    font-weight: 600;
    font-size: var(--fs-xl);
    padding-block: 1rem;
}

/* --- 6.3 Hero --- */
.hero {
  display: flex;
  align-items: center;
  position: relative;
  max-height: 85dvh;
  min-height: 46rem;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  inset: 0;
  left: 0;
  top: 0;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero .wrapper {
  height: 100%;
}

.hero-content {
  text-align: center;
  margin-inline: auto;
  width: 100%;
  max-width: var(--max-w-max);
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-title {
  font-weight: 600;
  color: var(--white);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 1);
}

.hero-title span {
  color: var(--black);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  flex-direction: row;
  gap: var(--gutter);
  flex-wrap: wrap;
}

/* --- 6.4 Testimonials --- */

.testimonials .container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: var(--max-w-max);
  background-color: var(--white);
  padding-bottom: 0;
}

.testimonials.wrapper {
  padding-inline: 6rem;
}

.testimonials .heading {
  text-align: center;
  margin-inline: auto;
}

.testimonial-cards {
  width: 100%;
  background-color: var(--lightgray);
  padding-inline: 6rem;
  padding-block: 6rem 3rem;
}

.testimonial-cards .splide__slide {
  display: flex;
  height: auto;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: var(--gutter);
  background-color: var(--white);
  height: 100%;
}

.testimonial-heading {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.quote-icon {
  max-width: 2rem;
}

.testimonial-name {
  font-weight: 600;
  margin: 0;
  color: var(--black);
  letter-spacing: normal;
  font-size: var(--fs-sm);
}

.testimonial-body {
  margin: 0;
  font-size: var(--fs-sm);
  letter-spacing: normal;
  color: var(--black);
}

.testimonial-footer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
}

.stars {
  max-width: 6rem;
  width: 100%;
}

.testimonial-location {
  margin: 0;
  font-size: var(--fs-sm);
}

.testimonial-cards .splide__pagination {
  display: flex !important;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem 0 0;
  bottom: unset;
  position: static;
}

.testimonial-cards .splide__pagination__page {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background-color: var(--gray);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.testimonial-cards .splide__pagination__page.is-active {
  background-color: var(--black);
  transform: scale(1.3);
}

/* --- 6.5 Inner Pages & Content --- */

.featured-image {
  max-height: 70vb;
  min-height: 28rem;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-image::before {
  content: "";
  height: 100%;
  width: 100%;
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  z-index: 1;
}

.featured-image-title {
  position: relative;
  z-index: 2;
  color: var(--white);
  text-align: center;
  margin: 0;
  padding-inline: var(--gutter);
}

.content ul li {
  color: var(--gray);
}

.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.error-eyebrow {
  font-size: var(--fs-md);
  color: var(--blue);
  margin-bottom: 0;
}

.error-code {
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1rem;
  color: var(--black);
}

.error-message {
  max-width: 40ch;
  margin-bottom: 2rem;
}

/* --- 6.6 Footer --- */

.site-footer {
  background-color: var(--black);
  width: 100%;
}

.site-footer-wrapper {
  display: flex;
  flex-direction: column;
  row-gap: var(--gutter);
  padding-block: 4rem var(--gutter);
  padding-inline: 6rem;
  max-width: var(--max-w-max);
  margin-inline: auto;
}

footer span,
footer a,
footer p {
  color: var(--white);
}

footer p {
  font-weight: 300;
}

.site-info {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: var(--gutter);
}

.site-info .footer-branding {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-branding p,
.footer-branding span {
  margin-bottom: 0;
  color: var(--white);
}

.site-footer .site-logo {
  max-width: 16rem;
}

.site-footer span {
  font-weight: 600;
  line-height: 1;
}

.footer-socials .socials {
  display: flex;
  gap: 0.25rem;
}

.footer-socials .social img {
  max-width: 2rem;
  width: 100%;
  object-fit: contain;
}

.footer-copyright {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

.footer-copyright p {
  margin: 0;
}

.site-info .sign-up {
  display: flex;
  flex-direction: column;
  color: var(--white);
  max-width: 44ch;
  gap: 1rem;
}

.sign-up p {
  margin: 0;
}

.license img {
  max-width: 10rem;
  margin-bottom: 3rem;
}

.license-number span,
.license-number p {
  color: var(--white);
  margin-bottom: 0.25rem;
}

.site-footer #footer-menu {
    flex-direction: row;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#footer-menu li {
  list-style: none;
}

#footer-menu li a {
  color: var(--white);
  font-weight: 500;
  width: max-content;
  text-transform: uppercase;
}

#footer-menu li a:hover {
  color: var(--blue);
}

.site-footer hr {
  width: 100%;
  background-color: var(--white);
  height: 1px;
}

.footer-socials {
  display: flex;
  gap: 1rem;
  flex-direction: column;
}

.powered-by {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.powered-by img {
  object-fit: contain;
  max-width: 10rem;
}

/* --- 6.7 Admin Buttons --- */

.admin-slideout-container {
  position: fixed;
  bottom: 1rem;
  left: 0;
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.admin-slideout-container.is-open {
  transform: translateX(0);
}

/* --- 6.8 About Us --- */

.about {
  background-color: var(--lightgray);
}

.about .container {
  text-align: center;
}

.about-image img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about p {
  max-width: 70ch;
  width: 100%;
  margin-inline: auto;
}

/* --- 6.9 Our Services --- */

.services {
  position: relative;
}

.services .container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.services .wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

.services .title {
  text-align: center;
}

.services-content {
  display: flex;
  flex-direction: column;
  gap: var(--gutter);
  padding-inline: var(--gutter);
  padding-block: var(--gutter);
  background-color: var(--lightgray);
}

.services-content a {
  margin-inline: auto;
}

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

.services-image img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

.services-grid .cards {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.services-grid .card {
  background-color: var(--white);
  padding-block: 1rem;
  padding-inline: 1rem;
  color: var(--black);
  display: flex;
  flex-direction: row;
  gap: 1rem;
  transition: 0.3s ease-in-out;
  align-items: center;
}

.services-grid :hover.card {
  background-color: var(--blue);
  color: var(--white);
  display: flex;
  flex-direction: row;
  gap: 1rem;
  cursor: pointer;
}

.icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1.5px solid var(--blue);
  border-radius: 50%;
  overflow: hidden;
  transition: border-color 0.3s ease-in-out;
}

.services-grid .card .icon-circle {
  width: 5rem;
  height: 5rem;
  padding: 0.65rem;
}

.services-grid .card .icon-circle svg {
  width: 100%;
  height: 100%;
  color: var(--blue);
  transition: color 0.3s ease-in-out;
}

.services-grid .card:hover .icon-circle {
  border-color: var(--white);
}

.services-grid .card:hover .icon-circle svg {
  color: var(--white);
}

.services-grid span {
  font-weight: 600;
  line-height: 20px;
  margin-bottom: 0.75rem;
}

.services-grid p {
  font-size: var(--fs-sm);
  margin-bottom: 0;
}

/* --- 6.10 Delivery --- */
.delivery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.delivery-content {
  padding: 3rem;
  background-color: var(--lightgray);
}

.delivery-inner {
  max-width: 55ch;
  width: 100%;
  float: right;
}

.delivery-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.delivery-heading .line {
  flex: 1 1 auto;
  max-width: 8rem;
  height: 2px;
  background-color: var(--blue);
}

.delivery-heading .title {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
  color: var(--black);
  margin: 0;
  white-space: nowrap;
}

.delivery-subtitle {
  text-align: center;
  color: var(--dark-gray);
}

.delivery-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.delivery-item {
  display: flex;
  align-items: stretch;
  background-color: var(--white);
  border: 1px solid var(--lightgray);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.delivery-icon {
  flex: 0 0 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%);
}

.delivery-icon img {
  max-width: 3.5rem;
  width: 100%;
  object-fit: cover;
  filter: brightness(0) invert(1);
}

.delivery-item:nth-child(1) .delivery-icon {
  background-color: oklch(0.22 0.07 254.2);
}

.delivery-item:nth-child(2) .delivery-icon {
  background-color: oklch(0.3 0.11 254.2);
}

.delivery-item:nth-child(3) .delivery-icon {
  background-color: var(--blue);
}

.delivery-item:nth-child(4) .delivery-icon {
  background-color: oklch(0.62 0.075 254.2);
}

.delivery-item:nth-child(5) .delivery-icon {
  background-color: oklch(0.78 0.035 254.2);
}

.delivery-text {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  padding: 1.25rem 1.5rem;
}

.delivery-text::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 10px;
  width: 1px;
  height: 3rem;
  transform: translateY(-50%);
  background-color: var(--lightgray);
}

.delivery-text h3 {
  text-transform: none;
  font-family: var(--ff-body);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--black);
  margin: 0;
}

.delivery-tag {
  color: var(--blue);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.delivery-image {
  background-size: cover;
  background-position: center;
}

/* --- 6.11 Markets We Serve --- */
.serve .container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.serve .title {
  text-align: center;
}

.serve-cards {
  display: flex;
  flex-direction: row;
  gap: var(--gutter);
}

.serve-cards .card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.serve-cards img {
  max-width: 5rem;
  margin-inline: auto;
}

.serve-cards span {
  font-weight: 600;
}

.serve-cards p {
  font-size: var(--fs-sm);
}

/* --- 6.12 Featured Project --- */
.featured-project {
  background-size: cover;
  background-position: center;
}

.featured-project::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  inset: 0;
  left: 0;
  top: 0;
  background: linear-gradient(to right, var(--blue) 40%, rgba(0, 0, 255, 0.15));
}

.featured-project .container {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.featured-project-content {
  max-width: 62ch;
}

.featured-project-content .eyebrow {
  color: var(--black);
}

/* --- 6.13 Global News --- */

.global-news {
  background-color: var(--white);
}

.global-news .container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding-block: 5rem 3rem;
}

.global-news .heading {
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.global-news .title {
  text-align: center;
}

.global-news .title-dash::before,
.global-news .title-dash::after {
  background-color: var(--blue);
}

.news-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.news-cards .card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.news-cards .card-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: var(--white);
  color: var(--black);
  padding: 1.5rem;
}

.news-cards .date {
  font-size: var(--fs-sm);
  font-weight: 500;
}

.news-cards .post-title {
  height: 100%;
  font-size: var(--fs-sm);
  font-weight: 600;
}

.global-news .btn-black {
  margin-inline: auto;
}

/* --- 6.14 Contact Us --- */
.contact-us {
  position: relative;
}

.contact-us::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  inset: 0;
  left: 0;
  top: 0;
  background: linear-gradient(270deg, rgba(7, 86, 163, 0.85) 0%, rgba(7, 86, 163, 0.85) 64.9%);
  z-index: 1;
}

.contact-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 50ch;
  text-align: center;
  margin-inline: auto;
}

/* ===================================== */
/* 7. ANIMATIONS & KEYFRAMES */
/* ===================================== */

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================================== */
/* 8. INSIDE PAGES (KADENCE) */
/* ===================================== */

/* Intro Letter */
.intro-letter {
  margin-top: -24rem;
}

/* Video */
.melissa-video video {
  aspect-ratio: 2/1 !important;
}

/* Meet the Team */
.member-card {
  border-radius: 5rem 0.5rem 4rem 0.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.member-name {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #971628;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 2;
}

.bg-gray {
  position: relative;
  height: 26rem;
  /* reserve space for image overflow */
  margin-top: 6rem;
  background-color: #d0d0d0;
  border-radius: 5rem 0.3rem 0 0;
}

.bg-gray .image-wrap {
  position: absolute;
  inset: 0;
  bottom: 80px;
  overflow: visible;
}

.bg-gray .image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  left: 0;
  transform: translateY(-18%);
  transition: transform 0.3s ease;
}

.member-card:hover .image-wrap img {
  transform: scale(1.05);
  transform: translateY(-20%);
}

/* ===================================== */
/* 9. RESPONSIVE STYLES */
/* ===================================== */

/* --- 9.1 1160px --- */
@media (max-width: 1160px) {
  .authentic-content .heading {
    max-width: 40ch;
  }
}

/* --- 9.2 1024px --- */
@media (max-width: 1024px) {
  .container {
    padding-block: 5rem;
  }

  /* 6.1 Header & Navigation */
  .site-header .main-navigation {
    display: none;
  }
	
   .site-header-topbar {
    display: none;
  }
	
  .site-branding {
    padding-block: 1rem;
	padding-inline: 0;
  }

  .hamburger {
    display: block;
  }

  /* 8. Inside Pages */
  .authentic-content {
    padding-inline: 4rem;
  }

  /* 6.11 Markets We Serve */
  .serve-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 2rem;
  }

  /* 6.4 Testimonials */
  .testimonials.wrapper {
    padding-inline: 0;
  }

  .testimonial-cards {
    padding-inline: 4rem;
    padding-block: 4rem 3rem;
  }

  /* 6.13 Global News */
  .news-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  /* --- 6.6 Inner Pages & Content --- */
  .featured-image {
    min-height: 32rem;
  }

  /* 6.6 Footer */
  .site-footer-wrapper {
    padding-inline: 2rem;
  }

  /* 8. Inside Pages */
  .bg-gray {
    height: 22rem;
    margin-top: 3rem;
  }

  .bg-gray .image-wrap img {
    transform: translateY(-8%);
  }
}

/* --- 9.3 950px --- */
@media (max-width: 950px) {
  .authentic-content .heading {
    max-width: 35ch;
  }
}

/* --- 9.4 800–769px --- */
@media (min-width: 769px) and (max-width: 800px) {
  .authentic-content .heading {
    max-width: 32ch;
  }
}

/* --- 9.5 768px --- */
@media (max-width: 768px) {
  .container {
    padding-block: 4rem;
  }

  .authentic-content .heading {
    max-width: 50ch;
  }

  /* 6.1 Header & Navigation */
  .site-header-wrapper {
    padding-inline: 2rem;
  }

  .site-branding {
    padding-inline: 0;
  }
	
  .site-header .site-logo img {
	max-width: 14rem;
  }

  /* 6.2 Drawer */
  .drawer-wrapper {
    padding: var(--gutter);
  }

  .drawer .menu-item a {
    font-size: var(--fs-lg);
  }

  /* 6.3 Hero */
  .hero-content {
    gap: var(--gutter);
    /* padding-inline: var(--gutter); */
  }

  /* --- 6.6 Inner Pages & Content --- */
  .featured-image {
    min-height: 26rem;
  }

  /* 6.9 Our Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-image {
    min-height: 20rem;
	max-height: 22rem  
  }

  /* 8. Inside Pages */
  .authentic-content {
    padding-inline: 3rem;
  }

  /* 6.4 Testimonials */
  .testimonial-cards {
    padding-inline: 3rem;
    padding-block: 3rem 2rem;
  }

  /* 6.6 Footer */
  .site-footer-wrapper {
    padding: var(--gutter);
    gap: 1rem;
  }

  .site-info {
    gap: 1rem;
  }

  #footer-navigation {
	display: none;
  }
	
  .license img {
    margin-bottom: 1rem;
  }

  .footer-copyright {
    flex-direction: column;
    gap: 0.25rem;
  }
	
  .footer-socials .socials {
	justify-content: center;
  }
	
  .site-info .footer-branding {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    margin-inline: auto;
  }

  /* 6.10 Delivery */
  .delivery {
    grid-template-columns: 1fr;
  }

  .delivery-inner {
	max-width: 100%;
  }
	
  .delivery-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .delivery-item:last-child {
    grid-column: 1 / -1;
  }

  .delivery-image {
    min-height: 20rem;
  }

  .delivery-content {
    padding: 2rem;
  }

  .about-image {
    min-height: 20rem;
  }

  .delivery-heading .line {
    max-width: 3rem;
  }

  .delivery-item {
    flex-direction: column;
  }

  .delivery-icon {
    flex: 0 0 auto;
    width: 100%;
    clip-path: none;
    padding: 1.25rem;
  }

  /* 8. Inside Pages */
  .authentic .wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .bg-image {
    grid-column: 1;
    grid-row: 2;
    min-height: 40vw;
  }

  .bg-charcoal {
    grid-column: 1;
    grid-row: 1;
    min-height: 55vw;
  }

  .authentic-content {
    grid-column: 1;
    grid-row: 1 / -1;
  }

  .guide-cards {
    grid-template-columns: 1fr;
    border-radius: 10px;
  }

  .guide-cards .guide-card:nth-child(2),
  .guide-cards .guide-card:last-child {
    box-shadow: none;
    border-top: 1px solid var(--lightgray);
  }
	
  /* 6.13 Global News */
	.global-news .container {
	  gap: var(--gutter);
	}	
	
  /* 8. Inside Pages */
  .bg-gray {
    height: 16rem;
    margin-top: 4rem;
  }

  .bg-gray .image-wrap img {
    transform: translateY(-22%);
  }
}

/* --- 9.6 Mobile (550px) --- */
@media (max-width: 550px) {
  .container {
    padding-inline: var(--gutter);
  }

  /* 8. Inside Pages */
  .authentic-content {
    padding-inline: var(--gutter);
  }

  /* 6.1 Header & Navigation */
  .site-header-wrapper {
    padding-inline: 1rem;
  }

  .site-branding {
    padding-inline: 0;
  }
	
  .site-header .site-logo img {
	max-width: 12rem;
  }

  /* 6.2 Drawer */
  .drawer {
    width: 100%;
  }

  .drawer .btn {
    max-width: 100%;
    width: 100%;
  }

  /* 6.3 Hero */
  .hero {
    min-height: 38rem;
    background-position: bottom right;
  }

  /* 6.11 Markets We Serve */
  .serve-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 6.4 Testimonials */
  .testimonial-cards {
    padding-inline: var(--gutter);
    padding-block: 2.5rem 1.5rem;
  }

  .testimonial-card {
    padding: 1.25rem;
  }

  /* 6.13 Global News */
  .news-cards {
    grid-template-columns: 1fr;
  }

  /* 6.6 Footer */
  .site-footer-wrapper {
    padding: 1.5rem;
  }

  /* 8. Inside Pages */
  .guide-card {
    padding: 1.25rem;
  }

  /* Utils */
  .buttons {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }

  /* 8. Inside Pages */
  .bg-gray {
    max-height: 20rem;
  }

  .bg-gray .image-wrap img {
    transform: translateY(-22%);
  }
}

/* --- 9.7 Mobile (450px) --- */
@media (max-width: 450px) {
  /* 8. Inside Pages */
  .bg-gray {
    max-height: 16rem;
  }

  .bg-gray .image-wrap img {
    transform: translateY(-22%);
  }
}
