/* ================================================================
   PORTFOLIO — style.css
   All styling for Alex Mercer's portfolio website.
   Aesthetic: Refined editorial / dark luxury with serif accents.
================================================================ */


/* ----------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (Design Tokens)
---------------------------------------------------------------- */
:root {
  /* Colour palette */
  --clr-bg:        #0c0c0d;
  --clr-surface:   #141416;
  --clr-surface-2: #1c1c1f;
  --clr-border:    #2a2a2e;
  --clr-accent:    #c9a96e;   /* warm gold */
  --clr-accent-2:  #7c6aff;   /* violet pop */
  --clr-text:      #e8e6e1;
  --clr-text-muted:#8a8880;
  --clr-white:     #ffffff;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-mono:    'DM Mono', 'Fira Code', monospace;

  /* Spacing scale */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  7rem;
  --space-2xl: 11rem;

  /* Layout */
  --container-max: 1180px;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 24px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur:  0.3s;
}


/* ----------------------------------------------------------------
   2. RESET & BASE
---------------------------------------------------------------- */

/* Box-sizing for all elements */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-mono);
  font-weight: 300;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Remove list decoration globally */
ul {
  list-style: none;
}

/* Base anchor reset */
a {
  color: inherit;
  text-decoration: none;
}

/* Accessible focus ring */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Images responsive by default */
img {
  max-width: 100%;
  display: block;
}


/* ----------------------------------------------------------------
   3. LAYOUT HELPERS
---------------------------------------------------------------- */

/* Max-width container, horizontally centred */
.container {
  width: 90%;
  max-width: var(--container-max);
  margin-inline: auto;
}

/* Generic section vertical spacing */
.section {
  padding-block: var(--space-xl);
}


/* ----------------------------------------------------------------
   4. TYPOGRAPHY UTILITIES
---------------------------------------------------------------- */

/* Small mono eyebrow labels above headings */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--space-sm);
}

/* Large serif section headings */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--clr-white);
  margin-bottom: var(--space-md);
}

/* Italic accent inside headings */
.section-title em {
  font-style: italic;
  color: var(--clr-accent);
}

/* Centre-align utility */
.center {
  text-align: center;
}


/* ----------------------------------------------------------------
   5. BUTTON COMPONENTS
---------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  border: 1px solid transparent;
}

/* Solid gold primary button */
.btn-primary {
  background-color: var(--clr-accent);
  color: var(--clr-bg);
  border-color: var(--clr-accent);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--clr-accent);
}

/* Transparent ghost button */
.btn-ghost {
  background-color: transparent;
  color: var(--clr-text);
  border-color: var(--clr-border);
}

.btn-ghost:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
}

/* Full-width button variant */
.btn-full {
  width: 100%;
  text-align: center;
}


/* ----------------------------------------------------------------
   6. HEADER & NAVIGATION
---------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(12, 12, 13, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  width: 90%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-block: 1.1rem;
}

/* Logo / wordmark */
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--clr-accent);
  letter-spacing: -0.02em;
  transition: opacity var(--dur) var(--ease);
}

.nav-logo:hover {
  opacity: 0.75;
}

/* Nav link list */
.nav-links {
  display: flex;
  gap: var(--space-md);
}

.nav-links a {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  transition: color var(--dur) var(--ease);
}

.nav-links a:hover {
  color: var(--clr-white);
}

/* Nav CTA */
.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.55rem 1.4rem;
  border: 1px solid var(--clr-accent);
  border-radius: var(--radius-sm);
  color: var(--clr-accent);
  transition: all var(--dur) var(--ease);
}

.nav-cta:hover {
  background-color: var(--clr-accent);
  color: var(--clr-bg);
}


/* ----------------------------------------------------------------
   7. HERO SECTION
---------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-inline: 5%;
  overflow: hidden;
  padding-top: 6rem; /* offset fixed header */
}

/* Grain texture overlay */
.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

/* Decorative blurred blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.blob-1 {
  width: 480px;
  height: 480px;
  background: rgba(201, 169, 110, 0.12);
  top: -10%;
  right: -8%;
  animation: drift 12s ease-in-out infinite alternate;
}

.blob-2 {
  width: 320px;
  height: 320px;
  background: rgba(124, 106, 255, 0.08);
  bottom: 5%;
  left: 5%;
  animation: drift 16s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, 40px) scale(1.05); }
}

/* Hero content block */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  animation: fadeUp 0.9s var(--ease) both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Eyebrow mono line */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.9s 0.1s var(--ease) both;
}

/* Giant serif headline */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--clr-white);
  margin-bottom: 1.8rem;
  animation: fadeUp 0.9s 0.2s var(--ease) both;
}

.hero-title em {
  font-style: italic;
  color: var(--clr-accent);
}

/* Tagline paragraph */
.hero-tagline {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-md);
  animation: fadeUp 0.9s 0.3s var(--ease) both;
}

/* Action buttons row */
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.9s 0.4s var(--ease) both;
}

/* Scroll hint at bottom of hero */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 1;
  animation: fadeUp 1s 0.8s var(--ease) both;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--clr-accent));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.2); }
}

.scroll-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}


/* ----------------------------------------------------------------
   8. ABOUT SECTION
---------------------------------------------------------------- */

.about {
  background-color: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

/* Two-column grid: photo | text */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-lg);
  align-items: center;
}

/* Photo frame */
.about-figure {
  position: relative;
}

.about-photo-frame {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  overflow: hidden;
  background: var(--clr-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Initials placeholder (replace with <img> in real use) */
.about-photo-placeholder {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 300;
  color: var(--clr-accent);
  opacity: 0.5;
  letter-spacing: -0.04em;
}

/* Floating status badge */
.about-badge {
  position: absolute;
  bottom: -1.2rem;
  right: -1.2rem;
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
  border-radius: 100px;
  padding: 0.6rem 1.2rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--clr-text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Animated green dot */
.badge-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0);  }
}

/* Bio text */
.about-bio {
  color: var(--clr-text-muted);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.about-bio strong {
  color: var(--clr-white);
  font-weight: 400;
}

/* Stats row */
.about-stats {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--clr-border);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--clr-accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}


/* ----------------------------------------------------------------
   9. SKILLS SECTION
---------------------------------------------------------------- */

/* Three-column card grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: var(--space-lg);
}

/* Individual skill card */
.skill-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: var(--space-md) 1.8rem;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.skill-card:hover {
  transform: translateY(-4px);
  border-color: var(--clr-accent);
}

/* Accent-highlighted centre card */
.skill-card--accent {
  background: var(--clr-surface-2);
  border-color: var(--clr-accent);
  position: relative;
  overflow: hidden;
}

/* Subtle top gradient on accent card */
.skill-card--accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--clr-accent), var(--clr-accent-2));
}

/* Decorative symbol */
.skill-icon {
  font-size: 1.6rem;
  color: var(--clr-accent);
  margin-bottom: 1rem;
  display: block;
}

.skill-card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--clr-white);
  margin-bottom: 1rem;
}

/* Skill list items */
.skill-list li {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  padding-block: 0.4rem;
  border-bottom: 1px solid var(--clr-border);
  transition: color var(--dur) var(--ease);
}

.skill-list li:last-child {
  border-bottom: none;
}

.skill-card:hover .skill-list li {
  color: var(--clr-text);
}


/* ----------------------------------------------------------------
   10. PROJECTS / WORK SECTION
---------------------------------------------------------------- */

.work {
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
}

/* Masonry-style asymmetric grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: var(--space-lg);
}

/* Large feature card spans full width */
.project-card--large {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  min-height: 340px;
}

/* Standard project card */
.project-card {
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--clr-accent);
}

/* Project thumbnail / colour block */
.project-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

/* Large card thumbnail has no fixed aspect */
.project-card--large .project-thumb {
  aspect-ratio: unset;
  min-height: 100%;
}

/* Background colours per project */
.project-thumb--1 { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); }
.project-thumb--2 { background: linear-gradient(135deg, #1b1b1b 0%, #2d2013 100%); }
.project-thumb--3 { background: linear-gradient(135deg, #0d1b2a 0%, #1b2838 100%); }
.project-thumb--4 { background: linear-gradient(135deg, #1a0a2e 0%, #2a1040 100%); }

/* Large project number watermark */
.project-number {
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.06);
  position: absolute;
  bottom: -1rem;
  right: 1rem;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* Project metadata block */
.project-meta {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/* Tag pills */
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border: 1px solid var(--clr-border);
  border-radius: 100px;
  color: var(--clr-text-muted);
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--clr-white);
  line-height: 1.3;
}

.project-desc {
  font-size: 0.82rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
}

/* View project link */
.project-link {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-top: auto;
  transition: letter-spacing var(--dur) var(--ease);
}

.project-link:hover {
  letter-spacing: 0.18em;
}


/* ----------------------------------------------------------------
   11. TESTIMONIALS SECTION
---------------------------------------------------------------- */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: var(--space-lg);
}

/* Testimonial blockquote card */
.testimonial-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: border-color var(--dur) var(--ease);
}

.testimonial-card:hover {
  border-color: var(--clr-accent);
}

/* Highlighted (middle) testimonial */
.testimonial-card--highlight {
  background: var(--clr-surface-2);
  border-color: var(--clr-accent);
}

.testimonial-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 300;
  color: var(--clr-text);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--clr-accent);
  text-transform: uppercase;
}

.testimonial-author cite {
  font-style: normal;
}


/* ----------------------------------------------------------------
   12. CONTACT SECTION
---------------------------------------------------------------- */

/* Two-column layout: info | form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-lg);
  align-items: start;
}

/* Contact description paragraph */
.contact-desc {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

/* Address details */
.contact-details {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: var(--space-md);
}

.contact-details p {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.detail-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-accent);
}

.contact-details a {
  font-size: 0.88rem;
  color: var(--clr-text);
  transition: color var(--dur) var(--ease);
}

.contact-details a:hover {
  color: var(--clr-accent);
}

/* Social links row */
.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.social-links a:hover {
  color: var(--clr-accent);
  border-color: var(--clr-accent);
}

/* Form wrapper */
.contact-form-wrap {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md) 2.5rem var(--space-md);
}

/* Individual form field group */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

/* Form labels */
.form-group label {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}

/* Inputs and textarea base styles */
.form-group input,
.form-group textarea {
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--clr-text);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
  resize: vertical;
  width: 100%;
}

/* Focused state */
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--clr-accent);
  background: var(--clr-bg);
  outline: none;
}

/* Placeholder colour */
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--clr-text-muted);
  opacity: 0.6;
}


/* ----------------------------------------------------------------
   13. FOOTER
---------------------------------------------------------------- */

.site-footer {
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  padding-block: var(--space-md);
}

/* Three-item row */
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--clr-accent);
}

/* Footer nav links */
.footer-links {
  display: flex;
  gap: var(--space-md);
}

.footer-links a {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  transition: color var(--dur) var(--ease);
}

.footer-links a:hover {
  color: var(--clr-white);
}

/* Copyright text */
.footer-copy {
  font-size: 0.7rem;
  color: var(--clr-text-muted);
}


/* ----------------------------------------------------------------
   14. RESPONSIVE — TABLET (max 900px)
---------------------------------------------------------------- */

@media (max-width: 900px) {

  /* Stack about grid vertically */
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-figure {
    max-width: 340px;
    margin-inline: auto;
  }

  /* Skills: 2 columns */
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Projects: single column */
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card--large {
    grid-template-columns: 1fr;
  }

  .project-card--large .project-thumb {
    min-height: 220px;
  }

  /* Testimonials: 1 column */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Contact: stack vertically */
  .contact-grid {
    grid-template-columns: 1fr;
  }

}


/* ----------------------------------------------------------------
   15. RESPONSIVE — MOBILE (max 600px)
---------------------------------------------------------------- */

@media (max-width: 600px) {

  /* Hide nav links on mobile; leave logo + CTA */
  .nav-links {
    display: none;
  }

  /* Hero text adjustments */
  .hero-content {
    text-align: center;
  }

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

  /* Skills: single column */
  .skills-grid {
    grid-template-columns: 1fr;
  }

  /* Stats row: allow wrap */
  .about-stats {
    flex-wrap: wrap;
    gap: var(--space-sm);
  }

  /* Footer stack vertically */
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  /* Reduce contact form padding */
  .contact-form-wrap {
    padding: var(--space-md) var(--space-sm);
  }

}
