/* ==========================================================================
   The Travel Tales Case Study Styles
   ========================================================================== */

.tt-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 50px;
  align-items: center;
  padding-top: 40px;
}

.tt-hero h1 {
  font-size: clamp(38px, 4.5vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 22px 0;
}

.tt-hero h1 em {
  color: #e48840;
  font-style: normal;
}

.tt-lead {
  font-size: 17px;
  line-height: 1.85;
  color: var(--muted, #626c66);
}

.tt-note {
  font-size: 12px !important;
  line-height: 1.7 !important;
  color: var(--muted, #76836e) !important;
  margin-top: 18px !important;
}

.tt-hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin: 26px 0 20px;
}

.tt-hero-actions .button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tt-hero-visual {
  margin: 0;
  background: #0f2720;
  border: 1px solid #1f4337;
  border-radius: 20px;
  padding: 24px 22px 18px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(15, 39, 32, 0.15);
}

.tt-hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  margin-bottom: 20px;
}

.tt-brand-logo {
  max-width: 170px;
  height: auto;
  object-fit: contain;
}

.tt-brand-name {
  font-size: 20px;
  color: #f8f7f3;
  letter-spacing: -0.02em;
}

.tt-brand-tag {
  font-size: 11px;
  color: #e48840;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tt-hero-preview-box {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.tt-hero-photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.tt-hero-visual figcaption {
  font-size: 10px;
  color: #8fa89b;
  text-align: center;
  margin-top: 14px;
  line-height: 1.6;
}

.tt-project-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  border-block: 1px solid var(--line, #dedfd7);
  padding-top: 24px;
  padding-bottom: 24px;
}

.tt-project-facts small {
  display: block;
  font-size: 10px;
  color: var(--muted, #626c66);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.tt-project-facts strong {
  font-size: 13px;
  line-height: 1.5;
  color: var(--dark, #202c28);
}

.tt-jump-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 12px;
  font-weight: 600;
  border-bottom: 1px solid var(--line, #dedfd7);
}

.tt-jump-nav a {
  color: #183c32;
  text-decoration: none;
  transition: color 0.2s ease;
}

.tt-jump-nav a:hover {
  color: #e48840;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.tt-editorial-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 60px;
  align-items: start;
}

.tt-editorial-section h2,
.tt-heading h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 18px 0;
}

.tt-editorial-section p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted, #626c66);
}

.tt-editorial-section .tt-opening {
  font-size: 18px;
  color: var(--dark, #202c28);
  line-height: 1.8;
}

.tt-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 35px;
}

.tt-heading > p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted, #626c66);
  margin-bottom: 20px;
}

.tt-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.tt-pillars-grid article {
  border-top: 2px solid #183c32;
  padding-top: 20px;
}

.tt-pillar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #183c32;
  margin-bottom: 16px;
}

.tt-pillar-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.tt-pillars-grid h3 {
  font-size: 18px;
  margin: 0 0 10px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.tt-pillars-grid p {
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted, #626c66);
  margin: 0;
}

.tt-photo-spotlight {
  padding-top: 10px;
}

.tt-photo-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line, #dedfd7);
  box-shadow: 0 18px 40px rgba(24, 60, 50, 0.12);
}

.tt-spotlight-img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.tt-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 39, 32, 0.95) 0%, rgba(15, 39, 32, 0.7) 70%, transparent 100%);
  padding: 40px 30px 24px;
  color: #f8f7f3;
}

.tt-photo-caption strong {
  display: block;
  font-size: 17px;
  margin-bottom: 6px;
  color: #ffffff;
}

.tt-photo-caption p {
  font-size: 13px;
  line-height: 1.6;
  color: #d1ddd6;
  margin: 0;
}

.tt-stack-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.tt-stack-strip span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: #eef2ec;
  color: #183c32;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #d5ded0;
}

.tt-engineering-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.tt-engineering-grid article {
  background: #ffffff;
  border: 1px solid var(--line, #dedfd7);
  border-radius: 14px;
  padding: 28px 24px;
}

.tt-engineering-grid h3 {
  font-size: 17px;
  margin: 0 0 12px;
  color: #183c32;
}

.tt-engineering-grid p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted, #626c66);
  margin: 0;
}

.tt-feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tt-feature-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fbfbf9;
  border: 1px solid var(--line, #dedfd7);
  border-radius: 14px;
  padding: 24px;
}

.tt-feature-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #183c32;
  color: #f8f7f3;
  border-radius: 10px;
  flex-shrink: 0;
}

.tt-feature-row h3 {
  font-size: 17px;
  margin: 0 0 8px;
  color: var(--dark, #202c28);
}

.tt-feature-row p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted, #626c66);
  margin: 0;
}

.tt-final {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr);
  gap: 50px;
  align-items: center;
  border-top: 1px solid var(--line, #dedfd7);
  padding-top: 40px;
}

.tt-final h2 {
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 18px 0;
}

.tt-final h2 em {
  color: #e48840;
  font-style: normal;
}

.tt-final p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted, #626c66);
  margin: 20px 0;
}

.tt-final-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.tt-final-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #0f2720;
  padding: 34px 26px;
  border-radius: 18px;
  border: 1px solid #1f4337;
  color: #f8f7f3;
  gap: 12px;
}

.tt-final-logo {
  max-width: 160px;
  height: auto;
  object-fit: contain;
}

.tt-final-brand strong {
  font-size: 22px;
  letter-spacing: -0.03em;
}

.tt-final-brand span {
  font-size: 12px;
  color: #e48840;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ==========================================================================
   Responsive Breakpoints for Case Study
   ========================================================================== */
@media (max-width: 900px) {
  .tt-hero {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .tt-pillars-grid {
    grid-template-columns: 1fr 1fr;
  }
  .tt-editorial-section,
  .tt-heading,
  .tt-final {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

@media (max-width: 720px) {
  .tt-project-facts {
    grid-template-columns: 1fr 1fr;
  }
  .tt-engineering-grid {
    grid-template-columns: 1fr;
  }
  .tt-feature-row {
    flex-direction: column;
    gap: 14px;
    padding: 20px;
  }
  .tt-photo-caption {
    padding: 24px 18px 16px;
  }
  .tt-photo-caption strong {
    font-size: 15px;
  }
  .tt-photo-caption p {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .tt-pillars-grid {
    grid-template-columns: 1fr;
  }
}
