/* ============================================================
   GLOBAL RESET
   Removes default spacing and sizing quirks that browsers add.
   You don't need to touch this.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }


/* ============================================================
   DESIGN TOKENS — your site's core values in one place.
   Change a value here and it updates everywhere on the site.
   ============================================================ */
:root {
  --white:   #FFFFFF; /* EDIT THIS — main background colour */
  --black:   #000000; /* EDIT THIS — main text colour */
  --gray:    #767676; /* EDIT THIS — used for muted/hover text */
  --surface: #F4F4F0; /* EDIT THIS — light off-white for card backgrounds */
  --radius:  16px;    /* EDIT THIS — corner roundness used on most cards */
  --max:     1200px;  /* EDIT THIS — maximum page width */
  --gap:     12px;    /* EDIT THIS — spacing between grid cards */
}


/* ============================================================
   BASE STYLES
   Sets the default look for the whole page.
   ============================================================ */

/* Smooth scrolling when clicking anchor links (e.g. "Work", "About") */
html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--black);
  font-family: 'Inter', Helvetica, sans-serif; /* EDIT THIS — body text font */
  font-size: 16px;   /* EDIT THIS — base text size, everything else scales from this */
  line-height: 1.6;  /* EDIT THIS — spacing between lines of text */
  -webkit-font-smoothing: antialiased; /* makes text look crisper on Mac */
}


/* ============================================================
   TYPOGRAPHY
   Everything that uses the display/heading font (Darker Grotesque).
   Body text stays in Inter (set above).
   ============================================================ */
h1, h2, h3, h4,
.logo, nav a,
.service-name, .service-price,
.section-label, .section-heading,
.text-btn, .bento-label, .detail-value,
.contact-link, .mobile-menu a {
  font-family: 'Darker Grotesque', sans-serif; /* EDIT THIS — heading font */
}

/* The big hero headline */
h1 {
  font-size: clamp(3.2rem, 8vw, 7rem); /* EDIT THIS — min size, scales with screen, max size */
  font-weight: 700;
  line-height: 0.95;      /* tighter than normal for big headings */
  letter-spacing: -0.03em; /* slightly squished together for a bold look */
}


/* ============================================================
   LAYOUT HELPERS
   .container centres content and limits its width.
   ============================================================ */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px; /* EDIT THIS — left/right breathing room on large screens */
}

/* Default top/bottom padding for every section */
section { padding: 80px 0; } /* EDIT THIS — vertical space between sections */


/* ============================================================
   NAVIGATION BAR
   Sticks to the top of the screen as you scroll.
   ============================================================ */
nav {
  position: sticky;
  top: 0;
  z-index: 100; /* sits on top of everything else */
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.08); /* EDIT THIS — subtle divider line */
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px; /* EDIT THIS — how tall the nav bar is */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Your name/logo on the left */
.logo {
  font-size: 32px;       /* EDIT THIS — logo text size */
  font-weight: 800;
  letter-spacing: -0.07em;
  color: var(--black);
  text-decoration: none;
  line-height: 1;
  display: flex;
  align-items: center;
  transform: translateY(-4px); /* tiny visual nudge to optically centre it */
}

/* The list of nav links (Work, Services, About, Get in touch) */
.nav-links {
  display: flex;
  gap: 32px; /* EDIT THIS — space between nav links */
  list-style: none;
  align-items: center;
}

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-links a {
  font-size: 15px;   /* EDIT THIS — nav link text size */
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.2s; /* EDIT THIS — hover fade speed */
}

/* Nav links dim slightly on hover */
.nav-links a:hover { opacity: 0.55; } /* EDIT THIS — how dim on hover (0 = invisible, 1 = full) */

/* The "Get in touch" arrow button inside the nav */
.nav-links .text-btn {
  opacity: 1;
  max-width: none;
  flex-wrap: nowrap;
  align-items: center;
  column-gap: 4px;
}

/* Fine-tune arrow position in the nav button */
.nav-links .text-btn .text-btn-arrow {
  position: relative;
  top: 2px;
}

/* Fine-tune arrow position for downward-pointing buttons */
.text-btn-down .text-btn-arrow {
  position: relative;
  top: 3px;
}


/* ============================================================
   HAMBURGER MENU (mobile only — hidden on desktop)
   The three-line icon that opens the mobile nav.
   ============================================================ */
.hamburger {
  display: none; /* hidden until mobile breakpoint turns it on */
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

/* Each line of the hamburger icon */
.hamburger span {
  display: block;
  width: 22px;  /* EDIT THIS — line width */
  height: 2px;  /* EDIT THIS — line thickness */
  background: var(--black);
  border-radius: 2px;
  transition: all 0.25s; /* EDIT THIS — animation speed when toggling */
}

/* The slide-down menu panel on mobile */
.mobile-menu {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 0;
  max-height: 0;    /* collapsed by default */
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease; /* EDIT THIS — open/close speed */
}

.mobile-menu a {
  font-size: 18px;   /* EDIT THIS — mobile menu link size */
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
  padding: 10px 24px; /* EDIT THIS — tap area padding */
  opacity: 0.7;
}

.mobile-menu a:hover { opacity: 1; }

/* When the menu is open (JS adds the "open" class) */
.mobile-menu.open {
  max-height: 320px; /* EDIT THIS — tall enough to show all links */
  opacity: 1;
  padding: 8px 0 16px;
}

/* Hamburger animates into an X when the menu is open */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================================
   HERO ENTRANCE ANIMATIONS
   When the page loads, the headline appears word-by-word
   (Stage 1), then everything else fades in together (Stage 2).
   ============================================================ */

/* Stage 1: each headline word drops in from slightly above, blurry → sharp */
@keyframes word-reveal {
  from { opacity: 0; filter: blur(8px); transform: translateY(10px); } /* EDIT THIS — starting blur and drop distance */
  to   { opacity: 1; filter: blur(0);   transform: translateY(0); }
}

/* Stage 2: most elements — fade in from blurry to sharp at full opacity */
@keyframes stage-2-reveal {
  from { opacity: 0;    filter: blur(6px); } /* EDIT THIS — starting blur amount */
  to   { opacity: 1;    filter: blur(0); }
}

/* Stage 2: subheading — same blur fade but lands at reduced opacity so it looks dimmer */
@keyframes sub-reveal {
  from { opacity: 0;    filter: blur(6px); }
  to   { opacity: 0.55; filter: blur(0); } /* EDIT THIS — final subheading opacity */
}

/* Stage 1 — each word animates in one after the other */
/* --i is set on each <span> in the HTML (0, 1, 2 … 6) */
.hero-text h1 .word {
  display: inline-block;
  animation: word-reveal 0.5s ease-out both; /* EDIT THIS — duration of each word */
  animation-delay: calc(var(--i) * 80ms);    /* EDIT THIS — gap between each word (80ms) */
}

/* Stage 2 — nav, buttons, subheading, guarantees strip, and work section
   all appear at the same time, 100ms after the last headline word finishes
   Maths: last word starts at 6 × 80ms = 480ms, takes 500ms → done at 980ms, +100ms = 1080ms */
nav,
.hero-ctas,
.hero-text .sub,
.guarantees,
#work {
  animation: stage-2-reveal 0.6s ease-out both; /* EDIT THIS — duration of stage 2 fade */
  animation-delay: 1080ms; /* EDIT THIS — when stage 2 starts (must match the maths above) */
}

/* The subheading uses its own keyframe (sub-reveal) so it fades to 0.55 opacity instead of 1.
   Everything else from the group above gets overridden here for the sub only. */
.hero-text .sub { animation-name: sub-reveal; }

/* Accessibility: if the user has "reduce motion" turned on in their OS,
   skip all entrance animations and just show everything immediately */
@media (prefers-reduced-motion: reduce) {
  .hero-text h1 .word,
  nav,
  .hero-ctas,
  .hero-text .sub,
  .guarantees,
  #work { animation: none; }
}


/* ============================================================
   HERO SECTION
   The first thing visitors see — headline, subheading, buttons.
   ============================================================ */
.hero { padding: 72px 0 48px; } /* EDIT THIS — top/bottom space around the hero */

/* Centres everything inside the hero */
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Makes the text block span the full width so buttons align with the trust strip below */
.hero-text { width: 100%; }

.hero-text .sub { margin-left: auto; margin-right: auto; }

.hero-ctas { justify-content: center; }

/* The paragraph under the headline */
.hero-text .sub {
  font-size: 20px;    /* EDIT THIS — subheading text size */
  opacity: 0.55;      /* EDIT THIS — how dim the subheading is (0 = invisible, 1 = full) */
  margin-top: 64px;   /* EDIT THIS — gap between headline and subheading */
  max-width: 940px;   /* EDIT THIS — keeps the subheading from stretching too wide */
}

/* Browser window mockup (not currently used but kept for future use) */
.browser-chrome {
  background: var(--white);
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: 12px;
  overflow: hidden;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* The three coloured dots in the browser bar */
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.r { background: #ff5f57; } /* red */
.dot.y { background: #febc2e; } /* yellow */
.dot.g { background: #28c840; } /* green */

.hero-canvas {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--surface);
}

/* The "Featured projects ↓" and "Get in touch ↗" buttons row */
.hero-ctas {
  display: flex;
  gap: 160px;      /* EDIT THIS — space between the two hero buttons */
  margin-top: 64px; /* EDIT THIS — gap between subheading and buttons */
  flex-wrap: wrap;
  align-items: flex-start;
}

/* Shared style for all arrow text buttons (used in hero and nav) */
.text-btn {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: flex-start;
  column-gap: 8px;
  row-gap: 0;
  text-decoration: none;
  text-align: left;
  color: var(--black);
  font-weight: 800;
  font-size: 1.5rem; /* EDIT THIS — button text size */
  line-height: 1.1;
  cursor: pointer;
  max-width: 180px;
  transition: color 0.2s ease; /* EDIT THIS — hover colour change speed */
}

/* Buttons go grey on hover */
.text-btn:hover { color: var(--gray); }
.text-btn:hover svg path { stroke: var(--gray); }

/* The arrow icon inside buttons */
.text-btn-arrow {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1),
              opacity  0.35s ease; /* EDIT THIS — arrow slide speed on hover-out */
}

/* Arrow animates downward (exit bottom, re-enter top) on hover */
@keyframes arrow-down {
  0%   { transform: translateY(0);    opacity: 1; }
  45%  { transform: translateY(60%);  opacity: 0; } /* EDIT THIS — how far it travels */
  46%  { transform: translateY(-60%); opacity: 0; }
  100% { transform: translateY(0);    opacity: 1; }
}

/* Arrow animates diagonally up-right on hover */
@keyframes arrow-up {
  0%   { transform: translate(0,0);      opacity: 1; }
  45%  { transform: translate(30%,-30%); opacity: 0; } /* EDIT THIS — travel distance */
  46%  { transform: translate(-30%,30%); opacity: 0; }
  100% { transform: translate(0,0);      opacity: 1; }
}


/* ============================================================
   SECTION LABELS & HEADINGS
   The small uppercase labels ("FEATURED WORK", "SERVICES")
   and the larger section titles beneath them.
   ============================================================ */
.section-label {
  font-size: 13px;        /* EDIT THIS — label text size */
  font-weight: 700;
  letter-spacing: 0.12em; /* EDIT THIS — spread between letters */
  text-transform: uppercase;
  opacity: 0.4;           /* EDIT THIS — how dim the label is */
  margin-bottom: 10px;
}

.section-heading {
  font-size: clamp(1.6rem, 3vw, 2.2rem); /* EDIT THIS — min, responsive, max size */
  font-weight: 800;
  letter-spacing: -0.02em;
}


/* ============================================================
   WORK / BENTO GRID (Recent Projects)
   The card grid showing the portfolio animations.
   ============================================================ */
#work { padding-top: 40px; }

.work-header { margin-bottom: 32px; } /* EDIT THIS — space between heading and grid */

/* Two equal columns on desktop */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

/* The left column holds two stacked cards (logo + cart) */
.bento-left-col {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: var(--gap);
  aspect-ratio: 1 / 1; /* keeps the column square */
}

/* Square aspect ratios for individual cards */
.bento-chatbot      { aspect-ratio: 1 / 1; }
.bento-reviews      { aspect-ratio: 1 / 1; }
.bento-upload       { aspect-ratio: 1 / 1; }
.bento-integrations { grid-column: 1 / -1; aspect-ratio: 2 / 1; } /* full width, wide card */

/* Shared card styles */
.bento-item {
  border-radius: var(--radius); /* EDIT THIS — card corner roundness (change --radius at the top) */
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* The canvas (animation) fills its card */
.bento-item .bento-canvas {
  flex: 1;
  min-height: 0;
  display: block;
}

.bento-canvas {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 160px;
}

/* Individual card background colours and canvas sizing */
.bento-logo         { background: #08090A; align-items: center; justify-content: center; } /* EDIT THIS — logo card background */
.bento-logo         .bento-canvas { background: transparent; flex: none; width: 70%; height: 70%; } /* EDIT THIS — logo animation size within card */
.bento-todolist     { background: #0D0D0D; align-items: center; justify-content: center; } /* EDIT THIS — cart card background */
.bento-todolist     .bento-canvas { background: transparent; flex: none; width: 80%; height: 80%; } /* EDIT THIS — cart animation size within card */
.bento-chatbot      .bento-canvas { background: var(--surface); }  /* EDIT THIS — chatbot card background */
.bento-reviews      .bento-canvas { background: #f0f0f0; }         /* EDIT THIS — reviews card background */
.bento-upload       .bento-canvas { background: #DFE9FC; }         /* EDIT THIS — upload card background */
.bento-integrations .bento-canvas { background: #0D0D0D; }         /* EDIT THIS — integrations card background */

/* The pill label at the bottom-left of each card ("Logo animation • Concept work" etc.) */
.bento-label {
  position: absolute;
  bottom: 14px; /* EDIT THIS — distance from the bottom edge */
  left: 14px;   /* EDIT THIS — distance from the left edge */
  z-index: 2;
  font-size: 18px; /* EDIT THIS — label text size */
  font-weight: 700;
  backdrop-filter: blur(6px); /* frosted glass effect behind the label */
  padding: 6px 12px 8px;
  border-radius: 100px; /* pill shape */
  line-height: 1;
  background: rgba(255,255,255,0.88); /* EDIT THIS — label background (white at 88% opacity) */
  color: var(--black);
  letter-spacing: -0.01em;
}


/* ============================================================
   FINTECH CASE STUDY SECTION
   The bento grid of fintech animations (wallet, invoice,
   transfer, analytics, tracker).
   ============================================================ */
#fintech { padding: 0 0 80px; } /* EDIT THIS — bottom padding for the section */

.fintech-header { margin-bottom: 32px; }

.fintech-header .sub {
  margin-top: 8px;
  opacity: 0.55; /* EDIT THIS — subheading opacity */
  font-size: 16px;
  max-width: 520px;
}

/* Desktop grid layout: 3 columns (narrower | narrower | wider), 2 rows */
.fintech-grid {
  display: grid;
  grid-template-columns: 310fr 310fr 420fr; /* EDIT THIS — relative column widths */
  grid-template-rows: 372px 320px;          /* EDIT THIS — row heights in pixels */
  gap: var(--gap);
}

/* Which cell each card lives in */
.ft-wallet    { grid-column: 1;     grid-row: 1; }
.ft-invoice   { grid-column: 2;     grid-row: 1; }
.ft-transfer  { grid-column: 3;     grid-row: 1; }
.ft-analytics { grid-column: 1 / 3; grid-row: 2; } /* spans the first two columns */
.ft-tracker   { grid-column: 3;     grid-row: 2; }

/* Shared card style for fintech cards */
.ft-item {
  border-radius: 36px;  /* EDIT THIS — fintech card corner roundness (larger than bento to avoid double-corner effect) */
  overflow: hidden;
  position: relative;
  outline: 1px solid rgba(0,0,0,0.07); /* EDIT THIS — subtle border around each card */
}

/* The canvas fills its fintech card */
.ft-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* All fintech canvases are transparent — the animation provides its own background */
.ft-wallet   .ft-canvas { background: transparent; }
.ft-invoice  .ft-canvas { background: transparent; }
.ft-transfer .ft-canvas { background: transparent; }
.ft-analytics .ft-canvas { background: transparent; }
.ft-tracker  .ft-canvas { background: transparent; }


/* ============================================================
   SERVICES SECTION
   Pricing cards grid.
   ============================================================ */
#services {
  border-top: 1px solid rgba(0,0,0,0.08); /* divider line above the section */
}

.services-header { margin-bottom: 40px; }

/* 6-column grid: first 3 cards each take 2 columns, last 2 each take 3 */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px; /* EDIT THIS — space between service cards */
}

.services-grid .service-card { grid-column: span 2; }
/* The 4th and 5th cards are wider (span 3 columns instead of 2) */
.services-grid .service-card:nth-child(4),
.services-grid .service-card:nth-child(5) { grid-column: span 3; }

.service-card {
  border: 1.5px solid rgba(0,0,0,0.1); /* EDIT THIS — card border colour */
  border-radius: var(--radius);
  padding: 28px 24px; /* EDIT THIS — space inside each card */
  transition: border-color 0.2s;
}

/* Card border goes black on hover */
.service-card:hover { border-color: var(--black); }

/* The price ($200, $400 etc.) */
.service-price {
  font-size: 2rem;   /* EDIT THIS — price text size */
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

/* The service name (Logo Animation, Features Cards etc.) */
.service-name {
  font-size: 1.3rem; /* EDIT THIS — service name text size */
  font-weight: 700;
  margin-bottom: 10px;
  opacity: 0.9;
}

/* The description paragraph under the service name */
.service-desc {
  font-size: 14px;  /* EDIT THIS — description text size */
  opacity: 0.55;    /* EDIT THIS — how dim the description is */
  line-height: 1.55;
}


/* ============================================================
   TRUST / GUARANTEES STRIP
   The row of icons + text that appears between services
   and recent projects (Fast turnaround, Fixed pricing, etc.)
   ============================================================ */
.guarantees {
  display: flex;
  justify-content: center;
  gap: 160px;        /* EDIT THIS — space between each guarantee item */
  padding: 40px 24px; /* EDIT THIS — top/bottom breathing room */
  position: relative;
  left: -20px; /* slight leftward nudge for visual alignment on desktop */
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.guarantee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px; /* EDIT THIS — space between icon and text */
  font-family: 'Darker Grotesque', sans-serif;
  font-size: 1.3rem; /* EDIT THIS — guarantee text size */
  font-weight: 700;
  color: var(--black);
}

.guarantee-item svg {
  flex-shrink: 0;
  position: relative;
  top: 2px; /* nudges the icon down slightly to optically align with the text */
}


/* ============================================================
   ABOUT SECTION
   Two-column layout: bio text on the left, details on the right.
   ============================================================ */
#about {
  border-top: 1px solid rgba(0,0,0,0.08);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr; /* equal columns */
  gap: 80px; /* EDIT THIS — space between the two about columns */
  align-items: start;
}

.about-text h2 {
  font-family: 'Darker Grotesque', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem); /* EDIT THIS — about heading size */
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.about-text p {
  font-size: 16px;  /* EDIT THIS — about paragraph text size */
  opacity: 0.7;     /* EDIT THIS — paragraph dimness */
  line-height: 1.7;
}

.about-text p + p { margin-top: 10px; }

/* The underlined email link in the about section */
.contact-link {
  display: inline-block;
  margin-top: 28px;  /* EDIT THIS — space above the email link */
  font-size: 1.3rem; /* EDIT THIS — email link text size */
  font-weight: 800;
  color: var(--black);
  text-decoration: none;
  border-bottom: 2px solid var(--black); /* EDIT THIS — underline thickness */
  padding-bottom: 2px;
  letter-spacing: -0.02em;
  transition: opacity 0.2s;
}

.contact-link:hover { opacity: 0.45; } /* EDIT THIS — how much it dims on hover */

/* The right column: rows of details (availability, location, etc.) */
.about-details {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 4px;
}

.detail-row {
  border-top: 1px solid rgba(0,0,0,0.1);
  padding: 18px 0; /* EDIT THIS — height of each detail row */
}

/* Small uppercase label above each detail (e.g. "AVAILABILITY") */
.detail-label {
  font-size: 12px; /* EDIT THIS — label text size */
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.4;    /* EDIT THIS — label dimness */
  margin-bottom: 5px;
}

/* The actual value below the label (e.g. "Open to projects") */
.detail-value {
  font-size: 1.05rem; /* EDIT THIS — detail value text size */
  font-weight: 700;
}

.detail-value.availability {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* The green dot next to availability status */
.avail-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e; /* EDIT THIS — dot colour (green = available) */
  flex-shrink: 0;
  transform: translateY(2px);
}

/* Links inside detail rows (e.g. email, website) */
.detail-value a {
  color: var(--black);
  text-decoration: none;
  border-bottom: 1.5px solid var(--black);
}

/* Social media icon links row */
.social-links {
  display: flex;
  gap: 16px; /* EDIT THIS — space between social icons */
  align-items: center;
  margin-top: 8px;
}

.social-link {
  color: var(--black);
  border-bottom: none !important;
  opacity: 0.7; /* EDIT THIS — icon opacity at rest */
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
}

.social-link:hover { opacity: 1; }


/* ============================================================
   FOOTER
   The bottom bar with copyright and email.
   ============================================================ */
footer {
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 32px 0; /* EDIT THIS — footer top/bottom padding */
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-inner p {
  font-size: 13px; /* EDIT THIS — footer text size */
  opacity: 0.4;    /* EDIT THIS — footer text dimness */
}


/* ============================================================
   MOBILE STYLES  (screens 768px wide and below)
   These rules override the desktop styles above.
   ============================================================ */
@media (max-width: 768px) { /* EDIT THIS — the pixel width where mobile kicks in */

  /* Disable touch events on animations so you can scroll past them on mobile */
  .bento-canvas, .ft-canvas { pointer-events: none; }

  /* Less vertical padding between sections on mobile */
  section { padding: 56px 0; } /* EDIT THIS — mobile section padding */

  /* Show hamburger, hide desktop nav links */
  .hamburger { display: flex; }
  .nav-links  { display: none; }

  .hero { padding: 48px 0 32px; } /* EDIT THIS — mobile hero padding */

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

  /* Bento grid: switch from 2-column grid to a single vertical stack */
  .bento-grid {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
  }

  .bento-left-col {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    aspect-ratio: unset; /* remove the square constraint */
  }

  /* Each bento card becomes square on mobile */
  .bento-item { aspect-ratio: 1 / 1; width: 100%; }
  .bento-integrations { aspect-ratio: 1 / 1; }

  /* Fintech grid: switch from desktop grid to a vertical stack */
  .fintech-grid {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
  }

  /* Remove the subtle border on fintech cards on mobile (looks doubled with animation borders) */
  .ft-item { outline: none; }

  /* Aspect ratios for each fintech card when stacked vertically */
  /* These are based on the original animation dimensions */
  .ft-wallet    { aspect-ratio: 310 / 340; } /* EDIT THIS — wallet card proportions on mobile */
  .ft-invoice   { aspect-ratio: 310 / 340; } /* EDIT THIS — invoice card proportions on mobile */
  .ft-transfer  { aspect-ratio: 420 / 420; } /* EDIT THIS — transfer card proportions on mobile */
  .ft-analytics { aspect-ratio: 660 / 340; } /* EDIT THIS — analytics card proportions on mobile */
  .ft-tracker   { aspect-ratio: 4 / 3; }     /* EDIT THIS — tracker card proportions on mobile */

  /* Guarantees strip: stack vertically and re-centre (cancel the desktop leftward nudge) */
  .guarantees { flex-direction: column; gap: 20px; left: 0; }
  .guarantee-item { justify-content: flex-start; }

  /* Hero buttons: sit side by side with less gap */
  .hero-ctas { flex-wrap: nowrap; gap: 24px; } /* EDIT THIS — mobile gap between hero buttons */
  .text-btn { max-width: none; }

  /* Services: one card per row instead of the desktop grid */
  .services-grid { grid-template-columns: 1fr; }

  /* About: stack bio and details vertically */
  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px; /* EDIT THIS — mobile gap between about text and details */
  }

  /* Footer: stack the two items and centre them */
  .footer-inner {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}


/* ============================================================
   TABLET STYLES  (769px – 1024px wide)
   Tablets get a 2-column services grid instead of 3.
   ============================================================ */
@media (min-width: 769px) and (max-width: 1024px) { /* EDIT THIS — tablet breakpoints */
  .services-grid .service-card { grid-column: span 3; }
  .services-grid .service-card:nth-child(4),
  .services-grid .service-card:nth-child(5) { grid-column: span 3; }
}
