/* Version 5 overrides — consolidated from reviewed homepage adjustments */
:root {
  --header: 66px;
}
/* Brand fonts are referenced but NOT bundled: copy licensed files into /fonts. */
.brand-stage {
  padding: clamp(42px, 5vw, 75px) 0 clamp(45px, 5vw, 76px);
}
.identity-row-v5 {
  display: block;
  text-align: center;
}
.identity-row-v5 .identity {
  width: 100%;
}
.brand-stage .brand-word {
  font-size: clamp(32px, 6.02vw, 99px);
  letter-spacing: 0.012em;
  white-space: normal;
  overflow-wrap: normal;
}
.brand-stage .brand-caption {
  font-family: DiamondRing, 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(19px, 2.73vw, 38px);
  margin-top: 12px;
  letter-spacing: 0.09em;
}
.footer-logo .brand-word {
  font-size: clamp(27px, 4.06vw, 58px);
}
.footer-logo .brand-caption {
  font-family: DiamondRing, 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(15px, 1.68vw, 23px);
}
.footer-social svg {
  width: 17px;
  height: 17px;
}
.footer-social {
  gap: 15px;
  margin: 25px 0;
}
.footer-social a,
.social-pending {
  width: 28px;
  height: 28px;
}
.hero-section {
  padding: 0;
}
.hero-wide {
  width: 100%;
  max-width: none;
}
.hero-image-wrap {
  height: clamp(250px, 33vw, 390px);
}
.hero-image {
  object-position: center 70%;
}
.hero-copy {
  bottom: clamp(18px, 3vw, 42px);
  left: clamp(20px, 6vw, 86px);
  max-width: min(710px, calc(100% - 40px));
}
.hero-copy h2 {
  font-size: clamp(27px, 3.5vw, 50px);
  margin-bottom: 20px;
  line-height: 25px;
}
/* The whole expertise content is compact and its existing muted video stays behind it. */
.expertise-v5 {
  padding: clamp(35px, 4vw, 58px) 0 clamp(32px, 4vw, 58px);
}
.expertise-v5 .expertise-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.4vw, 35px);
}
.expertise-v5 .section-title {
  font-size: clamp(39px, 4.6vw, 65px);
  align-self: flex-start;
}
.expertise-v5 .expertise-services {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 32px);
  align-items: start;
}
.expertise-service {
  text-align: center;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}
.expertise-service .expertise-number {
  font: 400 clamp(28px, 3vw, 42px) / 1 'Cormorant Garamond', Georgia, serif;
  color: #e6ded4;
}
.expertise-service .expertise-number::after {
  content: '';
  display: block;
  width: 23px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  margin: 9px auto 0;
}
.expertise-service h3 {
  font: 400 clamp(15px, 1.55vw, 22px) / 1.2 'Cormorant Garamond', Georgia, serif;
  margin: 0;
  overflow-wrap: break-word;
}
.expertise-cta {
  display: flex;
  justify-content: center;
}
.expertise-cta .outlined-button {
  min-width: 170px;
}
.projects-section .section-head {
  margin-bottom: 25px;
}
.carousel-window-v5 {
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
}
.projects-track {
  gap: clamp(14px, 2vw, 24px);
}
.project-slide {
  flex-basis: calc((100% - 2 * clamp(14px, 2vw, 24px)) / 3);
}
.project-tile {
  aspect-ratio: 4/4.1;
}
.project-name {
  font-size: clamp(21px, 1.9vw, 27px);
}
.carousel-controls-overlay {
  position: absolute;
  z-index: 7;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  padding: 0 clamp(4px, 1vw, 14px);
  height: calc(100% - 88px);
}
.carousel-controls-overlay .carousel-arrow {
  pointer-events: auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: rgba(247, 246, 243, 0.93);
  color: #272825;
  border: 1px solid #ddd;
  box-shadow: 0 3px 16px rgba(0, 0, 0, 0.13);
}
.carousel-controls-overlay .carousel-arrow:hover {
  background: #272825;
  color: white;
}
.carousel-controls-overlay .carousel-arrow:disabled {
  visibility: hidden;
}
.carousel-counter-below {
  text-align: right;
  font-size: 10px;
  letter-spacing: 0.12em;
  padding-top: 15px;
}
/* Collaboration is now an image-led feature; testimonials get the six text slides. */
.collaboration-section {
  background: #fdfcfb;
}
.collaboration-section .section-title {
  margin-bottom: clamp(26px, 4vw, 55px);
}
.boom-feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 7vw, 115px);
  align-items: center;
}
.boom-photo img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.boom-copy h3 {
  font: 400 clamp(44px, 6vw, 90px) / 1 'Cormorant Garamond', Georgia, serif;
  margin: 0 0 25px;
}
.preview-note {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 300px;
}
.testimonials-section {
  background: #eae8e3;
}
.testimonials-section .section-title {
  margin-bottom: 10px;
}
.testimonial-shell {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  gap: clamp(8px, 2vw, 35px);
  align-items: center;
  border-top: 1px solid #c3c0b9;
  padding: clamp(35px, 5vw, 70px) 0;
}
.testimonial-arrow {
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid #bcbab2;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 22px;
}
.testimonial-arrow:hover {
  background: #272825;
  color: white;
}
.testimonial-content {
  text-align: center;
  max-width: 880px;
  margin: auto;
}
.testimonial-content blockquote {
  font: 400 clamp(26px, 3.7vw, 55px) / 1.18 'Cormorant Garamond', Georgia, serif;
  margin: 0;
  margin-top: 60px;
}
.testimonial-counter {
  font-size: 10px;
  letter-spacing: 0.17em;
  margin: 24px 0 0;
}
.motion-head {
  display: block;
}
.motion-head .section-title {
  margin-bottom: 12px;
}
.motion-head .studio-handle {
  display: inline-block;
  margin: 0 0 22px;
  padding-bottom: 6px;
}
.motion-grid {
  width: min(100%, 1050px);
  margin-inline: auto;
  gap: clamp(8px, 1.4vw, 17px);
}
.motion-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.motion-card:hover img {
  transform: scale(1.04);
}
.motion-card .play-symbol {
  font-size: 13px;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.9);
  width: 31px;
  height: 31px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding-left: 2px;
}
@media (max-width: 1090px) {
  .project-slide {
    flex-basis: calc((100% - clamp(14px, 2vw, 24px)) / 2);
  }
  .expertise-v5 .expertise-services {
    gap: 12px;
  }
  .expertise-service h3 {
    font-size: clamp(14px, 1.9vw, 20px);
  }
}
@media (max-width: 760px) {
  .brand-stage {
    padding: 53px 0 46px;
  }
  .brand-stage .brand-word {
    font-size: clamp(29px, 7.6vw, 56px);
  }
  .brand-stage .brand-caption {
    font-size: clamp(18px, 4.4vw, 27px);
  }
  .hero-image-wrap {
    height: clamp(280px, 47svh, 400px);
    min-height: 0;
  }
  .hero-copy {
    bottom: 24px;
    left: 20px;
  }
  .hero-copy h2 {
    font-size: clamp(28px, 5vw, 42px);
  }
  .expertise-v5 {
    padding-block: 46px;
  }
  .expertise-v5 .expertise-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 27px 14px;
  }
  .expertise-service:last-child {
    grid-column: 1/-1;
    max-width: 230px;
    justify-self: center;
  }
  .expertise-service h3 {
    font-size: 20px;
  }
  .project-slide {
    flex-basis: calc((100% - 16px) / 2);
  }
  .project-tile {
    aspect-ratio: 3/4;
  }
  .carousel-controls-overlay {
    height: calc(100% - 94px);
  }
  .carousel-controls-overlay .carousel-arrow {
    width: 36px;
    height: 36px;
  }
  .boom-feature {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .boom-photo img {
    aspect-ratio: 4/3;
  }
  .boom-copy h3 {
    font-size: clamp(43px, 9vw, 65px);
  }
  .testimonial-shell {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 7px;
  }
  .testimonial-arrow {
    width: 34px;
    height: 34px;
  }
  .motion-grid {
    width: min(100%, 640px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 500px) {
  .brand-stage .brand-word {
    font-size: clamp(28px, 8vw, 38px);
  }
  .brand-stage .brand-caption {
    font-size: clamp(17px, 5.2vw, 25px);
  }
  .hero-image-wrap {
    height: clamp(280px, 48svh, 380px);
    min-height: 0;
  }
  .hero-copy h2 {
    font-size: clamp(25px, 7vw, 36px);
  }
  .project-slide {
    flex-basis: 100%;
  }
  .carousel-controls-overlay {
    height: calc(100% - 112px);
  }
  .testimonial-content blockquote {
    font-size: clamp(23px, 6.6vw, 32px);
  }
  .sample-tag {
    font-size: 8px;
  }
  .testimonial-shell {
    gap: 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .expertise-video {
    display: none;
  }
  .expertise-v5 {
    background: #555b58 url('../images/hero/hero-image.webp') center/cover no-repeat;
  }
}
