/* --- Design tokens ------------------------------- */
:root {
  --tf-dark:        #1a1a2e;
  --tf-gold:        #c9a84c;
  --tf-white:       #ffffff;
  --tf-off-white:   #f5f5f0;
  --tf-light-gray:  #e8e8e2;
  --tf-mid-gray:    #9e9e9e;
  --tf-body:        #1c1c1c;

  --tf-font-primary: 'Inter', sans-serif;
  --tf-font-display: 'Playfair Display', serif;

  --tf-radius-full: 9999px;
  --tf-radius-md:   8px;
  --tf-radius-lg:   16px;

  --tf-transition: 0.25s ease;
  --tf-shadow-md:  0 4px 16px rgba(0,0,0,0.12);
}

/* --- Base ----------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--tf-font-primary);
  color: var(--tf-body);
  background: var(--tf-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--tf-font-display);
  font-weight: 700;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* --- Navigation ----------------------------------- */
.tf-navbar {
  background: var(--tf-dark);
  min-height: 72px;
  transition: box-shadow var(--tf-transition);
  z-index: 1030;
}

.tf-logo img {
  max-height: 48px;
  width: auto;
}

.tf-nav-pill {
  color: rgba(255,255,255,0.85) !important;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: var(--tf-radius-full) !important;
  padding: 6px 18px !important;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--tf-transition);
}

.tf-nav-pill:hover,
.tf-nav-pill.active {
  background: var(--tf-white) !important;
  color: var(--tf-dark) !important;
  border-color: var(--tf-white);
}

/* ── Navbar scroll shadow ── */
.tf-navbar.scrolled {
  box-shadow: 0 4px 16px rgba(0,0,0,0.22);
}

/* ── Logo fallback text ── */
.tf-logo__fallback {
  font-family: var(--tf-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--tf-white);
  letter-spacing: 0.04em;
}

/* ── Hamburger lines ── */
.tf-hamburger {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.tf-hamburger__line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--tf-white);
  border-radius: 2px;
  transition: all 0.25s ease;
}

/* Hamburger open state - animated to X */
.tf-hamburger[aria-expanded="true"]
.tf-hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.tf-hamburger[aria-expanded="true"]
.tf-hamburger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.tf-hamburger[aria-expanded="true"]
.tf-hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Services dropdown - desktop ── */
.tf-dropdown {
  position: relative;
}

.tf-dropdown__trigger {
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  /* inherits .tf-nav-pill styles */
}

.tf-dropdown__caret {
  font-size: 0.6rem;
  transition: transform 0.25s ease;
  display: inline-block;
}

.tf-dropdown__trigger[aria-expanded="true"]
.tf-dropdown__caret {
  transform: rotate(180deg);
}

.tf-dropdown__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--tf-dark);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--tf-radius-md);
  list-style: none;
  margin: 0;
  padding: 8px 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
  z-index: 1050;
  /* Animation */
  opacity: 0;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.2s ease,
              transform 0.2s ease;
  pointer-events: none;
}

.tf-dropdown__menu:not([hidden]) {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

/* Override hidden so animation still works */
.tf-dropdown__menu[hidden] {
  display: block !important;
  visibility: hidden;
}

.tf-dropdown__item {
  display: block;
  padding: 10px 20px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.80);
  transition: background 0.2s ease,
              color 0.2s ease;
  white-space: nowrap;
}

.tf-dropdown__item:hover,
.tf-dropdown__item:focus {
  background: rgba(255,255,255,0.08);
  color: var(--tf-white);
  outline: none;
}

/* ── Services dropdown - mobile ── */
@media (max-width: 991px) {
  .tf-dropdown__menu {
    position: static;
    transform: none !important;
    left: auto;
    top: auto;
    min-width: unset;
    width: 100%;
    border: none;
    border-top: 1px solid rgba(255,255,255,0.10);
    border-radius: 0;
    box-shadow: none;
    background: rgba(255,255,255,0.04);
    padding: 4px 0;
    margin-top: 4px;
    opacity: 1 !important;
    pointer-events: all !important;
    visibility: visible !important;
  }

  .tf-dropdown__menu[hidden] {
    display: none !important;
  }

  .tf-dropdown__item {
    padding: 10px 24px;
    font-size: 0.875rem;
  }

  /* Mobile nav spacing */
  .navbar-nav {
    padding: 16px 0;
    gap: 8px !important;
  }

  .tf-nav-pill {
    display: block;
    width: 100%;
    text-align: left !important;
  }

  .tf-dropdown__trigger {
    width: 100%;
    text-align: left !important;
    justify-content: space-between;
  }
}

/* ── Active page indicator ── */
.tf-nav-pill.tf-nav-pill--active,
.tf-dropdown__trigger.tf-nav-pill--active {
  background: var(--tf-white) !important;
  color: var(--tf-dark) !important;
  border-color: var(--tf-white) !important;
}

/* --- Buttons -------------------------------------- */
.tf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  border-radius: var(--tf-radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: all var(--tf-transition);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
}

.tf-btn--white {
  background: var(--tf-white);
  color: var(--tf-dark);
  border-color: var(--tf-white);
}

.tf-btn--white:hover {
  background: transparent;
  color: var(--tf-white);
}

.tf-btn--outline-dark {
  background: transparent;
  color: var(--tf-dark);
  border-color: var(--tf-dark);
}

.tf-btn--outline-dark:hover {
  background: var(--tf-dark);
  color: var(--tf-white);
}

.tf-btn--dark {
  background: var(--tf-dark);
  color: var(--tf-white);
  border-color: var(--tf-dark);
}

.tf-btn--dark:hover {
  background: transparent;
  color: var(--tf-dark);
}

/* ============================================
HOMEPAGE HERO
============================================ */
.tf-home-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background image - NO overlay */
.tf-home-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transform: scale(1.02);
  transition: transform 8s ease;
}

/* JS adds this class on load to trigger zoom */
.tf-home-hero__bg.loaded {
  transform: scale(1.0);
}

/* Full width gray bar - no container */
.tf-home-hero__bar {
  position: relative;
  z-index: 1;
  width: 100%;
  background: rgba(80, 80, 80, 0.68);
  padding: 72px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Bar text */
.tf-home-hero__text {
  font-family: var(--tf-font-display);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--tf-white);
  letter-spacing: 0.1em;
  text-align: center;
  margin: 0;
  line-height: 1.1;
}

/* ── Mobile adjustments ── */
@media (max-width: 768px) {
  .tf-home-hero {
    height: 70vh;
    min-height: 480px;
  }

  .tf-home-hero__bar {
    padding: 48px 24px;
  }

  .tf-home-hero__text {
    font-size: clamp(1.6rem, 8vw, 2.4rem);
    letter-spacing: 0.06em;
  }
}

@media (max-width: 480px) {
  .tf-home-hero__bar {
    padding: 40px 16px;
  }
}

/* --- Page hero (service pages) -------------------- */
.tf-page-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.tf-page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.tf-page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 46, 0.55);
  z-index: 1;
}

.tf-page-hero__content {
  position: relative;
  z-index: 2;
}

.tf-page-hero__title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--tf-white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.tf-page-hero__subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.82);
  font-style: italic;
  margin-bottom: 2rem;
}

/* --- Sections ------------------------------------- */
.tf-section {

  padding: 48px 0;
}

@media (max-width: 768px) {

  .tf-section { padding: 32px 0; }
}

.tf-section--white    { background: var(--tf-white); }
.tf-section--light    { background: var(--tf-off-white); }
.tf-section--dark     { background: var(--tf-dark); }

/* --- Section images ------------------------------- */
.tf-section-img {
  width: 100%;

  height: 520px;
  object-fit: cover;
  border-radius: var(--tf-radius-md);
  display: block;
}

.tf-section-img--no-radius {
  border-radius: 0;
}

.tf-section-img--placeholder {
  background: var(--tf-light-gray);

  height: 520px;
  border-radius: var(--tf-radius-md);
}

@media (max-width: 768px) {
  .tf-section-img,
  .tf-section-img--placeholder {
    height: 300px;
  }
}

/* --- Typography helpers --------------------------- */
.tf-section-label {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--tf-gold);
  margin-bottom: 0.75rem;
}

.tf-section-title {
  font-family: var(--tf-font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.tf-section-title--white {
  color: var(--tf-white);
}

.tf-body-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--tf-body);
  margin-bottom: 2rem;
}

.tf-body-text--white {
  color: rgba(255,255,255,0.82);
}

/* --- Process steps -------------------------------- */
.tf-process-number {
  font-family: var(--tf-font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--tf-gold);
  line-height: 1;
  margin-bottom: 1rem;
}

.tf-process-divider {
  width: 1px;
  background: rgba(255,255,255,0.2);
  align-self: center;
  height: 120px;
}

@media (max-width: 768px) {
  .tf-process-divider {
    width: 100%;
    height: 1px;
  }
}

/* --- Logo slider ---------------------------------- */
.tf-logo-slider {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

.tf-logo-slider__track {
  display: flex;
  width: max-content;
  animation: logoScroll 28s linear infinite;
}

.tf-logo-slider__track:hover {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .tf-logo-slider__track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }
}

.tf-logo-slider__set {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
}

.tf-logo-slider__item {
  flex-shrink: 0;
  min-width: 120px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tf-logo-slider__img {
  max-height: 48px;
  max-width: 120px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.72;
  transition: opacity var(--tf-transition);
}

.tf-logo-slider__img:hover {
  opacity: 1;
}

.tf-logo-slider__text {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@keyframes logoScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Team cards ----------------------------------- */
.tf-team-card {
  border: 0.5px solid var(--tf-light-gray);
  border-radius: var(--tf-radius-lg);
  overflow: hidden;
  transition: box-shadow var(--tf-transition),
    transform var(--tf-transition);
}

.tf-team-card:hover {
  box-shadow: var(--tf-shadow-md);
  transform: translateY(-4px);
}

.tf-team-card__img-wrap {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.tf-team-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}

.tf-team-card:hover .tf-team-card__img {
  transform: scale(1.04);
}

.tf-team-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 20px 16px;
  background: linear-gradient(
    to top,
    rgba(26,26,46,0.85) 0%,
    transparent 100%
  );
}

.tf-team-card__name {
  font-family: var(--tf-font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--tf-white);
  margin: 0;
}

.tf-team-card__body {
  padding: 20px;
}

.tf-team-card__role {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--tf-body);
  margin-bottom: 8px;
}

.tf-team-card__bio {
  font-size: 0.875rem;
  color: var(--tf-mid-gray);
  line-height: 1.8;
  margin-bottom: 16px;
}

.tf-linkedin-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--tf-dark);
  border: 1.5px solid var(--tf-dark);
  border-radius: var(--tf-radius-full);
  padding: 5px 14px;
  transition: all var(--tf-transition);
}

.tf-linkedin-pill:hover {
  background: var(--tf-dark);
  color: var(--tf-white);
}

/* --- Gallery -------------------------------------- */
.tf-gallery-filter {
  position: sticky;
  top: 72px;
  z-index: 100;
  background: var(--tf-white);
  border-bottom: 0.5px solid var(--tf-light-gray);
  padding: 16px 0;
}

.tf-gallery-filter__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 24px;
}

.tf-gallery-filter__inner::-webkit-scrollbar {
  display: none;
}

.tf-filter-btn {
  flex-shrink: 0;
  padding: 6px 20px;
  border-radius: var(--tf-radius-full);
  border: 1.5px solid var(--tf-dark);
  background: transparent;
  color: var(--tf-dark);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--tf-transition);
  white-space: nowrap;
}

.tf-filter-btn:hover,
.tf-filter-btn.is-active {
  background: var(--tf-dark);
  color: var(--tf-white);
}

.tf-gallery-grid {
  columns: 3;
  column-gap: 16px;
}

@media (max-width: 992px) {
  .tf-gallery-grid { columns: 2; }
}

@media (max-width: 576px) {
  .tf-gallery-grid { columns: 1; }
}

.tf-gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--tf-radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.tf-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.tf-gallery-item:hover img {
  transform: scale(1.04);
}

.tf-gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,46,0.62);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity var(--tf-transition);
}

.tf-gallery-item:hover .tf-gallery-item__overlay {
  opacity: 1;
}

.tf-gallery-item.is-hidden {
  display: none;
}

/* --- Lightbox ------------------------------------- */
.tf-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tf-lightbox[hidden] {
  display: none;
}

.tf-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.88);
  cursor: pointer;
}

.tf-lightbox__content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
}

.tf-lightbox__close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: var(--tf-white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: opacity var(--tf-transition);
}

.tf-lightbox__close:hover {
  opacity: 0.7;
}

.tf-lightbox__img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--tf-radius-md);
}

/* --- Contact form --------------------------------- */
.tf-form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--tf-body);
  margin-bottom: 6px;
  display: block;
}

.tf-form-input {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 1.5px solid var(--tf-light-gray);
  border-radius: 0;
  background: transparent;
  font-size: 1rem;
  color: var(--tf-body);
  font-family: var(--tf-font-primary);
  transition: border-color var(--tf-transition);
}

.tf-form-input:focus {
  outline: none;
  border-bottom-color: var(--tf-dark);
}

.tf-form-input::placeholder {
  color: var(--tf-mid-gray);
  font-size: 0.875rem;
}

/* --- Contact info cards --------------------------- */
.tf-contact-card {
  background: var(--tf-dark);
  border-radius: var(--tf-radius-lg);
  overflow: hidden;
}

.tf-contact-card__body {
  padding: 24px;
}

.tf-contact-card__heading {
  font-family: var(--tf-font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--tf-white);
  margin-bottom: 12px;
}

.tf-contact-card__text {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-bottom: 4px;
}

.tf-contact-card__link {
  font-size: 0.875rem;
  color: var(--tf-white);
  display: block;
  transition: opacity var(--tf-transition);
}

.tf-contact-card__link:hover {
  opacity: 0.75;
  color: var(--tf-white);
}

.tf-contact-card__icon-strip {
  background: rgba(0,0,0,0.20);
  padding: 16px 24px;
  display: flex;
  gap: 16px;
  font-size: 1.25rem;
  color: rgba(255,255,255,0.72);
}

/* --- CTA Band ------------------------------------- */
.tf-cta-band {
  background: var(--tf-dark);
  padding: 40px 0;
}

.tf-cta-band .container {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .tf-cta-band .container {
    justify-content: center;
  }
}

/* --- Footer --------------------------------------- */
.tf-footer {
  background: var(--tf-dark);
  padding: 40px 0;
}

.tf-footer__copy {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  text-align: center;
  letter-spacing: 0.04em;
  margin: 0;
}

/* --- Video grid ----------------------------------- */
.tf-video-item {
  position: relative;
  height: 320px;
  border-radius: var(--tf-radius-md);
  overflow: hidden;
  background-color: var(--tf-dark);
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

.tf-video-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,46,0.50);
  transition: background var(--tf-transition);
}

.tf-video-item:hover .tf-video-item__overlay {
  background: rgba(26,26,46,0.30);
}

.tf-video-item__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--tf-transition);
  z-index: 1;
  font-size: 1.25rem;
  color: var(--tf-dark);
  padding-left: 4px;
}

.tf-video-item:hover .tf-video-item__play {
  transform: translate(-50%, -50%) scale(1.1);
}

@media (max-width: 768px) {
  .tf-video-item { height: 220px; }
}

/* --- Embed wrappers ------------------------------- */
.tf-embed-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--tf-radius-md);
  background: var(--tf-dark);
}

.tf-embed-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--tf-radius-md);
}

/* --- Utility -------------------------------------- */
body.no-scroll {
  overflow: hidden;
}

/* ============================================
HOMEPAGE SECTIONS
============================================ */

/* ── Section 1: Intro Statement ── */
.tf-intro-statement__img-wrap {
  height: 100%;
  min-height: 520px;
  overflow: hidden;
}

.tf-intro-statement__img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
}

.tf-intro-statement__content {
  padding: 32px 24px 32px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.tf-intro-statement__heading {
  font-family: var(--tf-font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--tf-body);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.tf-intro-statement__subtext {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--tf-body);
  margin-bottom: 2rem;
}

@media (max-width: 991px) {
  .tf-intro-statement__img-wrap,
  .tf-intro-statement__img {
    min-height: 300px;
    height: 300px;
  }
  .tf-intro-statement__content {
    padding: 32px 0 0;
  }
}

/* ── Section 2: What We Do ── */
.tf-what-we-do__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 16px 32px 0;
}

.tf-what-we-do__label {
  font-family: var(--tf-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--tf-body);
  margin-bottom: 1.25rem;
}

.tf-what-we-do__body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--tf-body);
  margin-bottom: 2rem;
  max-width: 480px;
}

@media (max-width: 991px) {
  .tf-what-we-do__content {
    padding-right: 0;
  }
  .tf-what-we-do__body {
    max-width: 100%;
  }
}

/* ── Section 3: Why Clients Choose Us ── */
.tf-why-us__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 0 32px 16px;
}

.tf-why-us__heading {
  font-family: var(--tf-font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--tf-body);
  margin-bottom: 2rem;
}

.tf-why-us__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.tf-why-us__item {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--tf-body);
}

.tf-why-us__label {
  font-weight: 700;
  color: var(--tf-body);
  margin-right: 4px;
}

@media (max-width: 991px) {
  .tf-why-us__content {
    padding: 24px 0 0;
  }
}

/* ── Section 4: Process ── */
.tf-process__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 8px;
}

.tf-process__subtitle {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
}

.tf-process__steps {
  margin-bottom: 0;
}

.tf-process__step {
  display: flex;
  flex-direction: column;
  padding: 16px 24px;
}

.tf-process__number {
  font-family: var(--tf-font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--tf-gold);
  line-height: 1;
  margin-bottom: 1rem;
}

.tf-process__step-title {
  font-family: var(--tf-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--tf-white);
  margin-bottom: 0.75rem;
}

.tf-process__step-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
  margin: 0;
}

/* Vertical divider - desktop */
.tf-process__divider-wrap {
  display: flex;
  align-items: center;
  padding: 0 16px;
}

.tf-process__divider {
  width: 1px;
  height: 120px;
  background: rgba(255, 255, 255, 0.20);
}

/* Horizontal divider - mobile */
.tf-process__divider-h {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 24px 0;
}

/* Trust line */
.tf-process__trust {
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  margin-top: 3rem;
}

.tf-process__trust-text {
  font-family: var(--tf-font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--tf-white);
  margin: 0;
}

@media (max-width: 991px) {
  .tf-process__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .tf-process__step {
    padding: 16px 0;
  }
}
/* ── Wide container ── */
.tf-container-wide {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}

@media (max-width: 768px) {
  .tf-container-wide {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ── Section images flush to column edge ── */
.col-12.col-lg-6.ps-0.pe-0 .tf-section-img,
.col-12.col-lg-6.ps-0.pe-0
.tf-intro-statement__img {
  border-radius: 0;
}

@media (min-width: 992px) {
  .col-12.col-lg-6.ps-0.pe-0 .tf-section-img,
  .col-12.col-lg-6.ps-0.pe-0.pe-lg-4
  .tf-section-img,
  .col-12.col-lg-6.ps-0.pe-0.pe-lg-4
  .tf-intro-statement__img {
    border-radius: 0;
  }
}

/* ============================================
3D VISUALIZATION PAGE
============================================ */

/* ── Viz intro split ── */
.tf-viz-intro__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0;
}

.tf-viz-intro__body {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--tf-body);
  margin-bottom: 2rem;
}

.tf-viz-intro__img-wrap {
  height: 520px;
  overflow: hidden;
}

.tf-viz-intro__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.tf-viz-intro__img--placeholder {
  width: 100%;
  height: 520px;
  background: var(--tf-light-gray);
}

@media (max-width: 991px) {
  .tf-viz-intro__img-wrap {
    height: 300px;
  }
  .tf-viz-intro__img--placeholder {
    height: 300px;
  }
  .tf-viz-intro__content {
    padding: 32px 0 0;
  }
  .tf-viz-intro__body {
    font-size: 1rem;
  }
}

/* ── Full width showcase image ── */
.tf-viz-showcase {
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.tf-viz-showcase__img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.tf-viz-showcase__placeholder {
  width: 100%;
  height: 540px;
  background: var(--tf-light-gray);
  display: block;
}

@media (max-width: 768px) {
  .tf-viz-showcase__img,
  .tf-viz-showcase__placeholder {
    height: 300px;
  }
}

/* ── How we make it work ── */
.tf-viz-how__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tf-viz-how__title {
  font-family: var(--tf-font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--tf-body);
  margin-bottom: 1.25rem;
}

.tf-viz-how__body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--tf-body);
  margin-bottom: 2rem;
  max-width: 600px;
}

/* ============================================
360 VIRTUAL TOURS PAGE
============================================ */

/* ── Tours intro ── */
.tf-tours-intro__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0;
}

.tf-tours-intro__body {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--tf-body);
  margin-bottom: 2rem;
}

@media (max-width: 991px) {
  .tf-tours-intro__content {
    padding: 32px 0 0;
  }
  .tf-tours-intro__body {
    font-size: 1rem;
  }
}

/* ── 360 tour embed ── */
.tf-tour-embed {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px 0 32px 32px;
}

@media (max-width: 991px) {
  .tf-tour-embed {
    padding: 0 0 32px;
  }
}

.tf-tour-embed__label {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--tf-body);
  border: 1.5px solid var(--tf-body);
  border-radius: var(--tf-radius-full);
  padding: 6px 18px;
  letter-spacing: 0.04em;
}

.tf-tour-embed__wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--tf-radius-md);
  background: var(--tf-body);
}

.tf-tour-embed__frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--tf-radius-md);
}

/* Placeholder shown when iframe src is empty */
.tf-tour-embed__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tf-light-gray);
  border-radius: var(--tf-radius-md);
}

.tf-tour-embed__ph-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 24px;
}

.tf-tour-embed__ph-inner p {
  font-size: 0.875rem;
  color: var(--tf-mid-gray);
  margin: 0;
  font-weight: 500;
}

.tf-tour-embed__ph-inner small {
  font-size: 0.75rem;
  color: var(--tf-mid-gray);
  max-width: 220px;
  line-height: 1.6;
}

.tf-tour-embed__icon {
  font-size: 2.5rem;
  color: var(--tf-mid-gray);
  opacity: 0.4;
}

.tf-tour-embed__credit {
  font-size: 0.75rem;
  color: var(--tf-mid-gray);
  text-align: right;
  font-style: italic;
  margin: 0;
}

/* ── Tour category cards ── */
.tf-tours-categories__title {
  font-family: var(--tf-font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--tf-body);
  text-align: center;
  margin-bottom: 2.5rem;
}

.tf-tours-card {
  position: relative;
  height: 280px;
  border-radius: var(--tf-radius-md);
  overflow: hidden;
  background-color: var(--tf-body);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  transition: transform 0.25s ease;
}

.tf-tours-card:hover {
  transform: translateY(-4px);
}

.tf-tours-card:hover .tf-tours-card__overlay {
  background: rgba(26, 26, 46, 0.32);
}

.tf-tours-card:hover .tf-tours-card__label {
  transform: scale(1.05);
}

.tf-tours-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 46, 0.52);
  transition: background 0.25s ease;
}

.tf-tours-card__label {
  position: relative;
  z-index: 1;
  font-family: var(--tf-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--tf-white);
  text-align: center;
  padding: 0 16px;
  transition: transform 0.25s ease;
}

@media (max-width: 991px) {
  .tf-tours-card {
    height: 220px;
  }
}

@media (max-width: 576px) {
  .tf-tours-card {
    height: 180px;
  }
  .tf-tours-card__label {
    font-size: 1rem;
  }
}

/* ============================================
VIRTUAL REALITY PAGE
============================================ */

/* ── VR split hero ── */
.tf-vr-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.tf-vr-hero__text-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f0e8;
  padding: 80px 48px;
}

.tf-vr-hero__text-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 420px;
}

.tf-vr-hero__title {
  font-family: var(--tf-font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--tf-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.1;
  margin: 0;
}

.tf-vr-hero__subtitle {
  font-size: 1.125rem;
  color: var(--tf-body);
  opacity: 0.75;
  line-height: 1.6;
  margin: 0;
}

.tf-vr-hero__image-panel {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  background-color: var(--tf-light-gray);
  /* Fallback color while image loads */
}

.tf-vr-hero__image-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  transition: transform 8s ease;
  transform: scale(1.02);
  z-index: 1;
}

.tf-vr-hero__image-bg.loaded {
  transform: scale(1.0);
}

.tf-vr-hero__image-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  z-index: 0;
}

@media (max-width: 991px) {
  .tf-vr-hero {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .tf-vr-hero__text-panel {
    padding: 64px 24px;
    order: 1;
  }

  .tf-vr-hero__text-inner {
    max-width: 100%;
    gap: 20px;
  }

  .tf-vr-hero__image-panel {
    order: 2;
    min-height: 60vw;
    height: 60vw;
    max-height: 480px;
    position: relative;
  }
}

@media (max-width: 576px) {
  .tf-vr-hero__text-panel {
    padding: 48px 20px;
  }

  .tf-vr-hero__image-panel {
    min-height: 280px;
    height: 280px;
  }
}

/* ── VR intro split ── */
.tf-vr-intro__img-wrap {
  height: 520px;
  overflow: hidden;
}

.tf-vr-intro__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.tf-vr-intro__img--placeholder {
  width: 100%;
  height: 520px;
  background: var(--tf-light-gray);
}

.tf-vr-intro__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0;
}

.tf-vr-intro__para {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--tf-body);
  margin-bottom: 1.25rem;
}

.tf-vr-intro__para--last {
  margin-bottom: 2rem;
}

@media (max-width: 991px) {
  .tf-vr-intro__img-wrap,
  .tf-vr-intro__img--placeholder {
    height: 300px;
  }

  .tf-vr-intro__content {
    padding: 32px 0 0;
  }
}

/* ── Extra support section ── */
.tf-vr-support__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0;
}

.tf-vr-support__title {
  font-family: var(--tf-font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--tf-body);
  margin-bottom: 0.75rem;
}

.tf-vr-support__subtitle {
  font-size: 1rem;
  color: var(--tf-body);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.tf-vr-support__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tf-vr-support__item {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--tf-body);
  border: 1.5px solid var(--tf-light-gray);
  border-radius: var(--tf-radius-md);
  padding: 16px 20px;
  transition: border-color 0.25s ease,
              box-shadow 0.25s ease;
}

.tf-vr-support__item:hover {
  border-color: var(--tf-mid-gray);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.tf-vr-support__label {
  font-weight: 700;
  color: var(--tf-body);
  margin-right: 4px;
}

.tf-vr-support__img-wrap {
  height: 520px;
  overflow: hidden;
}

.tf-vr-support__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.tf-vr-support__img--placeholder {
  width: 100%;
  height: 520px;
  background: var(--tf-light-gray);
}

@media (max-width: 991px) {
  .tf-vr-support__img-wrap,
  .tf-vr-support__img--placeholder {
    height: 300px;
  }

  .tf-vr-support__content {
    padding: 32px 0 0;
  }
}

/* ============================================
DESIGN & BUILD PAGE
============================================ */

/* ── Hero overlay modifier - darker ── */
.tf-page-hero__overlay--dark {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 46, 0.62);
  z-index: 1;
}

/* ── Subtitle multiline modifier ── */
.tf-page-hero__subtitle--multiline {
  line-height: 1.6;
  text-align: center;
}

/* ── DB intro split ── */
.tf-db-intro__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0;
}

.tf-db-intro__para {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--tf-body);
  margin-bottom: 1.25rem;
}

.tf-db-intro__para--last {
  margin-bottom: 2rem;
}

.tf-db-intro__img-wrap {
  height: 520px;
  overflow: hidden;
}

.tf-db-intro__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.tf-db-intro__img--placeholder {
  width: 100%;
  height: 520px;
  background: var(--tf-light-gray);
}

@media (max-width: 991px) {
  .tf-db-intro__img-wrap,
  .tf-db-intro__img--placeholder {
    height: 300px;
  }

  .tf-db-intro__content {
    padding: 32px 0 0;
  }
}

/* ── Project photo grid ── */
.tf-db-grid {
  padding-top: 0 !important;
}

.tf-db-grid__cell {
  overflow: hidden;
  background: var(--tf-light-gray);
  position: relative;
  height: 320px;
}

.tf-db-grid__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.tf-db-grid__cell:hover .tf-db-grid__img {
  transform: scale(1.04);
}

@media (max-width: 768px) {
  .tf-db-grid__cell {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .tf-db-grid__cell {
    height: 160px;
  }
}

/* ============================================
URITHI REALMS PAGE
============================================ */

/* ── Hero overlay modifier - lighter ── */
.tf-page-hero__overlay--light {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 46, 0.45);
  z-index: 1;
}

/* ── Hero two-line text ── */
.tf-urithi-hero__lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.tf-urithi-hero__line-1 {
  font-family: var(--tf-font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--tf-white);
  margin: 0;
  line-height: 1.2;
}

.tf-urithi-hero__line-2 {
  font-family: var(--tf-font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--tf-white);
  margin: 0;
  line-height: 1.2;
}

/* ── About section ── */
.tf-urithi-about__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 0;
}

/* ── Urithi badge ── */
.tf-urithi-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--tf-body);
  border: 1.5px solid var(--tf-body);
  border-radius: var(--tf-radius-full);
  padding: 5px 16px;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.tf-urithi-about__title {
  font-family: var(--tf-font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--tf-body);
  margin-bottom: 1.25rem;
}

.tf-urithi-about__body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--tf-body);
  margin-bottom: 2rem;
  max-width: 480px;
}

/* ── Social links ── */
.tf-urithi-about__links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.tf-urithi-social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--tf-body);
  border: 1.5px solid var(--tf-body);
  border-radius: var(--tf-radius-full);
  padding: 6px 18px;
  transition: background 0.25s ease,
              color 0.25s ease;
  text-decoration: none;
}

.tf-urithi-social-link:hover {
  background: var(--tf-body);
  color: var(--tf-white);
}

.tf-urithi-social-link--filled {
  background: var(--tf-body);
  color: var(--tf-white);
}

.tf-urithi-social-link--filled:hover {
  background: transparent;
  color: var(--tf-body);
}

.tf-urithi-social-link__icon {
  font-size: 0.875rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
}

/* ── Video embed ── */
.tf-urithi-video {
  padding: 32px 0 32px 32px;
}

.tf-urithi-video__wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--tf-radius-lg);
  background: var(--tf-body);
}

.tf-urithi-video__frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--tf-radius-lg);
}

.tf-urithi-video__ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tf-light-gray);
  border-radius: var(--tf-radius-lg);
}

.tf-urithi-video__ph-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 24px;
}

.tf-urithi-video__ph-inner p {
  font-size: 0.875rem;
  color: var(--tf-mid-gray);
  margin: 0;
  font-weight: 500;
}

.tf-urithi-video__ph-inner small {
  font-size: 0.75rem;
  color: var(--tf-mid-gray);
  max-width: 220px;
  line-height: 1.6;
}

.tf-urithi-video__ph-icon {
  font-size: 2.5rem;
  color: var(--tf-mid-gray);
  opacity: 0.4;
}

@media (max-width: 991px) {
  .tf-urithi-video {
    padding: 0 0 32px;
  }

  .tf-urithi-about__content {
    padding: 32px 0 0;
  }

  .tf-urithi-about__body {
    max-width: 100%;
  }
}

/* ── Full width cultural scene ── */
.tf-urithi-scene {
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.tf-urithi-scene__img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.tf-urithi-scene__placeholder {
  width: 100%;
  height: 560px;
  background: var(--tf-light-gray);
  display: block;
}

@media (max-width: 768px) {
  .tf-urithi-scene__img,
  .tf-urithi-scene__placeholder {
    height: 360px;
  }
}

/* ── Partner section ── */
.tf-urithi-partner__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tf-urithi-partner__title {
  font-family: var(--tf-font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--tf-body);
  margin-bottom: 1.25rem;
}

.tf-urithi-partner__body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--tf-body);
  margin-bottom: 1.25rem;
}

.tf-urithi-partner__body:last-of-type {
  margin-bottom: 2rem;
}

/* ============================================
LEARN WITH US PAGE
============================================ */

/* ── Learn intro ── */
.tf-learn-intro__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 16px;
}

.tf-learn-intro__title {
  font-family: var(--tf-font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--tf-body);
  margin-bottom: 1.25rem;
}

.tf-learn-intro__body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--tf-body);
  margin: 0;
}

.tf-learn-intro__img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--tf-radius-md);
  display: block;
}

.tf-learn-intro__img--placeholder {
  width: 100%;
  height: 480px;
  background: var(--tf-light-gray);
  border-radius: var(--tf-radius-md);
}

@media (max-width: 991px) {
  .tf-learn-intro__content {
    padding-right: 0;
  }

  .tf-learn-intro__img {
    height: 300px;
  }

  .tf-learn-intro__img--placeholder {
    height: 300px;
  }
}

/* ── Course rows ── */
.tf-course-row__img-wrap {
  height: 440px;
  overflow: hidden;
  border-radius: var(--tf-radius-md);
}

.tf-course-row__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.tf-course-row__img-wrap:hover
.tf-course-row__img {
  transform: scale(1.03);
}

.tf-course-row__img--placeholder {
  width: 100%;
  height: 440px;
  background: var(--tf-light-gray);
  border-radius: var(--tf-radius-md);
}

.tf-course-row__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0;
}

.tf-course-row__name {
  font-family: var(--tf-font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--tf-body);
  margin-bottom: 0.5rem;
}

.tf-course-row__tagline {
  font-size: 1rem;
  font-style: italic;
  color: var(--tf-mid-gray);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.tf-course-row__body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--tf-body);
  margin-bottom: 2rem;
  max-width: 440px;
}

@media (max-width: 991px) {
  .tf-course-row__img-wrap {
    height: 280px;
    border-radius: var(--tf-radius-md);
  }

  .tf-course-row__img--placeholder {
    height: 280px;
  }

  .tf-course-row__content {
    padding: 32px 0 0;
  }

  .tf-course-row__body {
    max-width: 100%;
  }
}

/* ── Learn apply CTA band ── */
.tf-learn-cta-band {
  background: var(--tf-dark);
  padding: 80px 0;
}

.tf-learn-cta-band__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.tf-learn-cta-band__heading {
  font-family: var(--tf-font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--tf-white);
  margin: 0;
  line-height: 1.2;
}

.tf-learn-cta-band__sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
  margin: 0;
  max-width: 420px;
}

@media (max-width: 768px) {
  .tf-learn-cta-band {
    padding: 60px 0;
  }
}

/* ============================================
ABOUT PAGE
============================================ */

/* ── About Us section ── */
.tf-about-us__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 24px;
}

.tf-about-us__title {
  font-family: var(--tf-font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--tf-body);
  margin-bottom: 1.25rem;
}

.tf-about-us__para {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--tf-body);
  margin-bottom: 1.25rem;
}

.tf-about-us__para--last {
  margin-bottom: 0;
}

.tf-about-us__img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--tf-radius-md);
  display: block;
}

.tf-about-us__img--placeholder {
  width: 100%;
  height: 480px;
  background: var(--tf-light-gray);
  border-radius: var(--tf-radius-md);
}

@media (max-width: 991px) {
  .tf-about-us__content {
    padding-right: 0;
  }

  .tf-about-us__img,
  .tf-about-us__img--placeholder {
    height: 300px;
  }
}

/* ── Vision & Values section ── */
.tf-about-vision__img-wrap {
  height: 480px;
  overflow: hidden;
}

.tf-about-vision__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.tf-about-vision__img--placeholder {
  width: 100%;
  height: 480px;
  background: var(--tf-light-gray);
}

.tf-about-vision__cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px 0 32px 0;
}

@media (max-width: 991px) {
  .tf-about-vision__img-wrap,
  .tf-about-vision__img--placeholder {
    height: 300px;
  }

  .tf-about-vision__cards {
    padding: 32px 0 0;
  }
}

/* ── Vision / Values cards ── */
.tf-vision-card {
  background: var(--tf-dark);
  border-radius: var(--tf-radius-md);
  padding: 32px;
}

.tf-vision-card__title {
  font-family: var(--tf-font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--tf-white);
  margin-bottom: 0.75rem;
}

.tf-vision-card__body {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
  margin: 0;
}

/* ── Team section header ── */
.tf-about-team__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 12px;
}

.tf-about-team__title {
  font-family: var(--tf-font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--tf-body);
  margin: 0;
}

.tf-about-team__subtitle {
  font-size: 0.875rem;
  font-style: italic;
  color: var(--tf-mid-gray);
}

@media (max-width: 768px) {
  .tf-about-team__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 2rem;
  }
}

/* ── Team cards ── */
/* Note: .tf-team-card styles already exist
in main.css from the base styles. */
.tf-team-card__img-wrap {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.tf-team-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}

.tf-team-card:hover .tf-team-card__img {
  transform: scale(1.04);
}

.tf-team-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 20px 16px;
  background: linear-gradient(
    to top,
    rgba(26, 26, 46, 0.85) 0%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
}

.tf-team-card__name {
  font-family: var(--tf-font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--tf-white);
}

.tf-team-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.tf-team-card__role {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--tf-body);
  margin: 0;
  line-height: 1.5;
}

.tf-team-card__bio {
  font-size: 0.875rem;
  color: var(--tf-mid-gray);
  line-height: 1.8;
  margin: 0;
  flex: 1;
}

/* ============================================
CSR PAGE
============================================ */

/* ── CSR Intro dark section ── */
.tf-csr-intro {
  background: var(--tf-dark);
  padding: 64px 0;
}

.tf-csr-intro__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 12px;
}

.tf-csr-intro__title {
  font-family: var(--tf-font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--tf-white);
  margin: 0;
}

.tf-csr-intro__year {
  font-size: 0.875rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.55);
  text-align: right;
}

.tf-csr-intro__statement {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--tf-radius-md);
  padding: 40px 48px;
  text-align: center;
}

.tf-csr-intro__statement p {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.90);
  max-width: 760px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .tf-csr-intro {
    padding: 48px 0;
  }

  .tf-csr-intro__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 2rem;
  }

  .tf-csr-intro__year {
    text-align: left;
  }

  .tf-csr-intro__statement {
    padding: 24px;
  }
}

/* ── CSR project sections ── */
.tf-csr-project__text {
  max-width: 720px;
  margin-bottom: 2rem;
}

.tf-csr-project__title {
  font-family: var(--tf-font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--tf-body);
  margin-bottom: 1rem;
}

.tf-csr-project__body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--tf-body);
  margin: 0;
}

/* ── CSR photo grid ── */
.tf-csr-grid__cell {
  height: 300px;
  overflow: hidden;
  background: var(--tf-light-gray);
  position: relative;
}

.tf-csr-grid__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.tf-csr-grid__cell:hover
.tf-csr-grid__img {
  transform: scale(1.04);
}

@media (max-width: 576px) {
  .tf-csr-grid__cell {
    height: 200px;
  }
}

/* ── CSR closing statement ── */
.tf-csr-closing {
  background: var(--tf-dark);
  padding: 80px 0;
}

.tf-csr-closing__inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.tf-csr-closing__text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .tf-csr-closing {
    padding: 60px 0;
  }

  .tf-csr-closing__text {
    font-size: 1rem;
  }
}

/* ============================================
PROJECTS PAGE
============================================ */

/* ── Projects hero text ── */
.tf-projects-hero__title {
  font-family: var(--tf-font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--tf-white);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.tf-projects-hero__subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.82);
  font-style: italic;
  margin-bottom: 2rem;
}

/* ── Gallery section ── */
.tf-gallery-section {
  padding-top: 48px;
  padding-bottom: 48px;
}

/* ── Gallery empty state ── */
.tf-gallery-empty {
  text-align: center;
  padding: 64px 0;
}

.tf-gallery-empty p {
  font-size: 1rem;
  color: var(--tf-mid-gray);
  margin: 0;
}

.tf-gallery-empty[hidden] {
  display: none;
}

/* ── Video showcase ── */
.tf-video-showcase__title {
  font-family: var(--tf-font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--tf-body);
  text-align: center;
  margin-bottom: 2.5rem;
}

/* tf-video-item styles already exist
in main.css - do NOT redefine them */

@media (max-width: 768px) {
  .tf-video-showcase__title {
    margin-bottom: 2rem;
  }
}

/* ============================================
CONTACT PAGE
============================================ */

/* ── Contact hero ── */
.tf-contact-hero__title {
  font-family: var(--tf-font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--tf-white);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.tf-contact-hero__subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.82);
  font-style: italic;
  margin: 0;
}

/* ── Contact section ── */
.tf-contact-section {
  background: var(--tf-off-white);
  padding: 64px 0;
}

@media (max-width: 768px) {
  .tf-contact-section {
    padding: 48px 0;
  }
}

/* ── Contact form panel ── */
.tf-contact-panel {
  background: var(--tf-white);
  border-radius: var(--tf-radius-lg);
  padding: 40px;
  box-shadow: var(--tf-shadow-md);
}

@media (max-width: 768px) {
  .tf-contact-panel {
    padding: 24px;
  }
}

.tf-contact-panel__logo {
  margin-bottom: 24px;
}

.tf-contact-panel__logo-img {
  max-height: 48px;
  width: auto;
  display: block;
}

.tf-contact-panel__logo-text {
  font-family: var(--tf-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--tf-body);
}

.tf-contact-panel__heading {
  font-family: var(--tf-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--tf-body);
  margin-bottom: 2rem;
}

/* ── Contact form fields ── */
.tf-contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tf-contact-form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tf-contact-form__group-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--tf-body);
  margin: 0 0 8px;
}

.tf-form-label--sub {
  font-size: 0.8rem;
  color: var(--tf-mid-gray);
}

.tf-contact-form__req {
  color: var(--tf-gold);
  margin-left: 2px;
}

/* tf-form-input and tf-form-label already
exist in main.css - do NOT redefine */

.tf-contact-form__select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231c1c1c' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 28px;
}

.tf-contact-form__textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.8;
  padding-top: 12px;
}

.tf-contact-form__dt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 480px) {
  .tf-contact-form__dt {
    grid-template-columns: 1fr;
  }
}

.tf-contact-form__dt-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tf-contact-form__submit {
  width: 100%;
  background: var(--tf-dark);
  color: var(--tf-white);
  border: 2px solid var(--tf-dark);
  border-radius: var(--tf-radius-full);
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--tf-font-primary);
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 8px;
}

.tf-contact-form__submit:hover {
  background: transparent;
  color: var(--tf-dark);
}

.tf-contact-form__submit:active {
  transform: scale(0.98);
}

.tf-contact-form__message {
  padding: 14px 18px;
  border-radius: var(--tf-radius-md);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: 8px;
}

.tf-contact-form__message[hidden] {
  display: none;
}

.tf-contact-form__message--success {
  background: rgba(15, 110, 86, 0.10);
  color: #0f6e56;
  border: 1px solid rgba(15, 110, 86, 0.25);
}

.tf-contact-form__message--error {
  background: rgba(163, 45, 45, 0.10);
  color: #a32d2d;
  border: 1px solid rgba(163, 45, 45, 0.25);
}

/* ── Contact info cards ── */
.tf-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* tf-contact-card base styles already exist
in main.css - add only what is missing */

.tf-contact-card__text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.60);
  line-height: 1.6;
  margin: 0 0 4px;
}

.tf-contact-card__text--spaced {
  margin-top: 12px;
}

.tf-contact-card__address {
  font-size: 0.875rem;
  color: var(--tf-white);
  font-style: normal;
  line-height: 1.8;
  margin: 0;
}

/* ── Map section ── */
.tf-contact-map {
  position: relative;
  width: 100%;
  line-height: 0;
}

.tf-contact-map__frame {
  width: 100%;
  height: 420px;
  display: block;
  border: none;
}

.tf-contact-map__placeholder {
  width: 100%;
  height: 420px;
  background: var(--tf-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
}

.tf-contact-map__placeholder p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  max-width: 300px;
  line-height: 1.8;
  margin: 0;
}

@media (max-width: 768px) {
  .tf-contact-map__frame {
    height: 280px;
  }

  .tf-contact-map__placeholder {
    height: 280px;
  }
}
