/* =========================================
   Root + Fonts + Global
========================================= */
:root {
  --header-bg: #292929;
  --accent: #ff7c36;
  --text-cream: #f5f2eb;

  --bg-dark: #2b2b2b;
  --bg-warm: #f5f2eb;
  --text-dark: #3a3a3a;
}

@font-face {
  font-family: "Suisse Intl";
  src: url("/assets/fonts/SuisseIntl-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Prefer: set Bootstrap container max-width via CSS var (Bootstrap 5.3+) */
.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
  --bs-gutter-x: 3rem; /* optional: tune horizontal gutters */
}

/* If you really want a 1440 container max, set it only at xxl and up */
@media (min-width: 1400px) {
  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl {
    max-width: 1440px;
  }
}

body {
  font-family: "Suisse Intl", sans-serif;
  background: #000; /* you had #292929 then black — keep final intent */
  color: var(--text-cream);
}

/* Helper spacing class you use on sections */
.section-padding {
  padding: 30px 40px;
  background: #fff;
}

/* =========================================
   Header / Nav
========================================= */
.site-header {
  background: var(--header-bg);
}

.site-header .navbar {
  padding: 0;
}

.site-header .container {
  min-height: 117px;
  display: flex;
  align-items: center;
}

.navbar-brand svg {
  display: block;
}

.brand-icon svg {
  width: 42px;
  height: 42px;
}

.brand-wordmark svg {
  width: 135px;
  height: auto;
}

.brand-icon-img{
  width: 200px;
}

.nav-link-accent {
  color: var(--accent) !important;
  font-size: 19px;
  font-weight: 400;
  text-decoration: none;
}

.nav-link-accent:hover,
.nav-link-accent:focus {
  color: #ffa06b !important;
}

.btn-accent {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #1a1a1a;
  font-weight: 600;
}

.btn-accent:hover,
.btn-accent:focus {
  background: #ffa06b;
  border-color: #ffa06b;
  color: #1a1a1a;
}

.small-round-pill {
  display: inline-block;
  width: 30px;
  height: 14px;
  background: var(--accent);
  /* border-radius: 50%; */
  border-radius: 6px;
  margin-left: 25px;
  margin-right: -10px;
}

/* =========================================
   Hero
========================================= */
.hero-split {
  background: var(--header-bg);
  color: var(--text-cream);
}

.hero-left {
  background: var(--header-bg);
}

.hero-left-inner {
  display: flex;
  align-items: center;
  position: relative;
}

.hero-left-inner .x-logo {
  position: absolute;
  bottom: 46px;
  right: -135px;
  width: 195px;
  height: 195px;
  opacity: 0.8;
}

.hero-title {
  font-size: clamp(3rem, 5vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  font-weight: 400;
  margin: 0;
}

.hero-subtitle {
  font-size: clamp(1.5rem, 1.9vw, 3.25rem);
  line-height: 1.25;
  /* max-width: 42ch; */
  max-width: 30ch;
  margin: 0;
}

.hero-pill {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--text-cream);
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-divider {
  border: 0;
  border-top: 1px solid #fff; /* matches your current */
  margin: 0;
  margin-top: 210px;
}

.hero-mini-logo svg {
  width: 34px;
  height: 34px;
  display: block;
}

.hero-services {
  gap: 18px;
}

.hero-services li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 1rem;
  color: var(--text-cream);
  opacity: 0.95;
}

.hero-num {
  font-size: 0.75rem;
  opacity: 0.75;
  letter-spacing: 0.08em;
}

.hero-right {
  background: #1f1f1f;
}

.hero-image {
  width: 100%;
  height: 100%;
  background-image: url("assets/img/ridge-hero.jpg");
  background-size: cover;
  background-position: center;
}

.hero-img-tag {
  object-fit: cover;
}

/* =========================================
   Science & Art
========================================= */
.section-science-art {
  background: var(--bg-warm);
  color: var(--text-dark);
}

.sa-title {
  font-family: "Suisse Intl", sans-serif;
  font-weight: 400;
  font-size: clamp(3rem, 6vw, 96px);
  line-height: 0.937;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin: 0;
}

.sa-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sa-icon svg {
  width: 48px;
  height: 48px;
  display: block;
}

.sa-pill {
  font-family: "Suisse Intl", sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 2px solid rgba(58, 58, 58, 0.65);
  border-radius: 999px;
  font-size: 1.125rem;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.05em;
  color: var(--text-dark);
  background: transparent;
  white-space: nowrap;
}

.sa-pill--strategy {
  border-color: var(--accent);
  color: var(--accent);
}

.sa-pill--creative {
  border-color: #00a7c7;
  color: #00a7c7;
}

.sa-copy {
  font-size: 1.125rem;
  line-height: 1.55;
  max-width: 52ch;
  color: var(--text-dark);
  opacity: 0.95;
}

/* =========================================
   Photography
========================================= */
.section-photography {
  color: var(--text-dark);
}

.section-title {
  font-family: "Suisse Intl", sans-serif;
  font-weight: 400;
  font-size: clamp(3rem, 6vw, 96px);
  line-height: 0.937;
  letter-spacing: -0.03em;
  margin: 0;
}

.photo-carousel,
.photo-tile {
  border-radius: 16px;
  overflow: hidden;
}

/* Remove default Bootstrap arrow icons */
.photo-carousel .carousel-control-prev-icon,
.photo-carousel .carousel-control-next-icon {
  display: none;
}

.custom-carousel-control {
  width: auto;
  opacity: 1;
}

.photo-carousel .carousel-control-prev {
  left: 24px;
}

.photo-carousel .carousel-control-next {
  right: 24px;
}

.carousel-chevron {
  width: 80px;
  height: 80px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.custom-carousel-control:hover .carousel-chevron {
  transform: scale(1.05);
  opacity: 0.9;
}

.photo-caption {
  font-size: 1.125rem;
  line-height: 1.5;
}

.photo-caption-mark {
  margin-right: 10px;
}

/* =========================================
   Campaign
========================================= */
.section-campaign {
  color: var(--text-dark);
}

.campaign-title {
  font-family: "Suisse Intl", sans-serif;
  font-weight: 400;
  font-size: clamp(3rem, 6vw, 96px);
  line-height: 0.937;
  letter-spacing: -0.03em;
}

.campaign-line {
  height: 1px;
  background: rgba(58, 58, 58, 0.25);
}

.media-tile {
  border-radius: 16px;
  overflow: hidden;
  background: #e9e6df;
}

.media-tile-small {
  border-radius: 20px;
  overflow: hidden;
  background: #e9e6df;
}

.section-campaign .media-el,
.media-tile img,
.media-tile video,
.media-tile-small img,
.media-tile-small video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.media-tile-small.wide-video video {
  width: 100%;
  height: 145px;
  margin-top: 60px;
  object-fit: fill;
}

.campaign-caption {
  font-size: 1.125rem;
  line-height: 1.5;
}

/* =========================================
   Video Overlay (shared)
========================================= */
.video-tile {
  position: relative;
  cursor: pointer;
}

.video-overlay {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.video-play-icon {
  width: 104px;
  height: 104px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.video-overlay:hover .video-play-icon {
  transform: scale(1.08);
  opacity: 0.9;
}

.video-tile.is-playing .video-overlay {
  opacity: 0;
  pointer-events: none;
}

.video-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-tile:hover::after {
  opacity: 0;
}

.video-tile.is-playing::after {
  display: none;
}

.caption-mark {
  margin-right: 10px;
}

/* =========================================
   Media Section
========================================= */
.section-media {
  background: #fff;
  color: var(--text-dark);
}

.media-title {
  font-family: "Suisse Intl", sans-serif;
  font-weight: 400;
  font-size: clamp(3rem, 6vw, 96px);
  line-height: 0.937;
  letter-spacing: -0.03em;
}

.media-line {
  height: 1px;
  background: rgba(58, 58, 58, 0.25);
}

.media-caption {
  font-size: 1.125rem;
  line-height: 1.5;
}

.device-tile {
  border-radius: 20px;
  overflow: hidden;
  background: #f0f0f0;
}

.device-tile--phone {
  position: relative;
}

.phone-section-1 .device-tile {
  border-radius: 45px;
}

.device-phone-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

img.device-phone-frame-2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  object-fit: fill;
  z-index: 100;
}

.device-el {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.laptop-container {
  width: 717px;
  height: 409px;
  position: relative;
  /* background-image: url("../../assets/AssetsRidge/MediaSection/media-laptop-poster.png"); */
  /* background-size: contain;
  background-repeat: no-repeat;
  background-position: center; */
  margin: 0 auto;
}

.laptop-container img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.section-media .laptop-container video {
  background: #000;
  width: 555px;
  height: 350px;
  position: absolute;
  top: 47%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.media-card-tile {
  border-radius: 16px;
  overflow: hidden;
  background: #f0f0f0;
}

.media-card-el {
  width: 100%;
  display: block;
  object-fit: cover;
}

.media-card-caption {
  margin-top: 25px;
  font-size: 1.125rem;
  line-height: 1.5;
  font-weight: 300;
  font-style: normal;
}

/* =========================================
   Results
========================================= */
.section-results {
  background: var(--bg-warm);
  color: var(--text-dark);
  background-image: url("../../assets/AssetsRidge/Results/source_image2.png"); /* swap to your asset */
  background-repeat: no-repeat ;
  background-position: center;
  background-size: cover;
}

.results-title {
  font-family: "Suisse Intl", sans-serif;
  font-weight: 400;
  font-size: clamp(3rem, 6vw, 96px);
  line-height: 0.937;
  letter-spacing: -0.03em;
  margin: 0;
}

.results-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 2px solid #7a4cff;
  border-radius: 999px;
  color: #7a4cff;
  font-weight: 400;
  letter-spacing: 0.08em;
  font-size: 1.125rem;
  background: transparent;
}

.metric {
  min-height: 190px;
}

.metric-value {
  font-family: "Suisse Intl", sans-serif;
  font-weight: 500;
  font-size: clamp(3.2rem, 6vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.metric-label {
  font-size: 1.6rem;
  line-height: 1.2;
  margin-top: 8px;
}

.metric-sub {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 4px;
}

/* =========================================
   See More
========================================= */
.section-see-more {
  background: var(--bg-dark);
  color: var(--text-cream);
}

.see-more-title {
  font-family: "Suisse Intl", sans-serif;
  font-weight: 400;
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0;
}

.see-more-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.see-more-image {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  aspect-ratio: 4 / 3;
}

.see-more-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.see-more-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 2px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  white-space: nowrap;
}

.see-more-pill:hover,
.see-more-pill:focus {
  background: var(--accent);
  color: #1a1a1a;
}

.see-more-divider {
  border: 0;
  border-top: 1px solid rgba(245, 242, 235, 0.50);
}

/* =========================================
   Footer
========================================= */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-cream);
  position: relative;
  overflow: hidden;
}

.footer-office {
  height: 300px;
}

.footer-heading {
  font-family: "Suisse Intl", sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-address {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.95;
}

.footer-meta {
  font-size: 1rem;
  line-height: 1.5;
  opacity: 0.95;
}

.footer-link {
  color: var(--text-cream);
  text-decoration: none;
  /* border-bottom: 1px solid rgba(245, 242, 235, 0.25); */
}

.footer-link:hover,
.footer-link:focus {
  /* color: #fff; */
  color: var(--accent);
  border-bottom-color: rgba(255, 255, 255, 0.6);
}

.footer-arrow {
  position: absolute;
  right: -70px;
  top: 85px;
  width: min(520px, 45vw);
  height: auto;
  pointer-events: none;
  user-select: none;
  opacity: 0.95;
}

.footer-logo-wrap {
  position: relative;
}

.footer-logo {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  margin-top: 40px;
  margin-left: 0;
}

.footer-robot {
  width: 35px;
  height: 50px;
  display: inline-block;
  margin-left: 50px;
}

/* =========================================
   Responsive: Desktop (>= 992px)
========================================= */
@media (min-width: 992px) {
  /* Campaign tile heights */
  .media-tile--sm-1 { height: 347px; }
  .media-tile--sm-2 { height: 232px; }
  .media-tile--lg   { height: 602px; }
  .media-tile--xl   { height: 715px; }

  /* Your “sm-3 / sm-4” tiles behave better with heights than max-height */
  .media-tile--sm-3 { height: 325px; }
  .media-tile--sm-4 { height: 275px; }

  /* Photography proportions */
  .photo-carousel { height: 560px; }
  .photo-carousel .carousel-inner,
  .photo-carousel .carousel-item { height: 100%; }
  .photo-tile { height: 268px; }

  /* Media */
  .device-tile--phone { height: 520px; }
  .device-tile--laptop { height: 520px; }

  /* Utility if you keep using it */
  .w-lg-auto { width: auto !important; }
}

/* =========================================
   Responsive: Tablet/Mobile (<= 991.98px)
========================================= */
@media (max-width: 991.98px) {
  .section-padding {
    padding: 30px 0px;
  }

  /* Header / nav */
  .site-header .container {
    min-height: auto;
  }

  .navbar-collapse {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .navbar-nav {
    gap: 10px;
  }

  .nav-link-accent {
    padding: 10px 0;
  }

  /* Hero */
  .hero-left-inner .x-logo {
    bottom: -46px;
    right: 45%;
    width: 75px;
    height: 75px;
  }

  .hero-divider {
  margin-top: 20px;
}

  .hero-right,
  .hero-image {
    height: 320px;
    min-height: 320px;
  }

  /* Science & Art copy */
  .sa-copy {
    max-width: 100%;
  }

  /* Campaign */
  .media-tile--xl { height: auto; }

  /* Photography */
  .photo-carousel,
  .photo-tile {
    height: auto;
  }

  /* Media */
  .device-tile--phone { height: 360px; }
  .device-tile--laptop { height: 300px; }
  .phone-section-1 .device-tile { border-radius: 27px; }

  .media-tile--sm-3 { height: 304px; }
  .media-tile--sm-4 { height: 210px; }

  
.laptop-container {
    width: 350px;
    height: 200px;
    position: relative;
    margin: 0 auto;
    margin-top: 50px;
}

.section-media .laptop-container video {
    
    width: 282px;
    height: 170px;
    position: absolute;
    top: 47%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.media-tile-small.wide-video video{
    width: 100%;
    height: 145px;
    margin-top: 48px;
    object-fit: fill;
}

  /* Footer */
  .footer-office { height: auto; }
  .footer-logo { max-width: 100%; }

  .footer-arrow {     
    right: -70px;
    top: 20px;    
}

}

/* =========================================
   Responsive: Small (<= 768px)
========================================= */
@media (max-width: 768px) {
  .carousel-chevron {
    width: 56px;
    height: 56px;
  }

  .video-play-icon {
    width: 72px;
    height: 72px;
  }
}