/* ==========================================================================
   casemod.my — static rebuild
   ========================================================================== */

:root {
  --dark-text: #2b2c28;
  --heading-gray: #444444;
  --muted-gray: #8e8e8e;
  --muted-gray-light: #8c8c8c;
  --gradient-dark: linear-gradient(#000000, #5e5e5e);
  --orange: #ff7e00;
  --white: #ffffff;
  --max-width: 1080px;
  --gap: clamp(1.5rem, 4vw, 3rem);
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--dark-text);
  background: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

/* -------------------------- Header -------------------------- */

.site-header {
  padding: 1rem 0;
}

.site-header .container {
  display: flex;
  justify-content: flex-end;
}

.site-header img {
  width: clamp(110px, 20vw, 160px);
  height: auto;
}

/* -------------------------- Hero -------------------------- */

.hero {
  background: var(--gradient-dark);
  color: var(--white);
  padding: clamp(1rem, 1.5vw, 1.5rem) 0;
  text-align: left;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 5.4rem);
  font-weight: 900;
  line-height: 1.05;
}

.hero p {
  margin: 0.5rem 0 0;
  font-size: clamp(1.3rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
}

/* -------------------------- Growth Framework -------------------------- */

.growth {
  padding: clamp(1.5rem, 3.2vw, 2.75rem) 0;
  text-align: left;
}

.growth h2 {
  color: var(--heading-gray);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  margin: 0 0 clamp(2rem, 6vw, 3rem);
}

.growth-steps-scroll {
  overflow-x: visible;
}

@media (max-width: 700px) {
  .growth-steps-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }
}

.growth-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  width: max-content;
  min-width: 100%;
  margin: 0 auto;
}

.growth-steps .step {
  color: var(--muted-gray);
  font-size: clamp(0.62rem, 2.4vw, 1.5rem);
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  margin: 0 clamp(0.08rem, 0.8vw, 1.25rem);
}

.growth-steps .step.final {
  font-size: clamp(0.9rem, 4.6vw, 3.2rem);
}

.growth-steps .arrow {
  width: clamp(8px, 3.2vw, 55px);
  height: auto;
  flex-shrink: 0;
  margin: 0 clamp(0.5px, 0.3vw, 5px);
}

/* -------------------------- Callout -------------------------- */

.callout {
  display: flex;
  flex-direction: row;
  align-items: left;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  padding-left: 80px;
}

.callout img {
  width: clamp(60px, 8vw, 110px);
  height: auto;
  flex-shrink: 0;
}

.callout-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: left;
}

.callout h3 {
  margin: 0px 0 0 0;
  font-size: clamp(1.3rem, 3.5vw, 3.0rem);
  font-weight: 700;
  color: #565656;
}

.callout p {
  margin: -10px 0 0 0;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--orange);
}

/* -------------------------- How we power -------------------------- */

.power {
  background: var(--gradient-dark);
  color: var(--white);
  padding: clamp(3rem, 8vw, 5rem) 0;
  text-align: left;
}

.power h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  margin: 0 0 1.25rem;
}

.power p {
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  line-height: 1.7;
  margin: 0 0 1.25rem;
}

.power p:last-child {
  margin-bottom: 0;
}

/* -------------------------- Brands -------------------------- */

.brands {
  padding: clamp(3rem, 8vw, 5rem) 0;
  text-align: left;
}

.brands .eyebrow {
  color: var(--muted-gray-light);
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0 0 0.25rem;
}

.brands h2 {
  color: var(--heading-gray);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  margin: 0 0 clamp(2rem, 6vw, 3rem);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

.logo-grid .logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  background: var(--white);
  border-radius: 8px;
  padding: 0.75rem;
}

.logo-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.logo-grid .logo-cell:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.04);
}

/* -------------------------- Contact -------------------------- */

.contact {
  background: var(--gradient-dark);
  color: var(--white);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  text-align: left;
}

.contact h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  margin: 0 0 1.25rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.contact-link {
  color: var(--white);
  text-decoration: none;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 600;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 0.15rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-link:hover {
  color: var(--orange);
}

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

.site-footer {
  padding: 1.5rem clamp(1rem, 4vw, 2.5rem);
  text-align: center;
  color: var(--muted-gray);
  font-size: 0.85rem;
}

/* -------------------------- Mobile alignment overrides -------------------------- */

@media (max-width: 640px) {
  .growth,
  .power,
  .brands,
  .contact {
    text-align: center;
  }

  .contact-links {
    justify-content: center;
  }

  .callout {
    display: none;
  }
}
