/* ================================================================
   Pollaro Technology Group — Main Stylesheet
   ================================================================
   QUICK REFERENCE — common changes:
     Colors ............. edit the :root custom properties below
     Section padding .... change --section-pad in :root
     Max page width ..... change --max-w in :root
     Hero image ......... search for "datacenter-networks.jpg"
     Portfolio image .... search for "coding-screen.jpg"
     Headshot size ...... search for .founder-avatar
   ================================================================ */

:root {
  /* ── Brand Colors ──────────────────────────────────────────────
     --blue       : deep navy, used for primary buttons and borders
     --blue-mid   : mid royal blue, used for accents and active states
     --blue-light : lighter blue, used for labels and icon colors     */
  --blue:         #003DA5;
  --blue-mid:     #3D71D9;
  --blue-light:   #5B8FE8;
  --black:        #0A0A0A;
  --white:        #FFFFFF;

  /* ── UI Surfaces ──────────────────────────────────────────────
     Three levels of dark background surfaces for visual depth:
     surface-1 = darkest (page base), surface-2 = slightly lighter cards,
     surface-3 = lightest card surface. border/border-light = divider lines. */
  --surface-1:    #0A0A0A;
  --surface-2:    #111827;
  --surface-3:    #1F2937;
  --border:       #1F2937;
  --border-light: #374151;

  /* ── Text ─────────────────────────────────────────────────────
     Three levels of text opacity: full white, muted gray, dim gray.
     Use text-muted for body copy, text-dim for labels and captions. */
  --text:         #FFFFFF;
  --text-muted:   #9CA3AF;
  --text-dim:     #6B7280;

  /* ── Layout ───────────────────────────────────────────────────
     --nav-h is used throughout the page to offset content below the
     fixed nav bar. Change it here if nav height ever changes. */
  --font:         'Montserrat', Arial, sans-serif;
  --max-w:        1120px;
  --section-pad:  100px 0;
  --radius:       10px;
  --nav-h:        68px;
}

/* ── Reset ── */
/* Remove browser default margins/padding; use border-box so padding doesn't add to element width */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--surface-1);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
/* Ensure form elements use the same font as the rest of the page */
input, textarea, button { font-family: var(--font); }

/* ── Container ── */
/* Centers content and caps max width on large screens; 32px side padding prevents edge contact */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Section headers ── */
/* Consistent vertical spacing for all sections */
section { padding: var(--section-pad); }

/* Small uppercase label above section titles (e.g. "What We Do") */
.section-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
/* The decorative horizontal line that appears before each eyebrow label */
.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue-mid);
  border-radius: 2px;
}

/* clamp() lets the title scale fluidly between viewport widths without breakpoints */
.section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 14px;
}
/* Subtitle / lead paragraph under section titles */
.section-sub {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.75;
}

/* ── Buttons ── */
/* Base button styles shared by all button variants */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, transform 0.18s, border-color 0.18s;
  text-decoration: none;
}
/* Slight lift on hover gives tactile feedback */
.btn:hover { transform: translateY(-2px); }

/* Solid blue — primary call to action */
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: #0047C2; }

/* Transparent with border — secondary action */
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border-light);
}
.btn-outline:hover { border-color: #4B5563; background: rgba(255,255,255,0.04); }


/* ================================================================
   NAVIGATION
   ================================================================ */

/* Fixed top nav bar — starts transparent, gains blur/background on scroll
   (the .scrolled class is added by JavaScript when user scrolls past 20px) */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  transition: background 0.25s, backdrop-filter 0.25s, border-color 0.25s;
  border-bottom: 1px solid transparent;
}
/* Applied by JS on scroll — adds frosted-glass effect */
.nav.scrolled {
  background: rgba(10,10,10,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

/* Logo lockup — chevron SVG + wordmark text */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}
.nav-chevron { flex-shrink: 0; }

/* "POLLARO" in large spaced caps */
.nav-wordmark-name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 3.5px;
  color: var(--white);
  line-height: 1;
}
/* "Technology Group" in small blue caps below the wordmark */
.nav-wordmark-sub {
  display: block;
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--blue-light);
  margin-top: 3px;
  text-transform: uppercase;
}

/* Desktop nav links — hidden on mobile, shown via hamburger instead */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.18s;
}
.nav-links a:hover { color: var(--white); }

/* "Contact Us" button in the nav — styled as a filled button */
.nav-links .nav-cta {
  padding: 8px 18px;
  background: var(--blue);
  color: var(--white);
  border-radius: 5px;
  letter-spacing: 1.5px;
  font-size: 10px;
}
.nav-links .nav-cta:hover { background: #0047C2; color: var(--white); }

/* Hamburger menu button — only visible on mobile (display:none by default, flex on small screens) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
/* Three horizontal bars of the hamburger icon */
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
/* When .open is toggled by JS, the bars animate into an X shape */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Full-screen mobile nav overlay — shown when hamburger is clicked */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;  /* fills viewport below the nav bar */
  background: rgba(10,10,10,0.98);
  z-index: 199;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
/* JS adds .open class to make the overlay visible */
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.18s;
}
.mobile-nav a:hover { color: var(--white); }


/* ================================================================
   HERO
   To change hero background image: update the url() path below.
   ================================================================ */

/* Full-viewport hero section — layered gradient over background photo.
   The gradient darkens the image so white text stays readable at all
   scroll positions. Adjust the rgba opacity values to make it lighter/darker. */
#home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* calc offsets the section so content isn't hidden behind the fixed nav */
  padding: calc(var(--nav-h) + 60px) 32px 80px;
  background:
    linear-gradient(180deg, rgba(5,12,30,0.82) 0%, rgba(10,10,10,0.60) 45%, rgba(10,10,10,0.88) 100%),
    url('../assets/images/datacenter-networks.jpg') center / cover no-repeat;
  position: relative;
}

/* "Available for Engagements" badge at the top of the hero */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-light);
  background: rgba(61,113,217,0.1);
  border: 1px solid rgba(61,113,217,0.22);
  border-radius: 100px;
  padding: 7px 18px;
  margin-bottom: 40px;
}
/* The small pulsing dot inside the availability badge */
.hero-badge-pulse {
  width: 6px; height: 6px;
  background: var(--blue-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Wrapper for the triple-chevron logo in the hero center */
.hero-logo-wrap { margin-bottom: 44px; }

/* Main headline — scales fluidly between mobile and desktop sizes */
.hero-headline {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--white);
  max-width: 780px;
  margin: 0 auto 20px;
}
/* .accent class colors a word in the headline blue (e.g. "Delivered.") */
.hero-headline .accent { color: var(--blue-mid); }

/* Subtitle paragraph below the headline */
.hero-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 48px;
  line-height: 1.75;
}

/* CTA button row — flex centers them and wraps on small screens */
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Decorative fading line at the bottom of the hero to blend into the next section */
.hero-bottom-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* ── Stats bar ── */
/* The four-column stat strip below the hero */
.stats-bar {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
/* CSS Grid with left border + each cell having a right border creates
   the "divided columns" look without any extra divider elements */
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--border);
}
.stat {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  text-align: center;
}
/* Large number (e.g. "20") */
.stat-num {
  font-size: 34px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
/* Superscript characters like "+" or "%" inside a stat number */
.stat-num sup { font-size: 18px; color: var(--blue-mid); }

/* Small label below the stat number (e.g. "Years Experience") */
.stat-lbl {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
}


/* ================================================================
   SERVICES
   ================================================================ */

#services { background: var(--surface-2); }
.services-head { margin-bottom: 52px; }

/* Flexbox (not CSS Grid) is used intentionally here so the last row
   auto-centers when there are fewer cards than columns. With CSS Grid
   the final card would stick to the left instead of centering. */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

/* Each card takes exactly 1/3 of the row minus gap; min-width prevents
   cards getting too narrow before the responsive breakpoint kicks in */
.svc-card {
  flex: 0 1 calc(33.333% - 12px);
  min-width: 260px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: border-color 0.2s, transform 0.2s;
}
.svc-card:hover { border-color: var(--blue-mid); transform: translateY(-3px); }

/* Icon container — small rounded square with a tinted background */
.svc-icon {
  width: 46px; height: 46px;
  background: rgba(0,61,165,0.14);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-light);
  margin-bottom: 20px;
}
/* Service title (e.g. "Cloud & Windows Infrastructure") */
.svc-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: 0.2px;
}
/* Short description paragraph on each service card */
.svc-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
/* Tag row at the bottom of each service card */
.svc-tags { display: flex; flex-wrap: wrap; gap: 5px; }

/* Individual technology tags (e.g. "AWS", "Terraform") */
.svc-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue-light);
  background: rgba(61,113,217,0.1);
  border: 1px solid rgba(61,113,217,0.18);
  padding: 3px 8px;
  border-radius: 3px;
}


/* ================================================================
   TEAM
   ================================================================ */

#team { background: var(--surface-1); }

/* Two-column layout: left = founder card, right = about pillars */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Left column — sticks in place while user scrolls through the pillars on the right.
   The offset (nav-h + 32px) keeps it from sliding under the fixed nav bar. */
.founder-card {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
}

/* Portrait photo container — intentionally taller than wide (200x260) to match
   the natural aspect ratio of a professional headshot. Using a square container
   would force awkward cropping of chin or forehead. */
.founder-avatar {
  width: 200px; height: 260px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 26px;
  overflow: hidden;
}
/* object-fit:cover fills the container without distorting the photo;
   object-position:center keeps the face centered in the frame */
.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Founder name heading */
.founder-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
/* Title label below the name (e.g. "Founder & Principal Consultant") */
.founder-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 18px;
}
/* Bio paragraph */
.founder-bio {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}
/* List of credential bullet points */
.founder-creds { display: flex; flex-direction: column; gap: 9px; margin-bottom: 26px; }

/* Individual credential row — icon dot + text */
.cred {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}
/* Small blue circle bullet before each credential line */
.cred-dot {
  width: 5px; height: 5px;
  background: var(--blue-mid);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px; /* aligns dot with first line of text, not the container top */
}
/* Row of social media icon buttons */
.founder-socials { display: flex; gap: 10px; }

/* Individual social icon button — square with rounded corners */
.social-icon {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim);
  transition: border-color 0.18s, color 0.18s;
}
.social-icon:hover { border-color: var(--blue-mid); color: var(--white); }

/* Right column — stacked "about" pillars */
.about-pillars { display: flex; flex-direction: column; gap: 20px; }

/* Each pillar card has a blue left-border accent to draw the eye */
.pillar {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
  padding: 24px 24px;
}
/* Pillar heading (e.g. "Regulated Industry Depth") */
.pillar-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}
/* Pillar body text */
.pillar-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.75;
}


/* ================================================================
   PORTFOLIO
   To change the background image: update the url() path below.
   ================================================================ */

/* Heavy dark gradient overlay keeps the coding image as mood/texture
   without competing with the white text content above it */
#portfolio {
  background:
    linear-gradient(rgba(17,24,39,0.93), rgba(17,24,39,0.95)),
    url('../assets/images/coding-screen.jpg') center / cover no-repeat;
}
.portfolio-head { margin-bottom: 48px; }

/* Dashed-border placeholder shown until real case study cards replace it */
.portfolio-shell {
  border: 1px dashed var(--border-light);
  border-radius: var(--radius);
  padding: 72px 40px 48px;
  text-align: center;
}
/* Icon in the center of the placeholder */
.portfolio-icon {
  width: 60px; height: 60px;
  background: rgba(61,113,217,0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  color: var(--blue-light);
}
.portfolio-shell h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.portfolio-shell p {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 420px;
  margin: 0 auto 36px;
  line-height: 1.75;
}
/* Grid of service category labels inside the portfolio placeholder */
.portfolio-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 640px;
  margin: 0 auto;
}
.portfolio-cat {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
}


/* ================================================================
   CONTACT
   ================================================================ */

#contact { background: var(--surface-1); }

/* Two-column layout: left = contact info/channels, right = form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info { padding-top: 4px; }

/* Stacked list of contact method cards (email, LinkedIn, location) */
.contact-channels { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }

/* Individual contact channel card */
.channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.18s;
}
.channel:hover { border-color: var(--blue-mid); }

/* Icon square on the left of each channel card */
.channel-icon {
  width: 38px; height: 38px;
  background: rgba(0,61,165,0.14);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--blue-light);
}
/* Small uppercase label above the channel value (e.g. "Email") */
.channel-lbl {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  display: block;
  margin-bottom: 2px;
}
/* The actual contact value (e.g. the email address or LinkedIn URL) */
.channel-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}

/* Contact form — right column */
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.contact-form-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
/* Side-by-side Name + Email row */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }

/* Small uppercase label above each form field */
.form-lbl {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}
/* Shared styles for text inputs and textarea */
.form-input, .form-area {
  font-family: var(--font);
  font-size: 13px;
  color: var(--white);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 11px 13px;
  transition: border-color 0.18s;
  outline: none;
  resize: none;
  width: 100%;
}
/* Blue border glow when a field has focus */
.form-input:focus, .form-area:focus { border-color: var(--blue-mid); }
.form-input::placeholder, .form-area::placeholder { color: var(--text-dim); }
/* Fixed height for the message textarea */
.form-area { height: 110px; }

/* Small disclaimer text below the submit button */
.form-note {
  font-size: 10px;
  color: var(--text-dim);
  margin-top: 2px;
}


/* ================================================================
   FOOTER
   ================================================================ */
footer {
  background: #060606;
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
/* Horizontal layout: brand/copyright on left, nav links + socials on right */
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
/* Logo + copyright text group */
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-copy { font-size: 11px; color: var(--text-dim); line-height: 1.6; }
.footer-copy a { color: var(--blue-light); }

/* Right side: nav links + social icons */
.footer-right { display: flex; align-items: center; gap: 32px; }
.footer-nav { display: flex; gap: 22px; list-style: none; }
.footer-nav a {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.18s;
}
.footer-nav a:hover { color: var(--white); }

/* Social media icon buttons in the footer */
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 32px; height: 32px;
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim);
  transition: border-color 0.18s, color 0.18s;
}
.footer-socials a:hover { border-color: var(--blue-mid); color: var(--white); }


/* ================================================================
   FADE-IN ANIMATION
   Elements with class="fade" start invisible and slide up into view
   when they enter the viewport. JavaScript (IntersectionObserver)
   adds the .visible class to trigger the transition.
   ================================================================ */
.fade {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade.visible { opacity: 1; transform: translateY(0); }


/* ================================================================
   RESPONSIVE
   ================================================================ */

/* Tablet / small desktop (960px and below):
   - Services go from 3-col to 2-col
   - Team and contact grids collapse to single column
   - Stats bar collapses to 2x2 grid
   - Founder card loses sticky behavior (not enough height to scroll against) */
@media (max-width: 960px) {
  .svc-card { flex: 0 1 calc(50% - 9px); min-width: 240px; }
  .team-grid { grid-template-columns: 1fr; gap: 52px; }
  .founder-card { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 52px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .portfolio-cats { grid-template-columns: 1fr 1fr; }
}

/* Mobile (640px and below):
   - Section padding reduced
   - Container side padding tightened
   - Nav links hidden, hamburger shown
   - Services go to 1-col full width
   - Contact form name/email row stacks vertically
   - Footer stacks vertically
   - Portfolio cats stack to single column */
@media (max-width: 640px) {
  :root { --section-pad: 72px 0; }
  .container { padding: 0 20px; }
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .svc-card { flex: 1 1 100%; min-width: unset; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-right { flex-direction: column; align-items: flex-start; gap: 16px; }
  .portfolio-cats { grid-template-columns: 1fr; }
  .hero-headline { letter-spacing: -0.5px; }
}
