@import url('tokens.css');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,600&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   CSS RESET & BASE
   ========================================================================= */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Lenis Recommended CSS */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

body {
  font-family: var(--font-sans-body);
  background-color: var(--bg-primary); /* 60% Marigold-tinted Cream #F8F4E7 */
  color: var(--text-body);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  min-height: 100vh;
}

:focus-visible {
  outline: 2px solid var(--primitive-harvest-gold);
  outline-offset: 3px;
  border-radius: 0;
}

img, picture, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

ul, ol {
  list-style: none;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, .font-display {
  font-family: 'Plus Jakarta Sans', var(--font-sans-body);
  color: var(--text-headline);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.font-serif {
  font-family: var(--font-serif-heading);
}

h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 600;
}

h4 {
  font-size: 1.15rem;
  font-weight: 600;
}

p {
  color: var(--text-body);
  font-size: 1.025rem;
  line-height: 1.7;
}

/* ==========================================================================
   LAYOUT CONTAINERS
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding-top: clamp(4rem, 7vw, 7.5rem);
  padding-bottom: clamp(4rem, 7vw, 7.5rem);
  position: relative;
}

.section-label-with-title {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

/* Gridos Section Pill Label with Dot */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #FFFFFF;
  border: 1px solid rgba(72, 42, 19, 0.12);
  border-radius: 0;
  padding: 0.35rem 0.95rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primitive-forest-green);
  width: fit-content;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.section-label-dot {
  width: 7px;
  height: 7px;
  background-color: var(--primitive-olive-green);
  border-radius: 0;
  box-shadow: 0 0 8px rgba(242, 160, 0, 0.6);
  animation: pulseDot 2.2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.6; }
}

/* ==========================================================================
   GRIDOS DUAL-TEXT BUTTONS & PLUS ICONS
   ========================================================================== */

/* The iconic Gridos Button with dual-text roll & plus square */
.gridos-btn {
  display: inline-flex;
  align-items: center;
  border-radius: 0;
  background-color: var(--primitive-harvest-gold);
  color: #FFFFFF;
  overflow: hidden;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  box-shadow: 0 4px 14px rgba(242, 160, 0, 0.28);
}

.gridos-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 160, 0, 0.4);
}

.button-text-wrap {
  position: relative;
  height: 44px;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.button-text-normal,
.button-text-hover {
  height: 44px;
  display: flex;
  align-items: center;
  transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

.button-text-hover {
  position: absolute;
  top: 100%;
  left: 1.25rem;
}

.gridos-btn:hover .button-text-normal {
  transform: translateY(-100%);
}

.gridos-btn:hover .button-text-hover {
  transform: translateY(-100%);
}

.btn-plus-icon-box {
  width: 44px;
  height: 44px;
  background-color: var(--primitive-forest-green-dark);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast), transform var(--transition-normal);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-plus-icon-box svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-normal);
}

.gridos-btn:hover .btn-plus-icon-box svg {
  transform: rotate(90deg);
}

/* Secondary Button (Dark / Forest Green) */
.gridos-btn-dark {
  background-color: var(--primitive-forest-green);
}

.gridos-btn-dark .btn-plus-icon-box {
  background-color: var(--primitive-harvest-gold);
}

/* Full-Width / Block Gridos Button (Modal and Forms) */
.gridos-btn-block,
.gridos-btn[style*="width: 100%"],
.gridos-btn[style*="width:100%"] {
  display: flex !important;
  width: 100% !important;
  justify-content: space-between !important;
}

.gridos-btn-block .button-text-wrap,
.gridos-btn[style*="width: 100%"] .button-text-wrap,
.gridos-btn[style*="width:100%"] .button-text-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-left: calc(1rem + 44px);
  padding-right: 1rem;
}

.gridos-btn-block .button-text-normal,
.gridos-btn-block .button-text-hover,
.gridos-btn[style*="width: 100%"] .button-text-normal,
.gridos-btn[style*="width: 100%"] .button-text-hover,
.gridos-btn[style*="width:100%"] .button-text-normal,
.gridos-btn[style*="width:100%"] .button-text-hover {
  width: 100%;
  justify-content: center;
  left: 0;
  right: 0;
}

.gridos-btn-block .btn-plus-icon-box,
.gridos-btn[style*="width: 100%"] .btn-plus-icon-box,
.gridos-btn[style*="width:100%"] .btn-plus-icon-box {
  flex-shrink: 0;
  margin-left: auto;
}

@media (max-width: 480px) {
  .gridos-btn-block .button-text-wrap,
  .gridos-btn[style*="width: 100%"] .button-text-wrap,
  .gridos-btn[style*="width:100%"] .button-text-wrap {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Composite CTA Button (Avatar + Text + Plus) in Header */
.header-composite-cta {
  display: inline-flex;
  align-items: center;
  background-color: var(--primitive-forest-green);
  border-radius: 0;
  color: #FFFFFF;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 77, 64, 0.22);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.header-composite-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 77, 64, 0.35);
}

.cta-avatar-wrap {
  display: flex;
  align-items: center;
  padding-left: 0.5rem;
}

.cta-avatar-img {
  width: 28px;
  height: 28px;
  border-radius: 0;
  object-fit: cover;
  border: 1.5px solid var(--primitive-harvest-gold);
}

.header-composite-cta .button-text-wrap {
  height: 40px;
  padding: 0 0.85rem;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.header-composite-cta .button-text-normal,
.header-composite-cta .button-text-hover {
  height: 40px;
}

.header-composite-cta:hover .button-text-normal {
  transform: translateY(-100%);
}

.header-composite-cta:hover .button-text-hover {
  transform: translateY(-100%);
}

.header-composite-cta .btn-plus-icon-box {
  width: 40px;
  height: 40px;
  background-color: var(--primitive-harvest-gold);
  border-left: none;
}

.header-composite-cta:hover .btn-plus-icon-box svg {
  transform: rotate(90deg);
}

/* ==========================================================================
   SECTION 1: GRIDOS TOP NAVIGATION BAR
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(241, 237, 230, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 1rem 0;
  transition: padding var(--transition-normal), background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.site-header.scrolled {
  padding: 0.65rem 0;
  box-shadow: 0 4px 18px rgba(72, 42, 19, 0.05);
  background-color: rgba(247, 245, 237, 0.98);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-logo-link {
  display: flex;
  align-items: center;
}

.brand-logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

/* Segmented Pill Navigation */
.nav-segmented-bar {
  position: relative;
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(72, 42, 19, 0.12);
  border-radius: 0;
  padding: 4px;
  box-shadow: 0 2px 8px rgba(72, 42, 19, 0.04);
}

/* Smooth Sliding Active Highlight Indicator */
.nav-sliding-indicator {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 0;
  background-color: var(--primitive-forest-green);
  box-shadow: 0 2px 6px rgba(0, 77, 64, 0.25);
  border-radius: 0;
  z-index: 1;
  pointer-events: none;
  /* Pure continuous sliding effect - no fade out/fade in */
  transition: transform 360ms cubic-bezier(0.2, 0.9, 0.3, 1), width 360ms cubic-bezier(0.2, 0.9, 0.3, 1);
  will-change: transform, width;
}

/* Smooth Sliding Active Highlight Indicator */
.nav-sliding-indicator {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  background-color: var(--primitive-forest-green);
  box-shadow: 0 2px 6px rgba(0, 77, 64, 0.25);
  border-radius: 0;
  z-index: 1;
  pointer-events: none;
  /* Pure continuous sliding effect - no fade out/fade in */
  transition: transform 360ms cubic-bezier(0.2, 0.9, 0.3, 1), width 360ms cubic-bezier(0.2, 0.9, 0.3, 1);
  will-change: transform, width;
}

.segmented-nav-link {
  position: relative;
  z-index: 2;
  font-family: var(--font-sans-nav);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--primitive-walnut-brown);
  padding: 0.45rem 1.15rem;
  border-radius: 0;
  transition: color 240ms ease;
  white-space: nowrap;
  background: transparent !important;
}

.segmented-nav-link:hover {
  color: var(--primitive-forest-green);
  background: transparent !important;
}

.segmented-nav-link.active {
  color: #FFFFFF !important;
  font-weight: 600;
  background: transparent !important;
  box-shadow: none !important;
}

/* Header Right Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.header-explore {
  position: relative;
}

.header-pill-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(72, 42, 19, 0.12);
  border-radius: 0;
  padding: 0.5rem 1rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--primitive-walnut-brown);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.header-pill-dropdown:hover {
  background-color: #FFFFFF;
}

.header-pill-dropdown svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.header-pill-dropdown[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.header-explore-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  z-index: 1010;
  display: grid;
  gap: 0.2rem;
  width: max-content;
  min-width: 13rem;
  padding: 0.45rem;
  background: var(--primitive-warm-ivory);
  border: 1px solid rgba(72, 42, 19, 0.14);
  box-shadow: 0 12px 28px rgba(41, 35, 24, 0.14);
}

.header-explore-menu[hidden] {
  display: none;
}

.header-explore-menu a {
  padding: 0.65rem 0.75rem;
  color: var(--primitive-walnut-brown);
  font-size: 0.86rem;
  text-decoration: none;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.header-explore-menu a:hover,
.header-explore-menu a:focus-visible {
  color: var(--primitive-forest-green);
  background: rgba(0, 77, 64, 0.08);
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  background-color: #FFFFFF;
  border: 1px solid rgba(72, 42, 19, 0.15);
  border-radius: 0;
}

.mobile-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--primitive-walnut-brown);
  transition: transform var(--transition-normal), opacity var(--transition-fast);
}

.mobile-nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-nav-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(85vw, 360px);
  height: 100vh;
  background-color: var(--primitive-warm-ivory);
  box-shadow: -8px 0 32px rgba(0, 77, 64, 0.2);
  padding: 5.5rem 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1005;
  transition: right var(--transition-smooth);
}

.mobile-drawer.open { right: 0; }

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 44, 38, 0.45);
  backdrop-filter: blur(4px);
  z-index: 1002;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.drawer-backdrop.open { opacity: 1; pointer-events: auto; }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primitive-walnut-brown);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(72, 42, 19, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-nav-link.active {
  color: var(--primitive-harvest-gold);
}

/* ==========================================================================
   SECTION 2: GRIDOS HERO SECTION (Full-Bleed Spread Across Entire Section)
   ========================================================================== */

.home-hero-section {
  padding: 0;
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* Full-Bleed Hero Frame Spreading Across the Whole Section */
.home-hero-frame {
  position: relative;
  width: 100%;
  min-height: clamp(620px, 86vh, 900px);
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
}

/* Background image & gradient overlay */
.hero-frame-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: scale(1.02);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-hero-frame:hover .hero-frame-bg {
  transform: scale(1.04);
}

.hero-frame-overlay {
  position: absolute;
  inset: 0;
  /* Dark cinematic gradient matching screenshot */
  background: 
    linear-gradient(to right, rgba(0, 44, 38, 0.85) 0%, rgba(0, 44, 38, 0.48) 55%, rgba(0, 44, 38, 0.15) 100%),
    linear-gradient(to top, rgba(0, 44, 38, 0.90) 0%, rgba(0, 44, 38, 0.3) 55%, transparent 100%);
  z-index: 1;
}

/* Content Container Inside the Full-Bleed Frame */
.hero-container-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: clamp(4rem, 8vw, 8rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
}

/* Hero Content Grid inside Frame */
.hero-frame-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: flex-end;
  gap: 2rem;
  width: 100%;
}

/* Left Content Details */
.hero-details-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 680px;
}

/* Orange/Harvest Gold Accent Tag: "■ DIGITAL GROWTH FOR BRANDS" */
.hero-tag-accent {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.hero-tag-square {
  width: 10px;
  height: 10px;
  background-color: var(--primitive-harvest-gold);
  border-radius: 0;
}

.hero-statement-title {
  color: #FFFFFF;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-action-row {
  margin-top: 0.75rem;
}

/* Right Side: The Floating Work/Initiative Card (from screenshot) */
.hero-work-card-wrapper {
  display: flex;
  justify-content: flex-end;
}

.hero-work-card {
  background-color: #FFFFFF;
  border-radius: 0;
  padding: 12px;
  width: 100%;
  max-width: 290px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
}

.hero-work-card-thumb-wrap {
  position: relative;
  height: 160px;
  border-radius: 0;
  overflow: hidden;
  background-color: var(--primitive-soft-sage);
}

.hero-work-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1), opacity 400ms ease;
}

.hero-work-card:hover .hero-work-card-thumb {
  transform: scale(1.06);
}

.hero-work-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.35rem 0.25rem;
}

.hero-work-card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primitive-walnut-brown);
  transition: color var(--transition-fast);
}

.hero-work-card:hover .hero-work-card-title {
  color: var(--primitive-forest-green);
}

.hero-work-card-plus {
  width: 28px;
  height: 28px;
  border-radius: 0;
  background-color: rgba(242, 160, 0, 0.12);
  color: var(--primitive-harvest-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.hero-work-card:hover .hero-work-card-plus {
  background-color: var(--primitive-harvest-gold);
  color: #FFFFFF;
  transform: rotate(90deg);
}

.hero-work-card-plus svg {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   SECTION: BRAND / PARTNER MARQUEE TICKER (Gridos brand-section)
   ========================================================================== */

.brand-section {
  padding: 2.25rem 0;
  border-top: 1px solid rgba(72, 42, 19, 0.08);
  border-bottom: 1px solid rgba(72, 42, 19, 0.08);
  background-color: rgba(255, 255, 255, 0.4);
  overflow: hidden;
}

.marquee-container {
  display: flex;
  width: 100%;
  overflow: hidden;
  user-select: none;
}

.marquee-track {
  display: flex;
  gap: 3rem;
  align-items: center;
  white-space: nowrap;
  animation: marqueeScroll 24s linear infinite;
  will-change: transform;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primitive-forest-green);
  opacity: 0.85;
  transition: opacity var(--transition-fast);
}

.marquee-item:hover {
  opacity: 1;
}

.marquee-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background-color: var(--primitive-soft-sage);
  border-radius: 0;
  font-size: 0.75rem;
  color: var(--primitive-forest-green-dark);
}

.marquee-sep {
  width: 6px;
  height: 6px;
  border-radius: 0;
  background-color: var(--primitive-harvest-gold);
  margin-left: 2rem;
}

/* ==========================================================================
   SECTION 3: ABOUT US (Exact Gridos Layout Matching User Screenshot)
   ========================================================================== */

.home-about-section {
  padding-top: clamp(4rem, 7vw, 7.5rem);
  padding-bottom: clamp(4rem, 7vw, 7.5rem);
  background-color: var(--bg-primary); /* 60% Marigold-tinted Cream #F8F4E7 */
  position: relative;
}

.home-about-content-wrap {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

/* Left Column: Big Portrait Image */
.home-about-banner-wrap {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 16px 40px rgba(72, 42, 19, 0.08);
  border: 1px solid rgba(72, 42, 19, 0.08);
}

.home-about-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-about-banner-wrap:hover .home-about-banner-img {
  transform: scale(1.04);
}

/* Right Column: Content Details */
.home-about-contents {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.home-about-contents .hero-tag-accent {
  color: var(--primitive-walnut-brown);
}

.home-about-contents h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  line-height: 1.15;
  color: var(--primitive-walnut-brown);
  letter-spacing: -0.025em;
  margin-top: -0.5rem;
}

.home-about-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--primitive-earth-brown);
  max-width: 600px;
}

/* Gridos 3-Column Stats Row with Vertical Dividers (from screenshot) */
.home-about-rating-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  padding: 1.75rem 0;
  margin-top: 0.5rem;
}

.home-about-rating-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stat-number-wrap {
  display: flex;
  align-items: baseline;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--primitive-walnut-brown);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-number-wrap .stat-accent {
  color: var(--primitive-harvest-gold);
  margin-left: 2px;
}

.stat-label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--primitive-earth-brown);
  white-space: nowrap;
}

/* Vertical divider lines between stats */
.home-about-counter-vr {
  width: 1px;
  height: 54px;
  background-color: rgba(72, 42, 19, 0.15);
}

/* Bottom Row with Button & Secondary Offset Image (from screenshot) */
.home-about-bottom-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 0.5rem;
}

.home-about-sub-image-wrap {
  width: 230px;
  height: 145px;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 12px 28px rgba(72, 42, 19, 0.1);
  border: 1px solid rgba(72, 42, 19, 0.08);
  margin-left: auto;
}

.home-about-sub-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.home-about-sub-image-wrap:hover .home-about-sub-img {
  transform: scale(1.06);
}
.about-btn-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

/* ==========================================================================
   SECTION 4: SERVICES / FOCUS AREAS WITH STICKY BOX (Gridos home-services-section)
   ========================================================================== */

.home-services-section {
  padding-top: clamp(4rem, 7vw, 7.5rem);
  padding-bottom: clamp(4rem, 7vw, 7.5rem);
  background-color: var(--bg-primary);
}

.home-services-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

/* The Sticky Sidebar Box */
.services-sticky-box {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.services-sticky-box h2 {
  color: var(--primitive-walnut-brown);
}

.services-sticky-desc {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--primitive-earth-brown);
}

/* The Scrolling Service Cards Stack */
.services-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.service-item-card {
  background-color: #FFFFFF;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(72, 42, 19, 0.1);
  box-shadow: 0 8px 24px rgba(72, 42, 19, 0.05);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.service-item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(72, 42, 19, 0.1);
}

.service-card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: var(--primitive-soft-sage);
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.service-item-card:hover .service-card-img {
  transform: scale(1.05);
}

.service-card-body {
  padding: 1.75rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-card-title {
  font-size: 1.45rem;
  color: var(--primitive-walnut-brown);
}

.service-card-desc {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--primitive-earth-brown);
}

/* Chips / Feature tags inside card */
.service-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(72, 42, 19, 0.08);
}

.service-feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: var(--primitive-warm-ivory);
  border: 1px solid rgba(72, 42, 19, 0.1);
  border-radius: 0;
  padding: 0.3rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primitive-forest-green);
}

.service-feature-pill svg {
  width: 13px;
  height: 13px;
  color: var(--primitive-harvest-gold);
}

/* ==========================================================================
   SECTION 5: BENTO IMPACT & TESTIMONIALS (Gridos why-us-section)
   ========================================================================== */

.why-us-section {
  padding-top: clamp(4rem, 7vw, 7.5rem);
  padding-bottom: clamp(4rem, 7vw, 7.5rem);
  background-color: var(--primitive-soft-sage-subtle);
  border-top: 1px solid rgba(0, 77, 64, 0.08);
  border-bottom: 1px solid rgba(0, 77, 64, 0.08);
}

.why-us-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.bento-card {
  background-color: #FFFFFF;
  border-radius: 0;
  padding: 2.25rem;
  border: 1px solid rgba(72, 42, 19, 0.09);
  box-shadow: 0 4px 16px rgba(72, 42, 19, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card-highlight {
  grid-column: span 7;
  background-color: var(--primitive-forest-green);
  color: #FFFFFF;
}

.bento-card-highlight h3,
.bento-card-highlight h2 {
  color: #FFFFFF;
}

.bento-card-highlight p {
  color: var(--primitive-soft-sage);
}

.bento-card-metric {
  grid-column: span 5;
}

.bento-big-stat {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.8rem, 4.5vw, 4rem);
  font-weight: 800;
  color: var(--primitive-harvest-gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.bento-card-quote {
  grid-column: span 6;
}

.bento-card-quote blockquote {
  font-family: var(--font-serif-heading);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--primitive-walnut-brown);
  line-height: 1.6;
}

.bento-author-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.bento-avatar {
  width: 44px;
  height: 44px;
  border-radius: 0;
  object-fit: cover;
}

.bento-author-name {
  font-weight: 700;
  color: var(--primitive-walnut-brown);
  font-size: 0.95rem;
}

.bento-author-role {
  font-size: 0.8rem;
  color: var(--primitive-earth-brown);
}

.bento-card-mini-list {
  grid-column: span 6;
}

/* ==========================================================================
   SECTION 6: INITIATIVES SHOWCASE (Gridos home-work-section)
   ========================================================================== */

.home-work-section {
  padding-top: clamp(4rem, 7vw, 7.5rem);
  padding-bottom: clamp(4rem, 7vw, 7.5rem);
}

.home-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
}

.work-showcase-card {
  background-color: #FFFFFF;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(72, 42, 19, 0.08);
  box-shadow: 0 4px 16px rgba(72, 42, 19, 0.04);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  cursor: pointer;
}

.work-showcase-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(72, 42, 19, 0.09);
}

.work-showcase-media {
  position: relative;
  height: 240px;
  overflow: hidden;
  background-color: var(--primitive-soft-sage);
}

.work-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.work-showcase-card:hover .work-showcase-img {
  transform: scale(1.06);
}

.work-year-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  padding: 0.25rem 0.65rem;
  border-radius: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primitive-forest-green);
}

.work-showcase-body {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.work-showcase-title {
  font-size: 1.25rem;
  color: var(--primitive-walnut-brown);
}

.work-showcase-tag {
  font-size: 0.82rem;
  color: var(--primitive-earth-brown-light);
  margin-top: 0.2rem;
}

.work-arrow-circle {
  width: 36px;
  height: 36px;
  border-radius: 0;
  background-color: var(--primitive-warm-ivory);
  color: var(--primitive-forest-green);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.work-showcase-card:hover .work-arrow-circle {
  background-color: var(--primitive-harvest-gold);
  color: #FFFFFF;
  transform: translateX(4px);
}

.work-arrow-circle svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   SECTION 7: FAQ ACCORDION (Gridos faq-section)
   ========================================================================== */

.faq-section {
  padding-top: clamp(4rem, 7vw, 7rem);
  padding-bottom: clamp(4rem, 7vw, 7rem);
  background-color: var(--primitive-warm-ivory);
}

.faq-layout-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 5vw, 5rem);
}

.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: #FFFFFF;
  border-radius: 0;
  border: 1px solid rgba(72, 42, 19, 0.1);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.faq-item-active {
  border-color: var(--primitive-harvest-gold);
}

.faq-item-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.5rem;
  text-align: left;
  cursor: pointer;
}

.faq-item-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--primitive-walnut-brown);
}

.faq-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 0;
  background-color: var(--primitive-warm-ivory);
  color: var(--primitive-harvest-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1), background-color var(--transition-fast), color var(--transition-fast);
}

.faq-item-icon svg {
  width: 16px;
  height: 16px;
}

.faq-item.faq-item-active .faq-item-icon {
  transform: rotate(135deg);
  background-color: var(--primitive-harvest-gold);
  color: #FFFFFF;
}

.faq-item-toggle-content {
  height: 0;
  overflow: hidden;
  transition: height 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item-toggle-inner {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--primitive-earth-brown);
}

/* ==========================================================================
   SECTION 8: PRE-FOOTER CTA BILLBOARD & FOOTER (Gridos footer-section)
   ========================================================================== */

.site-footer {
  background-color: var(--primitive-forest-green-dark);
  color: var(--primitive-warm-ivory);
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
  position: relative;
}

/* The Gridos Billboard Callout Card */
.footer-cta-card {
  background-color: var(--primitive-forest-green);
  border-radius: 0;
  border: 1px solid rgba(220, 228, 211, 0.16);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
}

.footer-cta-text h2 {
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.footer-cta-text p {
  color: var(--primitive-soft-sage);
  font-size: 1.1rem;
  max-width: 540px;
}

/* Footer Bottom Multi-Column Grid */
.footer-links-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(220, 228, 211, 0.12);
}

.footer-col-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo-img {
  height: 46px;
  width: auto;
  align-self: flex-start;
}

.footer-brand-desc {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--primitive-soft-sage);
  max-width: 320px;
}

.footer-col-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link-item {
  color: var(--primitive-soft-sage);
  font-size: 0.925rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer-link-item:hover {
  color: var(--primitive-harvest-gold-light);
  transform: translateX(3px);
}

.footer-newsletter-wrap {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.footer-newsletter-input {
  flex-grow: 1;
  padding: 0.65rem 0.95rem;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(220, 228, 211, 0.2);
  border-radius: 0;
  color: #FFFFFF;
  font-size: 0.88rem;
}

.footer-newsletter-input:focus {
  outline: none;
  border-color: var(--primitive-harvest-gold);
}

.footer-newsletter-btn {
  background-color: var(--primitive-harvest-gold);
  color: #FFFFFF;
  padding: 0.65rem 1rem;
  border-radius: 0;
  font-size: 0.85rem;
  font-weight: 700;
}

.footer-bottom-bar {
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--primitive-soft-sage);
}

/* ==========================================================================
   MODAL / LIGHTBOX
   ========================================================================== */

.modal-dialog-wrap {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background-color: rgba(0, 44, 38, 0.7);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-dialog-wrap.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background-color: var(--primitive-warm-ivory);
  border-radius: 0;
  max-width: 580px;
  width: 100%;
  padding: 2.25rem;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(72, 42, 19, 0.12);
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.modal-dialog-wrap.open .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 0;
  background-color: rgba(72, 42, 19, 0.08);
  color: var(--primitive-walnut-brown);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast);
}

.modal-close-btn:hover {
  background-color: var(--primitive-harvest-gold);
  color: #FFFFFF;
}

/* Form inputs in Modal */
.form-group {
  margin-bottom: 1.15rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primitive-walnut-brown);
  margin-bottom: 0.35rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(72, 42, 19, 0.15);
  border-radius: 0;
  background-color: #FFFFFF;
  font-size: 0.95rem;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primitive-harvest-gold);
  box-shadow: 0 0 0 3px rgba(242, 160, 0, 0.15);
}

.form-status-message {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0;
  font-size: 0.9rem;
  display: none;
}

.form-status-message.success {
  display: block;
  background-color: #E6F4EA;
  color: #137333;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 0;
  background-color: var(--primitive-forest-green);
  color: var(--primitive-warm-ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 77, 64, 0.25);
  border: 1px solid rgba(228, 221, 227, 0.3);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--primitive-harvest-gold);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1024px) {
  .nav-segmented-bar {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .hero-frame-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-work-card-wrapper {
    justify-content: flex-start;
  }
  .home-about-content-wrap {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .home-about-banner-wrap {
    height: 440px;
  }
  .home-services-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .services-sticky-box {
    position: static;
  }
  .why-us-bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card-highlight, .bento-card-metric, .bento-card-quote, .bento-card-mini-list {
    grid-column: span 1;
  }
  .home-work-grid {
    grid-template-columns: 1fr;
  }
  .faq-layout-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .home-hero-frame {
    min-height: 520px;
    padding: 0;
    border-radius: 0;
  }
  .hero-container-inner {
    padding-top: 3.5rem;
    padding-bottom: 2.5rem;
  }
  .home-about-rating-content {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .home-about-counter-vr {
    display: none;
  }
  .home-about-bottom-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .home-about-sub-image-wrap {
    margin-left: 0;
    width: 100%;
    height: 180px;
  }
  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 0.65rem 0;
  }

  .header-inner {
    gap: 0.5rem;
  }

  .brand-logo-img {
    height: 40px;
  }

  .header-actions {
    gap: 0;
  }

  .header-explore,
  .header-composite-cta {
    display: none;
  }

  .mobile-nav-toggle {
    flex: 0 0 44px;
  }

  .home-hero-frame {
    min-height: 0;
  }

  .hero-container-inner {
    padding-top: 2.75rem;
    padding-bottom: 2rem;
  }

  .hero-frame-content {
    gap: 1.75rem;
  }

  .hero-details-wrap {
    gap: 0.9rem;
  }

  .hero-tag-accent {
    gap: 0.45rem;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .hero-tag-square {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
  }

  .hero-statement-title {
    font-size: clamp(2rem, 9.5vw, 2.4rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
  }

  .hero-action-row {
    margin-top: 0.25rem;
  }

  .hero-work-card-wrapper {
    width: 100%;
  }

  .hero-work-card {
    max-width: 320px;
  }

  .hero-work-card-thumb-wrap {
    height: 140px;
  }
}

@media (max-width: 360px) {
  .header-inner,
  .hero-container-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .brand-logo-img {
    height: 36px;
  }

  .hero-container-inner {
    padding-top: 2.25rem;
  }

  .hero-tag-accent {
    font-size: 0.63rem;
  }

  .hero-statement-title {
    font-size: 2rem;
  }
}
