/* A 20-section company homepage, using the original ScaleVel logo colours. */
:root {
  --home-ink: #1f1133;
  --home-pink: #d41464;
  --home-orange: #f65835;
  --home-muted: #635d6b;
}

body { color: var(--home-ink); }
.section { padding: clamp(68px, 7vw, 104px) 0; }
.section-head > p { color: var(--home-muted); }
.section p:not(.eyebrow) { line-height: 1.75; }
.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.text-link { text-underline-offset: 6px; }
.trust-strip .wrap { flex-wrap: wrap; gap: 12px 25px; }
.trust-strip a { border-bottom: 1px solid currentColor; white-space: nowrap; }
.hero .intro { color: #5b5262; }
.hero .actions { align-items: center; }
.hero .text-link { white-space: nowrap; }

/* Proof, with company-reported campaign activity labelled as such. */
.proof { background: #fff; padding: 72px 0; border-bottom: 1px solid #f1e5eb; }
.proof-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(40px, 6vw, 92px); align-items: center; }
.proof-layout > div:first-child > p:not(.eyebrow) { max-width: 410px; margin: 22px 0; color: var(--home-muted); font-size: 15px; }
.proof-layout h2 { font-size: clamp(35px, 3.7vw, 52px); }
.proof-stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #e9dfe5; border-left: 1px solid #e9dfe5; }
.proof-stats article { min-height: 150px; padding: 21px 25px; border-right: 1px solid #e9dfe5; border-bottom: 1px solid #e9dfe5; }
.proof-stats strong { display: block; font-family: Manrope, Arial, sans-serif; font-size: clamp(31px, 3.3vw, 49px); line-height: 1.1; letter-spacing: -.07em; }
.proof-stats strong span { color: var(--home-pink); }
.proof-stats p { max-width: 220px; margin-top: 10px; color: var(--home-muted); font-size: 12px; line-height: 1.5 !important; }
.proof-location > span { display: block; margin-bottom: 22px; color: var(--home-pink); font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.proof-location strong { font-size: clamp(25px, 2.5vw, 37px); }

/* Consulting: editorial copy paired with a clear decision map. */
.consulting { background: #fbf7f9; }
.consulting-layout { display: grid; grid-template-columns: 1fr .95fr; gap: clamp(45px, 7vw, 100px); align-items: center; }
.consulting-layout > div:first-child > p:not(.eyebrow) { max-width: 490px; margin: 23px 0 30px; color: var(--home-muted); font-size: 16px; }
.consulting .actions { align-items: center; gap: 22px; }
.consulting .button, .marketing .button, .brand-story .button { font-size: 12px; }
.consulting .text-link { font-size: 12px; }
.decision-board { padding: 29px 34px 18px; border: 1px solid #ecdce4; border-radius: 16px; background: #fff; box-shadow: 25px 27px 0 #f4e9ee; }
.decision-top, .decision-row { display: flex; justify-content: space-between; gap: 25px; }
.decision-top { padding-bottom: 22px; color: #bd1f60; font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.decision-row { justify-content: flex-start; padding: 18px 0; border-top: 1px solid #eadfe5; }
.decision-row b { min-width: 37px; color: #d13c73; font-size: 11px; }
.decision-row h3 { font-size: 24px; }
.decision-row p { margin-top: 5px; color: var(--home-muted); font-size: 12px; }

/* Technology services get the visual weight of a core business. */
.engineering { background: #fff; }
.engineering-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 12px; }
.engineering-grid article { min-height: 300px; padding: 27px; border: 1px solid #eadfe5; border-radius: 9px; background: #fffafc; }
.engineering-grid article > span { color: #c72b69; font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.engineering-grid h3 { margin: 38px 0 15px; font-size: clamp(22px, 2vw, 29px); }
.engineering-grid p { color: var(--home-muted); font-size: 13px; }
.engineering-grid .engineering-lead { min-height: 348px; border-color: #211331; background: #211331; color: #fff; }
.engineering-lead > span { color: #ffb1ce !important; }
.engineering-lead h3 { max-width: 360px; font-size: clamp(27px, 2.7vw, 40px); }
.engineering-lead p { color: #e6cfdb; }
.engineering-lead .text-link { display: inline-block; margin-top: 25px; color: #ffc7d9; font-size: 12px; }

/* Marketing and enquiry journey. */
.marketing { background: #1f1133; color: #fff; }
.marketing-layout { display: grid; grid-template-columns: 1fr .85fr; gap: clamp(45px, 6vw, 85px); align-items: center; }
.marketing .eyebrow { color: #ffaac5; }
.marketing h2 { font-size: clamp(39px, 4.2vw, 58px); }
.marketing h2 em { color: #ffa0bd; }
.marketing-layout > div:first-child > p:not(.eyebrow) { max-width: 520px; margin: 24px 0 22px; color: #e6cfda; font-size: 16px; }
.marketing .chips { margin: 22px 0 32px; }
.marketing .chips span { background: #ffffff16; color: #ffe0eb; border: 1px solid #ffffff18; }
.marketing .actions { align-items: center; gap: 22px; }
.marketing .text-link { color: #ffe2ed; font-size: 12px; }
.growth-system { padding: 15px 30px 20px; border: 1px solid #ffffff32; border-radius: 13px; background: linear-gradient(145deg,#372044,#29163c); }
.growth-system-head { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0 25px; font-size: 10px; color: #f1bacd; }
.growth-system-head strong { color: #fff; font-weight: 600; }
.growth-system > div:not(:first-child) { display: grid; grid-template-columns: 40px 1fr auto; align-items: baseline; gap: 14px; padding: 19px 0; border-top: 1px solid #ffffff25; }
.growth-system b { color: #ffabca; font-size: 11px; }
.growth-system span { font-family: Manrope, Arial, sans-serif; font-size: 16px; font-weight: 700; }
.growth-system small { color: #d3b9c7; font-size: 11px; text-align: right; }
.lead-journey { background: #fff9fb; }
.journey-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 45px 0 36px; border-top: 2px solid #e5adbf; }
.journey-track article { position: relative; padding: 27px 20px 0 0; }
.journey-track article::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: #d41464; box-shadow: 0 0 0 5px #fff9fb; }
.journey-track b { color: #c62a68; font-size: 10px; }
.journey-track h3 { margin: 20px 0 9px; font-size: 24px; }
.journey-track p { max-width: 180px; color: var(--home-muted); font-size: 12px; }
.journey-cta { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 27px 0 0; border-top: 1px solid #eedde5; }
.journey-cta p { font-size: 17px; }
.journey-cta .button { flex: 0 0 auto; font-size: 12px; }

/* Brand work is secondary but has its own distinct presentation. */
.brand-story { background: linear-gradient(115deg,#fff0f5 0,#fff8f4 100%); }
.brand-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 8vw; align-items: center; }
.brand-layout > div:first-child > p:not(.eyebrow) { max-width: 420px; margin: 24px 0 29px; color: var(--home-muted); }
.brand-canvas { position: relative; display: flex; min-height: 400px; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 35px; border-radius: 13px; background: #2a163b; color: #fff; box-shadow: 18px 20px 0 #e5cad5; }
.brand-canvas > span { position: relative; z-index: 1; color: #ffaec7; font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.brand-canvas > strong { position: relative; z-index: 1; font-family: Manrope, Arial, sans-serif; font-size: clamp(45px, 5vw, 70px); line-height: 1.05; letter-spacing: -.075em; }
.brand-canvas > div { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; }
.brand-canvas > div span { padding: 8px 11px; border: 1px solid #ffffff55; border-radius: 50px; color: #f5d2df; font-size: 9px; letter-spacing: .1em; }
.brand-canvas i { position: absolute; right: -100px; top: 15px; width: 350px; height: 350px; border-radius: 50%; background: radial-gradient(circle at 25% 35%,#fa7d4e,#dc1a70 45%,#57228c 75%); filter: blur(4px); opacity: .75; }

/* Explanatory creative framework with no invented campaign results. */
.creative-thinking { background: #fff; }
.creative-questions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 35px 0 28px; }
.creative-questions article { padding: 26px 24px 30px; border: 1px solid #ebdfe5; border-radius: 10px; background: #fffafd; }
.creative-questions article:nth-child(2) { background: #fff6f3; }
.creative-questions span { color: #c72d6d; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.creative-questions h3 { margin: 30px 0 12px; font-size: 25px; }
.creative-questions p { color: var(--home-muted); font-size: 13px; }
.creative-thinking > .wrap > .text-link { display: inline-block; margin-top: 4px; }

/* Owner-supplied Tech Keralam event image. */
.community { background: #f8f0f5; }
.community-layout { display: grid; grid-template-columns: .75fr 1fr; align-items: center; gap: clamp(45px, 7vw, 100px); }
.community figure { width: min(100%, 480px); }
.community figure img { width: 100%; height: min(580px, 55vw); object-fit: cover; object-position: 50% 44%; border-radius: 12px; }
.community figcaption { margin-top: 10px; color: #7d6879; font-size: 11px; }
.community-layout > div > p:not(.eyebrow) { max-width: 450px; margin: 25px 0 30px; color: var(--home-muted); }
.community-layout .text-link { font-size: 13px; }
.process-action { margin-top: 30px; }
.process-action .text-link { font-size: 13px; }

/* Distinct closing pathways and useful type sizes throughout. */
.expertise-grid small, .partner article p { font-size: 11px; }
.expertise-grid p, .challenge-grid p, .steps p, .faq details p { font-size: 14px; }
.section-head > p { font-size: 15px; }
.nav nav { gap: 18px; }
.mobile-cta { z-index: 20; }

@media (max-width: 1050px) {
  .engineering-grid { grid-template-columns: repeat(2, 1fr); }
  .engineering-grid .engineering-lead { grid-row: span 2; }
  .marketing-layout { gap: 36px; }
  .growth-system > div:not(:first-child) { grid-template-columns: 30px 1fr; }
  .growth-system small { grid-column: 2; text-align: left; }
}
@media (max-width: 720px) {
  .section { padding: 67px 0; }
  .proof-layout, .consulting-layout, .marketing-layout, .brand-layout, .community-layout { grid-template-columns: 1fr; gap: 34px; }
  .proof { padding: 58px 0; }
  .proof-stats article { min-height: 130px; padding: 18px; }
  .proof-stats strong { font-size: 34px; }
  .proof-location strong { font-size: 23px; }
  .consulting .actions, .marketing .actions { align-items: flex-start; flex-direction: column; gap: 17px; }
  .decision-board { margin-right: 16px; padding: 22px; }
  .engineering-grid { grid-template-columns: 1fr 1fr; }
  .engineering-grid .engineering-lead { grid-column: 1 / -1; min-height: 290px; grid-row: auto; }
  .engineering-grid article { min-height: 240px; padding: 21px; }
  .engineering-grid article h3 { font-size: 21px; }
  .engineering-grid article p { font-size: 12px; }
  .marketing h2 { font-size: 40px; }
  .growth-system { padding: 15px 22px; }
  .journey-track { grid-template-columns: 1fr; gap: 0; border: 0; margin: 25px 0; }
  .journey-track article { display: grid; grid-template-columns: 45px 1fr; gap: 0 5px; padding: 15px 0 15px 18px; border-left: 2px solid #e5adbf; }
  .journey-track article::before { left: -7px; top: 20px; }
  .journey-track h3 { margin: 0; font-size: 20px; }
  .journey-track p { grid-column: 2; max-width: none; }
  .journey-cta { align-items: flex-start; flex-direction: column; }
  .brand-canvas { min-height: 310px; padding: 27px; margin-right: 13px; }
  .brand-canvas > strong { font-size: 50px; }
  .creative-questions { grid-template-columns: 1fr; gap: 12px; }
  .creative-questions article { padding: 22px; }
  .creative-questions h3 { margin-top: 18px; font-size: 23px; }
  .community figure img { height: 430px; }
  .community figure { order: 2; }
  .community-layout > div { order: 1; }
  .hero .actions { flex-direction: row; align-items: center; gap: 12px; }
  .hero .button { padding: 14px 16px; font-size: 11px; gap: 9px; }
  .hero .text-link { font-size: 11px; }
  .hero .intro { margin: 18px 0; }
  .hero-signoff { margin-top: 20px; }
  .hero-grid { gap: 25px; }
}
@media (max-width: 330px) {
  .hero .actions { align-items: flex-start; flex-direction: column; }
  .engineering-grid { grid-template-columns: 1fr; }
  .engineering-grid .engineering-lead { grid-column: auto; }
  .proof-stats p { font-size: 11px; }
}
