/* Guille Ozan 2026 — additions on top of the Webflow template styles */

a.home-skill-item,
a.home-team-item,
a.home-portfolio-item,
a.about-team-card {
  color: inherit;
  text-decoration: none;
}

/* Skill columns on the home page link to the expertise pages */
.skill-link {
  transition: background-color .4s ease;
}
.skill-link:hover {
  background-color: #f5e2ca0f;
}

/* Project tiles: screenshot fills the card, sepia overlay lifts on hover */
.home-portfolio-item,
.solid-company-card {
  position: relative;
  overflow: hidden;
}
.card-shot {
  z-index: 1;
  border-radius: .625rem;
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.card-shot .image-fill {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.card-shot .image-overlay {
  transition: opacity .5s ease;
}
.home-portfolio-item:hover .card-shot .image-fill,
.solid-company-card:hover .card-shot .image-fill,
.team-link:hover .image-fill {
  transform: scale(1.05);
}
.home-portfolio-item:hover .card-shot .image-overlay,
.solid-company-card:hover .card-shot .image-overlay,
.team-link:hover .image-overlay {
  opacity: 0;
}
.home-portfolio-item .home-portfolio-content,
.solid-company-card .more-work-card {
  color: var(--antique-white);
  background-image: linear-gradient(0deg, #0d0d0eb3, #0d0d0e00 45%), linear-gradient(180deg, #0d0d0e8c, #0d0d0e00 40%);
  border-radius: .625rem;
}
.solid-company-card .more-work-card {
  height: 100%;
}
.solid-company-card .projects-shade {
  display: none;
}
.tile-title {
  z-index: 20;
  letter-spacing: .1rem;
  text-transform: uppercase;
  font-family: Humane vf, sans-serif;
  font-variation-settings: "wght" 450;
  font-size: 4.5rem;
  line-height: .9;
  position: relative;
  text-shadow: 0 2px 24px #0d0d0e66;
}
.team-link .image-fill {
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.team-link .image-overlay {
  transition: opacity .5s ease;
}
.team-link .heading-style-h3 {
  transition: color .3s ease;
}
.team-link:hover .heading-style-h3 {
  color: var(--bisque);
}

@media screen and (min-width: 992px) {
  .home-skill-content .skill-bottom p {
    min-height: 7.5em;
  }
  /* four expertise columns instead of the template's three */
  .service-hero-list .verticals-title {
    font-size: 9vw;
  }
}

/* Expertise page: process tiles */
.process-tile {
  color: var(--ad3f3f);
  min-height: 22rem;
  padding: 1.9rem;
  display: flex;
}
.process-content {
  flex-direction: column;
  justify-content: space-between;
  gap: 3rem;
  width: 100%;
  display: flex;
}
.process-content .heading-style-h3 {
  margin-bottom: .75rem;
  font-size: 3rem;
}
.process-cta {
  background-color: var(--indian-red);
  color: var(--antique-white);
  transition: background-color .4s ease;
}
.process-cta .heading-style-h2,
.process-cta .heading-style-h3,
.process-cta .text-size-small {
  color: var(--antique-white);
}
.process-cta:hover {
  background-color: var(--ad3f3f);
}

/* Expertise detail: skill list */
.skill-list {
  border-top: 1px solid #6e814c40;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  display: flex;
}
.skill-name {
  letter-spacing: .05rem;
  text-transform: uppercase;
  margin: 0 0 .35rem;
  font-family: Humane vf, sans-serif;
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1;
}
.type-description .text-size-small {
  opacity: .85;
}

/* Portfolio: hover preview in the sticky panel */
.project-preview {
  z-index: 900;
  aspect-ratio: 4 / 3;
  opacity: 0;
  pointer-events: none;
  background-color: var(--antique-white-2);
  border-radius: .625rem;
  width: 26rem;
  position: fixed;
  top: 0;
  left: 0;
  overflow: hidden;
  translate: calc(var(--x, 0px) + 2rem) calc(var(--y, 0px) - 50%);
  transform: rotate(-6deg) scale(.85);
  transition: opacity .35s ease, transform .5s cubic-bezier(.2, .7, .2, 1);
  box-shadow: 0 30px 60px #0d0d0e40;
}
.project-preview.is-active {
  opacity: 1;
  transform: rotate(-3deg) scale(1);
}
.project-preview-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Work detail */
.work-details {
  border-top: 1px solid #6e814c40;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  display: grid;
}
.work-detail .text-size-tiny {
  opacity: .6;
  margin-bottom: .35rem;
}
.work-detail-value {
  font-size: 1.05rem;
}
.work-detail-value a {
  color: var(--indian-red);
}
.works-gallery {
  background-color: var(--antique-white);
  color: var(--ad3f3f);
  position: relative;
}
.work-gallery {
  z-index: 20;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  display: grid;
  position: relative;
}
.work-gallery.is-single {
  grid-template-columns: 1fr;
}
.gallery-item {
  background-color: var(--antique-white-2);
  border-radius: .625rem;
  justify-content: center;
  align-items: center;
  max-height: 46rem;
  display: flex;
  overflow: hidden;
}
.gallery-img {
  object-fit: contain;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 46rem;
  display: block;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.gallery-item:hover .gallery-img {
  transform: scale(1.03);
}
.work-demo {
  z-index: 20;
  background-color: #fff;
  border-radius: .625rem;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px #0d0d0e1f;
}
.work-demo-bar {
  background-color: var(--antique-white-2);
  color: var(--ad3f3f);
  align-items: center;
  gap: .4rem;
  padding: .75rem 1rem;
  display: flex;
}
.work-demo-bar span {
  background-color: var(--ad3f3f);
  opacity: .35;
  border-radius: 50%;
  width: .6rem;
  height: .6rem;
}
.work-demo-bar .text-size-tiny {
  opacity: .7;
  white-space: nowrap;
  text-overflow: ellipsis;
  min-width: 0;
  margin-left: .75rem;
  overflow: hidden;
}
.work-demo-bar a {
  color: var(--indian-red);
  white-space: nowrap;
  margin-left: auto;
  text-decoration: none;
}
.work-demo iframe {
  border: 0;
  width: 100%;
  display: block;
}

/* About */
.story-heading {
  color: var(--indian-red);
  letter-spacing: .05rem;
  text-transform: uppercase;
  font-family: Humane vf, sans-serif;
  font-size: 2.8rem;
  line-height: 1.1;
}
.study-text {
  z-index: 20;
  color: var(--antique-white);
  opacity: .85;
  max-width: 46rem;
  margin-bottom: 3rem;
  position: relative;
}
.cert-card {
  grid-template-columns: 1fr;
  grid-row-gap: 1.5rem;
  align-content: start;
  transition: background-color .4s ease;
}
.cert-card > * {
  grid-area: auto !important;
}
.cert-card:hover {
  background-color: var(--ad3f3f);
}
.cert-card .about-team-height {
  padding-top: 70%;
}
.cert-card .image-fill {
  object-fit: contain;
  background-color: #fff;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.cert-card .home-team-name {
  flex-direction: column;
  align-items: flex-start;
  gap: .5rem;
  margin-bottom: 0;
}
.cert-card .heading-style-h3 {
  font-size: 2.6rem;
}
.cert-card .home-team-credit {
  padding: 0;
}
.about-team-list:has(.cert-card) {
  grid-template-columns: 1fr 1fr 1fr;
}

/* Contact */
.contact-direct {
  border-top: 1px solid #6e814c40;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  padding-top: 1.5rem;
  display: grid;
}
.contact-direct-link {
  color: var(--ad3f3f);
  flex-direction: column;
  gap: .25rem;
  font-size: .95rem;
  text-decoration: none;
  display: flex;
}
.contact-direct-link .text-size-tiny {
  opacity: .6;
}
.contact-direct-link:hover span:last-child {
  color: var(--indian-red);
}
.quote-link {
  color: inherit;
  text-transform: none;
  text-decoration: none;
}
.quote-link:hover {
  color: var(--indian-red);
}
.form-honeypot {
  width: 1px;
  height: 1px;
  position: absolute;
  left: -9999px;
  overflow: hidden;
}
.cf-turnstile {
  margin-top: .5rem;
}
.text-link {
  color: var(--indian-red);
}
[data-contact-form] .w-form-done,
[data-contact-form] .w-form-fail {
  border-radius: .625rem;
}

/* 404 */
.utility-page-component .looping-text {
  font-size: 12rem;
  line-height: 1;
}
.button-404 {
  background-color: var(--ad3f3f);
  color: var(--antique-white);
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 100rem;
  margin-top: 1.5rem;
  padding: 1rem 2rem;
  font-size: .875rem;
  text-decoration: none;
  display: inline-block;
}

@media screen and (max-width: 991px) {
  .about-team-list:has(.cert-card) {
    grid-template-columns: 1fr 1fr;
  }
  .contact-direct {
    grid-template-columns: 1fr;
  }
  .project-preview {
    display: none;
  }
  .tile-title {
    font-size: 3.5rem;
  }
}

@media screen and (max-width: 767px) {
  .work-gallery,
  .work-details {
    grid-template-columns: 1fr;
  }
  .process-tile {
    min-height: 16rem;
  }
  .about-team-list:has(.cert-card) {
    grid-template-columns: 1fr;
  }
  .utility-page-component .looping-text {
    font-size: 8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card-shot .image-fill,
  .gallery-img,
  .project-preview,
  .team-link .image-fill {
    transition: none;
  }
}
