:root {
  --footer-height: 20rem;
}

.short-page-content-wrapper {
  height: calc(100vh - var(--footer-height))
}

@media (max-width: 768px) {
  .short-page-content-wrapper {
    height: auto;
    min-height: calc(100dvh - 20rem); /* optional fallback */
  }
}

/* TURN ALL PROJECTS INTO GRAY BGs */
body.single-project .sections {
  background-color: #151515 !important;
  color: #f1f1f1 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* INVERT GLOBAL COLORS TO WHITE BG, BLACK TEXT */
/*
body {
  background-color: #ffffff !important;
  color: #000000 !important;
}

/* Target all common containers that might have dark backgrounds 
body .sections,
body .site,
body .content,
body .main-container,
body #content,
body .semplice-content,
body .project,
body .project-content {
  background-color: #ffffff !important;
  color: #000000 !important;
}

/* Headings 
h1, h2, h3, h4, h5, h6 {
  color: #000000 !important;
}

/* Paragraphs and span-level text 
p, span, li, blockquote {
  color: #000000 !important;
}

/* Links 
a {
  color: #000000 !important;
}

/* Optional: Override buttons too 
button, .button, input[type="submit"] {
  background-color: #000000 !important;
  color: #ffffff !important;
}
*/

.footer-inner {
  flex-grow: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  gap: 2rem;
  padding: 0 2rem;
  width: 100%;
  text-align: left;
}

.fade { opacity: 1; }

a:hover {
    text-decoration: none;
}

.video-container { padding-top: 100px !important; margin-bottom: 200px !important; }
.film-container { padding-top: 200px !important; margin-bottom: 200px !important; }

ul, li
{
padding:0px; margin: 0px;
}

/* START FOOTER – Swiss-Style Grid */

.site-footer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  flex-shrink: 0;
  min-height: var(--footer-height);
  width: 100%;
  font-family: "DomiRegular", sans-serif;
  background-color: #f6f6f6; /* fallback/default */
  padding: 4rem 1rem 1rem;
  color: #000;
  font-size: 0.9rem;
}

/* Optional variant overrides */
.site-footer.grid-footer {
  background-color: #fffef9;
  padding: 4rem 1rem 1.5rem;
}

.footer-left,
.footer-middle,
.footer-right {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-text {
  color: #000;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: color 0.3s ease;
}

.footer-text:hover {
  color: #ffd300 !important;
  text-decoration: underline !important;
}

.footer-email {
  color: #000;
  text-decoration: none;
  font-weight: 500;
}

.footer-email:hover {
  color: #ffd300;
  text-decoration: underline;
}

.footer-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}

.no-circled {
  color: #000;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

.no-circled:hover {
  color: #ffd300 !important;
}

.no-circled i {
  display: inline-block;
  transition: color 0.3s ease;
  font-size: 1.2rem !important;
}

.no-circled:hover i {
  color: #ffd300 !important;
}

@media (max-width: 768px) {

.footer-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}

}

/* END FOOTER */

/* underline animation */
.underline-links a {position: relative; display: inline-block;}

.underline-links a::before {
    content: '';
    position: absolute;
    z-index: 0;
    left: 0;
    right: 100%;
    bottom: 0;
    background: #000;
    height: 1px;
    -webkit-transition-property: right;
    transition-property: right;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

.underline-links a:hover:before {right: 0 !important;}

/* cursors */

body {
  cursor: url('http://jonathanwing.com/img/pizzapointer2.png'), default;
}

a:hover {
cursor: url('http://jonathanwing.com/img/hearteyesemoji2.png'), default;
}

.semplice-navbar a:hover {
cursor: pointer;  
}

/* VIEW MORE WORK TITLE BAR */
.bordered-title {
  display: block;
  text-align: center;
  position: relative;
  margin: 1.5rem 0;
}
.bordered-title:before {
  display: block;
  content: "";
  position: absolute;
  top: 50%;
  width: 100%;
  border-top: 1px solid #fff;
  margin-top: -1px;
}
.bordered-title a,
.bordered-title span {
  padding: 0 1rem;
  position: relative;
  background: #000;
}

.name-title {
  display: block;
  text-align: center;
  position: relative;
  margin: 1.2rem 0 0 0;
}

.text-title {
  font-family: "DomiRegular", sans-serif;

  color: rgb(255, 211, 0);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.50rem;
}
.text-title + h2 {
  color: rgb(255, 211, 0);
  margin-top: 0;
}
.scroll-to {
  text-transform: none;
  font-size: 0.775rem;
  font-weight: 300;
  letter-spacing: 3px;
  font-family: futura-pt;
}

a.scroll-to:link {
  text-decoration: none;
  color: #cccccc;
}
a.scroll-to:visited {
  text-decoration: none;
}
a.scroll-to:hover {
  text-decoration: underline;
  color: #ffffff;
}
a.scroll-to:active {
  text-decoration: underline;
  color: #ffffff;
}

/* END VIEW MORE WORK *

/* CREDITS ABOVE VIDEOS */
/* Flex rows */
.credits-line1,
.credits-line2 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0;
  padding: 0;
}

/* Adjusted vertical spacing */
.credits-line1 {
  margin-bottom: 1rem; /* reduced space between lines */
}

.credits-line2 {
  margin-bottom: 0.25rem; /* space below credits block */
}

/* Shared <p> container styles */
.credits-line1 p,
.credits-line2 p {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Base <span> text styles */
span.projecttitle,
span.role,
span.director,
span.prodco {
  line-height: 1.2;
  font-style: normal;
  letter-spacing: 0.2rem;
  font-weight: 400;
}

/* Left-aligned spans */
span.projecttitle,
span.role {
  text-align: left;
}

/* Right-aligned spans */
span.director,
span.prodco {
  text-align: right;
  text-transform: none;
}

/* Font sizes & colors */
span.projecttitle {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

span.role {
  font-size: 0.778rem;
  color: rgb(163, 163, 163);
}

span.director {
  font-size: 0.65rem;
  color: #999;
}

span.prodco {
  font-size: 0.65rem;
  color: #999;
}

/* mobile fixes for credits */
@media only screen and (max-width: 768px) {
  span.projecttitle { 
	  letter-spacing: 0.30rem; 
	  font-size: 0.8rem !important;
	}
  span.role { 
	  letter-spacing: normal; 
	  font-size: 0.5rem !important;
	}
  span.prodco, span.director { display: none; }
}

/* footer color overrides */
.site-footer a,
.site-footer a i {
  color: #000 !important;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:hover i {
  color: #333 !important;
  text-decoration: underline;
}
.site-footer .footer-text:hover {
  color: #ffd300 !important;
  text-decoration: underline !important;
  transition: color 0.3s ease;
}

.site-footer .no-circled:hover {
  color: #ffd300 !important;
  text-decoration: none !important;
}
.site-footer .no-circled {
  text-decoration: none !important;
}

.site-footer .no-circled i {
  text-decoration: none !important;
  display: inline-block;
  transition: color 0.3s ease;
}

.site-footer .no-circled:hover i {
  color: #ffd300 !important;
}

/* Make social icons inline */
.footer-right {
  display: flex;
  flex-direction: column; /* stack .footer-h2 and icons */
  align-items: flex-start;
  gap: 0.5rem; /* applies between h2 and icon row */
}

.footer-right-icon-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem; /* or 2rem if you want more air */
}

/* Ensure email column isn't right-aligned */
.footer-middle {
  text-align: left;
}

/* Adjusted icon size */
.footer-right i {
  font-size: 1.65rem;
}

/* Strong reset for all paragraphs in footer-left */

.footer-name {
  text-transform: uppercase;
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: 0.20em;
  line-height: 1.1 !important;
  margin-bottom: 0.1rem !important;
}

.footer-title {
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  line-height: 1.1 !important;
  margin-bottom: 2rem !important;
}

.footer-email {
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
}

.footer-email:hover {
  color: #ffd300;
  text-decoration: underline;
}

.footer-h2 {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.20em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 0.25rem; /* reduce gap below label */
  display: block;
  width: 100%;
}

.footer-copyright {
  font-size: 0.8rem;
  color: #999;
  text-align: left;
  margin-top: auto !important;
  padding-left: 2rem;
  padding-bottom: 0.5rem;
}

/* Responsive footer layout for mobile screens */
@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    row-gap: 3rem;
  }

  .footer-title {
    margin-bottom: 0.5rem !important;
  }

  .footer-left,
  .footer-middle,
  .footer-right {
    align-items: flex-start;
    width: 100%;
    margin-bottom: 2rem !important;
  }

  .footer-copyright {
    padding-left: 2rem;
    margin-top: 2rem !important;
    padding-bottom: 2rem;
    text-align: left;
  }
}

/* Restore Domi Sans font specifically for credit blocks */
.credits-line1,
.credits-line2 {
  font-family: 'Domi Sans', sans-serif;
}



/* Updated font usage for credits using 'Domi Sans' aliases */
.credits-line1 span.projecttitle {
  font-family: "DomiMedium", sans-serif;
}

.credits-line2 span.role,
.credits-line1 span.director,
.credits-line2 span.prodco {
  font-family: "DomiRegular", sans-serif;
  font-weight: 400;
}

.credits-line2 span.note {
  font-family: "DomiRegularItalic", sans-serif;
}

/* ------------------------- */
/*       PROJECT HEADER      */
/* ------------------------- */

.project-heading {
  font-size: 1.5rem;
  font-family: "DomiMedium", sans-serif;
  letter-spacing: 0.4rem;
  font-weight: normal;
  color: #ffffff;
  display: inline-block;
  margin-bottom: 50px !important;
}

.project-title {
  font-family: "DomiMedium", sans-serif;
  color: #ffffff;
  font-size: 2rem;
}

.divider {
  display: inline;
  color: #ffffff;
  font-family: "DomiLight", sans-serif;
  opacity: 0.5;
  padding: 0 0.4rem;
}

.project-meta {
  font-family: "DomiLightItalic", sans-serif;
  color: #ffffff;
  font-size: 60%;
  letter-spacing: 0.2rem;
  opacity: 0.7;
  position: relative;
  top: -0.30em;
}

@media (max-width: 768px) {
  .divider {
    display: none;
  }

  .project-title,
  .project-meta {
    display: block;
  }
}

/* ------------------------- */
/*      BOTTOM CREDITS       */
/* ------------------------- */

.project-credits {
  color: #ffffff;
  font-size: 0.6rem !important;
  letter-spacing: 0.2rem;
  line-height: 1.75;
  font-family: "DomiLight", sans-serif;
  margin-bottom: 100px !important;
}

.credit-label {
  font-family: "DomiLight", sans-serif;
  color: #ffffff;
  opacity: 0.7;
  text-transform: lowercase;
}

.credit-name {
  font-family: "DomiMedium", sans-serif;
  color: #ffffff;
  text-transform: uppercase;
  margin-left: 0.25rem;
}