/* ============================================================
   MobileFolk — static site styles
   Fonts: Archivo Black (display) + Space Grotesk (body)
   ============================================================ */

:root {
  --ink:        #212020;   /* near-black background / text */
  --ink-2:      #191818;   /* slightly darker */
  --turq:       #40e0d0;   /* brand accent (turquoise) */
  --turq-dark:  #2fc7b8;
  --muted:      #bfbfbf;   /* muted grey text on dark */
  --muted-2:    #8f8f8f;
  --light:      #ececec;   /* light-grey section (testimonials) */
  --white:      #ffffff;
  --line:       rgba(255,255,255,.14);

  /* product brand colours */
  --urs-a: #8571f4;  --urs-b: #6f5bf0;
  --tnt-a: #3aa0e6;  --tnt-b: #1b8fe4;
  --ss-a:  #57d6b7;  --ss-b:  #3fcfaa;

  --display: 'Archivo Black', 'Space Grotesk', sans-serif;
  --body:    'Space Grotesk', system-ui, sans-serif;

  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; }

p { margin: 0 0 1em; line-height: 1.6; }

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

.accent { color: var(--turq); }

/* ---------- section scaffolding ---------- */
.section { padding: 96px 0; position: relative; }
.section--dark  { background: var(--ink);  color: var(--white); }
.section--darker{ background: var(--ink-2); color: var(--white); }
.section--light { background: var(--white); color: var(--ink); }
.section--grey  { background: var(--light); color: var(--ink); }

.section-title {
  font-family: var(--display);
  font-size: 34px;
  letter-spacing: .5px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 14px;
}
.section-sub {
  text-align: center;
  color: var(--muted-2);
  font-weight: 600;
  margin-bottom: 54px;
}
.section--dark .section-sub { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--turq  { background: var(--turq); color: #10312e; }
.btn--turq:hover { background: var(--turq-dark); }
.btn--dark  { background: var(--ink); color: var(--white); }
.btn--outline-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline-dark:hover { background: var(--ink); color: var(--white); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn--outline-light:hover { background: var(--white); color: var(--ink); }
.btn-center { text-align: center; margin-top: 48px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 26px 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand img { height: 34px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav a {
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  padding: 0 16px;
  position: relative;
  opacity: .92;
}
.main-nav a + a::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  height: 13px; width: 1px;
  background: rgba(255,255,255,.35);
  transform: translateY(-50%);
}
.main-nav a:hover { opacity: 1; color: var(--turq); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--muted);
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.site-footer .container {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-footer .copy { font-size: 13px; line-height: 1.7; }
.footer-right { display: flex; align-items: center; gap: 22px; }
.footer-right img.flogo { height: 26px; width: auto; opacity: .95; }
.footer-social {
  width: 30px; height: 30px; border-radius: 5px;
  background: #fff; color: var(--ink);
  display: grid; place-items: center;
}
.footer-social svg { width: 16px; height: 16px; fill: var(--ink); }

/* ============================================================
   HOME HERO (dark)
   ============================================================ */
.hero {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  padding: 190px 0 150px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 57% 100%, 50% 89%, 43% 100%, 0 100%);
}
.hero h1 {
  font-family: var(--display);
  font-size: 58px;
  line-height: 1.06;
  letter-spacing: .5px;
  text-transform: uppercase;
  max-width: 780px;
  margin: 0 auto 26px;
}
.hero .lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto 34px;
  font-weight: 500;
}

/* ============================================================
   OUR WORK — product cards (home)
   ============================================================ */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.work-card { text-align: center; }
.work-card .shot {
  height: 250px;
  display: flex; align-items: flex-end; justify-content: center;
  margin-bottom: 22px;
}
.work-card .shot img { max-height: 250px; width: auto; }
.work-card h3 { font-family: var(--display); font-size: 19px; margin-bottom: 12px; }
.work-card p { font-size: 14px; color: #4a4a4a; margin-bottom: 22px; }

/* ============================================================
   OUR SERVICES — cards (home, dark)
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.service-card {
  border: 1px solid rgba(64,224,208,.35);
  border-radius: 8px;
  padding: 30px 32px;
  background: rgba(64,224,208,.03);
}
.service-card img { width: 46px; height: 46px; margin-bottom: 16px; object-fit: contain; }
.service-card h3 { color: var(--turq); font-size: 18px; font-weight: 700; margin-bottom: 12px; font-family: var(--body); }
.service-card p { color: var(--muted); font-size: 13.5px; margin: 0; line-height: 1.62; }

/* ============================================================
   OUR PROCESS (home, light)
   ============================================================ */
.process-intro {
  max-width: 720px; margin: 0 auto 60px; text-align: center;
  font-size: 16px; color: #333;
}
.process-steps {
  display: flex; justify-content: center; align-items: flex-start;
  flex-wrap: wrap; gap: 20px 34px;
}
.p-step { width: 150px; text-align: center; }
.p-blob {
  width: 132px; height: 132px; margin: 0 auto 14px;
  background: #d9f6f1;
  border-radius: 46% 54% 49% 51% / 54% 47% 53% 46%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative;
}
.p-blob .num {
  position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff; font-family: var(--display);
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px;
}
.p-blob img { width: 52px; height: 52px; object-fit: contain; }
.p-step .label { font-weight: 700; font-size: 14px; }

/* ============================================================
   PARTNERSHIPS (home, dark)
   ============================================================ */
.partner-wrap { max-width: 720px; margin: 0 auto; text-align: center; }
.partner-wrap img.puzzle { width: 70px; height: 70px; margin: 0 auto 26px; object-fit: contain; }
.partner-wrap p { color: var(--muted); font-size: 15.5px; }

/* ============================================================
   TESTIMONIALS (home, grey)
   ============================================================ */
.testi-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  align-items: stretch;
}
.testi-card {
  background: #fff; border-radius: 8px; padding: 34px 28px;
  display: flex; flex-direction: column;
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
}
.testi-card .quote { font-weight: 700; font-size: 18px; line-height: 1.35; margin-bottom: 16px; }
.testi-card .body { font-size: 13.5px; color: #555; flex: 1; }
.testi-card .who { font-weight: 700; font-size: 14px; margin-top: 18px; }
.testi-card .role { font-size: 12.5px; color: var(--muted-2); }
.testi-card .stars { height: 26px; margin-top: 16px; }
.testi-card .stars img { height: 26px; width: auto; }
.testi-wrap { display: flex; align-items: center; gap: 18px; }
.testi-arrow {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid #bbb; background: #fff; color: #666;
  display: grid; place-items: center; font-size: 16px; cursor: pointer;
}
.testi-wrap .testi-row { flex: 1; }

/* ============================================================
   MEET THE TEAM (home, dark)
   ============================================================ */
.team-intro { max-width: 760px; margin: 0 auto 12px; text-align: center; color: var(--muted); font-size: 15.5px; }
.team-label { text-align: center; font-family: var(--body); font-weight: 700; letter-spacing: 2px; font-size: 13px; color: #fff; margin: 30px 0 40px; }
.team-row { display: flex; justify-content: center; gap: 90px; }
.member { text-align: center; }
.member img.avatar { width: 118px; height: 118px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; }
.member .name { font-weight: 700; font-size: 17px; }
.member .title { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.member .loc { color: var(--muted-2); font-size: 12.5px; margin-top: 2px; }
.member .li { margin-top: 12px; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 5px; background:#fff; }
.member .li svg { width: 15px; height: 15px; fill: var(--ink); }

/* ============================================================
   CONTACT (home, dark)
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
.contact-intro { color: var(--muted); font-size: 15.5px; margin-bottom: 26px; }
.contact-map { border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.contact-map img { width: 100%; height: 100%; object-fit: cover; }
.form-field { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field label { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 7px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; background: #2c2b2b; border: 1px solid #3a3939; color: #fff;
  border-radius: 5px; padding: 12px 13px; font-family: var(--body); font-size: 14px;
}
.form-field textarea { min-height: 110px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--turq);
}

/* ============================================================
   BRAND HERO (product + gallery pages)
   ============================================================ */
.brand-hero {
  color: #fff; text-align: center;
  padding: 150px 0 120px;
  position: relative; overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 60% 100%, 50% 88%, 40% 100%, 0 100%);
}
.brand-hero::before, .brand-hero::after {
  content: ""; position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.10); pointer-events: none;
}
.brand-hero::before { width: 340px; height: 340px; left: -120px; top: -40px; }
.brand-hero::after  { width: 300px; height: 300px; right: -110px; top: 40px; }
.brand-hero .eyebrow {
  font-family: var(--display); letter-spacing: 4px; font-size: 15px; margin-bottom: 18px;
}
.brand-hero h1 {
  font-family: var(--display); font-size: 60px; letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 26px;
}
.brand-hero .glyph { height: 66px; margin: 0 auto; width: auto; }
.brand-hero .audio-dot {
  position: absolute; top: 50%; right: 40px; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,.25);
  display: grid; place-items: center; color: #fff;
}
.brand-hero .audio-dot span { width: 3px; height: 13px; background:#fff; margin:0 1.5px; display:inline-block; }

.hero-urs { background: radial-gradient(circle at 20% 30%, var(--urs-a), var(--urs-b)); }
.hero-tnt { background: radial-gradient(circle at 20% 30%, var(--tnt-a), var(--tnt-b)); }
.hero-ss  { background: radial-gradient(circle at 20% 30%, var(--ss-a),  var(--ss-b)); }

/* phone banner under brand hero */
.usecase-banner { text-align: center; padding: 70px 0 30px; }
.usecase-banner img { max-height: 360px; width: auto; margin: 0 auto; }

/* ============================================================
   CASE STUDY CARDS (product pages)
   ============================================================ */
.cs-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  align-items: start; max-width: 900px; margin: 40px auto 0;
}
.cs-card {
  border: 2px dashed; border-radius: 12px; padding: 22px 22px;
}
.cs-card h3 { font-family: var(--display); font-size: 17px; margin-bottom: 12px; }
.cs-card p { font-size: 13.5px; color: #333; margin: 0; line-height: 1.6; }
.cs-card p + p { margin-top: 12px; }
/* middle column tall card spans two rows */
.cs-card--tall { grid-row: span 2; }

.cs-urs .cs-card { border-color: #b9acf7; background: #efeafe; }
.cs-tnt .cs-card { border-color: #a9d4f4; background: #e7f3fd; }
.cs-ss  .cs-card { border-color: #a6e6d5; background: #e6faf4; }

/* ============================================================
   WHAT WE BUILT (product pages, light)
   ============================================================ */
.built-title { font-family: var(--display); text-transform: uppercase; text-align: center; letter-spacing: 1px; font-size: 26px; margin-bottom: 50px; }
.built-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px 40px; }
.built-item { text-align: center; }
.built-item img { width: 48px; height: 48px; object-fit: contain; margin: 0 auto 16px; }
.built-item h4 { font-weight: 700; font-size: 16px; margin-bottom: 10px; }
.built-item p { font-size: 13px; color: #555; margin: 0; line-height: 1.6; }

/* dashboard screenshot */
.dashboard-shot { max-width: 760px; margin: 20px auto 0; }
.dashboard-shot img { width: 100%; border-radius: 10px; box-shadow: 0 20px 50px rgba(0,0,0,.18); }

/* ============================================================
   GALLERY (-ss pages)
   ============================================================ */
.gallery {
  column-count: 4; column-gap: 18px;
  max-width: 1120px; margin: 60px auto 0; padding: 0 32px;
}
.gallery img {
  width: 100%; margin-bottom: 18px; border-radius: 8px;
  break-inside: avoid; box-shadow: 0 8px 22px rgba(0,0,0,.08);
  background: #f2f2f2;
}

@media (max-width: 1000px) {
  .work-grid, .services-grid, .testi-row, .built-grid, .cs-cards { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery { column-count: 2; }
}
