/* ================================
   HERO CAROUSEL (clean + stable)
================================ */
.hero-overlay {
  will-change: opacity, transform;
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 520px;
  overflow: hidden;
  margin-top: 0; /* ensure it starts at top */
}


.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
  height: 100%;
}

.hero-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gradient overlay */
.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.65),
    rgba(0,0,0,0.35) 50%,
    rgba(0,0,0,0)
  );
}

/* Text + logo overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: #fff;
}

/* Logo */
.hero-overlay img {
  height: 140px;
  width: auto;
  margin-bottom: 1.25rem;
  filter: brightness(0) invert(1);
}

/* Main title */
.hero-title {
  font-weight: 200;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.hero-title .studio-name {
  display: block;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 200;
}

.hero-title .studio-desc {
  display: block;
  margin-top: 0.5rem;
  font-size: clamp(1rem, 2.4vw, 1.3rem);
  max-width: 42ch;
  opacity: 0.85;
  margin-left: auto;
  margin-right: auto;
}

/* CTA button */
.hero-overlay .btn {
  margin-top: 1.5rem;
}




/* Filter bar styling */
.filter-bar .btn {
  margin-right: 0.5rem;
  border-radius: 20px;
  font-weight: 300;
  letter-spacing: 0.03em;
}

.filter-bar .btn.active {
  background: #111;
  color: #fff;
}

/* Base card wrapper */
.project-card-wrapper {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Stage 1: fade + scale */
.project-card-wrapper.hiding,
.project-card-wrapper.hide {
  opacity: 0;
  transform: scale(0.95);
}

/* Stage 2: fully remove from layout */
.project-card-wrapper.hidden {
  display: none !important;
}

/* Card hover styling */
.card-project {
  border: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.card-project:hover {
  background-color: rgba(0, 0, 0, 0.03);
  transform: translateY(-3px);
}

/* Tab links styled to be calm and content-like */
.nav-tabs .nav-link {
  font-weight: 300;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #111 !important;
  background: transparent !important;
  border: none !important;
  padding: 0.75rem 1.25rem;
}

.nav-tabs .nav-link.active {
  color: #111 !important;
  border-bottom: 2px solid #111 !important;
}

.nav-tabs {
  border-bottom: 1px solid #ddd;
}

.nav-tabs .nav-link:hover {
  color: #000 !important;
  text-decoration: none;
}

/* Tab content panel spacing */
.tab-pane {
  padding-top: 1rem;
  padding-bottom: 2rem;
}

/* Headings inside tab content */
.tab-pane h5 {
  font-weight: 300;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #111;
}

/* Paragraph text inside tabs (match blurb) */
.tab-pane p {
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
  color: #111;
}
/* Footer-style tab typography */
.nav-tabs .nav-link {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: #111 !important;
  background: transparent !important;
  border: none !important;
  padding: 0.75rem 1.25rem;
  font-weight: 300;
}

.nav-tabs .nav-link.active {
  color: #111 !important;
  border-bottom: 2px solid #111 !important;
}

.nav-tabs {
  border-bottom: 1px solid #ddd;
}

.nav-tabs .nav-link:hover {
  color: #000 !important;
  text-decoration: none;
}




.btn-outline-light {
  border-color: #fff;
  color: #fff;
}

.btn-outline-light:hover {
  background-color: #fff;
  color: #000;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }

}

.hero-title,
.hero-overlay span,
.hero-overlay a {
  text-shadow: 0 2px 6px rgba(0,0,0,0.35);
}

.hero-overlay {
  backdrop-filter: blur(0.45px);
}

/* Hero-overlay navbar */

#navbar {
  will-change: background-color, box-shadow, position;
}

#navbar {
  position: absolute; /* sit on top of hero */
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 20;
}

/* After scroll */
#navbar.scrolled {
  position: fixed; /* stick after scroll */
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Navbar links color */
#navbar .nav-link {
  color: #fff;
  transition: color 0.3s ease;
}

#navbar.scrolled .nav-link {
  color: #333;
}

/* Navbar logo */
#navbar .navbar-brand img {
  filter: brightness(0) invert(1); /* white logo */
  transition: filter 0.3s ease;
}

#navbar {
  will-change: background-color, box-shadow;
}


.brand-block {
  display: inline-block; /* makes the block shrink to the width of the text */
}


/* Hero overlay logo */
.hero-overlay .brand-logo {
  height: auto;          /* let height adjust automatically */
  width: auto;           /* auto width by default */
  max-width: 60%;        /* adjust to roughly match text width */
  margin-bottom: 1.25rem;
  filter: brightness(0) invert(1); /* white logo on hero */
}


.studio-name {
  display: inline-block; /* ensures the text defines the width */
}


/* Make filter buttons wrap nicely on small screens */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem; /* Adjust spacing between buttons */
  justify-content: center; /* Center on mobile */
}

.filter-bar .filter-btn {
  flex: 1 1 auto; /* Allow buttons to grow evenly */
  text-align: center;
  min-width: 120px; /* Optional: avoid very narrow buttons */
}
/* Optional: smooth transition for logo */
.navbar-brand img {
  transition: filter 0.3s ease, opacity 0.3s ease;
}

/* Navbar logo base state (over hero) */
#navbar .navbar-brand img {
  filter: brightness(0) invert(1); /* white */
  transition: filter 0.3s ease;
}

/* After scroll */
#navbar.scrolled .navbar-brand img {
  filter: grayscale(100%) brightness(0.38) contrast(1.15);
}

.hero-project-label {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 15;
  font-weight: 300;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero-project-label a {
  display: block;
  text-decoration: none;
  color: rgba(255,255,255,0.85); /* never blue */
  transition: color 0.3s ease;
}

.hero-project-label a:hover {
  color: #fff;
}

.hero-project-label .project-name {
  display: block;
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}



.hero-project-label .project-meta {
  display: block;
  font-size: 0.65rem;
  opacity: 0.75;
  font-weight: 200;
	text-transform: uppercase;
}

/* Page hero */
.page-hero {
  padding: 6rem 0 4rem;
  background: #f8f9fa;
}

/* Page content */
.page-content {
  padding: 4rem 0;
}


/* Process list */
.process-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.process-step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 4rem;
  position: relative;
}

/* Number */
.process-step::before {
  content: counter(step);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #000;
  font-size: 1rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Text */
.step-text h5 {
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.step-text p {
  font-weight: 300;
  margin-bottom: 0;
}

/* Image */
.step-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Desktop enhancement */
@media (min-width: 992px) {
  .process-step {
    grid-template-columns: 44px 1fr 1fr;
    align-items: center;
    gap: 3rem;
	}

  .process-step:nth-child(even) {
    grid-template-columns: 44px 1fr 1fr;
  }

  .process-step:nth-child(even) .step-text {
    order: 2;
    text-align: right;
  }

  .process-step:nth-child(even) .step-image {
    order: 1;
  }
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.sg-micro-link {
  text-align: center;
  margin: 3rem 0 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sg-micro-link a {
  color: #111;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}

.sg-micro-link a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 40px;
  height: 1px;
  background: rgba(0,0,0,0.3);
  transform: translateX(-50%);
  transition: background 0.3s ease, width 0.3s ease;
}

.sg-micro-link a:hover::after {
  background: rgba(0,0,0,0.6);
  width: 60px;
}

/* Smooth scrolling for the whole page */
html {
  scroll-behavior: smooth;
}

/* Snap scrolling for hero → next section */
body {
  scroll-snap-type: y mandatory;
}

/* Hero and next section snap cleanly */
#home,
#heroCarousel,
section {
  scroll-snap-align: start;
}

/* Smooth fade between hero images */
.carousel-fade .carousel-item {
  opacity: 1.8s ease;
  transition: opacity 1.5s ease-in-out;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-left,
.carousel-fade .carousel-item-prev.carousel-item-right {
  opacity: 1;
}

.carousel-fade .active.carousel-item-left,
.carousel-fade .active.carousel-item-right {
  opacity: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 50;
}

.scroll-arrow {
    display: block;
    width: 28px;
    height: 28px;
    border-right: 2px solid rgba(255,255,255,0.95);
    border-bottom: 2px solid rgba(255,255,255,0.95);
    transform: rotate(45deg);
    animation: scrollArrowPulse 2.2s ease-in-out infinite;
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.6));
}

@keyframes scrollArrowPulse {
    0%   { transform: translateY(0) rotate(45deg); opacity: 0.6; }
    50%  { transform: translateY(12px) rotate(45deg); opacity: 1; }
    100% { transform: translateY(0) rotate(45deg); opacity: 0.6; }
}

/* Match the Services page step numbers */
/* Wrap heading + number in a flex row */
.question-heading {
  display: flex;
  align-items: flex-start;
  gap: 1rem; /* space between number and text */
  margin-bottom: 1.5rem;
}

/* Number circle — identical to Services page */
.question-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #000;
  font-size: 1rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; /* prevents squashing */
}

/* Match Services typography */
.question-heading-text {
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.4;
}

.question-heading-text .text-muted {
  font-weight: 300;
}

.h1-subtitle {
  display: block;
  font-size: 0.6em;      /* smaller but still tied to h1 scale */
  font-weight: 300;      /* lighter */
  opacity: 0.8;          /* optional, adds softness */
  margin-top: 0.4rem;
}



.faq-section {
  background: #fafafa;
  border-radius: 8px;
  padding: 2.5rem 2rem;
}

.small { line-height: 1.55; }

@media (min-width: 768px) {
  .team-divider {
    border-left: 1px solid rgba(0,0,0,0.08);
    padding-left: 2rem;
  }
}
.faq-section p {
  line-height: 1.55;
}


.page-content iframe {
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}


.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 300;
}

.page-hero .lead {
  margin-top: 0.5rem;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  opacity: 0.85;
}

/* Text links in page content only */
.page-hero a,
.page-content a,
.faq-section a {
  color: #000;
  text-decoration: underline;
  text-decoration-thickness: 0.5px; /* faint underline */
  text-underline-offset: 2px;       /* subtle spacing */
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
  text-decoration-color: rgba(0,0,0,0.3); /* soft, faint underline */
}

.page-hero a:hover,
.page-content a:hover,
.faq-section a:hover {
  color: #777; /* or your gold */
  text-decoration-color: currentColor; /* underline matches hover colour */
}

