@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ── Page shell ── */
/* Break Bootstrap flex/h-100 — that layout is what leaves a gap above the hero */
html:has(body.tc-home) {
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #111;
}

body.tc-home {
  display: block !important;
  height: auto !important;
  min-height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  background: #111;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: #111;
}

body.tc-home .content-wrapper {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: none !important;
}

/* Navbar floats — zero footprint in the layout */
body.tc-home .navbar-wrapper {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  margin: 0 !important;
  padding: 0 !important;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0) 100%
  ) !important;
  background-color: transparent !important;
  pointer-events: none;
}

body.tc-home .navbar-wrapper .top-nav,
body.tc-home .navbar-wrapper a,
body.tc-home .navbar-wrapper button {
  pointer-events: auto;
}

body.tc-home .tc-nav-home,
body.tc-home .tc-nav-home.scrolled,
body.tc-home .tc-nav-home .container-fluid {
  position: static !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

/* White text over hero — beat navbar.css black defaults */
body.tc-home .top-nav a,
body.tc-home .top-nav span,
body.tc-home .top-nav .nav-link-cultural,
body.tc-home .top-nav .brand-text-cultural,
body.tc-home .top-nav .brand-subtitle-cultural,
body.tc-home .top-nav.scrolled a,
body.tc-home .top-nav.scrolled span,
body.tc-home .top-nav.scrolled .brand-text-cultural,
body.tc-home .top-nav.scrolled .brand-subtitle-cultural {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

body.tc-home .top-nav .brand-text-cultural {
  font-weight: 700;
}

body.tc-home .top-nav .brand-subtitle-cultural {
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 400;
}

body.tc-home .top-nav .nav-link-cultural,
body.tc-home .top-nav .navbar-right a {
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 500;
}

body.tc-home .top-nav .text-muted {
  color: rgba(255, 255, 255, 0.9) !important;
}

body.tc-home .top-nav a:hover,
body.tc-home .top-nav .nav-link-cultural:hover,
body.tc-home .nav-logo-link:hover .brand-text-cultural,
body.tc-home .nav-logo-link:hover .brand-subtitle-cultural {
  color: #b8ff6a !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

body.tc-home .nav-logo {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

/* After scroll: frosted white bar, dark text */
body.tc-home.tc-scrolled .navbar-wrapper {
  background: transparent !important;
}

body.tc-home.tc-scrolled .top-nav,
body.tc-home.tc-scrolled .top-nav.scrolled {
  background: rgba(255, 255, 255, 0.96) !important;
  background-color: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

body.tc-home.tc-scrolled .top-nav a,
body.tc-home.tc-scrolled .top-nav span,
body.tc-home.tc-scrolled .top-nav .nav-link-cultural,
body.tc-home.tc-scrolled .top-nav .brand-text-cultural,
body.tc-home.tc-scrolled .top-nav .brand-subtitle-cultural {
  color: #111111 !important;
  text-shadow: none;
}

body.tc-home.tc-scrolled .top-nav .brand-subtitle-cultural {
  color: #666666 !important;
}

body.tc-home.tc-scrolled .top-nav a:hover,
body.tc-home.tc-scrolled .top-nav .nav-link-cultural:hover,
body.tc-home.tc-scrolled .nav-logo-link:hover .brand-text-cultural,
body.tc-home.tc-scrolled .nav-logo-link:hover .brand-subtitle-cultural {
  color: #1a7a2e !important;
}

body.tc-home.tc-scrolled .nav-logo {
  filter: none;
}

/* Below the hero the page is white again */
body.tc-home.tc-scrolled {
  background: #fff;
}

/* Only the page content container — NOT the one inside the navbar */
body.tc-home .content-wrapper > .container-fluid,
body.tc-home main {
  margin: 0 !important;
  padding: 0 !important;
  background: #fff;
}

body.tc-home .top-nav .container-fluid {
  background: transparent !important;
  background-color: transparent !important;
  margin: 0 !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

body.tc-home .site-footer {
  margin: 0;
  background: #fff;
}

/* ── Shared ── */
.tc-wrap {
  width: min(1180px, calc(100% - 3rem));
  margin-inline: auto;
}

.tc-block {
  padding: clamp(4rem, 10vw, 7rem) 0;
}

.tc-header {
  max-width: 36rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.tc-header h2,
.tc-intro-text h2,
.tc-split-copy h2,
.tc-specs h2,
.tc-cta h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.tc-header p,
.tc-intro-text p,
.tc-split-copy p,
.tc-specs p,
.tc-cta p {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #555;
  font-weight: 400;
}

.tc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: #fff !important;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tc-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
}

.tc-link-dark {
  border-color: #111;
  color: #111 !important;
}

.tc-link-dark:hover {
  background: #111;
  color: #fff !important;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ── Hero: full viewport, snapped to top via JS if needed ── */
.tc-hero {
  position: relative;
  left: 0;
  width: 100vw;
  max-width: 100vw;
  margin: 0;
  margin-left: calc(50% - 50vw);
  padding: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #0d0d0d;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #0d0d0d;
}

.tc-hero-slides {
  position: absolute;
  inset: 0;
}

.tc-hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.tc-hero-slide.is-active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.tc-hero-zoom {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.tc-hero-slide.is-active .tc-hero-zoom {
  animation-duration: 4.2s;
  animation-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
  animation-fill-mode: forwards;
}

.tc-hero-slide.is-active[data-motion="in"] .tc-hero-zoom {
  animation-name: tc-motion-in;
}

.tc-hero-slide.is-active[data-motion="out"] .tc-hero-zoom {
  animation-name: tc-motion-out;
}

.tc-hero-slide.is-active[data-motion="drift-left"] .tc-hero-zoom {
  animation-name: tc-motion-drift-left;
}

.tc-hero-slide.is-active[data-motion="drift-right"] .tc-hero-zoom {
  animation-name: tc-motion-drift-right;
}

.tc-hero-slide.is-active[data-motion="drift-up"] .tc-hero-zoom {
  animation-name: tc-motion-drift-up;
}

.tc-hero-slide:not(.is-active) .tc-hero-zoom {
  animation: none !important;
}

.tc-hero-zoom img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  display: block;
}

@keyframes tc-motion-in {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(0, 0, 0) scale(1.06); }
}

@keyframes tc-motion-out {
  from { transform: translate3d(0, 0, 0) scale(1.08); }
  to   { transform: translate3d(0, 0, 0) scale(1.01); }
}

@keyframes tc-motion-drift-left {
  from { transform: translate3d(1.2%, 0, 0) scale(1.02); }
  to   { transform: translate3d(-1.2%, 0, 0) scale(1.06); }
}

@keyframes tc-motion-drift-right {
  from { transform: translate3d(-1.2%, 0.6%, 0) scale(1.02); }
  to   { transform: translate3d(1.2%, -0.6%, 0) scale(1.06); }
}

@keyframes tc-motion-drift-up {
  from { transform: translate3d(0, 1.2%, 0) scale(1.02); }
  to   { transform: translate3d(0, -1.2%, 0) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .tc-hero-slide.is-active .tc-hero-zoom {
    animation: none !important;
    transform: translate3d(0, 0, 0) scale(1.06);
  }
}

.tc-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.1) 45%,
    rgba(0, 0, 0, 0.15) 100%
  );
}

.tc-hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 0 0 clamp(3.5rem, 7vw, 5rem);
}

.tc-hero-caption {
  display: none;
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

.tc-hero-caption.is-active {
  display: block;
  animation: tc-fade-up 0.7s ease;
}

.tc-hero-caption h1 {
  margin: 0 0 0.85rem;
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.tc-hero-caption p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.6;
}

@keyframes tc-fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tc-hero-progress {
  position: absolute;
  left: max(1.5rem, calc((100% - 1180px) / 2));
  bottom: 1.5rem;
  z-index: 4;
  display: flex;
  gap: 0.5rem;
}

.tc-hero-dot {
  width: 2rem;
  height: 2px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease;
}

.tc-hero-dot.is-active {
  background: #fff;
  width: 2.5rem;
}

/* ── Intro ── */
.tc-intro {
  background: #fff;
}

.tc-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.tc-intro-media {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #eee;
}

.tc-intro-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Finish cards ── */
.tc-finishes {
  background: #f7f7f7;
}

.tc-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.tc-card {
  display: block;
  text-decoration: none;
  color: #111;
}

.tc-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #e8e8e8;
  transition: transform 0.5s ease;
}

.tc-card {
  overflow: hidden;
}

.tc-card:hover img {
  transform: scale(1.03);
}

.tc-card span {
  display: block;
  padding-top: 0.85rem;
  font-size: 1rem;
  font-weight: 600;
}

/* ── Gallery mosaic ── */
.tc-gallery {
  background: #fff;
}

.tc-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.tc-mosaic figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1;
  background: #eee;
}

.tc-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tc-mosaic figure:hover img {
  transform: scale(1.04);
}

/* ── Split feature ── */
.tc-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 70vh;
  background: #fff;
}

.tc-split-flip {
  direction: rtl;
}

.tc-split-flip > * {
  direction: ltr;
}

.tc-split-media {
  margin: 0;
  min-height: 420px;
  overflow: hidden;
  background: #ececec;
}

.tc-split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tc-split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 5rem);
}

.tc-split-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.tc-split-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* ── Specs ── */
.tc-specs {
  background: #f7f7f7;
}

.tc-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.tc-spec-list {
  margin: 0;
}

.tc-spec-list > div {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #e2e2e2;
}

.tc-spec-list dt {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: #777;
}

.tc-spec-list dd {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: #111;
}

/* ── CTA ── */
.tc-cta {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
  text-align: center;
  background: #fff;
}

.tc-cta-inner {
  max-width: 36rem;
}

.tc-eyebrow {
  margin: 0 0 0.75rem !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #888 !important;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .tc-intro-grid,
  .tc-specs-grid,
  .tc-split,
  .tc-split-flip {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .tc-card-grid {
    grid-template-columns: 1fr;
  }

  .tc-mosaic {
    grid-template-columns: repeat(2, 1fr);
  }

  .tc-split-media {
    min-height: 320px;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 560px) {
  .tc-wrap {
    width: calc(100% - 2rem);
  }

  .tc-mosaic {
    grid-template-columns: 1fr;
  }

  .tc-hero-copy {
    width: calc(100% - 2rem);
  }
}
