/* FT autonomous homepage shell — overrides Flatsome demo chrome on front page */

.home .header-wrapper,
.home .footer-wrapper {
  display: none !important;
}

.home #wrapper,
.home #main,
.home .page-wrapper,
.home .page-inner {
  margin: 0 !important;
  padding: 0 !important;
  background: var(--ft-offwhite);
}

.home #wrapper {
  overflow: visible;
}

.ft-home {
  width: 100%;
  margin: 0;
  overflow: clip;
  background: var(--ft-offwhite);
}

.ft-shell {
  width: min(100% - 40px, 1320px);
  margin-inline: auto;
}

.ft-home-nav {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 100;
  color: #fff;
}

.admin-bar .ft-home-nav {
  top: 32px;
}

.ft-home-nav-inner {
  width: min(100% - 40px, 1320px);
  min-height: 92px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.ft-home-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
}

.ft-home-brand:hover {
  color: #fff;
}

.ft-home-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 14px;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -.08em;
  color: #fff;
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(10px);
}

.ft-home-brand-name {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ft-home-nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
}

.ft-home-nav-links > a {
  color: rgba(255,255,255,.74);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease, background .2s ease;
}

.ft-home-nav-links > a:hover {
  color: #fff;
}

.ft-home-nav-links .ft-home-nav-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 999px;
  color: #fff;
}

.ft-home-nav-links .ft-home-nav-cta:hover {
  background: var(--ft-coral);
  border-color: var(--ft-coral);
}

.ft-home-hero {
  padding-top: 78px;
}

.ft-home-contact-wrap {
  padding-bottom: clamp(72px, 9vw, 140px);
}

.ft-home-contact::after {
  content: "© Francesco Tamburrino";
  position: absolute;
  left: clamp(28px, 6vw, 80px);
  bottom: 24px;
  z-index: 2;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.34);
}

@media (max-width: 849px) {
  .admin-bar .ft-home-nav {
    top: 46px;
  }

  .ft-home-nav-inner {
    min-height: 80px;
  }

  .ft-home-brand-name {
    display: none;
  }

  .ft-home-nav-links > a:not(.ft-home-nav-cta) {
    display: none;
  }

  .ft-home-nav-links .ft-home-nav-cta {
    min-height: 40px;
    padding-inline: 15px;
  }

  .ft-home-hero {
    padding-top: 64px;
  }
}

@media (max-width: 782px) {
  .admin-bar .ft-home-nav {
    top: 46px;
  }
}

@media (max-width: 549px) {
  .ft-shell,
  .ft-home-nav-inner {
    width: min(100% - 28px, 1320px);
  }

  .ft-home-brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .ft-home-nav-links .ft-home-nav-cta {
    font-size: .68rem;
  }

  .ft-home-contact::after {
    left: 28px;
    bottom: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ft-home-nav-links > a {
    transition: none !important;
  }
}
