/* About Us: keep the portrait compact and the copy inside phone margins. */
@media (max-width: 780px) {
  #about-us .about-image { width: 144px !important; }
  #about-us #uv-about-portrait-linkedin img { width: 144px !important; }
  #about-us .about-text { margin-left: 0; min-width: 0; }
}
@media (max-width: 600px) {
  #about-us .wrapper { width: calc(100% - 32px); }
  #about-us .about-image { padding-right: 0; }
  #about-us .single_section.about { flex-direction: column; align-items: center; gap: 16px; }
  #about-us .about-text { width: 100%; }
}

/* Talent card: centred desktop width adjustment. */
@media (min-width: 1024px) {
  #our-approach .single_post.second .excerpt {
    width: 64%;
  }
  #our-approach .single_post.second .excerpt p:last-of-type {
    width: calc(100% + 15px);
    margin-left: -7.5px;
  }
}

/* Case Studies card: align its length with Culture and Talent. */
@media (min-width: 1024px) {
  #our-approach .single_post.third .excerpt {
    width: 62%;
  }
}

/* Bring the outer service cards slightly closer to the centre. */
@media (min-width: 1024px) {
  #our-approach .single_post.first .excerpt {
    position: relative;
    left: 45px;
  }
  #our-approach .single_post.third .excerpt {
    position: relative;
    left: -45px;
  }
}

/* About Us: centre the portrait and caption alongside the copy. */
@media (min-width: 781px) {
  #about-us .about-image {
    align-self: center;
    padding-top: 0;
  }
}

/* Homepage hero illustrations */
body.home > .headline { position: relative; isolation: isolate; overflow: hidden; color: #000; }
body.home > .headline > .wrapper { position: relative; z-index: 1; }
body.home > .headline h1, body.home > .headline p, body.home > .headline a { color: #000 !important; text-decoration: none !important; }
@media (min-width: 1000px) {
  body.home > .headline { min-height: 470px; display: grid; align-items: center; }
  body.home > .headline > .wrapper { width: 100%; }
  body.home > .headline .box { width: min(54vw, 690px); max-width: 100%; margin-inline: auto; }
  body.home > .headline h1 { font-family: Oranienbaum, Georgia, serif; font-size: clamp(34px, 4vw, 60px) !important; line-height: 1.1; margin: 0 0 24px !important; }
  body.home > .headline::before, body.home > .headline::after { content: ''; position: absolute; pointer-events: none; z-index: 0; mix-blend-mode: multiply; background-repeat: no-repeat; background-position: center; background-size: contain; }
  body.home > .headline::before { inset: 0 auto 0 -1%; width: 29%; opacity: .43; background-image: url('https://unnamed-ventures.com/wp-content/uploads/2026/11/uv-home-architectural-profile.jpeg'); mask-image: radial-gradient(ellipse at 32% 46%, #000 30%, transparent 77%); }
  body.home > .headline::after { width: min(24vw, 300px); aspect-ratio: 213 / 320; top: 50%; right: 3%; transform: translateY(-50%) rotate(90deg); opacity: .47; background-image: url('https://unnamed-ventures.com/wp-content/uploads/2026/11/uv-home-connecting-dots.jpeg'); mask-image: radial-gradient(ellipse, #000 35%, transparent 77%); }
}

@media (min-width: 1000px) {
  body.home > .headline > .wrapper > .boxes > .box { width: min(52vw, 680px) !important; max-width: min(52vw, 680px) !important; margin-inline: auto !important; }
  body.home > .headline .box h1 { font-weight: 400 !important; text-wrap: balance; }
  body.home > .headline .box p { font: 400 clamp(17px, 1.5vw, 21px)/1.5 Lato, Arial, sans-serif !important; }
}

@media (min-width: 1000px) {
  body.home > .headline::before { left: 5%; }
}

@media (min-width: 1000px) {
  body.home > .headline::after { right: 8%; }
}

@media (min-width: 1000px) {
  body.home > .headline::after { top: calc(50% - 58px); right: 7%; }
}

@media (min-width: 1000px) {
  body.home > .headline::before { transform: translateY(20px); }
}

@media (min-width: 1000px) {
  body.home > .headline::before {
    mask-image: radial-gradient(ellipse at 32% 46%, #000 30%, transparent 77%), linear-gradient(to right, transparent, #000 21%);
    mask-composite: intersect;
  }
}

@media (min-width: 1000px) {
  body.home > .headline::before { transform-origin: 78% center; transform: translateY(20px) scaleX(1.09); }
}

@media (min-width: 1000px) {
  body.home > .headline::after { transform: translateY(-50%) translateX(13px) scaleX(1.09) rotate(90deg); }
}

@media (min-width: 1000px) {
  body.home > .headline .box h1 { font-size: 48px !important; }
  body.home > .headline .box p, body.home > .headline .box p a { font-size: 18px !important; }
}

@media (min-width: 1000px) {
  body.home > .headline::after { right: 9%; transform: translateY(-50%) scaleX(1.24) rotate(90deg); }
}

@media (min-width: 1000px) {
  body.home > .headline .box h1 { font-size: clamp(34px, 4vw, 60px) !important; }
  body.home > .headline .box p, body.home > .headline .box p a { font-size: clamp(17px, 1.5vw, 21px) !important; }
}

@media (min-width: 1000px) {
  body.home > .headline::before { left: 5%; }
}

@media (min-width: 1000px) {
  body.home > .headline::after { right: 5%; transform: translateY(-50%) scale(1.24, 1.12) rotate(90deg); mask-image: radial-gradient(ellipse, #000 35%, transparent 77%), linear-gradient(to top, transparent 17%, #000 39%); mask-composite: intersect; }
}

@media (min-width: 1000px) {
  body.home > .headline::before { left: calc(5% + 8px); }
  body.home > .headline::after { right: 2.8%; opacity: .76; transform: translateY(-50%) scale(1.16, 1.22) rotate(90deg); mask-image: radial-gradient(ellipse, #000 47%, transparent 79%), linear-gradient(to top, transparent 12%, #000 33%); mask-composite: intersect; }
}

@media (min-width: 1000px) {
  body.home > .headline::before { opacity: .49; }
  body.home > .headline::after { opacity: .82; }
}

@media (min-width: 1000px) {
  body.home > .headline::before { opacity: .55; }
}


/* Keep the square About Us portrait sized alongside the copy. */
#about-us .about-image {
  flex-shrink: 0;
  width: 144px;
  max-width: 100%;
}
#about-us #uv-about-portrait-linkedin img {
  width: 144px;
  max-width: 100%;
  height: auto;
}

@media (min-width: 781px) {
  #about-us .single_section.about { column-gap: 14px; }
}


/* Soften the footer telephone to match the homepage illustrations. */
#connect img.uv-phone { opacity: .62; }


/* Homepage Social heading: compact angled ink splash. */
#content > .wrapper > .title { background-image: none; }
#content .social-title { position: relative; isolation: isolate; }
#content .social-title::before {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  left: 0;
  top: 50%;
  width: 145px;
  height: 102px;
  transform: translateY(-55%);
  background: url('https://unnamed-ventures.com/wp-content/uploads/2026/11/uv-social-angled-splash.webp') center / contain no-repeat;
  opacity: .19;
  mix-blend-mode: multiply;
}


/* Blend the homepage artwork into the page background. */
#content .social-title::before {
  background-color: #f9f6ef;
  background-blend-mode: multiply;
}
@media (min-width: 1000px) {
  body.home > .headline::before {
    mask-image: radial-gradient(ellipse at 32% 46%, #000 30%, transparent 77%),
      linear-gradient(to right, transparent, #000 21%, #000 86%, transparent),
      linear-gradient(to bottom, transparent 9%, #000 17%, #000 83%, transparent 97%);
    mask-composite: intersect;
  }
  body.home #about-us { min-height: 450px !important; }
}


body.home > .headline::after { display: none; }


/* Homepage architectural artwork. */
body.home > .headline::before { content: ''; position: absolute; pointer-events: none; z-index: 0; inset: 48% auto auto -4.2%; width: min(72vw, 1150px); height: auto; aspect-ratio: 1676 / 938; transform: translateY(-50%); transform-origin: center; background: url('https://unnamed-ventures.com/wp-content/uploads/2026/11/uv-homepage-hero-optimized.webp') center / contain no-repeat; opacity: 1; filter: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cfilter%20id%3D%22tone%22%20color-interpolation-filters%3D%22sRGB%22%3E%3CfeComponentTransfer%3E%3CfeFuncR%20type%3D%22linear%22%20slope%3D%222.06%22%20intercept%3D%22-1.06%22%2F%3E%3CfeFuncG%20type%3D%22linear%22%20slope%3D%222.06%22%20intercept%3D%22-1.06%22%2F%3E%3CfeFuncB%20type%3D%22linear%22%20slope%3D%222.06%22%20intercept%3D%22-1.06%22%2F%3E%3C%2FfeComponentTransfer%3E%3C%2Ffilter%3E%3C%2Fsvg%3E#tone"); mix-blend-mode: multiply; mask-image: radial-gradient(ellipse at 28% 50%, #000, rgba(0,0,0,.76) 45%, transparent 100%); mask-composite: add; }
@media (max-width: 999px) { body.home > .headline::before { width: min(112vw, 760px); left: -13%; opacity: .38; } }


/* Homepage artwork edge fade */
body.home > .headline::before {
  mask-image: radial-gradient(ellipse at 28% 50%, #000, rgba(0,0,0,.76) 45%, transparent 100%), linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent), linear-gradient(to right, #000 84%, transparent);
  mask-composite: intersect;
}
body.home > .headline::after {
  display: block; inset: 0 0 auto; width: auto; height: 48px; aspect-ratio: auto; transform: none; opacity: 1; mix-blend-mode: normal;
  background: linear-gradient(to bottom, #f9f6ef, transparent); mask-image: none;
}


/* Culture opening: homepage brain artwork and stronger introductory copy. */
body.postid-27 .uv-culture-page .hero-composition { isolation: isolate; }
body.postid-27 .uv-culture-page .hero-composition > .artwork { visibility: hidden; }
body.postid-27 .uv-culture-page .hero-composition::before {
  content: ''; position: absolute; pointer-events: none; z-index: 0;
  inset: 48% auto auto calc((100% - 100vw) / 2 - 4.2vw);
  width: min(72vw, 1150px); aspect-ratio: 1676 / 938; transform: translateY(-50%);
  background: url('https://unnamed-ventures.com/wp-content/uploads/2026/11/uv-homepage-hero-optimized.webp') center / contain no-repeat;
  filter: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cfilter%20id%3D%22tone%22%20color-interpolation-filters%3D%22sRGB%22%3E%3CfeComponentTransfer%3E%3CfeFuncR%20type%3D%22linear%22%20slope%3D%222.06%22%20intercept%3D%22-1.06%22%2F%3E%3CfeFuncG%20type%3D%22linear%22%20slope%3D%222.06%22%20intercept%3D%22-1.06%22%2F%3E%3CfeFuncB%20type%3D%22linear%22%20slope%3D%222.06%22%20intercept%3D%22-1.06%22%2F%3E%3C%2FfeComponentTransfer%3E%3C%2Ffilter%3E%3C%2Fsvg%3E#tone"); mix-blend-mode: multiply;
  mask-image: radial-gradient(ellipse at 28% 50%, #000, rgba(0,0,0,.76) 45%, transparent 100%), linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent), linear-gradient(to right, #000 84%, transparent);
  mask-composite: intersect;
}
body.postid-27 .uv-culture-page .intro-copy p { font-weight: 700; }
body.postid-27 .uv-culture-page .intro-copy p::before { opacity: 0; }
@media (max-width: 999px) {
  body.postid-27 .uv-culture-page .hero-composition::before { width: min(112vw, 760px); left: calc((100% - 100vw) / 2 - 13vw); opacity: .38; }
}

/* Culture intro readability over the artwork. */
body.postid-27 .uv-culture-page .intro-copy p { font-weight: 400; }
body.postid-27 .uv-culture-page .intro-copy p::before {
  inset: -48px -30px;
  background: radial-gradient(ellipse closest-side, var(--paper) 0%, rgba(249,246,239,.8) 36%, rgba(249,246,239,.34) 68%, transparent 100%);
  opacity: .78;
}

/* Culture hero: approved people sketch. */
body.postid-27 .uv-culture-page .hero-composition::before { content: none; }
body.postid-27 .uv-culture-page .hero-composition > .artwork { visibility: visible; overflow: visible; }
body.postid-27 .uv-culture-page .hero-composition > .artwork img {
  opacity: .315;
  transform: translateX(calc(-4% - 126px));
  mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 72%, transparent 100%), linear-gradient(to right, transparent 0%, rgba(0,0,0,.25) 14%, #000 36%, #000 78%, transparent 100%);
  mask-composite: intersect;
}

/* Mobile content fit and artwork placement. */
@media (max-width: 600px) {
  body.home > .headline { height: auto !important; padding-block: 30px 20px; }
  body.home > .headline > .wrapper, body.home > .headline .boxes, body.home > .headline .box { height: auto !important; }
  body.home #about-us .about-image { box-sizing: border-box; max-width: 100%; margin-inline: auto; }
  .uv-talent-page .hero, .uv-talent-page .path-wrap { overflow-x: clip; }
  .uv-talent-page .path-wrap { left: auto; width: 100%; transform: none; }
  body.postid-27 .uv-culture-page .hero-composition > .artwork img { transform: translateX(-4%); }
}

@media (max-width: 600px) {
  body.postid-31 .uv-talent-page .path-wrap { left: auto; width: 100%; transform: none; }
}

/* Culture phone layout: let the heading and intro reflow together. */
@media (max-width: 540px) {
  body.postid-27 .uv-culture-page .intro { padding-top: 0; }
  body.postid-27 .uv-culture-page .hero-composition { top: auto; height: auto; margin-top: 6px; }
  body.postid-27 .uv-culture-page .intro-copy { position: relative; inset: auto; width: auto; margin: 0; padding: 0 16px; transform: none; }
  body.postid-27 .uv-culture-page .intro-copy h2 { transform: none; font-size: clamp(25px, 6.8vw, 32px); line-height: 1.16; text-wrap: balance; }
  body.postid-27 .uv-culture-page .intro .intro-copy p { top: auto; margin-top: 18px; font-size: 16px; }
  body.postid-27 .uv-culture-page .intro + section { margin-top: 0; padding-top: 36px; }
}

/* Talent phones: place the intro copy lower, beneath the artwork. */
@media (max-width: 540px) {
  body.postid-31 .uv-talent-page .hero-copy > p { margin-top: 138px; }
}

/* Centre the About Us photo against the desktop text. */
@media (min-width: 781px) {
    body.home #about-us .single_section.about > .about-image { align-self: center; }
}

/* Give the closing About Us paragraph a little more room on desktop. */
@media (min-width: 1051px) {
  #about-us .about-text > .text:last-child > p:last-child { width: 107%; text-wrap: pretty; }
}

/* Match the desktop gaps before the section arrows. */
@media (min-width: 1051px) {
    body.home #about-us { height: auto !important; min-height: 0 !important; padding-top: 107px; }
}


/* Case Studies architectural portrait, behind the existing layout. */
body.postid-25 > .headline { position: relative; }
body.postid-25 > .headline::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: min(31.2vw, 481px);
  aspect-ratio: 481 / 637;
  background: url("https://unnamed-ventures.com/wp-content/uploads/2026/11/uv-case-studies-architectural-portrait.png") center / contain no-repeat;
  pointer-events: none;
}
body.postid-25 > .headline > .wrapper,
body.postid-25 > .headline + .section { position: relative; }


/* Slightly deepen the portrait ink while retaining its fade. */
body.postid-25 > .headline::before {
  filter: drop-shadow(0 0 0 rgba(30, 30, 30, 0.14));
}


/* Echo the opening portrait beside the final case study. */
body.postid-25 .single-page { isolation: isolate; }
body.postid-25 .single-page p:has(> .uv-case-study-logo-frame > .wp-image-2385) { position: relative; }
body.postid-25 .single-page p:has(> .uv-case-study-logo-frame > .wp-image-2385)::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: calc(50% - 50vw);
  bottom: calc(70px - min(23.85vw, 292px));
  width: min(18vw, 220px);
  aspect-ratio: 481 / 637;
  background: url("https://unnamed-ventures.com/wp-content/uploads/2026/11/uv-case-studies-architectural-portrait.png") center / contain no-repeat;
  transform: scaleX(-1);
  filter: drop-shadow(0 0 0 rgba(30, 30, 30, 0.14));
  pointer-events: none;
}


/* Pin the smaller portrait to the bottom-left above the footer. */
body.postid-25 > .headline + .section { isolation: isolate; }
body.postid-25 .single-page { isolation: auto; }
body.postid-25 .single-page p:has(> .uv-case-study-logo-frame > .wp-image-2385) { position: static; }
body.postid-25 .single-page p:has(> .uv-case-study-logo-frame > .wp-image-2385)::after {
  left: 0;
  bottom: 0;
}


/* Let client logos multiply against the page colour inside the artwork layer. */
body.postid-25 > .headline + .section { background-color: inherit; }

/* Keep both portraits behind the copy while logos blend with the page. */
body.postid-25 > .headline + .section { background-color: transparent; isolation: auto; }
body.postid-25 .single-page { position: relative; }
body.postid-25 .single-page p:has(> .uv-case-study-logo-frame > .wp-image-2385)::after { content: none; }
body.postid-25 > .headline + .section::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(18vw, 220px);
  aspect-ratio: 481 / 637;
  background: url("https://unnamed-ventures.com/wp-content/uploads/2026/11/uv-case-studies-architectural-portrait.png") center / contain no-repeat;
  transform: scaleX(-1);
  filter: drop-shadow(0 0 0 rgba(30, 30, 30, 0.14));
  pointer-events: none;
}

/* Place the smaller portrait at the bottom edge of the footer. */
body.postid-25 > .headline + .section::before { content: none; }
body.postid-25 > .footer { position: relative; }
body.postid-25 > .footer::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(18vw, 220px);
  aspect-ratio: 481 / 637;
  background: url("https://unnamed-ventures.com/wp-content/uploads/2026/11/uv-case-studies-architectural-portrait.png") center / contain no-repeat;
  transform: scaleX(-1);
  filter: drop-shadow(0 0 0 rgba(30, 30, 30, 0.14));
  pointer-events: none;
}
body.postid-25 > .footer > .wrapper { position: relative; }

/* Remove the secondary portrait from the Case Studies footer. */
body.postid-25 > .footer::before { content: none; }


/* Case Studies testimonials — centred ink splashes. */
body.postid-25 .uv-case-testimonials { margin-top: 52px; padding: 24px 0 32px; border-top: 1px solid #d5cdc2; }
body.postid-25 .uv-case-testimonials > h2 { margin: 0 0 34px; color: #000; text-align: center; font: 400 clamp(27px, 3vw, 34px)/1.2 Georgia, serif; }
body.postid-25 .uv-case-testimonial-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 29px; align-items: start; }
body.postid-25 .uv-case-testimonial-grid > blockquote { position: relative; isolation: isolate; margin: 0; padding: 0; border: 0; background: transparent; color: #000; font: 400 17px/1.42 Georgia, serif; text-align: left; }
body.postid-25 .uv-case-testimonial-grid > blockquote > img { position: absolute; z-index: -1; top: -8px; left: 50%; transform: translateX(-50%); display: block; width: 84%; max-width: none; height: auto; margin: 0; pointer-events: none; }
body.postid-25 .uv-case-testimonial-grid > blockquote:nth-child(2) > img { width: 112%; top: 3px; }
body.postid-25 .uv-case-testimonial-grid > blockquote:nth-child(3) > img { width: 101%; }
body.postid-25 .uv-case-testimonial-grid > blockquote:nth-child(4) > img { width: 93%; }
body.postid-25 .uv-case-testimonial-grid > blockquote > p { margin: 0; color: #000; font: inherit; }
@media (max-width: 1050px) { body.postid-25 .uv-case-testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; } body.postid-25 .uv-case-testimonial-grid > blockquote > img { max-width: 260px; } }
@media (max-width: 580px) { body.postid-25 .uv-case-testimonial-grid { grid-template-columns: 1fr; gap: 34px; } body.postid-25 .uv-case-testimonial-grid > blockquote > img { max-width: min(78%, 235px); } }

/* Match the testimonial subheading to the Culture section headings. */
body.postid-25 .uv-case-testimonials > h2 { font-family: Oranienbaum, Georgia, serif; font-size: 24px; line-height: 1.2; }

/* Restore the larger testimonial heading and centre the quote text. */
body.postid-25 .uv-case-testimonials > h2 { font-size: clamp(27px, 3vw, 34px); }
body.postid-25 .uv-case-testimonial-grid > blockquote,
body.postid-25 .uv-case-testimonial-grid > blockquote > p { text-align: center; }

/* Raise the copyright line on the Case Studies page. */
body.postid-25 > .footer > .wrapper > p { transform: translateY(-1lh); }

/* Add a line of breathing room before the enquiry link on phones. */
@media (max-width: 580px) {
  body.postid-25 .uv-case-testimonials > p:has(> a[href$="#connect"]) { margin-top: 34px !important; }
}