:root {
    --brand-red: #d2434c; /* header + buttons */
    --ink: #28333a; /* dark blue/gray panels */
    --stone: #f3f3f3; /* light gray backgrounds */
}

.brand-header { background: var(--brand-red); color: #fff; }
.brand-header .home-label { font-weight: 800; letter-spacing: .5px; }
.brand-header .site-title { font-family: 'Playfair Display', serif; font-weight: 900; font-size: clamp(24px, 3vw, 44px); }
.brand-header .logo-pill { border: 2px solid #fff; border-radius: 999px; padding: .35rem .9rem; font-weight: 700; }

.top-nav .nav-link { color: #333; font-weight: 600; }
.top-nav .nav-link:hover { color: var(--brand-red); }

/* Hero */
.hero {
    background: linear-gradient(to bottom, #2e3d46 0%, #2e3d46 50%, #ffffff 50%, #ffffff 100%);
    color: #fff;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}
.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(36px, 6vw, 72px); letter-spacing: 1px; }
.hero h1 span { font-weight: 900; }

/* Image */
.scene {
    position: relative;
    background: #fff;
    border: 0;
    margin-top: 1rem;
}
.scene img {
    width: 100%; 
    height: auto; 
    display: block; 
    border: 6px solid #fff; 
    box-shadow: 0 6px 30px rgba(0,0,0,.15); 
    position: relative; 
    z-index: 2; 
}

/* Body section */
.main-copy { 
    background: white; 
}

.main-pages { 
    background: white; 
}

.on-this-site { background: var(--ink); color: #fff; }
.on-this-site li { margin-bottom: .5rem; }

/* Overlap card that tucks behind hero image */
.overlap-card {
  position: relative;
  z-index: 3;
  margin-top: -110px; /* lift into hero image */
  margin-left: -12px;
  box-shadow: 0 10px 26px rgba(0,0,0,.12);
  border-radius: .25rem;
  background: #fff;
}
@media (min-width: 992px) {
  .overlap-card {
    margin-top: -140px; /* deeper overlap on desktop */
    margin-left: -24px;
  }
}
.overlap-card p {
  margin-bottom: 0;
  position: relative;
  z-index: 4;
}

@font-face {
  font-family: 'RockwellNova-Bold';
  src: url('../fonts/soco/RockwellNova-Bold.ttf');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Avenir';
  src: url('../fonts/soco/Avenir\ Next\ LT\ Pro\ Regular.otf');
  font-weight: normal;
  font-style: normal;
}

/* Button tiles */
.tile { background: var(--brand-red); color: #fff; border: 0; padding: 1.25rem; text-align: center; font-weight: 700; letter-spacing: .3px; border-radius: .5rem; transition: transform .12s ease, filter .12s ease; }
.tile:hover { transform: translateY(-3px); filter: brightness(1.05); }

.footer { color: #7a8a93; font-size: .9rem; }

/* Overlap for right side panel */
.overlap-side {
  position: relative;
  z-index: 3;
  margin-top: 40px;   /* default lower start for smaller tablets */
  margin-left: -40px;
}
@media (min-width: 992px) {
  .overlap-side {
    margin-top: 40px; /* overlap vertically on desktop */
    margin-left: -60px; /* overlap into left card horizontally */
  }
}
/* On small screens, remove overlap so they stack cleanly */
@media (max-width: 767.98px) {
  .overlap-card {
    margin-top: 20px;  /* reset so it sits below hero */
    margin-left: 0;
  }
  .overlap-side {
    margin-top: 20px;  /* no overlap on mobile */
    margin-left: 0;
  }
}

.page-buttons {
    background-color:rgb(203,94,100);
    color: rgb(255, 255, 255) !important;
}

body {
  font-family: "Avenir";
  font-weight: 300;
}

p, ul {
    font-family: "Avenir";
    font-weight: 300;
    font-size: 1.2rem;
}

h1, h2, h3, h4, a, b, strong {
  font-family: "RockwellNova-Bold";
  font-weight: 500;
}

.right-hero-img {
  width: min(980px, 92%);
  margin-left: auto; /* push to right */
  display: block;
  border: 6px solid #fff;
  box-shadow: 0 8px 32px rgba(255,255,255,.18);
}

.overlap-grid { position: relative; margin-top: -100px; }
.card-soft { box-shadow: 0 10px 26px rgba(0,0,0,.12); border: 0; }

/* two cards that overlap slightly */
.stack-a { position: relative; z-index: 2; }
.stack-b { position: relative; z-index: 1; margin-top: -40px; }

/* the third card below overlapping both above */
.stack-c { position: relative; z-index: 3; margin-top: -60px; }

/* red left feature card */
.feature-red { background: var(--brand-red); color: #fff; }
.feature-red h2 { font-family: 'Playfair Display', serif; font-weight: 900; font-size: clamp(32px, 4.4vw, 56px); }

@media (max-width: 767.98px) {
  .overlap-grid { margin-top: 1rem; }
  .stack-b, .stack-c { margin-top: 1rem; z-index: initial; }
}

.proposal-btm {
  background-color: rgb(66, 83, 100);
}


.overlap-2x2 .card { border: 0; box-shadow: 0 10px 26px rgba(0,0,0,.12); }
.about-box-red { background: #d2434c; }
.about-box-dfa { background: rgb(66, 83, 100); }
.about-box-rjl { background: rgb(222, 223, 227); }
.about-box-terr { background: rgb(165, 166, 156); }
.box-dark-green { background: rgb(105, 106, 101); }
.box-dark-gray { background: rgb(150, 151, 147); }
.box-purple { background: rgb(66, 83, 101); }
.box-dark-gray2 { background-color: rgb(210, 210, 209); }

/* overlap choreography */
.about-item-a { z-index: 3; position: relative; }
.about-item-b { z-index: 2; position: relative; margin-top: 2rem; margin-left: -2rem; }
.about-item-c { z-index: 2; position: relative; margin-top: -2rem; }
.about-item-d { z-index: 4; position: relative; margin-top: -4rem; margin-left: -2rem; }

@media (max-width: 767.98px) {
  .about-item-b, .about-item-c, .about-item-d { margin-top: 1rem; margin-left: 0; z-index: initial; }
}

.about-item-a img,
.about-item-b img,
.about-item-c img,
.about-item-d img {
  max-width: 180px;
  height: auto;
  margin-bottom: 1rem;
}

.about-box { border: 0; box-shadow: 0 10px 26px rgba(0,0,0,.12); }

/* logos */
.about-logo { max-width: 180px; height:auto; margin-bottom: 1rem; display:block; }

/* stagger effect: left slightly higher, right slightly lower */
.left-up { margin-top: -12px; }     /* subtle lift */
.right-down { margin-top: 20px; }   /* subtle drop */

/* larger screens: increase the stagger a touch */
@media (min-width: 992px) {
  .left-up { margin-top: -18px; }
  .right-down { margin-top: 28px; }
}

/* mobile: stack cleanly, remove offsets and full width logos */
@media (max-width: 767.98px) {
  .left-up, .right-down { margin-top: 0; }
  .about-logo { max-width: 160px; }
}

.divider {
    height: 5px;
    width: 100%;
    display: block;
    background-color: #d2434c;
}

.design-hero {
  background-color: #d2434c;
}

.carousel-control-prev-icon {
 background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E") !important;
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E") !important;
}



.left {
    transform:perspective(500px) rotateY(5deg) ;
}

.right {
    transform:perspective(500px) rotateY(-5deg) ;
}

@keyframes imgTransparency{
    0% {
      opacity:.5;
    }
    100% {
      opacity: 1;
    }
}

@keyframes infoSlide{
    0%{
      opacity: 0;
      transform: translateX(2.4em);
    }
    100%{
      opacity: 1;
      transform: translateX(0);
      visibility:visible;
    }
  }

.h500 a img:hover{
    animation-name:imgTransparency;
    animation-duration: 1s;
    animation-fill-mode:both;
    transition-timing-function: ease-in;
}

.hvrcontainer:hover .middle{
    animation-name:infoSlide;
    animation-duration: 1s;
    animation-fill-mode:both;
    transition-timing-function: ease-in;
  }

.middle {
  background-color:#000;
  position:absolute;
  bottom:0px;  
  text-align:center;
  visibility:hidden;
}

.badge-num {
  position: absolute;
  top: .5rem;
  left: .5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
  z-index: 1;
}

.zoom-in {cursor: zoom-in;}

