/* =========================================================
   CloudFerret design system
   Reference direction: airy pastel canvas, floating pill nav,
   large centered type, soft image cards, dark feature panel,
   blocky pastel service sections, and a deep footer.
   ========================================================= */

:root{
  --bg: #fbfaf6;
  --surface: #ffffff;
  --surface-soft: #f4f1ea;
  --surface-milk: #f8f6f1;

  --ink: #141417;
  --ink-soft: #56565f;
  --ink-faint: #8c8c96;
  --border: #e7e1d7;
  --border-soft: #eee9df;

  --brand: #2474f2;
  --brand-dark: #111827;
  --brand-tint: #dbeafe;
  --gradient-a: #2f80ed;
  --gradient-b: #7c5cff;
  --gradient-c: #ef5fa8;

  --ai: #2474f2;
  --ai-tint: #dcecff;
  --systems: #f5a766;
  --systems-tint: #ffe4d1;
  --cloud: #39b77d;
  --cloud-tint: #d8f3e3;
  --dev: #e85c9e;
  --dev-tint: #f8d2e7;
  --edu-tint: #ded7fb;
  --finance-tint: #fff0b8;

  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --r-pill: 999px;

  --shadow-sm: 0 12px 30px rgb(20 20 23 / 8%);
  --shadow-md: 0 24px 60px rgb(20 20 23 / 12%);
  --ease: cubic-bezier(.22,.61,.36,1);
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4{
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0;
  margin: 0;
  color: var(--ink);
}

p{ margin: 0; }
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }
ul{ margin: 0; padding: 0; list-style: none; }
button{ font-family: inherit; cursor: pointer; }

.wrap{
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: var(--r-pill);
  background: rgb(255 255 255 / 72%);
  border: 1px solid rgb(255 255 255 / 78%);
  box-shadow: 0 10px 28px rgb(20 20 23 / 7%);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink-soft);
  margin-bottom: 22px;
}

.eyebrow::before{
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #39b77d;
  flex: 0 0 auto;
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
  white-space: nowrap;
}

.btn-primary{
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover{
  background: var(--brand);
  box-shadow: 0 16px 30px -16px rgb(36 116 242 / 70%);
  transform: translateY(-1px);
}

.btn-ghost{
  background: rgb(255 255 255 / 78%);
  color: var(--ink);
  border-color: rgb(255 255 255 / 84%);
}

.btn-ghost:hover{
  border-color: var(--ink);
  transform: translateY(-1px);
}

.btn-tint{
  background: var(--brand-tint);
  color: var(--brand);
}

.btn-tint:hover{
  background: var(--brand);
  color: #fff;
  transform: translateY(-1px);
}

.btn-sm{
  min-height: 38px;
  padding: 9px 16px;
  font-size: 13px;
}

/* ---------- Nav ---------- */
.nav{
  position: sticky;
  top: 14px;
  z-index: 100;
  padding: 10px 24px 0;
  background: transparent;
}

.nav-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 8px;
  border-radius: var(--r-pill);
  background: rgb(255 255 255 / 78%);
  border: 1px solid rgb(255 255 255 / 88%);
  box-shadow: 0 16px 40px rgb(20 20 23 / 12%);
  backdrop-filter: blur(18px);
}

.logo{
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  white-space: nowrap;
}

.logo-mark-img{
  width: 34px;
  height: 24px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.logo-lockup{
  padding-left: 0;
  display: inline-flex;
}

.footer-logo-img{
  width: 172px;
  height: auto;
  display: block;
}

.nav-links{
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 15px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background .15s var(--ease), color .15s var(--ease);
}

.nav-links a:hover{
  background: var(--surface-soft);
  color: var(--ink);
}

.nav-links a.active{
  background: var(--ink);
  color: #fff;
}

.nav-cta{
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-cta .btn-primary{
  background: var(--brand);
  box-shadow: 0 10px 18px rgb(36 116 242 / 20%);
}

.nav-toggle{
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: #fff;
  align-items: center;
  justify-content: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after{
  content: "";
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: all .2s var(--ease);
}

.nav-toggle span::before{
  position: absolute;
  top: -5px;
}

.nav-toggle span::after{
  position: absolute;
  top: 5px;
}

/* ---------- Section shells ---------- */
section{
  padding: 96px 0;
  position: relative;
}

.section-tight{ padding: 64px 0; }

.section-head{
  max-width: 720px;
  margin-bottom: 52px;
}

.section-head.center{
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2{
  font-size: 48px;
}

.section-head p{
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 640px;
}

.bg-soft{
  background: var(--surface-milk);
}

/* ---------- Hero ---------- */
.hero{
  margin-top: -74px;
  padding: 146px 0 82px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgb(205 224 255 / 92%) 0%, rgb(236 232 255 / 82%) 28%, rgb(251 250 246 / 92%) 56%, rgb(255 232 219 / 76%) 100%);
}

.hero::after{
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, rgb(251 250 246 / 0), var(--bg));
  pointer-events: none;
}

.hero-inner{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 54px;
  align-items: center;
}

.hero-copy{
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

.hero h1{
  font-size: 74px;
  line-height: .98;
}

.hero h1 span{
  display: inline-block;
  background: linear-gradient(90deg, var(--gradient-a), var(--gradient-b) 52%, var(--gradient-c));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lede{
  margin: 28px auto 0;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 680px;
}

.hero-actions{
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.jump-links{
  margin: 36px auto 0;
  display: flex;
  justify-content: center;
  gap: 8px 14px;
  flex-wrap: wrap;
}

.jump-links a{
  min-height: 34px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: rgb(255 255 255 / 54%);
  border: 1px solid rgb(255 255 255 / 66%);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.jump-links a:hover{
  color: var(--brand);
}

.jump-links a::after{
  content: "→";
  font-weight: 700;
}

.hero-showcase{
  display: grid;
  grid-template-columns: 1fr 1.12fr 1fr;
  gap: 28px;
  align-items: end;
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

.showcase-card{
  margin: 0;
  min-width: 0;
}

.showcase-card img{
  width: 100%;
  height: 206px;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgb(255 255 255 / 70%);
  box-shadow: var(--shadow-md);
}

.showcase-card-large{
  transform: translateY(-30px);
}

.showcase-card-large img{
  height: 270px;
}

.showcase-card figcaption{
  padding: 14px 4px 0;
  text-align: left;
}

.showcase-card span,
.pillar-media figcaption,
.industry-media figcaption{
  display: inline-flex;
  max-width: 100%;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgb(255 255 255 / 82%);
  color: var(--ink-soft);
  font-family: "Space Grotesk", monospace;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

.showcase-card strong{
  display: block;
  margin-top: 9px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
}

/* ---------- Connect chips row ---------- */
.chip-row{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.chip-card{
  min-height: 230px;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 28px 22px;
  background: #fff;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}

.chip-card:nth-child(1){ background: var(--brand-tint); }
.chip-card:nth-child(2){ background: var(--systems-tint); }
.chip-card:nth-child(3){ background: var(--dev-tint); }
.chip-card:nth-child(4){ background: var(--cloud-tint); }

.chip-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.chip-dot{
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  font-size: 16px;
  background: rgb(255 255 255 / 76%) !important;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 80%);
}

.chip-card h4{
  font-size: 20px;
  margin-bottom: 10px;
}

.chip-card p{
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- Pillar feature panels ---------- */
.feature-section{
  padding-top: 88px;
}

.pillar{
  border-radius: 28px;
  padding: 52px;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 46px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 72%);
  box-shadow: 0 1px 0 rgb(255 255 255 / 70%) inset;
}

.pillar + .pillar{
  margin-top: 34px;
}

.pillar-icon{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 22px;
  background: rgb(255 255 255 / 74%);
}

.pillar h3{
  font-size: 42px;
}

.pillar .lede{
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 460px;
}

.pillar-actions{
  margin-top: 28px;
}

.pillar-media-stack{
  min-width: 0;
}

.pillar-media{
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgb(255 255 255 / 50%);
  box-shadow: 0 22px 50px rgb(20 20 23 / 12%);
}

.pillar-media img{
  width: 100%;
  height: 246px;
  object-fit: cover;
}

.pillar-media figcaption,
.industry-media figcaption{
  position: absolute;
  left: 14px;
  bottom: 14px;
  color: var(--ink);
}

.pillar-sub{
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.pillar-sub-card{
  background: rgb(255 255 255 / 66%);
  border: 1px solid rgb(255 255 255 / 76%);
  border-radius: 12px;
  padding: 18px;
}

.pillar-sub-card h5{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 7px;
}

.pillar-sub-card p{
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-soft);
}

.pillar.ai{
  background: var(--brand-tint);
}

.pillar.cloud{
  background: var(--cloud-tint);
}

.pillar.dev{
  background: var(--systems-tint);
}

.dark-feature{
  background:
    linear-gradient(135deg, #101114 0%, #111827 48%, #0b2e66 100%) !important;
  color: #fff;
  min-height: 420px;
}

.dark-feature h3{
  color: #fff;
}

.dark-feature .lede,
.dark-feature .pillar-sub-card p{
  color: rgb(255 255 255 / 72%);
}

.dark-feature .pillar-sub-card{
  background: rgb(255 255 255 / 8%);
  border-color: rgb(255 255 255 / 10%);
}

.dark-feature .btn-primary{
  background: var(--brand);
}

.dark-feature .pillar-media{
  box-shadow: 0 30px 70px rgb(0 0 0 / 35%);
}

.pillar.reverse{
  grid-template-columns: 1.18fr .82fr;
}

.pillar.reverse > .pillar-media-stack{
  order: -1;
}

/* ---------- Industries grid ---------- */
#industries{
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--surface-milk) 100%);
}

.industry-intro{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}

.industry-intro .section-head{
  margin-bottom: 0;
}

.industry-note{
  border-radius: 20px;
  padding: 24px;
  background:
    linear-gradient(135deg, #111827 0%, #101114 58%, #0b2e66 100%);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.industry-note span{
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: var(--r-pill);
  background: rgb(255 255 255 / 10%);
  color: rgb(255 255 255 / 74%);
  font-size: 12px;
  font-weight: 800;
}

.industry-note strong{
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
}

.filter-row{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 8px;
  border-radius: var(--r-pill);
  background: rgb(255 255 255 / 66%);
  border: 1px solid var(--border-soft);
  width: fit-content;
  max-width: 100%;
}

.filter-chip{
  min-height: 38px;
  padding: 9px 17px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-soft);
  background: transparent;
  transition: all .15s var(--ease);
}

.filter-chip.active,
.filter-chip:hover{
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 0 10px 18px rgb(20 20 23 / 10%);
}

.industry-grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  align-items: stretch;
}

.industry-card{
  grid-column: span 3;
  min-height: 360px;
  border: 1px solid rgb(255 255 255 / 74%);
  border-radius: 22px;
  padding: 22px;
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 1px 0 rgb(255 255 255 / 70%) inset;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}

.industry-card[data-category="property"]{ background: var(--brand-tint); }
.industry-card[data-category="finance"]{ background: var(--finance-tint); }
.industry-card[data-category="retail"]{ background: var(--dev-tint); }
.industry-card[data-category="logistics"]{ background: var(--cloud-tint); }
.industry-card[data-category="health"]{ background: var(--edu-tint); }
.industry-card[data-category="edu"]{ background: var(--systems-tint); }

.industry-feature{
  grid-column: span 6;
  min-height: 410px;
}

.industry-grid.is-filtered .industry-card{
  grid-column: 1 / -1;
}

.industry-card:hover{
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.industry-card-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.industry-card-top span{
  min-width: 0;
  padding: 6px 10px;
  border-radius: var(--r-pill);
  background: rgb(255 255 255 / 58%);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.industry-emoji{
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgb(255 255 255 / 76%);
  font-size: 16px;
  flex: 0 0 auto;
}

.industry-card h4{
  font-size: 22px;
  margin-bottom: 10px;
}

.industry-card p{
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.industry-card .link{
  display: inline-flex;
  width: fit-content;
  margin-top: 0;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}

.industry-media{
  margin: auto 0 18px;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: rgb(255 255 255 / 38%);
}

.industry-media::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(20 20 23 / 0) 36%, rgb(20 20 23 / 34%) 100%);
  pointer-events: none;
}

.industry-media img{
  width: 100%;
  height: 150px;
  object-fit: cover;
  transition: transform .3s var(--ease);
}

.industry-feature .industry-media img{
  height: 210px;
}

.industry-card:hover .industry-media img{
  transform: scale(1.04);
}

.industry-media figcaption{
  z-index: 1;
}

/* ---------- Stack row ---------- */
.stack-panel{
  padding: 38px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
}

.stack-row{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.stack-pill{
  min-height: 58px;
  padding: 10px 14px;
  border-radius: 13px;
  border: 1px solid var(--border-soft);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--surface-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* ---------- CTA banner ---------- */
.cta-banner{
  border-radius: 28px;
  background:
    linear-gradient(135deg, #f7eee3 0%, #f4f1ea 42%, #dbeafe 100%);
  color: var(--ink);
  padding: 68px;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 44px;
  align-items: center;
  border: 1px solid var(--border-soft);
  text-align: center;
}

.cta-banner > div:first-child{
  justify-self: end;
  max-width: 690px;
}

.cta-banner .eyebrow{
  background: rgb(255 255 255 / 50%);
  box-shadow: none;
}

.cta-banner h2{
  color: var(--ink);
  font-size: 48px;
}

.cta-banner p{
  color: var(--ink-soft);
  margin: 16px auto 0;
  font-size: 16px;
  max-width: 640px;
}

.cta-info{
  text-align: left;
}

.cta-contact{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-soft);
}

.cta-contact .ic{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgb(255 255 255 / 62%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

/* ---------- Footer ---------- */
footer{
  padding: 66px 0 34px;
  background: #101114;
  color: #fff;
}

footer .logo{
  color: #fff;
}

.footer-grid{
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
}

.footer-brand p{
  margin-top: 14px;
  color: rgb(255 255 255 / 62%);
  font-size: 14px;
  max-width: 300px;
}

.footer-col h5{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  margin: 0 0 16px;
  color: rgb(255 255 255 / 84%);
  text-transform: none;
  letter-spacing: 0;
}

.footer-col a{
  display: block;
  font-size: 14px;
  color: rgb(255 255 255 / 58%);
  padding: 5px 0;
  transition: color .15s var(--ease);
}

.footer-col a:hover{
  color: #fff;
}

.footer-bottom{
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgb(255 255 255 / 44%);
}

/* ---------- Inner page hero (About / Contact) ---------- */
.page-hero{
  margin-top: -74px;
  padding: 150px 0 72px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgb(205 224 255 / 88%) 0%, rgb(236 232 255 / 78%) 30%, rgb(251 250 246 / 95%) 62%, rgb(255 232 219 / 72%) 100%);
}

.page-hero-inner{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 58px;
  align-items: center;
}

.page-hero-copy{
  max-width: 720px;
}

.page-hero h1{
  font-size: 64px;
  max-width: 820px;
}

.page-hero h1 span{
  background: linear-gradient(90deg, var(--gradient-a), var(--gradient-b) 52%, var(--gradient-c));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-hero .lede{
  margin-top: 22px;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 660px;
}

.page-hero-media{
  min-width: 0;
}

.inner-hero-card{
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgb(255 255 255 / 72%);
  box-shadow: var(--shadow-md);
}

.inner-hero-card img{
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.inner-hero-card::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(20 20 23 / 0) 40%, rgb(20 20 23 / 42%) 100%);
  pointer-events: none;
}

.inner-hero-card figcaption{
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
  display: inline-flex;
  max-width: calc(100% - 36px);
  padding: 7px 10px;
  border-radius: 8px;
  background: rgb(255 255 255 / 86%);
  color: var(--ink);
  font-family: "Space Grotesk", monospace;
  font-size: 11px;
  font-weight: 700;
}

.inner-hero-notes{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.inner-hero-notes div{
  min-height: 116px;
  padding: 20px;
  border-radius: 18px;
  background: rgb(255 255 255 / 68%);
  border: 1px solid rgb(255 255 255 / 72%);
  box-shadow: 0 10px 28px rgb(20 20 23 / 7%);
}

.inner-hero-notes span{
  display: block;
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
}

.inner-hero-notes strong{
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  line-height: 1.25;
}

.contact-notes div:first-child{
  background: var(--cloud-tint);
}

.contact-notes div:last-child{
  background: var(--systems-tint);
}

/* Shift table (About) */
.brand-shift-intro{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: end;
  margin-bottom: 40px;
}

.brand-shift-intro .section-head{
  margin-bottom: 0;
}

.brand-shift-note{
  padding: 24px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, #111827 0%, #101114 58%, #0b2e66 100%);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.brand-shift-note span{
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: var(--r-pill);
  background: rgb(255 255 255 / 10%);
  color: rgb(255 255 255 / 74%);
  font-size: 12px;
  font-weight: 800;
}

.brand-shift-note strong{
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
}

.shift-table{
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.shift-row{
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: center;
}

.shift-row + .shift-row{
  border-top: 1px solid var(--border);
}

.shift-row.head{
  background: var(--surface-milk);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.shift-cell{
  padding: 24px 28px;
  font-size: 15px;
}

.shift-cell.old{
  color: var(--ink-faint);
}

.shift-cell.new{
  color: var(--ink);
  font-weight: 700;
  background: var(--brand-tint);
}

.shift-arrow{
  text-align: center;
  color: var(--brand);
  font-size: 18px;
}

/* Values grid (About) */
.values-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.value-card{
  padding: 28px;
  border-radius: 18px;
  border: 1px solid rgb(255 255 255 / 74%);
  background: #fff;
  min-height: 250px;
  box-shadow: 0 1px 0 rgb(255 255 255 / 70%) inset;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}

.value-card:nth-child(1){ background: var(--brand-tint); }
.value-card:nth-child(2){ background: var(--systems-tint); }
.value-card:nth-child(3){ background: var(--cloud-tint); }
.value-card:nth-child(4){ background: var(--dev-tint); }

.value-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.value-num{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-faint);
  margin-bottom: 18px;
}

.value-card h4{
  font-size: 17px;
  margin-bottom: 10px;
}

.value-card p{
  font-size: 14px;
  color: var(--ink-soft);
}

/* Mission quote block */
.mission{
  border-radius: 28px;
  background:
    linear-gradient(135deg, #f7eee3 0%, #f4f1ea 42%, #dbeafe 100%);
  padding: 68px;
  text-align: center;
  border: 1px solid var(--border-soft);
}

.mission .eyebrow{
  box-shadow: none;
}

.mission p:not(.eyebrow){
  font-family: 'Space Grotesk', sans-serif;
  font-size: 34px;
  font-weight: 600;
  color: var(--brand-dark);
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.35;
}

/* ---------- Contact page ---------- */
.contact-grid{
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.contact-card{
  border-radius: var(--r-lg);
  background:
    linear-gradient(135deg, #111827 0%, #101114 58%, #0b2e66 100%);
  color: #fff;
  padding: 40px;
  border: 1px solid rgb(255 255 255 / 10%);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 110px;
}

.contact-card .eyebrow{
  color: rgb(255 255 255 / 74%);
  background: rgb(255 255 255 / 10%);
  border-color: rgb(255 255 255 / 10%);
  box-shadow: none;
}

.contact-card h3{
  color: #fff;
  font-size: 28px;
  margin-bottom: 24px;
}

.contact-item{
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid rgb(255 255 255 / 12%);
}

.contact-item:first-of-type{
  border-top: none;
}

.contact-item .ic{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgb(255 255 255 / 10%);
  border: 1px solid rgb(255 255 255 / 12%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 17px;
}

.contact-item h5{
  color: #fff;
  font-size: 14px;
  margin: 0 0 3px;
}

.contact-item p,
.contact-item a{
  font-size: 14px;
  color: rgb(255 255 255 / 66%);
}

.contact-item a:hover{
  color: #fff;
}

.form-card{
  border-radius: var(--r-lg);
  border: 1px solid var(--border-soft);
  padding: 44px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.form-head{
  margin-bottom: 28px;
}

.form-head .eyebrow{
  box-shadow: none;
  background: var(--brand-tint);
}

.form-head h3{
  font-size: 30px;
  margin: 0;
}

.form-head p:not(.eyebrow){
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 15px;
}

.form-status{
  display: none;
  margin-bottom: 18px;
  padding: 13px 15px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
}

.form-status.success,
.form-status.error{
  display: block;
}

.form-status.success{
  background: var(--cloud-tint);
  color: #166044;
}

.form-status.error{
  background: var(--dev-tint);
  color: #8a2459;
}

.honeypot{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field{
  margin-bottom: 20px;
}

.field label{
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}

.field input,
.field select,
.field textarea{
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 14px;
  background: var(--surface-milk);
  color: var(--ink);
  transition: border-color .15s var(--ease), background .15s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus{
  outline: none;
  border-color: var(--brand);
  background: #fff;
}

.field textarea{
  resize: vertical;
  min-height: 120px;
}

.form-note{
  font-size: 13px;
  color: var(--ink-faint);
  margin-top: 14px;
}

/* ---------- Utility ---------- */
.center{ text-align: center; }
.mt-56{ margin-top: 56px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .wrap{
    padding: 0 26px;
  }

  .nav-inner{
    width: min(700px, 100%);
  }

  .hero{
    padding-top: 136px;
  }

  .hero h1{
    font-size: 58px;
  }

  .page-hero{
    padding-top: 136px;
  }

  .page-hero-inner{
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .page-hero-media{
    max-width: 560px;
  }

  .inner-hero-card img{
    height: 300px;
  }

  .section-head h2,
  .cta-banner h2{
    font-size: 40px;
  }

  .hero-showcase{
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .showcase-card-large{
    transform: none;
  }

  .showcase-card img,
  .showcase-card-large img{
    height: 230px;
  }

  .chip-row{
    grid-template-columns: repeat(2, 1fr);
  }

  .pillar,
  .pillar.reverse{
    grid-template-columns: 1fr;
    padding: 38px;
  }

  .pillar.reverse > .pillar-media-stack{
    order: 0;
  }

  .pillar-sub{
    grid-template-columns: 1fr;
  }

  .brand-shift-intro{
    grid-template-columns: 1fr;
    align-items: start;
  }

  .brand-shift-note{
    max-width: 520px;
  }

  .industry-intro{
    grid-template-columns: 1fr;
    align-items: start;
  }

  .industry-note{
    max-width: 520px;
  }

  .industry-grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .industry-card,
  .industry-feature{
    grid-column: span 1;
  }

  .stack-row{
    grid-template-columns: repeat(3, 1fr);
  }

  .values-grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-banner{
    grid-template-columns: 1fr;
    padding: 48px;
  }

  .cta-banner > div:first-child{
    justify-self: center;
  }

  .cta-info{
    text-align: center;
    justify-self: center;
  }

  .footer-grid{
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid{
    grid-template-columns: 1fr;
  }

  .contact-card{
    position: static;
  }

  .shift-row{
    grid-template-columns: 1fr 40px 1fr;
  }
}

@media (max-width: 720px){
  .nav{
    top: 0;
    padding: 0;
  }

  .nav-inner{
    width: 100%;
    border-radius: 0;
    padding: 12px 20px;
    position: relative;
  }

  .nav-links{
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 12px 20px 18px;
    gap: 2px;
    box-shadow: 0 20px 40px rgb(20 20 23 / 10%);
  }

  .nav-links.nav-open{
    display: flex;
  }

  .nav-links a{
    justify-content: flex-start;
    min-height: 42px;
    padding: 12px 14px;
  }

  .nav-toggle{
    display: flex;
  }

  .nav-cta .btn{
    display: none;
  }

  .hero{
    margin-top: 0;
    padding: 86px 0 62px;
  }

  .page-hero{
    margin-top: 0;
    padding: 86px 0 58px;
  }

  .hero h1{
    font-size: 46px;
  }

  .hero .lede{
    font-size: 16px;
  }

  section{
    padding: 66px 0;
  }

  .section-tight{
    padding: 54px 0;
  }

  .section-head{
    margin-bottom: 36px;
  }

  .section-head h2,
  .pillar h3,
  .cta-banner h2,
  .page-hero h1{
    font-size: 34px;
  }

  .industry-intro{
    gap: 24px;
  }

  .brand-shift-intro{
    gap: 24px;
  }

  .filter-row{
    width: 100%;
    border-radius: 18px;
  }

  .filter-chip{
    flex: 1 1 auto;
  }

  .chip-row,
  .industry-grid,
  .values-grid,
  .form-row{
    grid-template-columns: 1fr;
  }

  .chip-card{
    min-height: auto;
  }

  .pillar,
  .cta-banner,
  .mission{
    padding: 30px;
  }

  .inner-hero-notes{
    grid-template-columns: 1fr;
  }

  .inner-hero-card img{
    height: 240px;
  }

  .pillar-media img{
    height: 210px;
  }

  .stack-panel{
    padding: 26px;
  }

  .stack-row{
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-card,
  .form-card{
    padding: 28px;
  }

  .footer-grid{
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom{
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

@media (max-width: 460px){
  .wrap{
    padding: 0 20px;
  }

  .logo{
    font-size: 14px;
  }

  .hero h1{
    font-size: 40px;
  }

  .hero-actions{
    align-items: stretch;
    flex-direction: column;
  }

  .btn{
    width: 100%;
  }

  .showcase-card img,
  .showcase-card-large img{
    height: 190px;
  }

  .stack-row{
    grid-template-columns: 1fr;
  }

  .shift-row,
  .shift-row.head{
    grid-template-columns: 1fr;
  }

  .shift-arrow{
    display: none;
  }
}
