.bg-img-wave{
  /* Replace with your image path */
  background-image: url('../../images/cta_bg_wave.png');
  
  /* Prevents the image from tiling/repeating */
  background-repeat: no-repeat;
  
  /* Ensures the width matches the container; 
     'auto' keeps the original height ratio */
  background-size: 100% auto;
  
  /* Positions the image at the top center */
  background-position: center top;
  
  /* Optional: ensures the container has enough height to show the wave */
  min-height: 500px; 
  width: 100%;
}

.section {
  padding: 100px 0;
}

.section.alt {
  background: #f6f8f7;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.container.narrow {
  max-width: 700px;
}

.hero h1 {
  font-size: 56px;
}

.hero h2 {
  font-weight: 400;
  opacity: 0.8;
}

.grid {
  display: grid;
  gap: 30px;
}

.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }

.card, .mockup {
  background: white;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.colors span {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.device img{width: 100%;}
.grid img{width: 100%;}

/* Brand Color Palette */

.color-palette {
  margin-top: 60px;
}

.color-group {
  margin-bottom: 60px;
}

.color-group h4 {
  margin-bottom: 24px;
  font-size: 20px;
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.color-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.color-swatch {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(0,0,0,0.05);
}

.color-info strong {
  display: block;
  font-size: 15px;
}

.color-info span {
  font-size: 14px;
  opacity: 0.7;
}

/* Color Tokens */
.earthen-green { background: #3B5D50; }
.moss-green { background: #7A9D8C; }
.clay-white { background: #F4F6F3; }
.charcoal-soil { background: #2B2B2B; }
.terracotta { background: #C97A4A; }

/* Typography Variables – map to existing site fonts */
:root {
  --font-display: inherit;
  --font-heading: inherit;
  --font-body: inherit;
  --font-mono: monospace;

  --color-text-primary: #2B2B2B;
  --color-text-muted: rgba(0,0,0,0.55);
}

/* Typography Showcase */
.typography-showcase {
  margin-top: 60px;
}

.type-block {
  margin-bottom: 48px;
}

.type-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--color-text-muted);
}

/* Display */
.type-block .type-display {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1.1;
  font-weight: 600;
}

/* Headings */
.type-block h1 {
  font-family: var(--font-heading);
  font-size: 40px;
  line-height: 1.2;
}

.type-block h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  line-height: 1.3;
}

.type-block h3 {
  font-family: var(--font-heading);
  font-size: 26px;
}

.type-block h4 {
  font-family: var(--font-heading);
  font-size: 20px;
}

/* Body */
.type-block p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  max-width: 620px;
}

.type-block .text-small {
  font-size: 14px;
  line-height: 1.6;
}

/* Caption */
.type-block .text-caption {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

/* UI / Button */
.type-block .btn-demo {
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 12px 24px;
  background: #3B5D50;
  color: #ffffff;
  border: none;
  border-radius: 6px;
}

/* Monospace */
.type-block .text-mono {
  font-family: var(--font-mono);
  font-size: 14px;
  background: #f4f6f3;
  padding: 12px 16px;
  border-radius: 6px;
}

.brand-discipline .section-intro {
  max-width: 520px;
  margin-bottom: 30px;
  opacity: 0.8;
}

.bd-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  margin-bottom: 30px;
  padding-left: 0;
  list-style: none;
}

.bd-tabs li {
  padding: 10px 0;
  cursor: pointer;
  font-weight: 500;
  opacity: 0.6;
  position: relative;
}

.bd-tabs li.active {
  opacity: 1;
}

.bd-tabs li.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
}

.bd-panel {
  display: none;
}

.bd-panel.active {
  display: block;
}

.bd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.bd-grid h4 {
  margin-bottom: 12px;
}

.bd-grid ul {
  padding-left: 18px;
}

.bd-grid li {
  margin-bottom: 8px;
}

.do h4 {
  color: #2f6b4f; /* Earthen green tone */
}

.dont h4 {
  color: #9a3b3b;
}

.ux-case {
  padding: 100px 0;
  font-size: 14px;
}

.ux-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.ux-header h1 {
  font-size: 26px;
  margin-bottom: 6px;
}

.ux-kpis span {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.ux-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.ux-panel {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  padding: 20px;
}

.ux-panel.compact {
  padding: 16px;
}

.ux-panel h3 {
  font-size: 15px;
  margin-bottom: 12px;
}

/* Table */
.ux-table {
  width: 100%;
  border-collapse: collapse;
}

.ux-table th,
.ux-table td {
  padding: 8px 6px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* Before After */
.before-after {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.before-after div {
  text-align: center;
}

.arrow {
  font-size: 20px;
  opacity: 0.4;
}

/* Tabs */
.ux-tabs {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  margin-bottom: 12px;
}

.ux-tabs li {
  cursor: pointer;
  padding-bottom: 6px;
  opacity: 0.5;
}

.ux-tabs li.active {
  opacity: 1;
  border-bottom: 2px solid currentColor;
}

.ux-tab-content {
  display: none;
}

.ux-tab-content.active {
  display: block;
}

.ui-box {
  background: #f1f1f1;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

/* HCI */
.hci-list li {
  margin-bottom: 6px;
}

/* Footer */
.ux-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  font-size: 13px;
  opacity: 0.7;
}

/* =========================
   RESPONSIVE ENHANCEMENTS
========================= */

/* Tablets */
@media (max-width: 1023px) {

  .ux-header {
    flex-direction: column;
    gap: 16px;
  }

  .ux-kpis {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
  }

  .ux-grid {
    grid-template-columns: 1fr;
  }

  .ux-panel {
    padding: 18px;
  }
}

/* Mobile */
@media (max-width: 767px) {

  .ux-case {
    padding: 40px 0;
    font-size: 13px;
  }

  .ux-header h1 {
    font-size: 20px;
  }

  .ux-kpis span {
    font-size: 13px;
  }

  /* KPI stack */
  .ux-kpis {
    flex-direction: column;
    gap: 8px;
  }

  /* Panels */
  .ux-panel {
    padding: 14px;
  }

  .ux-panel h3 {
    font-size: 14px;
  }

  /* Table handling */
  .ux-panel table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .ux-table th,
  .ux-table td {
    font-size: 12px;
    padding: 6px;
  }

  /* Before / After */
  .before-after {
    flex-direction: column;
    gap: 10px;
  }

  .arrow {
    transform: rotate(90deg);
  }

  /* Tabs */
  .ux-tabs {
    overflow-x: auto;
    white-space: nowrap;
    gap: 12px;
  }

  .ux-tabs li {
    font-size: 13px;
  }

  /* UI snapshot */
  .ui-box {
    height: 120px;
    font-size: 12px;
  }

  /* Footer */
  .ux-footer {
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
  }
}

.ux-tabs.touched {
  scrollbar-width: thin;
}
