/* Homepage — inspired by clean single-column portfolio style.
   Project pages keep style.css; this file is homepage-only. */

:root {
  --bg: #fafcfd;
  --fg: #32404f;
  --fg-light: rgba(50, 64, 79, 0.58);
  --primary: #e65f2e;
  --border: rgba(50, 64, 79, 0.12);
  --card-shadow: 0 1px 2px rgba(50, 64, 79, 0.06), 0 8px 24px rgba(50, 64, 79, 0.06);
  --nav-bg: rgba(250, 252, 253, 0.85);
  --sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --serif: "Lora", Georgia, serif;
  --serif-heading: "Lora", Georgia, serif;
}

[data-theme="dark"] {
  --bg: #15121A;
  --fg: #F2F0F5;
  --fg-light: rgba(242, 240, 245, 0.6);
  --border: rgba(242, 240, 245, 0.14);
  --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
  --nav-bg: rgba(21, 18, 26, 0.85);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s ease, color 0.3s ease;
}

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

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

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  max-width: 60rem;
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  background: var(--nav-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-links { margin-left: auto; }

.theme-toggle {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: none;
  color: var(--fg);
  cursor: pointer;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, border-color 0.3s ease;
}

.theme-toggle:hover { transform: scale(1.05); }

.theme-icon { line-height: 1; }
.icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: inline; }

.nav-name {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.875rem;
}

.nav-links a {
  color: var(--fg-light);
  transition: color 0.15s ease;
}

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

.nav-links .nav-resume {
  color: var(--primary);
  font-weight: 500;
}

.nav-links .nav-resume:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

.nav-toggle {
  display: none;
  position: relative;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle .bar {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  margin-left: -10px;
  border-radius: 1px;
  background: var(--fg);
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.nav-toggle .bar1 { top: calc(50% - 7px); }
.nav-toggle .bar2 { top: calc(50% - 1px); }
.nav-toggle .bar3 { top: calc(50% + 5px); }

.nav.open .bar1 { top: calc(50% - 1px); transform: rotate(45deg); }
.nav.open .bar2 { opacity: 0; }
.nav.open .bar3 { top: calc(50% - 1px); transform: rotate(-45deg); }

/* ---------- Layout ---------- */

.page {
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { margin-top: 5.5rem; }

.section-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-light);
  margin-bottom: 1.6rem;
}

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

/* ---------- Hero ---------- */

.hero { padding-top: 5rem; }

.hero-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 32%;
  margin-bottom: 1.5rem;
  box-shadow: var(--card-shadow);
}

.hero h1 {
  font-family: var(--serif-heading);
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--primary);
}

.hero-sub {
  margin-top: 1.4rem;
  color: var(--fg-light);
}

/* ---------- Work ---------- */

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.4rem 2rem;
}

.work-card { display: block; }

.work-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  transition: transform 0.25s cubic-bezier(0, 0, 0.2, 1), box-shadow 0.25s ease;
}

.work-thumb img,
.work-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.work-card:hover .work-thumb {
  transform: translateY(-3px);
  box-shadow: 0 2px 4px rgba(50, 64, 79, 0.08), 0 14px 32px rgba(50, 64, 79, 0.12);
}

.work-title {
  display: block;
  margin-top: 0.9rem;
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.4;
}

.work-card:hover .work-title { color: var(--primary); }

.work-meta {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--fg-light);
}

/* ---------- Work thumbnails: static product mocks ---------- */

.mock-stage {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: "Open Sans", var(--sans);
}

.work-thumb--minv .mock-stage { background: linear-gradient(150deg, #f0eefb, #e6e2f8); }
.work-thumb--mgrp .mock-stage { background: linear-gradient(150deg, #ecf4fb, #ddeaf7); }
.work-thumb--mcrm .mock-stage { background: linear-gradient(150deg, #ecf5ee, #dfefe5); }
.work-thumb--mdb .mock-stage { background: linear-gradient(150deg, #f4eddc, #ece1c9); }

/* Invoices: paid invoice with balance due */

.minv-card {
  display: flex;
  flex-direction: column;
  width: 64%;
  background: #ffffff;
  border-radius: 0.6rem;
  padding: 0.85rem 0.95rem;
  box-shadow: 0 14px 34px rgba(60, 55, 110, 0.14);
}

.minv-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.45rem;
}

.minv-id {
  font-family: var(--mono);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3f4454;
}

.minv-paid {
  font-size: 0.48rem;
  font-weight: 700;
  color: #1d8a4a;
  background: #d9f2e2;
  border-radius: 0.7rem;
  padding: 0.1rem 0.44rem;
}

.minv-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.52rem;
  color: #6b7280;
  line-height: 1.9;
}

.minv-divider {
  height: 1px;
  background: rgba(29, 32, 51, 0.1);
  margin: 0.4rem 0 0.45rem;
}

.minv-due-label { font-size: 0.5rem; color: #9aa0ae; }

.minv-due {
  font-size: 1.2rem;
  font-weight: 800;
  color: #15121f;
  line-height: 1.3;
}

.minv-actions { display: flex; gap: 0.4rem; margin-top: 0.55rem; }

.minv-btn {
  flex: 1;
  text-align: center;
  font-size: 0.52rem;
  font-weight: 700;
  padding: 0.34rem 0;
  border-radius: 0.4rem;
  white-space: nowrap;
}

.minv-btn--primary { background: #6d5be8; color: #fff; }
.minv-btn--soft { background: #ece9fc; color: #6d5be8; }

/* CRM: kanban pipeline */

.mcrm-board {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 1.1rem;
}

.mcrm-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mcrm-colhead {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  margin-bottom: 0.1rem;
  font-family: var(--mono);
  font-size: 0.44rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3a4152;
  white-space: nowrap;
}

.mcrm-colhead em { font-style: normal; color: #9aa5b0; }

.mcrm-dot { width: 0.32rem; height: 0.32rem; border-radius: 50%; flex-shrink: 0; }
.mcrm-dot--new { background: #3b82f6; }
.mcrm-dot--prog { background: #f59e0b; }
.mcrm-dot--sched { background: #22c55e; }

.mcrm-card {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  background: #ffffff;
  border-radius: 0.42rem;
  padding: 0.42rem 0.5rem;
  box-shadow: 0 3px 10px rgba(40, 70, 50, 0.08);
}

.mcrm-name {
  font-size: 0.52rem;
  font-weight: 700;
  color: #15121f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mcrm-amt { font-size: 0.5rem; font-weight: 600; color: #16a34a; }

.mcrm-bar {
  position: relative;
  height: 0.18rem;
  margin-top: 0.2rem;
  border-radius: 0.1rem;
  background: #e8eaee;
  overflow: hidden;
}

.mcrm-bar::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--p, 50%);
  border-radius: inherit;
  background: #22c55e;
}

/* Groups: win post with job-site photos */

.mgrp-post {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  width: 72%;
  background: #ffffff;
  border-radius: 0.6rem;
  padding: 0.7rem 0.75rem;
  box-shadow: 0 14px 34px rgba(60, 55, 110, 0.14);
}

.mgrp-head { display: flex; align-items: center; gap: 0.4rem; }

.mgrp-avatar {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #a996ff, #6d5be8);
}

.mgrp-who {
  display: flex;
  flex-direction: column;
  font-size: 0.56rem;
  font-weight: 700;
  color: #15121f;
  line-height: 1.3;
}

.mgrp-who em {
  font-style: normal;
  font-weight: 400;
  font-size: 0.48rem;
  color: #9aa0ae;
}

.mgrp-text { font-size: 0.52rem; line-height: 1.5; color: #3a3e4f; }

.mgrp-photos { display: flex; gap: 0.4rem; }

.mgrp-photos img {
  flex: 1;
  width: 50%;
  min-width: 0;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 0.4rem;
}

.mgrp-reactions { display: flex; gap: 0.3rem; }

.mgrp-reactions span {
  font-size: 0.48rem;
  background: #f0f1f6;
  border-radius: 0.7rem;
  padding: 0.12rem 0.45rem;
  color: #4b4f5e;
}

/* Doorbell: hardware device on cream */

.mdb-device {
  position: relative;
  width: 18%;
  height: 74%;
  background: linear-gradient(180deg, #ffffff, #f1efe9);
  border-radius: 10rem;
  box-shadow: 0 18px 40px rgba(95, 80, 45, 0.22), inset 0 -2px 6px rgba(95, 80, 45, 0.08);
}

.mdb-lens {
  position: absolute;
  left: 50%;
  top: 15%;
  width: 56%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #232936;
}

.mdb-lens::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58%;
  height: 58%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #4a5468 0%, #10141c 55%);
}

.mdb-button {
  position: absolute;
  left: 50%;
  bottom: 11%;
  width: 46%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #10141c;
  box-shadow: 0 0 0 3px #2fd4a4, 0 0 14px rgba(47, 212, 164, 0.5);
}

/* Micro animations — each card gets one quiet signature move */

@media (prefers-reduced-motion: no-preference) {

  /* Invoices: a soft glint sweeps across the balance, like it just updated */
  .minv-due {
    background: linear-gradient(105deg, #15121f 42%, #746ba8 50%, #15121f 58%);
    background-size: 300% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: minvShimmer 5.5s ease-in-out infinite;
  }

  @keyframes minvShimmer {
    0%, 55% { background-position: 100% 0; }
    85%, 100% { background-position: 0% 0; }
  }

  /* CRM: Priya's card lifts, glides into Scheduled, drops, then resets */
  .mcrm-card--move {
    position: relative;
    z-index: 2;
    animation: crmMove 7.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  }

  @keyframes crmMove {
    0%, 20% { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 1; box-shadow: 0 3px 10px rgba(40, 70, 50, 0.08); }
    26% { transform: translate(0, -0.15rem) scale(1.045) rotate(1.5deg); opacity: 1; box-shadow: 0 10px 22px rgba(40, 70, 50, 0.22); }
    46% { transform: translate(calc(100% + 0.5rem), -1.15rem) scale(1.045) rotate(1.5deg); opacity: 1; box-shadow: 0 10px 22px rgba(40, 70, 50, 0.22); }
    52% { transform: translate(calc(100% + 0.5rem), -1rem) scale(1) rotate(0deg); box-shadow: 0 3px 10px rgba(40, 70, 50, 0.08); }
    86% { transform: translate(calc(100% + 0.5rem), -1rem) scale(1) rotate(0deg); opacity: 1; box-shadow: 0 3px 10px rgba(40, 70, 50, 0.08); }
    90% { transform: translate(calc(100% + 0.5rem), -1rem) scale(1) rotate(0deg); opacity: 0; }
    90.2% { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 0; }
    96%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 1; box-shadow: 0 3px 10px rgba(40, 70, 50, 0.08); }
  }

  /* Groups: reactions roll in one after another, hold, then reset */
  .mgrp-reactions span {
    animation: grpPill 6.5s cubic-bezier(0.34, 1.56, 0.64, 1) infinite both;
  }

  .mgrp-reactions span:nth-child(2) { animation-delay: 0.4s; }
  .mgrp-reactions span:nth-child(3) { animation-delay: 0.8s; }

  @keyframes grpPill {
    0% { opacity: 0; transform: scale(0.4); }
    5% { opacity: 1; transform: scale(1.15); }
    8% { transform: scale(1); }
    90% { opacity: 1; transform: scale(1); }
    95%, 100% { opacity: 0; transform: scale(0.5); }
  }

  /* Doorbell: the ring breathes like a device idling */
  .mdb-button {
    animation: dbBreathe 3.6s ease-in-out infinite;
  }

  @keyframes dbBreathe {
    0%, 100% { box-shadow: 0 0 0 3px #2fd4a4, 0 0 10px rgba(47, 212, 164, 0.35); }
    50% { box-shadow: 0 0 0 3px #2fd4a4, 0 0 22px 4px rgba(47, 212, 164, 0.75); }
  }
}

/* ---------- Experience ---------- */

.exp { list-style: none; }

.exp-row {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--border);
}

.exp-row:last-child { border-bottom: 1px solid var(--border); }

.exp-co {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  padding-top: 0.2rem;
}

.exp-dates {
  display: block;
  margin-top: 0.2rem;
  font-weight: 400;
  color: var(--fg-light);
}

.exp-role { display: block; font-weight: 600; font-size: 0.95rem; }

.exp-desc {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.9rem;
  color: var(--fg-light);
}

/* ---------- About page ---------- */

.nav-links a.active { color: var(--fg); }

.page.about {
  max-width: 72rem;
  display: grid;
  grid-template-columns: minmax(0, 26rem) 1fr;
  align-items: start;
  gap: 2.5rem 3.5rem;
}

.about-text {
  padding-top: 4.5rem;
  max-width: 40rem;
}

.about-text h1 {
  font-family: var(--serif-heading);
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.about-text h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--primary);
}

.about-text p {
  margin-top: 1.3rem;
  color: var(--fg-light);
}

.about-list {
  list-style: none;
  margin-top: 0.6rem;
  color: var(--fg-light);
}

.about-list li { padding-left: 1.1rem; position: relative; }

.about-list li::before {
  content: "\2192";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.about-link {
  color: var(--fg);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.about-link:hover { color: var(--primary); text-decoration-color: var(--primary); }

.about-collage {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 1.6rem 2.2rem;
  margin-top: 4.5rem;
  padding-bottom: 1rem;
}

.life-photo {
  display: block;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0;
  background: none;
  cursor: zoom-in;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.25s ease;
}

.life-photo:hover { box-shadow: 0 4px 8px rgba(50, 64, 79, 0.1), 0 18px 40px rgba(50, 64, 79, 0.16); }

.life-photo img { display: block; width: 100%; height: auto; }

.about-collage .life-photo:nth-child(1) { width: 200px; transform: rotate(-4deg); margin-top: 14px; }
.about-collage .life-photo:nth-child(2) { width: 255px; transform: rotate(2.5deg); margin-top: 44px; }
.about-collage .life-photo:nth-child(3) { width: 225px; transform: rotate(-2deg); }
.about-collage .life-photo:nth-child(4) { width: 245px; transform: rotate(3.5deg); margin-top: 36px; }
.about-collage .life-photo:nth-child(5) { width: 215px; transform: rotate(-3deg); margin-top: 10px; }
.about-collage .life-photo:nth-child(6) { width: 235px; transform: rotate(2deg); margin-top: 28px; }

.about-collage .life-photo img { animation: drift 6s ease-in-out infinite; }
.about-collage .life-photo:nth-child(2) img { animation-duration: 7s; animation-delay: -2.5s; }
.about-collage .life-photo:nth-child(3) img { animation-duration: 5.4s; animation-delay: -1.2s; }
.about-collage .life-photo:nth-child(4) img { animation-duration: 6.6s; animation-delay: -4s; }
.about-collage .life-photo:nth-child(5) img { animation-duration: 5.8s; animation-delay: -3.1s; }
.about-collage .life-photo:nth-child(6) img { animation-duration: 7.4s; animation-delay: -1.8s; }

@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@media (prefers-reduced-motion: reduce) {
  .about-collage .life-photo img { animation: none; }
}

/* ---------- Footer ---------- */

.footer {
  max-width: 60rem;
  margin: 6rem auto 0;
  padding: 2rem 1.5rem 2.6rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--fg-light);
}

.footer-links { display: flex; gap: 1.4rem; }

.footer-links a { transition: color 0.15s ease; }

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

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(50, 64, 79, 0.92);
}

.lightbox.open { display: flex; }

.lightbox-content { max-width: min(88vw, 60rem); }

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 0.5rem;
  margin: 0 auto;
}

.lightbox-count {
  margin-top: 0.8rem;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: rgba(250, 252, 253, 0.7);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: none;
  border: none;
  color: rgba(250, 252, 253, 0.85);
  cursor: pointer;
  font-size: 1.4rem;
  padding: 0.6rem 1rem;
  transition: color 0.15s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover { color: #fff; }

.lightbox-close { top: 1rem; right: 1rem; }

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.6rem;
  line-height: 1;
}

.lightbox-prev { left: 0.6rem; }
.lightbox-next { right: 0.6rem; }

/* ---------- Responsive ---------- */

@media (max-width: 720px) {
  .nav { padding: 0.9rem 1.25rem; gap: 0.8rem; }

  .theme-toggle { margin-left: auto; }

  .nav-toggle { display: block; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.3rem 1.25rem 1rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(50, 64, 79, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .nav.open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a { display: block; padding: 0.6rem 0; font-size: 1rem; }

  .page { padding: 0 1.25rem; }

  .hero { padding-top: 3rem; }

  .section { margin-top: 4rem; }

  .work-grid { grid-template-columns: 1fr; gap: 2rem; }

  .exp-row { grid-template-columns: 1fr; gap: 0.25rem; }

  .page.about { display: block; }

  .about-text { padding-top: 2.5rem; }

  .about-collage { gap: 1.2rem; margin-top: 2.5rem; }

  .about-collage .life-photo:nth-child(n) { width: calc(50% - 0.8rem); margin-top: 0; }

  .footer { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
}
