/* ---------- Reset & base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Roboto', sans-serif;
  color: #333;
  font-size: 14px;
  line-height: 20px;
  background-color: #fff;
}
a {
  color: grey;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  box-shadow: inset 0 -2px 0 0 rgba(0,0,0,0.1);
  padding-bottom: 5px;
  transition: box-shadow 200ms ease, color 200ms ease;
}
a:hover { box-shadow: inset 0 -2px 0 0 rgba(0,0,0,0.35); }
img { max-width: 100%; display: inline-block; }
h1, h2, h3, h4 { font-family: 'Roboto', sans-serif; }

/* ---------- Nav ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 5vh 5vw 3vh 5vw;
  background: transparent;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  transition: background 150ms ease, padding 150ms ease, backdrop-filter 150ms ease;
}
.navbar .brand, .navbar .nav-menu { pointer-events: auto; }
.brand {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: #000;
  text-decoration: none;
  box-shadow: none;
  position: relative;
  display: inline-block;
  height: 44px;
  width: 300px;
  overflow: hidden;
  transition: width 200ms ease;
}
.brand img {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: block;
  transition: opacity 200ms ease;
}
.brand-full {
  width: 300px;
  height: 44px; /* was: auto */
  object-fit: contain;
  object-position: left center;
}
.brand-mark {
  width: 44px; /* was: auto */
  height: 44px;
  object-fit: contain;
  object-position: left center;
  opacity: 0;
}
/* Project detail pages: shrink to just the mark on scroll. */
.navbar.scrolled .brand {
  width: 44px;
}
.navbar.scrolled .brand-full {
  opacity: 0;
}
.navbar.scrolled .brand-mark {
  opacity: 1;
}
.nav-menu { display: flex; align-items: center; gap: 20px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  pointer-events: auto;
}
.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #000;
  transition: transform 200ms ease, opacity 200ms ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: max-height 280ms ease, opacity 220ms ease;
}
.mobile-menu.open {
  max-height: 100vh;
  height: 100vh;
  opacity: 1;
  pointer-events: auto;
}
.mobile-link {
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
  color: #333;
  box-shadow: none;
}
.mobile-link.nav-active { color: #000; font-weight: 500; }
.link-nav {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: grey;
  box-shadow: none;
  position: relative;
  padding-bottom: 4px;
}
.link-nav.nav-active {
  color: #000;
  font-weight: 500;
}
.link-nav.nav-active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: #000;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(8px);
  /* padding-top: 2.5vh;  ← delete this line */
  /* padding-bottom: 2.5vh;  ← delete this line */
}
/* ---------- Hero (normal in-flow intro section) ---------- */
.hero {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 92vh;
  padding-top: 100px;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: #fafafa;
}
.wrapper-title {
  overflow: hidden;
  width: 100%;
  flex: 1 1 56%;
  padding: 0 5vw;
}
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  gap: 20px;
}
.hero-portrait {
  flex: 0 0 40%;
  max-width: 640px;
  padding-right: 2vw;
  opacity: 0;
  transform: translateY(30px);
  animation: heroIn 1s ease forwards;
  animation-delay: 0.4s;
}
.hero-portrait img {
  width: 100%;
  height: auto;
  display: block;
}
.main-h1 {
  position: relative;
  margin-top: 5px;
  margin-bottom: 0;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  color: black;
  font-size: 7vh;
  line-height: 7.5vh;
  opacity: 0;
  transform: translateY(30px);
  animation: heroIn 1s ease forwards;
  animation-delay: 0.1s;
}
.main-h1.bold.home {
  margin-top: 24px;
  font-size: 5.2vh;
  line-height: 5.8vh;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  opacity: 0;
  transform: translateY(30px);
  animation: heroIn 1s ease forwards;
  animation-delay: 0.3s;
}
.home-subhead {
  display: block;
  width: 60vw;
  max-width: 700px;
  margin-top: 48px;
  clear: both;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #666;
  line-height: 28px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroIn 1s ease forwards;
  animation-delay: 0.5s;
}
@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}


/* Scroll-down cue on the hero */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 2vh;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.7;
  animation: heroIn 1s ease forwards, scrollCueBob 1.8s ease-in-out infinite;
  animation-delay: 0.9s, 0.9s;
  color: #333;
}
.scroll-cue-label {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.scroll-cue-arrow { font-size: 18px; line-height: 1; }
@keyframes scrollCueBob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- Project cards: a tight two-up grid of portrait cards. Only the
   title shows at rest; hovering enlarges the card slightly, deepens the
   bottom gradient, and reveals the description and CTA underneath the
   title (or always, on touch devices where hover doesn't apply). ---------- */
.section.main {
  position: relative;
  background-color: #fff;
}
.project-cards {
  max-width: 1680px;
  margin: 0 auto;
  padding: 60px 4vw 100px 4vw;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.project-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 16px;
  overflow: hidden;
  background-color: #1a1a1a;
  box-shadow: 0 16px 40px rgba(0,0,0,0.14);
  text-decoration: none;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 700ms ease, transform 700ms ease, box-shadow 300ms ease;
}
.project-card.card-visible {
  opacity: 1;
  transform: translateY(0);
}
.project-card.card-visible:hover,
.project-card.card-visible:focus-visible {
  box-shadow: 0 24px 54px rgba(0,0,0,0.24);
  z-index: 3;
}
.card-bg {
  position: absolute;
  inset: 0;
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  transition: transform 700ms ease;
  overflow: hidden;
}
.project-card:hover .card-bg,
.project-card:focus-visible .card-bg {
  transform: scale(1.1);
}
.card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0) 70%);
  opacity: 0.6;
  transition: opacity 350ms ease;
}
.project-card:hover .card-overlay,
.project-card:focus-visible .card-overlay {
  opacity: 1;
}
.card-info {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
}
.card-title {
  margin: 0;
  font-family: 'Sora', sans-serif;
  font-size: 23px;
  line-height: 28px;
  font-weight: 700;
  color: white;
}
.card-details {
  max-height: 0;
  opacity: 0;
  transform: translateY(8px);
  overflow: hidden;
  transition: max-height 400ms ease, opacity 300ms ease, transform 400ms ease;
}
.project-card:hover .card-details,
.project-card:focus-visible .card-details {
  max-height: 220px;
  opacity: 1;
  transform: translateY(0);
}
.card-description {
  margin: 10px 0 0 0;
  font-family: 'Roboto', sans-serif;
  color: #13aef1;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
}
.card-cta {
  display: inline-block;
  margin-top: 14px;
  font-family: 'Roboto', sans-serif;
  color: white;
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  box-shadow: inset 0 -2px 0 0 rgba(255,255,255,0.4);
  padding-bottom: 3px;
}

.project-info {
  opacity: 1;
  transform: none;
}

.project-info {
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.project-info .number {
  margin: 0;
  font-family: 'Sora', sans-serif;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  font-size: 100px;
  line-height: 92px;
}
.project-title {
  margin-top: 36px;
  margin-bottom: 10px;
  font-family: 'Sora', sans-serif;
  font-size: 44px;
  line-height: 50px;
  font-weight: 700;
  color: white;
}
.project-description {
  font-family: 'Roboto', sans-serif;
  color: #13aef1;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}
.project-link {
  margin-top: 28px;
  font-family: 'Roboto', sans-serif;
  box-shadow: inset 0 -2px 0 0 rgba(255,255,255,0.25);
  color: white;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.project-link:hover { box-shadow: inset 0 -2px 0 0 rgba(255,255,255,0.65); }

/* ---------- Footer ---------- */
.footer-2 {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 40vh;
  background-color: #13aef1;
  text-align: center;
  padding: 40px 5vw;
}
.footer-2 a { margin: 0 10px; color: #fff; }
.footer-2 a:hover { box-shadow: inset 0 -2px 0 0 rgba(255,255,255,0.65); }
.footer-2 .light {
  margin-top: 20px;
  font-family: 'Roboto', sans-serif;
  color: rgba(255,255,255,0.75);
  font-size: 12px;
}

/* ---------- Project detail page ---------- */
.proj-hero {
  position: relative;
  height: 70vh;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  padding: 0 5vw 8vh 5vw;
}
.proj-hero .bg-parallax {
  position: absolute;
  top: -12%;
  left: 0;
  width: 100%;
  height: 124%;
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  will-change: transform;
  background-color: #1a1a1a;
}
.proj-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0.15));
  z-index: 2;
}
.proj-hero .project-info { position: relative; z-index: 5; opacity: 0; transform: translateY(30px); animation: heroIn 900ms ease forwards; animation-delay: 0.2s; max-width: 600px; }
.proj-hero .number { color: rgba(255,255,255,0.65); }
.proj-hero .project-title { color: white; }
.proj-hero .project-description { color: var(--proj-accent, #13aef1); }

.proj_body-wrap {
  position: relative;
  z-index: 10;
  background: white;
  width: 90vw;
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 0;
}

/* ---------- Light split hero (image floats free, text alongside) ---------- */
body { overflow-x: hidden; }
.proj-hero-light {
  display: flex;
  align-items: center;
  gap: 5vw;
  max-width: 1520px;
  margin: 0 auto;
  padding: 170px 0 90px 5vw;
  flex-wrap: wrap;
  background: white;
  position: relative;
  z-index: 10;
}
.proj-hero-light .project-info { flex: 1 1 380px; max-width: 460px; }
.proj-hero-light .number { color: rgba(0,0,0,0.16); }
.proj-hero-light .project-title { color: #111; }
.proj-hero-light .project-description { color: var(--proj-accent, #13aef1); font-size: 19px; line-height: 30px; }
.proj-hero-light .hero-media {
  flex: 1 1 620px;
  max-width: none;
  overflow: visible;
  margin-right: calc(-50vw + 50%);
}
.proj-hero-light .hero-media img {
  width: 100%;
  max-width: none;
  height: auto;
  display: block;
  margin-top: -90px;
}
@media (max-width: 860px) {
  .proj-hero-light { padding-top: 130px; }
  .proj-hero-light .hero-media img { width: 100%; margin-top: 0; }
}

/* ---------- Breakout blocks — images that live free on the page, wider than the copy column, no frame ---------- */
.block-bleed {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 92vw;
  margin: 56px auto;
}
.block-bleed img, .block-bleed svg { display: block; margin: 0 auto; width: 100%; height: auto; }
.block-bleed.size-md { max-width: 900px; }
.block-bleed.size-lg { max-width: 1200px; }
.block-bleed.size-xl { max-width: 1400px; }
.block-bleed.size-full { max-width: none; width: 96vw; }
.block-bleed.block-spacer-top { margin-top: 130px; }
.block-bleed-caption {
  max-width: 720px;
  margin: 18px auto 0;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  line-height: 24px;
  color: #888;
  text-align: center;
}
.proj_body {
  text-align: left;
  font-family: 'Roboto', sans-serif;
  font-size: 19px;
  line-height: 34px;
  color: #444;
}
.proj_body p { margin-bottom: 24px; }
.proj_body strong { color: #111; font-weight: 700; }

.back-link {
  display: inline-block;
  margin-bottom: 40px;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #9b9b9b;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- About page ---------- */
.about-hero {
  padding: 22vh 6vw 8vh 6vw;
  background: #fafafa;
}
.about-hero-inner { max-width: 800px; margin: 0 auto; }
.about-h1 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 8vh;
  line-height: 8.5vh;
  margin: 0 0 20px 0;
  color: black;
}
.about-lede {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  line-height: 28px;
  color: #666;
  max-width: 600px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu { display: flex; }
  .scroll-cue { display: none; }

  .hero { min-height: 88vh; padding-top: 110px; }
  .main-h1 { font-size: 7vh; line-height: 7.5vh; }
  .hero-portrait { display: none; }

  .project-cards { padding: 40px 6vw 90px 6vw; gap: 14px; }
  .project-card { border-radius: 14px; }
  .project-card.card-visible:hover,
  .project-card.card-visible:focus-visible { transform: translateY(0) scale(1); box-shadow: 0 16px 40px rgba(0,0,0,0.14); }
  /* Hover isn't reliable on touch devices — keep the details visible by default */
  .card-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.5) 42%, rgba(0,0,0,0) 72%);
  }
  .card-info { padding: 18px 20px; }
  .card-details {
    max-height: 220px;
    opacity: 1;
    transform: none;
  }
  .card-title { font-size: 19px; line-height: 24px; }
  .card-description { font-size: 13px; line-height: 19px; }

  .project-info {
    max-width: 100%;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 900ms ease, transform 900ms ease;
  }
  .project-info.is-visible { opacity: 1; transform: translateY(0); }
  .main-h1.bold.home { font-size: 6vh; line-height: 6.5vh; }
  .home-subhead { width: 90vw; }
  .project-info .number { font-size: 64px; line-height: 60px; }
  .project-title { font-size: 30px; line-height: 38px; }
  .brand { width: 220px; height: 34px; }
  .brand-full { width: 220px; }
  .brand-mark { height: 34px; }
  .navbar.scrolled .brand { width: 34px; }

  .footer-2 { height: auto; min-height: 32vh; padding: 56px 8vw; }
  .footer-2 > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .footer-2 a { margin: 0; }
}


/* ==========================================================================
   MODULAR STORY BLOCKS — drop these into any project detail page's
   .proj_body to break the story up: spotlight images, image+text pairs,
   pull quotes, and before/after comparisons. Mix and match per project.
   ========================================================================== */

/* Full-bleed spotlight image: breaks out of the 800px text column to full
   viewport width. Use for the "big reveal" moments in a story. */
.block-spotlight {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 96vw;
  max-width: 1800px;
  margin-top: 60px;
  margin-bottom: 60px;
}
.block-spotlight.default-width {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.block-spotlight img {
  width: 100%;
  display: block;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}
.block-spotlight.no-frame img {
  border-radius: 0;
  box-shadow: none;
}
.block-spotlight .spotlight-caption {
  max-width: 800px;
  margin: 18px auto 0 auto;
  padding: 0 20px;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 26px;
  color: #9b9b9b;
  text-align: center;
}
.block-header-paragraph {
  margin: 32px 0;
}
.block-header-paragraph h4 {
  margin: 0 0 8px 0;
}
.block-header-paragraph p {
  margin: 0;
}

/* Image + text pair: for walking through a research step, a struggle, a
   decision. Alternates left/right via modifier classes. */
.block-pair {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 92vw;
  max-width: 1200px;
  display: flex;
  align-items: center;
  gap: 60px;
  margin-top: 70px;
  margin-bottom: 70px;
}
.block-pair.pair-reverse { flex-direction: row-reverse; }
.block-pair .pair-media { flex: 1 1 50%; }
.block-pair .pair-media img { width: 100%; display: block; border-radius: 14px; box-shadow: 0 12px 30px rgba(0,0,0,0.18); }
.block-pair .pair-text { flex: 1 1 50%; }
.block-pair .pair-text h4 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #111;
  margin: 0 0 14px 0;
}
.block-pair .pair-text p {
  font-family: 'Roboto', sans-serif;
  font-size: 17px;
  line-height: 28px;
  color: #555;
  margin: 0 0 16px 0;
}
.block-pair.no-frame .pair-media img {
  border-radius: 0;
  box-shadow: none;
}

.block-pair.large-image .pair-media {
  flex: 1.6;
}
.block-pair.large-image .pair-text {
  flex: 1;
}

/* Compact pair: for tall, narrow screenshots that shouldn't fill half the
   1200px row. Shrinks the image to a sane on-screen size and pulls the whole
   text+image unit in tighter, still centered on the page as one piece. */
.block-pair.pair-compact {
  max-width: 760px;
  gap: 44px;
}
.block-pair.pair-compact .pair-media {
  flex: 0 0 260px;
}
.block-pair.pair-compact .pair-media img {
  max-height: 70vh;
  width: 100%;
  object-fit: contain;
}
.block-pair.pair-compact .pair-text {
  flex: 1 1 380px;
}

/* Pull quote: a key insight or piece of user feedback, set apart from
   the body copy. */
.block-quote {
  max-width: 700px;
  margin: 70px auto;
  padding-left: 30px;
  border-left: 3px solid #111;
}
.block-quote p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 28px;
  line-height: 40px;
  color: #111;
  margin: 0 0 12px 0;
}
.block-quote .quote-attribution {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #9b9b9b;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Pulled-statement callout: a bold, standalone line lifted straight from
   the surrounding copy — no attribution, unlike .block-quote. Used to give
   a key idea its own breathing room and make it stick with the reader. */
.block-callout {
  max-width: 720px;
  margin: 80px auto 80px auto;
  padding: 0 20px;
  text-align: center;
}
.block-callout p {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 42px;
  color: #111;
  margin: 0;
}
.block-callout .callout-accent {
  color: var(--proj-accent, #13aef1);
}

/* Before / after or comparison block: two images side by side with labels. */
.block-compare {
  display: flex;
  gap: 20px;
  margin-top: 70px;
  margin-bottom: 70px;
}
.block-compare .compare-item { flex: 1 1 50%; }
.block-compare .compare-item img { width: 100%; display: block; border-radius: 2px; }
.block-compare .compare-label {
  margin-top: 10px;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #9b9b9b;
  text-align: center;
}

/* Stat / highlight strip: a row of key numbers or outcomes. */
.block-stats {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 70px;
  margin-bottom: 70px;
  padding: 40px 0;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}
.block-stats .stat-item { flex: 1; text-align: center; }
.block-stats .stat-number {
  font-family: 'Sora', sans-serif;
  font-size: 48px;
  color: #111;
  display: block;
}
.block-stats .stat-label {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #9b9b9b;
  margin-top: 20px;
}

@media (max-width: 900px) {
  .block-pair, .block-pair.pair-reverse { flex-direction: column; gap: 24px; }
  .block-compare { flex-direction: column; }
  .block-stats { flex-direction: column; gap: 30px; }
  .block-quote p { font-size: 22px; line-height: 32px; }
}

/* ---------- Text + Two Images (50/50) block ---------- */
.block-duo {
  display: flex;
  gap: 32px;
  align-items: stretch;
  margin: 48px 0;
}

.block-duo.duo-reverse {
  flex-direction: row-reverse;
}

.duo-text-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.duo-text h4 {
  margin: 0 0 8px 0;
}

.duo-text p {
  margin: 0;
}

.duo-media-small img {
  width: 100%;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.duo-media-tall {
  flex: 1;
  display: flex;
}

.duo-media-tall img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.block-duo.no-frame .duo-media-small img,
.block-duo.no-frame .duo-media-tall img {
  border-radius: 0;
  box-shadow: none;
}

.block-duo.default-width {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.block-duo.large-tall .duo-text-col {
  flex: 1;
}
.block-duo.large-tall .duo-media-tall {
  flex: 1.6;
}

@media (max-width: 520px) {
  .project-cards { grid-template-columns: 1fr; gap: 18px; }
  .project-card { aspect-ratio: 3 / 2; }
}

@media (prefers-reduced-motion: reduce) {
  .project-card { transition: none; opacity: 1; transform: none; }
  .card-bg, .card-overlay, .card-info, .card-details { transition: none; }
}