/* =========================================================
   MAD Solutions — Design System
   Signature: the "Fill Rate" grid — small inventory blocks
   that sit empty (outline) until they fill solid brass,
   a literal nod to the ad-tech idea of "improving fill rate".
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,500&family=Manrope:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  /* Color tokens */
  --ink:        #0D1526;
  --ink-2:      #16223A;
  --ink-3:      #1F2E4A;
  --ivory:      #F6F2E7;
  --ivory-dim:  #EAE3D3;
  --charcoal:   #1B2230;
  --brass:      #C7A34C;
  --brass-dim:  #8E7538;
  --teal:       #3FA79A;
  --rule-dark:  rgba(199,163,76,0.22);
  --rule-light: rgba(27,34,48,0.12);

  /* Vibrant showcase palette — used for the colourful bento/portfolio
     grids (hero showcase, service tiles, industry tiles). The brass/
     teal/ink system above still governs nav, footer, forms and body
     copy so the site stays legible and on-brand. */
  --c-coral:  #FF6A55;
  --c-amber:  #FFB238;
  --c-violet: #8C6FF0;
  --c-sky:    #2FC2E8;
  --c-mint:   #1FBF8F;
  --c-pink:   #FF4FA0;

  --grad-bright: linear-gradient(115deg, var(--c-coral) 0%, var(--c-pink) 32%, var(--c-violet) 64%, var(--c-sky) 100%);

  /* Type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --container: 1180px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--charcoal);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 0.4em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p  { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-coral);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--c-coral);
}
.eyebrow--dark { color: var(--c-coral); }
.eyebrow--onlight { color: var(--c-violet); }
.eyebrow--onlight::before { background: var(--c-violet); }

.lede {
  font-size: 1.18rem;
  color: var(--ink-3);
  max-width: 58ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 14px 26px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad-bright); color: #fff; box-shadow: 0 8px 22px -8px rgba(140,111,240,0.55); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-outline { border-color: rgba(246,242,231,0.35); color: var(--ivory); }
.btn-outline:hover { border-color: #fff; color: #fff; }
.btn-outline-dark { border-color: rgba(27,34,48,0.3); color: var(--charcoal); }
.btn-outline-dark:hover { border-color: var(--ink); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }

/* =========================================================
   Site header / nav
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule-light);
  box-shadow: 0 1px 0 rgba(27,34,48,0.03);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.32rem;
  color: var(--charcoal);
  letter-spacing: 0.01em;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand strong {
  font-weight: 700;
  background: var(--grad-bright);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-top: 3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-size: 0.87rem;
  color: var(--ink-3);
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--charcoal); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -26px;
  height: 2px;
  background: var(--grad-bright);
}
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-cta .btn { padding: 11px 22px; font-size: 0.78rem; }
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--rule-light); border-radius: 3px;
  color: var(--charcoal); width: 42px; height: 42px; cursor: pointer;
  font-size: 1.1rem;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 78px; left: 0; right: 0;
    background: #fff;
    padding: 24px 32px 32px;
    gap: 20px;
    border-bottom: 1px solid var(--rule-light);
    box-shadow: 0 12px 24px -12px rgba(27,34,48,0.15);
  }
}

/* =========================================================
   Hero + fill-rate grid signature
   ========================================================= */
.hero {
  background: var(--grad-bright);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 90px 0 70px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}
.hero h1 { color: #fff; }
.hero h1 em { font-style: italic; color: var(--c-amber); }
.hero .lede { color: rgba(255,255,255,0.88); }
.hero .eyebrow { color: #fff; }
.hero .eyebrow::before { background: #fff; }

.stat-row {
  display: flex;
  gap: 34px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.stat-row .stat { min-width: 120px; }
.stat b {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--c-coral);
  display: block;
}
.stat span {
  font-size: 0.78rem;
  color: rgba(246,242,231,0.6);
}

/* the grid */
.fillgrid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 7px;
  aspect-ratio: 1 / 1.05;
}
.fillgrid i {
  display: block;
  border: 1px solid rgba(246,242,231,0.18);
  border-radius: 1px;
  background: transparent;
  transition: background 0.6s ease, border-color 0.6s ease;
}
.fillgrid i.on-coral  { background: var(--c-coral);  border-color: var(--c-coral); }
.fillgrid i.on-amber  { background: var(--c-amber);  border-color: var(--c-amber); }
.fillgrid i.on-violet { background: var(--c-violet); border-color: var(--c-violet); }
.fillgrid i.on-sky    { background: var(--c-sky);    border-color: var(--c-sky); }
.fillgrid i.on-mint   { background: var(--c-mint);   border-color: var(--c-mint); }
.fillgrid i.on-pink   { background: var(--c-pink);   border-color: var(--c-pink); }
.fillgrid-caption {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246,242,231,0.55);
  margin-top: 14px;
  text-align: right;
}

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .fillgrid { max-width: 320px; margin: 0 auto; }
}

/* =========================================================
   Marquee strip (industries served, used as "trusted by" band)
   ========================================================= */
.marquee-band {
  background: var(--charcoal);
  overflow: hidden;
  padding: 16px 0;
}
.marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: scroll-left 32s linear infinite;
  width: max-content;
}
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
.marquee-track span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.marquee-track span::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--tile-bg, var(--c-coral));
}
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   Sections (generic)
   ========================================================= */
section { padding: 88px 0; }
.section-ivory { background: var(--ivory); }
.section-dim { background: var(--ivory-dim); }
.section-ink { background: var(--c-violet); color: #fff; }
.section-ink h2 { color: #fff; }
.section-ink .lede { color: rgba(255,255,255,0.82); }
.section-ink .eyebrow { color: #fff; }
.section-ink .eyebrow::before { background: #fff; }
.section-ink .statement .dim { color: rgba(255,255,255,0.75); }
.section-ink .tag { border-color: rgba(255,255,255,0.4); color: #fff; }
.section-ink .pill { background: rgba(255,255,255,0.16); color: #fff; }

.section-head { max-width: 700px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Expertise / service cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule-light);
  border: 1px solid var(--rule-light);
}
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .card-grid, .card-grid.cols-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--ivory);
  padding: 38px 34px;
  transition: background 0.2s ease;
}
.card:hover { background: #fff; }
.card .num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--c-violet);
  margin-bottom: 18px;
  display: block;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--ink-3); margin-bottom: 0; font-size: 0.97rem; }

/* ---------- Feature checklist ---------- */
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 40px;
}
@media (max-width: 700px) { .check-grid { grid-template-columns: 1fr; } }
.check-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 4px 0;
}
.check-item .mark {
  font-family: var(--font-mono);
  color: var(--c-mint);
  flex-shrink: 0;
}

/* ---------- Tag cloud (industries) ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 12px; }
.tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 10px 18px;
  border: 1px solid var(--rule-dark);
  border-radius: 3px;
  color: var(--ivory);
}
.tag-cloud--light .tag { border-color: rgba(27,34,48,0.18); color: var(--charcoal); }

/* ---------- Model pills ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.pill {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 10px 20px;
  background: var(--ink);
  color: var(--ivory);
  border-radius: 999px;
}

/* ---------- Quote / strategy statement ---------- */
.statement {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.35;
  max-width: 820px;
}
.statement .dim { color: var(--brass-dim); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--grad-bright);
  color: #fff;
  padding: 70px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band .eyebrow { color: #fff; }
.cta-band .eyebrow::before { background: #fff; }
.cta-band .lede { color: rgba(255,255,255,0.85); }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn-outline { border-color: rgba(255,255,255,0.55); color: #fff; }
.cta-band .btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.12); }

/* ---------- Founder ---------- */
.founder-photo-frame {
  position: relative;
  border: 1px solid var(--rule-dark);
  padding: 14px;
}
.founder-photo-frame img {
  filter: saturate(1.12) contrast(1.03) brightness(1.02);
}
.founder-photo-frame::after {
  content: "";
  position: absolute; inset: 14px;
  box-shadow: inset 0 0 0 1px rgba(199,163,76,0.35);
  pointer-events: none;
}
.founder-caption {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-violet);
  margin-top: 16px;
}
.expertise-list { columns: 2; gap: 28px; margin-top: 24px; }
.expertise-list li {
  break-inside: avoid;
  padding: 9px 0;
  border-bottom: 1px solid var(--rule-light);
  font-size: 0.95rem;
}
@media (max-width: 640px) { .expertise-list { columns: 1; } }

/* ---------- Values grid ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin-top: 20px;
}
@media (max-width: 900px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
.value-item {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-align: center;
  padding: 20px 8px;
  border: 1px solid var(--rule-light);
}

/* =========================================================
   Insights (article list)
   ========================================================= */
.insight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule-light);
  border: 1px solid var(--rule-light);
}
@media (max-width: 760px) { .insight-grid { grid-template-columns: 1fr; } }
.insight-card {
  background: var(--ivory);
  padding: 34px;
}
.insight-card .cat {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
}
.insight-card h3 { margin: 12px 0 10px; font-size: 1.15rem; }
.insight-card p { color: var(--ink-3); font-size: 0.93rem; }

/* =========================================================
   Contact page
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.info-block { margin-bottom: 30px; }
.info-block .lbl {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-violet);
  display: block;
  margin-bottom: 6px;
}

form.card-form {
  background: var(--ink-2);
  padding: 40px;
  border: 1px solid var(--rule-dark);
  border-radius: 4px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(246,242,231,0.6);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--ink);
  border: 1px solid rgba(246,242,231,0.18);
  color: var(--ivory);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border-radius: 3px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--c-sky);
  outline-offset: 1px;
}
.field textarea { resize: vertical; min-height: 110px; }

.alert {
  padding: 16px 18px;
  border-radius: 3px;
  font-size: 0.9rem;
  margin-bottom: 24px;
  font-family: var(--font-body);
}
.alert-success { background: rgba(63,167,154,0.15); border: 1px solid var(--teal); color: #cdeeea; }
.alert-error { background: rgba(199,80,60,0.14); border: 1px solid #C7503C; color: #f3d4cd; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--ink);
  color: rgba(246,242,231,0.65);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--rule-dark);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-coral);
  margin-bottom: 16px;
}
.footer-grid a, .footer-grid li { display: block; margin-bottom: 10px; font-size: 0.88rem; }
.footer-grid a:hover { color: var(--ivory); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-brand {
  font-family: var(--font-display);
  color: var(--ivory);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

/* =========================================================
   Pictorial system — illustrations do the talking
   ========================================================= */
.icn { width: 100%; height: 100%; color: var(--ivory); display: block; }
.fill-accent { fill: #fff; }
.fill-accent-teal { fill: rgba(255,255,255,0.8); }
.svg-label {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  fill: var(--ink);
  letter-spacing: 0.04em;
}

/* Device-frame wrapper for the hero fill-grid: makes the abstract
   grid read as a live "monetization dashboard" screenshot */
.device-frame {
  background: var(--ink-2);
  border: 1px solid var(--rule-dark);
  border-radius: 8px;
  padding: 14px;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.6);
}
.device-frame .device-bar {
  display: flex;
  gap: 6px;
  padding: 0 4px 12px;
}
.device-frame .device-bar span {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(246,242,231,0.22);
}
.device-frame .device-bar span:first-child { background: var(--c-coral); }

/* Visual (image-first) cards: icon fills most of the card,
   caption is a single short line underneath */
.visual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) { .visual-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .visual-grid { grid-template-columns: 1fr; } }

.visual-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1040px) { .visual-grid.cols-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .visual-grid.cols-5 { grid-template-columns: repeat(2, 1fr); } }

.visual-card {
  background: var(--ink);
  border: 1px solid var(--rule-dark);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.visual-card:hover { transform: translateY(-4px); border-color: var(--c-coral); }
.visual-card .visual-media {
  aspect-ratio: 5 / 4;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(199,163,76,0.10), transparent 60%),
    var(--ink);
}
.visual-card .visual-caption {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--rule-dark);
}
.visual-card .visual-caption h3 {
  font-size: 1.02rem;
  color: var(--ivory);
  margin-bottom: 4px;
}
.visual-card .visual-caption p {
  font-size: 0.84rem;
  color: rgba(246,242,231,0.6);
  margin-bottom: 0;
}

/* Industry icon tiles: icon + one-word label, nothing else */
.icon-tile-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--rule-light);
  border: 1px solid var(--rule-light);
}
@media (max-width: 900px) { .icon-tile-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .icon-tile-grid { grid-template-columns: repeat(3, 1fr); } }
.icon-tile {
  background: var(--ivory);
  padding: 26px 12px 18px;
  text-align: center;
  transition: background 0.2s ease;
}
.icon-tile:hover { background: #fff; }
.icon-tile .icn { color: var(--charcoal); width: 52px; height: 52px; margin: 0 auto 12px; }
.icon-tile span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  line-height: 1.3;
  display: block;
}

/* Full-bleed photo band (used with the founder photo elsewhere) */
.photo-band {
  position: relative;
  height: 52vh;
  min-height: 380px;
  max-height: 560px;
  overflow: hidden;
}
.photo-band img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 22%;
  filter: grayscale(0.5) sepia(0.15) saturate(1.05) contrast(1.03);
}
.photo-band::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,21,38,0.15) 0%, rgba(13,21,38,0.85) 92%);
}
.photo-band .photo-band-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 32px;
  z-index: 2;
}
.photo-band .photo-band-caption .wrap { padding: 0 32px; }

/* Minimal caption line under a big visual — mono, brief, on-brand */
.cap-line {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--c-violet);
  text-align: center;
  margin-top: 14px;
}

/* Number-forward stat tiles as a visual strip instead of prose */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--rule-dark);
}
.stat-strip > div {
  padding: 34px 20px;
  text-align: center;
  border-right: 1px solid var(--rule-dark);
}
.stat-strip > div:last-child { border-right: none; }
@media (max-width: 640px) { .stat-strip { grid-template-columns: 1fr; } .stat-strip > div { border-right: none; border-bottom: 1px solid var(--rule-dark); } .stat-strip > div:last-child { border-bottom: none; } }
.stat-strip b {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  color: var(--c-coral);
  display: block;
}
.stat-strip span {
  font-size: 0.8rem;
  color: rgba(246,242,231,0.6);
  letter-spacing: 0.03em;
}
.page-header {
  background: var(--grad-bright);
  color: #fff;
  padding: 64px 0 56px;
}
.page-header h1 { color: #fff; margin-bottom: 14px; }
.page-header .lede { color: rgba(255,255,255,0.85); margin-bottom: 0; }
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 18px;
}

/* =========================================================
   Colourful showcase / bento grid
   ========================================================= */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 168px;
  gap: 14px;
}
@media (max-width: 900px) { .showcase-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } }
@media (max-width: 560px) { .showcase-grid { grid-template-columns: 1fr; grid-auto-rows: auto; } }

.s-tile {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  isolation: isolate;
}
.s-tile::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--tile-bg, var(--c-coral));
  z-index: -2;
}
.s-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 8%, rgba(255,255,255,0.35), transparent 55%);
  z-index: -1;
}
.s-tile .icn { color: rgba(255,255,255,0.92); }
.s-tile .s-icon {
  position: absolute;
  top: 16px; right: 16px;
  width: 46%;
  max-width: 100px;
  opacity: 0.95;
}
.s-tile h3 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 2px;
  position: relative;
  z-index: 1;
}
.s-tile p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}
.s-tile:hover { transform: translateY(-3px); transition: transform 0.2s ease; }

.s-tile.wide  { grid-column: span 2; }
.s-tile.tall  { grid-row: span 2; }
.s-tile.big   { grid-column: span 2; grid-row: span 2; }

/* Dark/photo variant used for the founder tile inside the bento grid */
.s-tile.s-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 20%;
  z-index: -3;
  filter: saturate(1.05) contrast(1.03);
}
.s-tile.s-photo::after {
  background: linear-gradient(180deg, rgba(13,21,38,0.05) 30%, rgba(13,21,38,0.88) 100%);
}

/* Light variant for stat tiles inside a colourful grid */
.s-tile.s-light {
  background: var(--ivory);
  color: var(--charcoal);
  justify-content: center;
  align-items: center;
  text-align: center;
}
.s-tile.s-light::before { background: var(--ivory); }
.s-tile.s-light::after { background: none; }
.s-tile.s-light b {
  font-family: var(--font-mono);
  font-size: 2.1rem;
  color: var(--ink);
  display: block;
}
.s-tile.s-light span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

/* Colour cycle helper classes */
.acc-coral  { --tile-bg: var(--c-coral); }
.acc-amber  { --tile-bg: var(--c-amber); }
.acc-violet { --tile-bg: var(--c-violet); }
.acc-sky    { --tile-bg: var(--c-sky); }
.acc-mint   { --tile-bg: var(--c-mint); }
.acc-pink   { --tile-bg: var(--c-pink); }

/* Colourful floating blobs behind the hero, purely decorative */
.hero-blobs {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-blobs span {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}
.hero-blobs span:nth-child(1) { width: 340px; height: 340px; background: var(--c-coral); top: -80px; left: 8%; }
.hero-blobs span:nth-child(2) { width: 280px; height: 280px; background: var(--c-violet); bottom: -60px; left: 38%; }
.hero-blobs span:nth-child(3) { width: 260px; height: 260px; background: var(--c-sky); top: 20%; right: 4%; }
.hero { position: relative; }
.hero .wrap { position: relative; z-index: 1; }

/* Colourful icon tiles (industries) — override the mono version */
.icon-tile.colorful {
  background: var(--tile-bg, var(--ivory));
  border-radius: 10px;
}
.icon-tile.colorful .icn { color: #fff; }
.icon-tile.colorful span { color: rgba(255,255,255,0.92); }

/* =========================================================
   Process steps (colourful numbered timeline)
   ========================================================= */
.process-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
@media (max-width: 860px) { .process-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-row { grid-template-columns: 1fr; } }

.process-step {
  position: relative;
  padding-top: 8px;
}
.process-step .p-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.1rem;
  color: #fff;
  background: var(--tile-bg, var(--c-coral));
  margin-bottom: 18px;
  box-shadow: 0 10px 20px -8px rgba(0,0,0,0.28);
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.process-step p { font-size: 0.88rem; color: var(--ink-3); margin-bottom: 0; }
