/* ============================================================
   HERO — HOME (ANA overlay)
   ============================================================ */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: flex;
  position: relative;
  overflow: hidden;
  background: #111;
}

.hero-left {
  flex: 1;
  padding: 160px 64px 80px;
  /* Align perfectly with nav 64px padding-left and clear the header */
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Vertically center the massive letters */
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero-ana-title {
  margin-top: 20px;
  font-family: "Questrial", sans-serif !important;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 0px;
  /* Precise typography alignment */
  pointer-events: none;
}

.ana-row {
  font-size: clamp(6rem, 15vw, 16rem);
  /* Massive size */
  line-height: 0.78;
  /* Brought rows closer vertically */
  font-weight: 300;
  letter-spacing: 0.03em;
  /* Brought letters much closer horizontally */
  opacity: 0.95;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  /* Keep legible over dynamic slider images */
}

.hero-right {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-visual {
  width: 100%;
  height: 100%;
  position: relative;
}

/* Dark gradient overlay so white text is readable */
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 0.1) 100%);
  z-index: 2;
}

.hero-slider-container {
  display: flex;
  width: 500%;
  height: 100%;
  will-change: transform;
}

.hero-slide {
  width: 20%;
  height: 100%;
  position: relative;
}

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

.hero-nav-btns {
  position: absolute;
  bottom: 48px;
  right: 48px;
  display: flex;
  gap: 12px;
  z-index: 999;
}

.hero-nav-btn {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: auto !important;
}

.hero-nav-btn:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
}

/* ============================================================
   QUOTE 1 (Left Aligned)
   ============================================================ */
.quote-centered-section {
  padding: 120px 0;
  background: var(--white);
  text-align: left;
}

.quote-centered-section .container {
  padding: 0 64px;
  /* Matches layout grid left margin precisely */
}

.quote-text-large {
  font-size: 53px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--text-primary);
  margin: 0;
  max-width: 1200px;
}

/* ============================================================
   DELIVERING VALUE (Left button bottom aligned, copy right)
   ============================================================ */
.delivering-value-right {
  padding: 80px 0 120px;
  background: var(--white);
}

.delivering-value-right .container {
  padding: 0 64px;
  /* Matches layout grid margins */
}

.dv-wrapper {
  display: flex;
  width: 100%;
  align-items: flex-end;
  /* Align button to the bottom vertically */
  justify-content: space-between;
  gap: 80px;
}

.dv-left-btn-container {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  padding-left: 0;
  /* Starts exactly at the 64px margin line */
}

.dv-content-right {
  flex: 1.2;
  max-width: 650px;
  padding-right: 0;
  /* Ends exactly at the 64px margin line */
}

.dv-title {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.dv-desc {
  font-size: 20px;
  line-height: 1.6;
  color: #555;
}

/* ============================================================
   GLOBAL CAPSULE BUTTONS
   ============================================================ */
.btn-capsule-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 48px;
  border: 1px solid var(--brand-red, #cb0000);
  border-radius: 100px;
  /* Perfect rounded capsule */
  color: var(--brand-red, #cb0000);
  background-color: transparent;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  /* Unified 0.8s transition */
  cursor: pointer;
  white-space: nowrap;
}

.btn-capsule-red:hover {
  background-color: var(--brand-red, #cb0000);
  color: var(--white, #fff);
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.2);
}

.btn-capsule-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 48px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 100px;
  color: var(--white, #fff);
  background-color: transparent;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  /* Unified 0.8s transition */
  cursor: pointer;
  white-space: nowrap;
}

.btn-capsule-white:hover {
  background-color: var(--white, #fff);
  color: var(--text-primary, #111);
  border-color: var(--white, #fff);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}

.link-red-arrow {
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-red);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.3s;
}

.link-red-arrow:hover {
  opacity: 0.7;
}

/* ============================================================
   EXPERTISE GRID (4 columns)
   ============================================================ */
.expertise-grid-section {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.expertise-row {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

.expertise-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 500px;
}

.exp-top-img {
  height: 40vh;
  width: 100%;
  overflow: hidden;
  flex-shrink: 0;
}

.exp-top-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 4.2s ease;
}

.expertise-col:hover .exp-top-img img {
  transform: scale(1.05);
}

.exp-bot-color {
  flex: 1;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: var(--white);
}

.exp-title {
  font-size: 40px;
  font-weight: 500;
  margin-bottom: 140px; /* Increased to push description perfectly into the center while keeping it aligned */
}

.exp-desc {
  font-size: 20px;
  line-height: 1.5;
  opacity: 0.9;
  margin-bottom: 24px;
}

.exp-btn-link {
  font-size: 20px;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 4px;
  display: inline-block;
  transition: border-color 0.3s;
  margin-top: auto;
  align-self: flex-start;
}

.exp-btn-link:hover {
  border-color: var(--white);
}

/* ============================================================
   QUOTE 2 (Right aligned)
   ============================================================ */
.quote-right-section {
  padding: 120px 20px;
  background: var(--white);
}

.quote-right-wrapper {
  display: flex;
  justify-content: flex-end;
  text-align: right;
}

.quote-right-wrapper .quote-text-large {
  text-align: right;
  margin: 0;
  max-width: 1000px;
}

/* ============================================================
   STUDIO INTRO (Green Block)
   ============================================================ */
.studio-intro-block {
  background: #8cb380;
  padding: 100px 0;
  color: var(--white);
}

.studio-intro-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 60px;
}

.studio-intro-text {
  font-size: 35px;
  line-height: 1.6;
  max-width: 800px;
  font-weight: 400;
}

.studio-intro-action {
  flex-shrink: 0;
}

/* ============================================================
   IN FOCUS SECTION
   ============================================================ */
.in-focus-section {
  position: relative;
  height: 100vh;
  min-height: 520px;
  display: flex;
}

.in-focus-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.in-focus-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.in-focus-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.25) 100%);
}

.in-focus-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 64px;
  /* Standard 64px padding to left-align perfectly with navbar & layout edges */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.in-focus-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;

}

.in-focus-bottom {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.in-focus-title {
  color: var(--white);
  font-size: 35px;
  font-weight: normal;
  margin-bottom: 32px;
  line-height: 1.6;
  letter-spacing: normal;
  max-width: 900px;
  /* Ample width to prevent awkward wraps */
}

.btn-infocus-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: transparent;
  color: #ffffff;
  padding: 20px 48px;
  border: 1px solid #ffffff;
  border-radius: 100px;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-infocus-pill:hover {
  background-color: #ffffff;
  color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.25);
}

/* ============================================================
   INSIGHTS INTRO (Teal Block)
   ============================================================ */
.insights-intro-block {
  background: #6c9a98;
  padding: 100px 0;
  color: var(--white);
}

.insights-intro-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.insights-intro-title {
  font-size: 53px;
  font-weight: 500;
}

.link-white-arrow {
  color: var(--white);
  text-decoration: none;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ============================================================
   LATEST INSIGHTS (Grid)
   ============================================================ */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.insight-card {
  display: flex;
  flex-direction: column;
}

.insight-card-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.insight-card-img {
  width: 100%;
  aspect-ratio: 16/9; /* Consistent 16:9 ratio across the site */
  overflow: hidden;
  margin-bottom: 20px;
}

.insight-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 4.2s cubic-bezier(0.25, 1, 0.5, 1);
  /* Extended timing for cinematic zoom */
}

.insight-card:hover .insight-card-img img {
  transform: scale(1.08);
  /* Extended cinematic zoom factor */
}

.insight-card-title-new {
  font-size: 35px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}

.insight-card-excerpt {
  font-size: 20px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.link-red-arrow-small {
  color: var(--brand-red);
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  margin-top: auto;
}

/* ============================================================
   WORK WITH US NEW
   ============================================================ */
.work-with-us-new {
  padding: 100px 0;
  background: var(--white);
  border-top: 2px solid var(--border);
}

.wwu-new-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.wwu-new-content h3 {
  margin-bottom: 24px;
}

.wwu-new-content p {
  margin-bottom: 32px;
  line-height: 1.6;
  color: #555;
}

.wwu-new-image {
  aspect-ratio: 16/9;
}

.wwu-new-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   PHILOSOPHY QUOTE (Yellow Block)
   ============================================================ */
.philosophy-quote-block {
  background: #ebbb60;
  padding: 120px 20px;
  text-align: center;
  color: var(--white);
}

.philosophy-quote-body {
  font-size: 53px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 32px;
}

.philosophy-quote-attr {
  font-size: 1.2rem;
  font-weight: 500;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .expertise-row {
    flex-wrap: wrap;
    height: auto;
  }
  .expertise-col {
    flex: 0 0 50%;
  }
  .exp-title {
    margin-bottom: 16px;
  }
  .studio-intro-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
  .dv-wrapper {
    flex-direction: column-reverse;
    gap: 32px;
  }
  .dv-left-btn-container {
    padding-left: 0;
    margin-top: 24px;
  }
  .dv-content-right {
    padding-right: 0;
    max-width: 100%;
  }
  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-left {
    padding: 120px 20px 60px;
  }
  .hero-ana-title {
    gap: 10px;
  }
  .ana-row {
    font-size: clamp(3.5rem, 12vw, 6rem);
  }
  .hero-nav-btns {
    bottom: 24px;
    right: 20px;
  }

  .quote-centered-section,
  .quote-right-section,
  .delivering-value-right {
    padding: 60px 20px;
  }
  .quote-centered-section .container,
  .delivering-value-right .container {
    padding: 0;
  }
  .quote-text-large {
    font-size: 32px;
  }
  
  .dv-title {
    font-size: 28px;
  }

  .expertise-col {
    flex: 0 0 100%;
  }
  .exp-title {
    font-size: 32px;
  }

  .insights-grid {
    grid-template-columns: 1fr;
  }
  .insight-card-title-new {
    font-size: 28px;
  }

  .wwu-new-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .studio-intro-block,
  .insights-intro-block,
  .work-with-us-new,
  .philosophy-quote-block {
    padding: 60px 20px;
  }

  .studio-intro-text {
    font-size: 24px;
  }
  .insights-intro-title {
    font-size: 36px;
  }

  .in-focus-content {
    padding: 40px 20px;
  }
  .in-focus-title {
    font-size: 28px;
  }
  .btn-infocus-pill {
    display: inline-block;
    white-space: normal;
    word-wrap: break-word;
    max-width: 85%;
    height: auto;
    text-align: left;
    line-height: 1.4;
    padding: 16px 32px;
    font-size: 1rem;
  }

  .philosophy-quote-body {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .ana-row {
    font-size: clamp(3rem, 15vw, 4rem);
  }
  .quote-text-large {
    font-size: 26px;
  }
  .dv-title {
    font-size: 24px;
  }
  .exp-title {
    font-size: 28px;
  }
  .insight-card-title-new {
    font-size: 24px;
  }
  .studio-intro-text {
    font-size: 20px;
  }
  .insights-intro-title {
    font-size: 28px;
  }
  .in-focus-title {
    font-size: 24px;
  }
  .btn-infocus-pill {
    display: inline-block;
    white-space: normal;
    word-wrap: break-word;
    max-width: 85%;
    height: auto;
    text-align: left;
    line-height: 1.4;
    padding: 12px 24px;
    font-size: 0.9rem;
  }
  .philosophy-quote-body {
    font-size: 26px;
  }
}